I know that I can put \usepackage{times} in the preamble in order to use the Times font instead of Computer Modern for my document. But this only affects the text; the math is still typeset using Computer Modern. How can I make Latex use Times also for the math?

  • 2
    The font Times itself doesn't come with any support for maths; the answers below are free maths fonts that go well with Times. – ShreevatsaR Jul 30 '10 at 19:14
  • There several great answeers below, but just as a side-remark: The LaTeX Font Catalogue is an excellent place to look in situations like this. – Jesper Ipsen Mar 13 '13 at 8:15

Probably the most common solution at present using free fonts is mathptmx


This package supersedes times and mathptm.

The commercial mathtime is available in a 'lite' version in a free (cost) package, but you need to pay for the full version. See http://www.pctex.com/mtpro2.html

As noted in the answer by mafp, the newer newtx bundle is now available and addresses issues present in mathptmx.

  • Most up to date? Isn't txfontsb considerably newer than mathptmx? – frabjous Aug 11 '10 at 12:41
  • I can't see any mention of 'Times' in the txfontsb documentation, nor of the range of math support. (The focus seems to be on Greek.) – Joseph Wright Aug 11 '10 at 15:47
  • It's an extension of the txfonts package, which provides Times in both text and math mode. The documentation may focus on Greek, most likely because that's what's different compared to txfonts. But load the package and you'll see. – frabjous Aug 12 '10 at 3:03

In the mean time, two new option for Times have emerges. The newtx package provides both text and math versions for Times via


The TeX Gyre project supplies TeX Gyre Termes for text to be used with


and a math version TeX Gyre Termes Math that currently only comes in Open Type Format, and can be used with

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

in LuaTeX or XeTeX, and with

\starttypescript [math][times,termes][all]

in ConTeXt.

  • This caused an error "! LaTeX Error: Command \openbox already defined. Or name \end... illegal, see p.192 of the manual." – Jeff Jan 13 '15 at 19:47
  • @Jeff What exactly, i.e., do you have an MWE? – mafp Jan 13 '15 at 23:12

If you don't mind using a Times-like font, a different engine, and the not yet officially released TeXLive-2010, then you can try XITS font with LuaLaTeX (my preference) or XeLaTeX:



\setmainfont{XITS} % you can use any other Times font if you wish
\setmathfont{XITS Math}

Some text and \(\sqrt{x+y}=z\) equation

With current TeXLive 2012 and lualatex or xelatex

\setmainfont{TeX Gyre Termes}
\setmathfont{TeX Gyre Termes Math}

Some text and \(\sqrt{x+y}=z\) equation

enter image description here

see package documentation of fontspec for optional arguments to the font setting.


I’ve been using the txfontsb package for Times, though generally I avoid Times. (After reading countless student papers in Times, it grates on me.)




in your preamble. This makes LaTeX use the Times and Symbol fonts for math, except for large symbols (summation, integration, etc.) which look funny in the Postscript Symbol font.


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.