I watch the CTAN Announcement RSS feed as a way of finding out about cool new packages. Recently I saw two announcements; The release of lm-math and tex-gyre-math. I use both Latin Modern (via lmodern or cfr-lm ) and Times (via loading mathptmx followed by tgtermes) quite a lot. Do these new packages contain anything useful for me? Should I be loading my fonts in a different way now? An older question seems to imply that these are for XeLaTeX and LuaTeX, since they are in OTF format, not Type 1. Is there an easy way I can use these updated fonts with PDFLaTeX (Or should I refer to my old question?) If there is, should I worry about trying to use them?

  • 1
    Short answer: no, no short way to use them with pdflatex. – egreg Oct 27 '12 at 22:04

The tex-gyre-math release contains only OpenType fonts:


TeX-Gyre-Math is to be a collection of maths fonts to match the text fonts of the TeX-Gyre collection. The collection will be made available in OpenType format, only; fonts will conform to the developing standards for OpenType maths fonts. At present, TeX-Gyre-Math-Pagella and TeX-Gyre-Math-Termes are available.

So they are only (directly) usable with XeLaTeX or LuaLatex (and require the package unicode-math). I tried them this morning with the following, and here is what I do to load the fonts (I also load the TeX Gyre Termes font for text):

\setmainfont[Ligatures=TeX]{TeX Gyre Termes}
\setmathfont{TG Termes Math}
% xetex

Perhaps there is a simpler way to let XeTeX find the fonts.

Note that there are no bold versions of the math fonts (as far as I can tell).

|improve this answer|||||
  • So new fonts....designed for academic use (who else needs that many math symbols?)...that you can't publish as journals demand pdftex. sigh – Canageek Oct 27 '12 at 22:12
  • @Canageek Journals either use TeX + CM or Times, or non-TeX solutions, for which TeX-only fonts don't help anyway :-) Think time-scale: these fonts will be around a long time, and there is a lot of interest in math typesetting beyond the TeX world. – Joseph Wright Oct 27 '12 at 22:18
  • @jfbu There is no concept of a bold version of a math font - bold is used to alter meaning, so is quite intentionally available on a per-symbol basis only. (See also question about sanserif math fonts.) – Joseph Wright Oct 27 '12 at 22:20
  • @JosephWright: Bold math fonts can be of use in all bold situation e.g. in titles or theorems (last year I had a math book typeset with metal type in Russia where all theorems were set in bold including math), XITS and Lucida Math has bold fonts for that reason. – Khaled Hosny Oct 27 '12 at 22:45
  • If you install the fonts system wide, you can load them by font name. I hope at some point to make XeTeX able to load fonts installed in TeX tree by font name too, LuaLaTeX already do. – Khaled Hosny Oct 27 '12 at 22:47

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.