MathGroup Archive 2006

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

Search the Archive

Re: About subscripts


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