variable ordering in TeXForm
- To: mathgroup at smc.vnet.net
- Subject: [mg104195] variable ordering in TeXForm
- From: pfb <pf.buonsante at gmail.com>
- Date: Thu, 22 Oct 2009 22:34:13 -0400 (EDT)
I'm currently using TeXForm to export formulae from Mathematica (5)
into a LaTeX document. The translation seems pretty good, but I'm
annoyed by the ordering chosen by Mathematica for sorting e.g the
monomials of a polynomial.
I'd like to get what TraditionalForm produces, but instead I get the
Consider for instance the polynomial 6x^2-7x+2. The usual output of
Mathematica reverses the order, writing 2-7x+6x^2.
However, when asked for the TraditionalForm of either polynomial
above, it gives what I expect, i.e. (a graphically fancy version of)
the first ordering.
On the other hand, TexForm reverses the ordering, similar to the usual
Is there a simple way to get around this?
By the way, I wonder why this is the (hopefully hackable) default
behaviour. I thought that pretty much everybody would be happy with a
latex code reproducing the traditional form when plugged into a latex
Thanks a lot for any help.
Prev by Date:
Next by Date:
How to print/display symbolic expressions from inside a Module without the $ dollar signs?
Previous by thread:
Next by thread:
Re: variable ordering in TeXForm