[Maxima] tex output $\mu_e$
Robert Dodier
robert.dodier at gmail.com
Tue Nov 27 22:46:49 CST 2007
On 11/27/07, Zou Yuan-Chuan <yuanchuan at gmail.com> wrote:
> But why not? (See the following)
>
> (%i3) tex("\\mu_e");
> $$\mu\_e$$
> (%o3) false
>
> Notice the difference of $$\mu\_e$$ and $$\mu_e$$.
Well, Maxima is making an attempt (unsuccessfully, it turns out)
to display the argument as the same kind of thing in TeX.
The argument is a string, which is not a variable or expression
in Maxima, so it is not treated as such in TeX either.
(There is also a heuristic at work here, which causes Maxima
to omit \mbox for strings which begin with backslash; that
heuristic should probably be cut out.)
If you just want to print strings verbatim as TeX output,
you can always call print or printf to get anything you want.
Hope this helps
Robert Dodier
More information about the Maxima
mailing list