How can I insert proper tex interpreter inside figures?
Ältere Kommentare anzeigen
When I try to add greater or equal sign to my figure, it is shown as '?'. To my surprise most of the tex symbols are not properly displayed.
I have tried the following, but none has worked so far:
- add all MATLAB fonts to FontBook (OS X)
- specifically switching interpreter to tex
When I use latex as my interpreter, however, it appears properly. But I can't control fontname properties to match other texts on the figure.
Any ideas what is going on here?
My MATLAB version is R2012a and OS X 10.8.2.
5 Kommentare
José-Luis
am 7 Jan. 2013
Please post some example code.
José-Luis
am 8 Jan. 2013
What version of Matlab do you have? If you save your figure as eps, does the interrogation sign appear in the image?
José-Luis
am 8 Jan. 2013
You could check if you have Tex Computer Modern in Fontbook. If they are not in your system, that could be the problem.
Antworten (1)
Daniel Shub
am 8 Jan. 2013
0 Stimmen
While my guess is that their is probably a much simpler solution (like install the correct fonts). The TeX interpreter is fully configurable (although poorly documented). See this question.
Kategorien
Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!