[Tex/LaTex] Computer Modern Serif for both linux and windows

amsfontscomputer-modernfonts

There's a high probability that my question was asked before, but I couldn't find a good answer to it, so I'm going to pose the question again, hoping that I will get the accurate answer to my question.

I use both linux and windows with my personal cloud that synchronizes my data on multiple computers. I'm currently writing a 150+ pages scientific document on latex that uses the default latex font. After digging to know the name of that font, I found that the font name is Computer Modern Serif (Is that right?) (I use report class in latex, is that the default font for it?)

Now I have schematics and figures that I made with Inkscape. I need those to be openable in both windows and linux, but, … I couldn't find the font that would be common between windows and linux. Under linux, the font is called "Serif". Under windows it's called "CMU Serif", of course after manually installing it on windows.

How can I have a single font name for both windows and linux (without manually messing font names) so that I don't have to change the name of the font the whole time? I expect to have a font that has exactly the same name from linux, and then just install it on windows, and voila! No problem anymore in both operating systems.

1- Is that possible?

2- Are the font names I mentioned correct? I really am lost in this.

Please advise.

Best Answer

Well, sorry, but I think you're wanting to do this bigger than it is. You can use a font that you want to LaTeX. There is a good catalog of native fonts and you can always use ttf and otf fonts using XeLaTeX as you know.

On the other hand, Computer Modern is a very good source, ideal for working with math, but not the only one. You say you're using Latin Modern Roman that it's another project.

I think there is a confusion at this point. According to this article in the wikipedia and the references related, you can get the font family from here in open Type format, suitable for use with Inkscape and easy to install in Windows (leave aside for a moment to gnu/linux to keep things simple).

Also @cfr sent you the path for download the Latin Modern fonts in open type. In my own experience isn't hard to install this kind of fonts. I would download all the files from the directory for get all the weights and variations of the font available.

This would be enough for satisfy the point 1 of your question.

To answer the second point, you need to know something about fonts to begin the fact that not always the family name is synonymous with guarantee. Often fonts with the same name but produced by different manufacturers differ in details to each other. There is almost always subtle differences in strokes in the number of glyphs and sometimes includes encoding of some characters. The more delicate is the kerning, which can produce ugly spaces in LaTeX.

In that sense, my suggestion is to try the versions stored on CTAN, which although Open Type, can be used either to LaTeX.

The latest idea or option, is to try XeLaTeX and another font. However the problem is that commercial fonts have a very small set of mathematical symbols. There are pi fonts that complement but are not very extensive, and are not always combine well with the main font.

To me, for example, I like to use Palatino by Hermann Zapf, so in LaTeX I can use mathpazo (extended version of Palatino for mathematics in LaTeX), thus I can happily use Palatino in Inkscape, Illustrator or whatever.This works great if you don't require special symbols to create diagrams. I don't know if it's your case, but I hope this helps.

Related Question