Minus vanishes with Latex interpreter (Linux system)
Show older comments
When using latex interpreter for text(...) the minus sign vanishes in superscript and in \frac{}. I tried linking my latex base folder to matlab but this has not solved the problem.
4 Comments
Nir
on 25 Apr 2012
I have the exact same problem... any luck?
Walter Roberson
on 25 Apr 2012
Which MATLAB version, and which Linux are you using? Are using the default X library that comes with the system, or have you installed the "oldX" library?
Wayne King
on 25 Apr 2012
I don't have this problem with Debian 6 running R2012a
Walter Roberson
on 26 Apr 2012
Remember the Linux font problems of R2010a-ish. Some of those were tracked down to some versions of Linux not installing all the necessary fonts; and some of the problems were tracked to the default X library having improper optimizations; and some of the problems I did not hear the cause of.
Answers (2)
Daniel Shub
on 26 Apr 2012
0 votes
This seems too long for a comment, but it is not really an answer either ...
I am pretty sure MATLAB uses its own LaTeX engine and does not generally make use of any installed versions of LaTeX (similar to how MATLAB deals with JAVA).
If I recall the days before export_fig when I was using Windows, exporting figures to .ai/eps/pdf files and importing them to Illustrator used to cause the minus sign to disappear.
What renderer are you using?
Can you post example code so we can try and reproduce the problem?
Jannick
on 7 May 2012
Categories
Find more on Labels and Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!