Skip to main content
v2026.11,986 entries · CC-BY 4.0

Times in LaTeX: mathptmx, newtx and tgtermes Compared

How to use the Times font in LaTeX with mathptmx, newtx or tgtermes, what each changes in text and math, and what to try when symbols or bold math fail.

Written and maintained by CASRAI Editorial Board

Published · Last updated

On this page

To set the Times font in LaTeX, load \usepackage{mathptmx} in the preamble: it makes Times the default roman text font and supplies matching math. For a newer route, \usepackage{newtxtext,newtxmath} (or the combined newtx package) gives a Times clone for text and math, and \usepackage{tgtermes} loads TeX Gyre Termes for text only. The old times package still exists but CTAN lists it as obsolete and replaced by mathptmx. Whichever you pick, LaTeX does not load Microsoft’s Times New Roman: it loads Adobe Times Roman or an equivalent.

If you searched for the multiplication sign instead, that is the \times command, covered in the guide to the LaTeX multiplication symbol. The rest of this page is about the typeface.

What it is used for in research

Times is the typeface that many journal and conference templates assume for body text, so researchers often need to switch a thesis, preprint or manuscript from the LaTeX default, Computer Modern, to a Times-like face. Computer Modern is what you get when no font package is loaded, as the guide to LaTeX’s default font explains. The PSNFSS documentation lists the effect of loading mathptmx in a table of packages for common PostScript fonts: roman text becomes Times, and formulas become approximately Times, while sans serif and typewriter families are left unchanged.

That last point matters for research documents. Equations are a large part of a technical paper, and a font change that touches only running text leaves the math in a visibly different style. The packages below differ mainly in how they handle math, so the choice is a decision about formulas as much as about body text.

Latex times: which package name do people mean?

The phrase “latex times” has no single package behind it. In practice it refers to one of four package names that all aim at Times: times, mathptmx, newtx (with its parts newtxtext and newtxmath) and tgtermes. The data table at the end of this page compares them using each package’s own CTAN page and documentation.

How to install or access it

You normally install nothing by hand. CTAN lists times and mathptmx as part of the psnfss collection, available in TeX Live and MiKTeX. CTAN also lists newtx as available in TeX Live and MiKTeX under the name newtx, and TeX Gyre Termes as part of the tex-gyre collection in both distributions.

If a package is missing on a local installation, install it through your distribution’s package manager (TeX Live’s tlmgr or the MiKTeX console) rather than copying .sty files from a third-party site. The authoritative copies are on CTAN: mathptmx, newtx, TeX Gyre Termes and psnfss.

Step-by-step: setting Times in LaTeX

Option 1: mathptmx

  1. Open the preamble of your document, the part before \begin{document}.
  2. Add \usepackage{mathptmx}. This changes the default roman font family to Times and uses the virtual mathptmx fonts for math, according to the PSNFSS user guide.
  3. Add \usepackage[T1]{fontenc} and \usepackage{textcomp}. The PSNFSS guide notes that none of its font packages changes the output encoding from the default OT1, and it highly recommends the extended T1 and TS1 encodings for these fonts.
  4. If you also want Helvetica for sans serif text, load \usepackage[scaled=0.92]{helvet}. The guide explains that Helvetica looks larger than other faces of the same nominal size, and that scaling it to 92% suits Adobe Times. See the guide to Helvetica in LaTeX for that package in detail.
  5. Recompile. If you use the optional slantedGreek option, \usepackage[slantedGreek]{mathptmx}, uppercase Greek letters in math become italic by default; the commands \upGamma, \upDelta through \upOmega always give upright uppercase Greek.

The PSNFSS guide’s own preamble loads mathptmx, courier and helvet with scaled=0.92, which shows the combination in use.

Option 2: newtx

  1. Replace any mathptmx or times line with \usepackage{newtxtext,newtxmath}, or use the single \usepackage{newtx} interface. The newtx documentation describes newtxtext and newtxmath as two packages that may be run independently of one another, and newtx.sty as a way to load either or both for any LaTeX engine.
  2. To scale text and math together, pass scale or scaled to newtx; the documentation says the same option is passed to both the text package and newtxmath. To scale them separately it gives textscale[d] and mathscale[d].
  3. Under XeLaTeX or LuaLaTeX, the documentation describes an otfmath option for Unicode math: load newtx with otfmath, then load your chosen Unicode math package and set the math font with \setmathfont. It also notes that Babel, if used, must be specified before newtx or newtxtext, and Polyglossia after it. The LuaLaTeX guide covers that engine.

Option 3: TeX Gyre Termes

  1. Add \usepackage{tgtermes}. Overleaf’s font reference lists TeX Gyre Termes with the package name tgtermes and the font code qtm.
  2. Choose a separate math package. The CTAN page for TeX Gyre Termes describes it as a replacement for the standard Times Roman font and does not describe a matching math font, so formulas stay in whatever math setup you load.

Output and how to read it

After compiling, the body text should appear in a Times-style serif instead of Computer Modern. To confirm which family LaTeX is using, look at the font list in your PDF viewer’s document properties. Overleaf’s font reference gives the LaTeX font family code for Times as ptm and for TeX Gyre Termes as qtm, which helps when you are matching a name in the list to a package.

Check the math as well as the text. With mathptmx, the math is built from Times Italic letters, with the missing symbols taken from Computer Modern, RSFS (for \mathcal) and Adobe Symbol. With newtxmath, the CTAN page and README describe splitting the older txfonts package, re-evaluated metrics that are less tight, and options such as libertine that substitute other italic and Greek letters. Mixed-origin math fonts are a normal feature of these packages, so inspect a page with matrices, subscripts and Greek letters before you commit to one.

Troubleshooting

Bold math does not work with mathptmx

