Whenever you use the latex interpreter in Matlab, it uses the Computer Modern font family regardless of what you set as the text box's font. I have rather strict guidelines on the fonts that I need to use in my figures (along with complex equations that the Tex interpreter can't handle), so I was wondering, does anyone know of a way to install new latex fonts for the Matlab latex interpreter?
So I've peaked around the files in the Matlab distribution, and all of the files for the latex interpreter can be found in the folders (for Matlab 2009b on Mac OS X)
/sys/tex
/sys/fonts
If you look in the "fonts" folder, there are the folders "ttf" and "type1" which hold the .ttf, .pfb and .pfm files for the computer modern font. If you then look into the "tex" folder, you find the folder "tfm" which holds all of the .tfm files for computer modern fonts and the folder "latex/base" which holds the .fd files for computer modern fonts. So, all of the files that Matlab uses when type setting latex are there, but in a slightly more chaotic structure than if you were to look into your latex distribution files. I've tried adding the font family phv (which is the Helvetica font family) into the current data tree, but haven't had any luck.
I have briefly looked into using LaPrint to skirt around this problem, but I would definitely prefer to install the fonts and just use Matlab's latex interpreter.
Has anyone else looked into this?
Thanks!
