MATLAB Answers

Change Font in Latex Interpreter

117 views (last 30 days)
Remo on 7 Jul 2020
Answered: Sai Sri Pathuri on 9 Jul 2020
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!


Sign in to comment.

Community Treasure Hunt

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

Start Hunting!