From time to time I check whether the situation with Latex in Maple has improved. Just one random example:
latex(2*x/(x-1));
2\,{\frac {x}{x-1}}
Is it really that hard to do a simple fraction?
Even double quotes in the math mode are still transcribed to a pair of single quotes, as if they were in the text mode,
latex("x");
``x''
Not even talking about spreadsheets and other total failures.
Is latex going to be deprecated (together with all other lower case commands)?
Alec
A better way to complain
You could consider actually showing what the 'correct' latex for these cases ought to be, in your humble opinion, and why. I am not defending Maple's sub-optimal choices here, but you'll find that this task quickly gets very difficult.
I agree
I agree.
In both examples, the latex code producing the same expression as Maple gives in the output in Classic, or 2D-input in Standard would be good - for using latex to convert a worksheet to pdf. I could write it if necessary (and I did that, I think, at least 3 or 4 times in earlier posts in various places during last 6 or 8 years, including few bug reports that I used to submit at that time) - but everybody else could do that, too (except Maple).
Edit: By the way - I am not complaining. I use Maple for entertaining purposes and every piece of it brings a lot of fun.
Alec
algolib LaTeX
I see that the algolib Library comes with a replacement LaTeX package. For these two examples, one works better, but the other not:
with(LaTeX): latex(2*x/(x-1)); \frac{2 x}{x - 1} latex("x"); Error, (in typetomath) x: invalid for math modeApparently, if "algolib" is in the 'libname' path, before the main library, the native 'latex' command cannot be used (even as ':-latex') because of a "missing" export in the algolib version of 'LaTeX'. Eg:
It seems that a number of 'latex' replacements have been developed independently.
algolib
Yes, algolib's latex is much-much better. I wonder why it was not included in Maple, together with equivalent and other algolib's parts significantly improving Maple math functionality.
Alec
Algolib
It is in the maple-12-wish-list,
http://www.mapleprimes.com/blog/jacquesc/maple-12-wish-list#comment-8640
Sandor
Wishes
It seems as if none of those wishes were implemented in Maple 12, except KroneckerProduct which was implemented before that wish-list started.
Alec