The PSNFSS guide lists this as a known deficiency: there are no bold math fonts with mathptmx, \boldmath has no effect, and using the bm package with it is not recommended. If your template needs bold math symbols, test a different route before committing to mathptmx.

Some math symbols are missing

The same guide states that \jmath, \coprod and \amalg are not available with mathptmx. A document that uses them needs a different math package.

Sans serif text looks too large next to Times

This is the Helvetica sizing issue above: load helvet with scaled=0.92, the value the PSNFSS guide gives for use with Adobe Times.

Package option clash with fontspec

The newtx documentation says that if newtx or newtxtext detects that a prior package loaded fontspec, it does not reload it, so the earlier package is responsible for passing the right fontspec options, including no-math. Its worked example for xeCJK sets \PassOptionsToPackage{no-math}{xeCJK} or loads xeCJK with [no-math] before newtx.

Missing characters or odd accents

Load fontenc with T1 and textcomp, as in step 3 of Option 1. The PSNFSS guide warns that these fonts do not contain every text companion (TS1) symbol, so a rare symbol may still be absent.

A journal asks for “Times New Roman”

The CTAN pages describe Adobe Times Roman “or an equivalent”. If a submission system checks font names in the PDF, none of the packages here is documented as loading Microsoft’s Times New Roman, so ask the journal whether an equivalent is acceptable rather than assuming it is.

Free alternatives

Every package in this guide is listed on CTAN with the free licence named in the data table below (LPPL or the GUST Font License). The table shows how the four Times routes differ in practice; the detailed comparison is in the data table below.

Route Best understood as When it fits
mathptmx The established PSNFSS Times package with matching math Existing templates that already load it; CTAN marks it obsolete and recommends newtx
newtx A Times clone for text, with its own math package and many options Documents that need the scaling and math options its manual describes
tgtermes TeX Gyre Termes for text only A text-only change; the CTAN page describes no matching math font
times The original Times package Only legacy files; CTAN says it is replaced by mathptmx

Frequently asked questions

How do I use Times in LaTeX?

Add \usepackage{mathptmx} to the preamble for Times text with matching math, or \usepackage{newtxtext,newtxmath} for the newtx replacement. Both are available in TeX Live and MiKTeX.

Is the times package still used?

CTAN describes times as obsolete and replaced by mathptmx, kept for compatibility. New documents should use one of the other routes.

Does mathptmx change the math font too?

Yes. The PSNFSS guide says the virtual mathptmx fonts are used for math, made mostly from Times Italic with missing symbols from Computer Modern, RSFS and Adobe Symbol.

Is the LaTeX Times font the same as Times New Roman?

No. CTAN describes the packages as selecting Adobe Times Roman or an equivalent, and describes TeX Gyre Termes as a replacement for the standard Times Roman font.

What is the difference between newtx and tgtermes?

The newtx documentation says newtxtext is based on TeX Gyre Termes, and that newtx adds a math package, scaling and many options. Loading tgtermes alone changes text only.

Sources

  • CTAN, times package: https://ctan.org/pkg/times (read 2026-11-14)
  • CTAN, mathptmx package: https://ctan.org/pkg/mathptmx (read 2026-11-14)
  • CTAN, newtx package and README: https://ctan.org/pkg/newtx and https://mirrors.ctan.org/fonts/newtx/README (read 2026-11-14)
  • Michael Sharpe, New TX font package (newtxdoc.pdf): https://mirrors.ctan.org/fonts/newtx/doc/newtxdoc.pdf (read 2026-11-14)
  • CTAN, TeX Gyre Termes: https://ctan.org/pkg/tex-gyre-termes (read 2026-11-14)
  • CTAN, psnfss and its user guide source psnfss2e.tex: https://ctan.org/pkg/psnfss and https://mirrors.ctan.org/macros/latex/required/psnfss/psnfss2e.tex (read 2026-11-14)
  • Overleaf, Font typefaces: https://www.overleaf.com/learn/latex/Font_typefaces (read 2026-11-14)

Data: Times font routes in LaTeX: package status, text and math coverage, licence

Compares the four package routes for setting a Times-style font in LaTeX (times, mathptmx, newtx, tgtermes), compiled from each package's CTAN catalogue page, the newtx README and manual, and the PSNFSS user guide. Each cell states only what those sources say; cells with no stated information say so.

Times font routes in LaTeX: package status, text and math coverage, licence
PackageText fontMath fontStatus on CTANLicenceDistribution
timesAdobe Times Roman or an equivalentNot statedObsolete; replaced by mathptmxLPPL 1.3cPart of psnfss; TeX Live and MiKTeX
mathptmxTimes Roman or an equivalentTimes Italic letters with symbols from Computer Modern, RSFS and Adobe SymbolConsidered obsolete; CTAN recommends newtxLPPL 1.2Part of psnfss; TeX Live and MiKTeX
newtx (newtxtext, newtxmath)Times clone, newtxtext based on TeX Gyre Termesnewtxmath, from txfonts glyphs with metric adjustmentsVersion 1.756 of 2025-01-09 listedLPPL 1.3TeX Live and MiKTeX
tgtermesTeX Gyre Termes, a replacement for the standard Times RomanNot statedVersion 2.004 listed (no release date given)GUST Font LicensePart of tex-gyre; TeX Live and MiKTeX

Sources

Compiled by CASRAI from the sources above. Free to reuse under CC BY 4.0 with attribution.

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Ask CASRAI · free to try

Ask about Times in LaTeX: mathptmx, newtx and tgtermes Compared

2 free questions a day, no account.

An AI assistant for research: funder rules, compliance, methods and publishing. It links the sources behind its answers and labels answers that come from a web search.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays open to read, with no account and no card.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →