![]() ![]() Set(gca, 'FontName', 'Latin Modern Roman', 'FontSize', 25) Ylabel('value', 'FontName', 'Latin Modern Roman', 'FontSize', 25) Xlabel('index', 'FontName', 'Latin Modern Roman', 'FontSize', 25) To get the latex font in your plots, simply execute: plot(rand(10), 'o') Of course, you can find them all via the fc-list command. ![]() I think these fonts are used when you call \textrm (roman), \textsf (serif), etc etc, in latex in mathmode. usr/share/texmf/fonts/opentype/public/lm/lmroman7-italic.otf: Latin Modern Roman,LM Roman 7:style=7 Italic,Italicīetween the colon and the first comma it says Latin Modern Roman, which is the name of the Roman font of Latin Modern, there is also: usr/share/texmf/fonts/opentype/public/lm/lmroman10-bold.otf: Latin Modern Roman,LM Roman 10:style=10 Bold,Bold You can find them all via: # fc-list | grep lmroman ![]() In ubuntu (and possibly other distro's) the latex font is called Latin Modern, or lm for short. However, linux's command fc-list lists all fonts on your system, I think they are all supported by Matlab. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |