Why are LaTeX interpreted strings corrupted in a figure saved as Enhanced Meta File in MATLAB 7.0 (R14) after I restart my computer?

1 view (last 30 days)
A figure is generated using the following commands:
plot(1:10)
xlabel('$x_1$','Interpreter','Latex')
I saved this figure containing LaTeX interpreted strings as Enhanced Meta File (EMF) in MATLAB 7.0 (R14). However, when I open the EMF upon restarting my computer, the LaTeX interpreted characters are corrupted.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 29 Jun 2010
The LaTeX interpreter in MATLAB 7.0 (R14) uses a special font that MATLAB installs when you use your first LaTeX interpreted string. If you restart your computer, the links to those fonts are lost. Therefore, you need to install these fonts directly onto the Windows Operating System in order to resolve the issue. These fonts are located at:
$matlab/sys/fonts/type1/cm/
where $matlab is MATLAB's root directory as returned by the following command:
matlabroot
Copy these fonts to:
$Windows/Fonts
where $Windows is the Windows' root directory. Windows' root directory can be obtained by typing the following command at the system command prompt:
echo %SYSTEMROOT%
If you are using MATLAB 7.0.4 (R14SP2), also copy the fonts located in:
$matlab/sys/fonts/ttf/cm/
where $matlab is MATLAB's root directory as returned by the following command:
matlabroot

More Answers (0)

Categories

Find more on Historical Contests in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!