How can I set default interpreter as LATEX in MATLAB R2017a?

95 次查看(过去 30 天)
Hello,
set(groot,'defaulttextinterpreter','latex');
set(groot, 'defaultAxesTickLabelInterpreter','latex');
set(groot, 'defaultLegendInterpreter','latex');
I'm using a code of 3 lines above to change the interpreter to latex.
However, when I turned off and restart MATLAB again, the interpreter changed to the original one.
It's weird because I changed the default setting to LATEX. Why does it change from Latex to the original one?
Is there anyway to fix it even after rebooting a computer?
Thank you very much!

采纳的回答

Steven Lord
Steven Lord 2017-7-19
Put those lines in your startup file.
  4 个评论
Sungwoo Park
Sungwoo Park 2017-7-20
@Walter Roberson, now I understand your recommendations. Thank you all!

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by