MathGroup Archive 2006

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

Search the Archive

Re: About subscripts


mibelair at hotmail.com wrote:
> 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
> 
The following command can get the effect that you want:

MakeBoxes[Subscript[E, k_], StandardForm] := MakeBoxes[Subscript["E", 
k], StandardForm]

David Bailey
http://www.dbaileyconsultancy.co.uk



  • Prev by Date: Re: Composition of series
  • Next by Date: Re: Two independent y axes ?
  • Previous by thread: Re: About subscripts
  • Next by thread: Re: About subscripts