TransWikia.com

How to set only Math fonts to Times in a Beamer document?

TeX - LaTeX Asked by Aldo MorteraC on February 17, 2021

I’m using default Latex Fonts (lmodern, serif) to the main body of the document, but I’d like to set ONLY math mode to Times, leaving the rest unaltered. Which package should I use?

Thanks. I’ll appreciate your help.

One Answer

I would recommend that you use unicode-math if you can, and legacy 8-bit fonts if you have to.

If you can use unicode-math, add the command

setmathfont{TeX Gyre Termes Math}[Scale=MatchLowercase]

If you are using PDFTeX, load the package

usepackage{newtxmath}

You might need to give beamer the professionalfonts option to turn off sans-serif math.

Answered by Davislor on February 17, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP