필터 지우기
필터 지우기

How can I insert proper tex interpreter inside figures?

조회 수: 1 (최근 30일)
Hassan F
Hassan F 2013년 1월 7일
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
Hassan F
Hassan F 2013년 1월 8일
편집: Hassan F 2013년 1월 8일
My Matlab version is R2012a.
There is no problem when I save figures as pdf or eps (*). I suspect there is a problem with the fonts installed on X11.
(*) edit: interrogation sign appears properly when I save in these two formats.
José-Luis
José-Luis 2013년 1월 8일
You could check if you have Tex Computer Modern in Fontbook. If they are not in your system, that could be the problem.

댓글을 달려면 로그인하십시오.

답변 (1개)

Daniel Shub
Daniel Shub 2013년 1월 8일
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.

카테고리

Help CenterFile Exchange에서 Language Support에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by