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