I responded to Adam but not to the list... Macsyma's simplifier
deliberately orders this way: x+3 and 3*x. Powerdisp:true changes
the first of these to 3+x. If you want polynomials to look like
1+x+x^2 etc.
RJF
Adam Warner wrote:
> Hi all,
>
> [I've just compiled the CVS version for the new command line options (in
> particular --batch-string). Many thanks James Amundson.]
>
> I'm partially intending to use Maxima for its great TeX generation
> capabilities. But there's a problem with using Maxima to generate
> presentation markup--it reverses the order of terms when performing
> addition:
>
> (C1) a+b;
>
> (D1) b + a
>
> Note that it doesn't do this with multiplication:
>
> (C2) a*b;
>
> (D2) a b
>
> And has good reason to leave the order of terms alone with this
> subtraction:
>
> (C3) a-b;
>
> (D3) a - b
>
> And the good sense to simply this expression:
>
> (C4) -a+b;
>
> (D4) b - a
>
>
> If it's not onerous to implement can the order of input terms please be
> maintained when there is no overriding reason to reverse them.
>
> Thanks,
> Adam Warner
>
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>