Skip to content

Instantly share code, notes, and snippets.

@alchem0x2A
Last active May 26, 2023 13:51
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alchem0x2A/06a4e6c340e2d523030378ea6e39d386 to your computer and use it in GitHub Desktop.
Save alchem0x2A/06a4e6c340e2d523030378ea6e39d386 to your computer and use it in GitHub Desktop.
Useful math fonts in LaTeX

Math fonts that worth noting

Solutions taken from ftp://tug.ctan.org/pub/tex-archive/info/Free_Math_Font_Survey/survey.html in TUG.

Times-resemble math font

Use either txfonts or mathptmx for Times font support. I personally prefer txfonts since its mathcal symbols look more natural to me.

To use: include \usepackage{txfonts} or \usepackage{mathptmx} in the preamble.

Sans math font

The good

Personally the most comfortable Sans Serif fonts are Palatino or Kerkis. The usage is a bit different:

  • Palatino: use any of the following: pxfonts, mathpazo or mathpple. For me pxfonts looks more professional like in textbooks.
  • Kerkis: need to include \usepackage{kmath,kerkis}

The bad

Optionally kurier or arev can also be used. But I don’t their appearances.

The ugly

The sfmath package with no Greek font support. You need to include additionally the sansmathfonts package to enable Greek fonts, but again the support for some features like mathcal or mathscr are broken.

Artistic-designed fonts

For art-type fonts that may appear on cover, I recommend to use the euler or eulervm. The latter can handle missing fonts as closest resemblance to ComputerModern.

@darylz
Copy link

darylz commented May 26, 2023

Thank you so much!
BTW mathpazo and mathpple are so similar.

@alchem0x2A
Copy link
Author

Just notices how much the TeX community has evolved over years! Now my main workflows use XeTeX / LuaTeX with unicodemath. STIX2-math and Fira-math are quite good and stable to use for serif / sans purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment