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
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
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