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

95 Ansichten (letzte 30 Tage)
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!

Akzeptierte Antwort

Steven Lord
Steven Lord am 19 Jul. 2017
Put those lines in your startup file.
  4 Kommentare
Sungwoo Park
Sungwoo Park am 20 Jul. 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?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by