Fonts & Character SetsChange font for math mode

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
bstex
Posts: 69
Joined: Mon Oct 23, 2017 10:22 am

Change font for math mode

Post by bstex »

Hi,
is there any way to change the default font on math mode with a custom font?
Specifically, I'd like to set it to "Myriad Pro" which shows greek letters nicely.
Thank you.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
Joined: Mon Mar 10, 2008 9:44 pm

Change font for math mode

Post by Stefan Kottwitz »

I guess you use XeTeX, in that case you could use \setmathsfont, such as

Code: Select all

\setmathsfont(Digits){TeX Gyre Termes}
\setmathsfont(Latin){TeX Gyre Termes}
\setmathrm{TeX Gyre Termes}
Stefan
LaTeX.org admin
Post Reply