MathGroup Archive 2006

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

Search the Archive

Re: About subscripts

  • To: mathgroup at smc.vnet.net
  • Subject: [mg65369] Re: About subscripts
  • From: David Bailey <dave at Remove_Thisdbailey.co.uk>
  • Date: Tue, 28 Mar 2006 04:06:01 -0500 (EST)
  • References: <e05rac$3qe$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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