LaTex Font has changed since update
이전 댓글 표시
I want my font on my figues and tables to match the rest of what i am writing, so I ussually use the LaTex font in matlab when making figues.
In the start of the script I would write:
set(groot,'defaultAxesTickLabelInterpreter','latex')
set(groot,'defaulttextinterpreter','latex')
set(groot,'defaultLegendInterpreter','latex')
However, since I hav updated my MatLab to R2023b, the font has changed.
I have attached eksample of how it looked before and after the update.

Granted symbols like μ and sub- and superscrpts still work as it ussually did.
채택된 답변
추가 답변 (1개)
Sergiu
2025년 11월 19일
1 개 추천
Hello,
If this is still of interest, I have managed to find a workaround for getting the old LaTeX interpreter font back - I am using MATLAB R2025b. Even though the visualisation of the figures shows the LaTeX font as TNR, if you try to copy the figure as a vector graphic or if you export it as a vector graphic file (SVG, EPS and so on), the font in the copied/rendered image will be the CMU Serif used in the default old LaTeX interpreter.
댓글 수: 1
Marin
2025년 11월 19일
This is very useful, although I didn't expect that it is a kind of "requirement" to save/export graphics in vector formats in order for proper LaTeX rendering to be visible. Thank you very much for this comment!
카테고리
도움말 센터 및 File Exchange에서 Axes Appearance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



