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

94 vues (au cours des 30 derniers jours)
Sungwoo Park
Sungwoo Park le 19 Juil 2017
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!

Réponse acceptée

Steven Lord
Steven Lord le 19 Juil 2017
Put those lines in your startup file.
  4 commentaires
Sungwoo Park
Sungwoo Park le 20 Juil 2017
@Walter Roberson, now I understand your recommendations. Thank you all!
Jorge Ignacio Cisneros Saldana
How can I add them for a figure and and uitable text?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by