1

I downloaded the Computer Modern font, which is the default LaTeX font, to use it on my website, but when I opened the file with FontForge I noticed that it misses a lot of math symbols. It contains just the basic math symbols, such as + - : = < > and few others.

I download the font files from many sources but they seems to be all the same.

For example, the sign "not equal" is missing and if I write it, what is displayed is the default font symbol instead (Times New Roman I think). I tried typing , &#x2260;, &#8800;, &ne; but the result is always the same.

Dozens of other symbols are missing, is there a reason for this? Also, is there a way to add them to the font?

If you would like to inspect the file you can download it here, then open the file cmunrm.woff which corresponds to the normal style.

Here you can see a comparison of my site output and the latex output. As you can see all the letters and the 3 are displayed correctly (same font), while the "not equal" symbol is not (different fonts).

enter image description here

New contributor
sound wave is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • 2
    If you look into fontmath.ltx you can see that \neq is defined as \DeclareRobustCommand\neq{\not=}, so it is simply a combination of multiple symbols – samcarter Nov 8 at 9:47
  • I was also thinking that it is a combination of symbols, but so what about all the other ones which are not combination of other symbols? – sound wave Nov 8 at 9:54
  • Can you give an example of a missing symbol that is not a combination? – samcarter Nov 8 at 10:11
  • I don't know, maybe the \in set membership. Anyway, are you saying that the only way to add the missing symbols to the font is to manually add them? That is, create an svg file for each symbol and then add them to the font using FontForge ? – sound wave Nov 8 at 10:34
  • 1
    the computer modern symbol font from ctan.org/tex-archive/fonts/cm/ps-type1/bakoma/otf contains \in: i.stack.imgur.com/Obsa0.png – samcarter Nov 8 at 10:49

Your Answer

sound wave is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.