LaTeX forum ⇒ Fonts & Character SetsChange font for math mode

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

Change font for math mode

Postby bstex » Fri Nov 03, 2017 2:39 pm

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.

User avatar
Stefan Kottwitz
Site Admin
Posts: 8596
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany

Postby Stefan Kottwitz » Mon Nov 06, 2017 6:46 pm

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

  1. \setmathsfont(Digits){TeX Gyre Termes}
  2. \setmathsfont(Latin){TeX Gyre Termes}
  3. \setmathrm{TeX Gyre Termes}

Site admin

Return to “Fonts & Character Sets”

Who is online

Users browsing this forum: Baidu [Spider] and 3 guests