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

122 views (last 30 days)
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!

Accepted Answer

Steven Lord
Steven Lord on 19 Jul 2017
Put those lines in your startup file.
  4 Comments
Sungwoo Park
Sungwoo Park on 20 Jul 2017
@Walter Roberson, now I understand your recommendations. Thank you all!

Sign in to comment.

More Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!