# What is the best font for Labeling in windows that is consistent with MaTeX fonts?

I am using MaTex on windows and Ubuntu and for labeling, I use the font Latin Modern Roman which is completely consistent with the font generated by MaTex in Ubuntu but it gives different font on Windows?

here is the code and the results I got from Ubuntu18.04 MMA12.1.1 and windows10 MMA12.3:

     plot = Plot[Sin[x], {x, -5, 5}, Frame -> True, PlotRange -> {-1, 1},
LabelStyle -> {FontFamily -> "Latin Modern Roman", Black,
FontSize -> 16},
FrameLabel -> (MaTeX[#,
Magnification -> 1.5] &) /@ {"\\delta(x) \\ -4 \\ 0\\ 4 ",
"\\beta_i(y)"}, Axes -> False, ImageSize -> 300]


from win

from Ubuntu

you can see that on windows the ticks font are different from those numbers ($$-4, 0, 4$$) generated by MaTex. So, Is there a specific font in the windows that can generate the same font style as Matex?

• This is covered in the documentation: please go through the tutorial which has a full section on the topic. On Windows, you need to refer to the font by a different name, which I don't recall. (EDIT: The docs say try "LM Roman 12".) You will need to find the correct name yourself by e.g. using a GUI font chooser and noting the name. I don't know why the same font appears under different names in different OSs. May 30 at 13:02
• And of course, you need to actually install this font before you can use it. May 30 at 13:04
• @Szabolcs, I am actually aware of the section in the documentation and try the font you mentioned in the documentation for windows but did not give the desired results, and that why I came here to seek help. I still don't understand how should I find the respective font? may you please elaborate? May 30 at 13:48
• "I did not install any new fonts" Well, then of course that's the problem. If you don't have a font installed on your system (note: you install it for Windows, not for Mathematica) then you can't use it. The documentation page I referred to has a link to where you can download the font, gust.org.pl/projects/e-foundry/latin-modern May 30 at 19:19
• @Szabolcs, thank you very much, it is working perfectly now May 31 at 6:28

  plot = Plot[Sin[x], {x, -5, 5}, Frame -> True, PlotRange -> {-1, 1},