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

Re: TraditionalForm ordering

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80281] Re: [mg80217] TraditionalForm ordering
  • From: "Chris Chiasson" <chris at chiasson.name>
  • Date: Thu, 16 Aug 2007 04:52:21 -0400 (EDT)
  • References: <200708150812.EAA09733@smc.vnet.net> <46C2F880.6040603@wolfram.com>

Thank you Dr. Woll.

On 8/15/07, Carl Woll <carlw at wolfram.com> wrote:
> Chris Chiasson wrote:
>
> >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]
> >
> >
> Use the undocumented function PolynomialForm:
>
> TraditionalForm @ PolynomialForm[HoldForm[b + a], TraditionalOrder -> False]
>
> Carl Woll
> Wolfram Research
>
> >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: How to color each point in ListPlot?
  • Next by Date: Extracting terms of a multivariate polynomial order by order
  • Previous by thread: Re: TraditionalForm ordering
  • Next by thread: Re: TraditionalForm ordering