MathGroup Archive 2007

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

Search the Archive

TraditionalForm ordering


Is there some way to retain TraditionalForm, but have held expressions
maintain their original order? For instance, it would be useful if I
could make the expression below print as b+a instead of a+b. Are there
any secret options to TraditionalForm that do that?

TraditionalForm@HoldForm[b+a]

Bonus points:
Explain the output of this command in terms of the pattern matching of
FormatValues, Attributes, and DefaultValues of Times.

Grid[Outer[HoldForm@Times[1,##,1]&,{2,a,1},{2,a,1}],Dividers->All]

-- 
http://chris.chiasson.name/


  • Prev by Date: Re: Problems naming files with equation names
  • Next by Date: Re: Graphing an inequality
  • Previous by thread: Write documentation for Packages
  • Next by thread: Re: TraditionalForm ordering