Does anynone know how to obtain this kind of fonts in LaTeX (both text and math):

enter image description here

I can reproduce most of these but I can't reproduce style of pi letter very well. I know that these fonts are TeXGyre Thermes with txfonts for math, but it seems that something else has been also used.

Many thanks,


  • That \int (and the main font) looks like newtxfonts, but I'm not sure that exact \pi is the one you will get. – Manuel Jun 3 '15 at 22:18
  • /pi is not from newtxfonts... I tried. – rk85 Jun 3 '15 at 22:20
  • do you have that document in electronic form, or just on paper? – David Carlisle Jun 3 '15 at 22:32
  • Just a paper... I contacted the author and got the details above. She told me she used raw TeX but no very much details (she had a company and this means some secrets...). I know in addition that some AmsTeX might be used, but I didn't find such pi symbol in it. Some other greek letters are also different than default ones. – rk85 Jun 3 '15 at 22:36

For me it looks very much like the pi from TeX Gyre Termes:

enter image description here

So it was perhaps obtained for TeX Gyre Termes+ unicode-math (newtxmath loads Nimbus for maths).

Here is an example with unicode-math. Actually, TeX Gyre Math Termes doesn't use an upshape π from TeX Gyre Termes text font, so I had to use a \text command.

Also, it doesn't have a \mathcal version like the default with Computer Modern, rapher something like mathrsfs. To get one, I had to resort to MnSymbol, which exists in opentype, using the \setmathfont[range=\mathcal]{…} command.

\documentclass[a4paper, 11pt]{book}\usepackage{mathtools}
\usepackage{amssymb}%% additional symbols

\setromanfont[Ligatures=TeX]{TeX Gyre Termes}

\setmathfont[math-style=french,bold-style=TeX, vargreek-shape=TeX]{TeX Gyre Termes Math}


  \mathcal{E} = \frac{1}{8\text{π}}\int(\mathbf{E}^2 + \mathbf{H}^2) \,\mathrm{d}V,\ \pi\neq\mathit{\pi}\neq\text{π}

TeX Gyre Termes \verb+\mathcal+ is analogous to \verb+\mathrsfs+ script font, not to default’s TeX \verb+\mathcal+. To have on such font, we may use, say, \verb+MnSymbol+:
\[ \setmathfont[range=\mathcal]{MnSymbol}
  \mathcal{E} = \frac{1}{8\text{π}}\int(\mathbf{E}^2 + \mathbf{H}^2) \,\mathrm{d}V.

enter image description here

  • 2
    It looks like you got it. Maybe you should add a MWE. – Svend Tveskæg Jun 4 '15 at 0:02
  • I'll do that tomorrow (it's late now, and I don't know well unicode-math…) – Bernard Jun 4 '15 at 0:18
  • @SvendTveskæg - The starting points and terminals of the "strokes" of \uppi in the OP's screenshot are either nicely rounded ("lacrymal") or smoothly tapered, whereas the starting points and terminals of the strokes of the glyph above have a distinctive "cut-off" quality. Thus, even though the two glyphs may be fairly similar in overall shape, that's not the case for the "character" or "quality" of the glyphs. – Mico Jun 4 '15 at 6:52
  • @Mico Good point; I didn't look at it that closely. – Svend Tveskæg Jun 4 '15 at 8:47
  • That's why I said it looks very close to. Anyway the magnification is not the same, and it's obtained with a font manager. – Bernard Jun 4 '15 at 9:10

The newtxmath package provides \uppi as well. (newtxtext/newtxmath, txfonts, and TeX Gyre Termes are all clones of Times Roman.)

enter image description here

\mathcal{E} = \frac{1}{8\uppi}\int(\mathbf{E}^2 + \mathbf{H}^2) \,\mathrm{d}V,\ \pi\ne\uppi


\newcommand*\diff[1]{\mathop{}\!\mathrm{d} #1}


  = \frac{1}{8\uppi} \int (\field{E}^{2}+\field{H}^{2}) \diff{V}



  • It's very similar but not quite exactly like this. For example, left leg is slightly different:) – rk85 Jun 3 '15 at 22:31
  • It's good:) I'm really thankful, but perhaps someone will recognize this even further:) If not, I will use your suggestion obviously. – rk85 Jun 3 '15 at 22:42

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.