MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: About subscripts

  • To: mathgroup at smc.vnet.net
  • Subject: [mg65351] Re: About subscripts
  • From: Peter Pein <petsie at dordos.net>
  • Date: Tue, 28 Mar 2006 04:05:16 -0500 (EST)
  • References: <e05rac$3qe$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

mibelair at hotmail.com schrieb:
> Hi all,
> I use mathematica 5.2 for students. Normally, I charge the package
> Utilities`SubscriptSymbols` and runs very well. But, when I operate
> with symbols E or I (both with subscripts) Mathematica yields "e" or
> "i" with subscripts. I think is more elegante to obtain "E" or "I" with
> subscripts, because "E" or "I" without subscripts are constants and "E"
> or "I" with subscripts are symbols.
> 
> How can I to convert "e" or "i" with subscripts to "E" or "I" with
> subscripts.
> 
> Thanks
> 
Hi,

  you might try

Format[Subscript[E,x__]]:=Subscript["E",x]

then Subscript[E, 1] and Subscript[E, i, j] display as expected.

Peter


  • Prev by Date: Beginner--problem with typesetting
  • Next by Date: Re: Writing prime factor decomposision in conventional form
  • Previous by thread: Re: About subscripts
  • Next by thread: Re: About subscripts