Re: TraditionalForm output and subscript variable
- To: mathgroup at smc.vnet.net
- Subject: [mg41556] Re: TraditionalForm output and subscript variable
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Mon, 26 May 2003 05:46:33 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <bakj00$l7h$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi, if you use the Sybomize[] comman of the Notation package, it will generate from Subscript[a,b] a symbol a\[Backslash][RoundSpaceIndicator]b and it generate a Format (MakeBoxes[]) for the new symbol, that output SubscriptBox[a,b] and a MakeExpression[Subscript[a,b],fmt_]:=a\[Backslash][RoundSpaceIndicator]b so that you never see the strange symbol a\[Backslash][RoundSpaceIndicator]b but if you forgot to load tha package or to symbolize Subscript[a,b] the definitions are missing and than you see the internal symbol name. Regards Jens Blimbaum Jerry DLPC wrote: > > I use TraditionalForm for output........but i notice certain outputs > concerning subscript variables that puzzle me.....and also arent' what i > want.....example... (where Subscript variable gotten from using the > Palette)... > > ab*Cos[t] gives output of ab Cos[t].........however.... > > a_Subscript_b*Cos[t] gives output of Cos[t] a_Subscript_b......which > is an example of what I dont want...i have never seen anyone write > Cos[t] A....rather then A Cos[t]...... > > Some other examples are: > > a_Subscript_b*?[t] (where ? is the letter 't' or higher in the > alphabet)....outputs..... a_Subscript_b ?[t].......whereas > > For ? lower then 't'....the output is ?[t] a_Subscript_b.....which is > again not what I want as the Traditional Form output..... > > Any explanations for these results or just a Mathematica quirk?.. > > jerry blimbaum NSWC panama city, fl