How can I get the correct font spacing in .eps graphics using latex interpreter?

9 views (last 30 days)
When I create graphics in MATLAB, I use the LMRoman12 font and the latex interpreter. The MATLAB graphics I get look OK, but when I export them to .eps the spacing between characters is larger than normal. I've been using export_fig, but if I use the MATLAB print I also get the same output.
I've been told to use $\textit{}$ for subscripts and it works. However for normal text I still have the problem
Any ideas of what is happening?
(Windows 7 system + MATLAB R2012a

Answers (1)

Daniel Shub
Daniel Shub on 3 Sep 2012
I don't know why it happens. In general MATLAB doesn't support figures and LaTeX very well. You can try FEX:LaPrint or FEX:matlab2tikz.

Community Treasure Hunt

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

Start Hunting!