Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

TraditionalForm ordering

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80217] TraditionalForm ordering
  • From: "Chris Chiasson" <chris at chiasson.name>
  • Date: Wed, 15 Aug 2007 04:12:06 -0400 (EDT)

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