Change Font in Latex Interpreter

조회 수: 186 (최근 30일)
Remo . 2020년 7월 7일
댓글: atharva aalok . 2022년 9월 23일
Hi everyone,
I stumbled across a problem using the latex interpreter. I like to work with TeX Gyre Pagella in LaTeX documents and thererfore it would be nice if my ticks and labels in the plots also had these fonts.
As soon as I use the latex interpreter, the font is however set to the default LaTeX font computer modern. What I did up to now was using no interpreter at all, saving the plot as an svg file and the convert it with inkscape to a tex file, for which the font was updated.
Is there a possibility to do this with the latex interpreter directly?
Thank you very much!

답변 (2개)

Sai Sri Pathuri
Sai Sri Pathuri 2020년 7월 9일
  댓글 수: 1
Ben Bitdiddle
Ben Bitdiddle 2021년 1월 30일
Does not address the question of setting the font. See the title of the question "Change Font in Latex Interpreter."

댓글을 달려면 로그인하십시오.

Walter Roberson
Walter Roberson 2021년 1월 31일
Not supported for current versions of MATLAB.
Note: you might be able to do it with Report Generator.
Also, there just might happen to be a way to hack it if you are using uifigures; I have seen passing reference to some customization hooks that perhaps might happen to give a way to load a latex package.
  댓글 수: 1
atharva aalok
atharva aalok 2022년 9월 23일
Is it possible now?

댓글을 달려면 로그인하십시오.


Help CenterFile Exchange에서 Printing and Saving에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by