Showing posts with label text. Show all posts
Showing posts with label text. Show all posts

Saturday, April 4, 2009

Matlab's latex interpreter is broken


When trying to use something like

title('$\int_0^1 f(x) \, dx $', 'interpreter', 'latex');

in (some versions of) Matlab on a Unix platform the output is garbled. The image to the left shows a zoom-in of the title of two plots using the above code: Within the image are two parts: the left is the result of executing the above code on a Windows machine while the left was generated by executing the above code on a Unix machine. I wish someone had a fix for this. Such capability would be really useful.

Here is a link to a post from 2008 that shows that this problem has not been taken care of

http://www.mathworks.de/matlabcentral/newsreader/view_thread/161183