## LaTeX forum ⇒ Fonts & Character Sets ⇒ Change font for math mode

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

### Change font for math mode

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.

Stefan Kottwitz
Posts: 8735
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:
I guess you use XeTeX, in that case you could use `\setmathsfont`, such as

`\setmathsfont(Digits){TeX Gyre Termes}\setmathsfont(Latin){TeX Gyre Termes}\setmathrm{TeX Gyre Termes}`

Stefan