MathGroup Archive 2003

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

Search the Archive

Re: TraditionalForm output and subscript variable

  • To: mathgroup at smc.vnet.net
  • Subject: [mg41514] Re: TraditionalForm output and subscript variable
  • From: Bobby Treat <drmajorbob+MathGroup3528 at mailblocks.com>
  • Date: Sat, 24 May 2003 01:03:09 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Subscript[a, n]*Cos[x]//FullForm

Times[Cos[x], Subscript[a, n]]

Because Times is Orderless, its arguments are sorted into canonical 
order, and Subscript obviously comes after Cos.

Somebody will tell us how to overcome that, but I don't think it will 
be worth the trouble.

Bobby

-----Original Message-----
From: Blimbaum Jerry DLPC <BlimbaumJE at ncsc.navy.mil>
To: mathgroup at smc.vnet.net
Subject: [mg41514]  TraditionalForm output and subscript variable

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


  • Prev by Date: reading variable names and values from a file
  • Next by Date: Re: Switching x and y axes in a plot
  • Previous by thread: TraditionalForm output and subscript variable
  • Next by thread: Re: TraditionalForm output and subscript variable