On a Mac using XeLaTeX and the fontspec package, what is meant by font name?

The Font Book application lists several possibilities:

  • PostScript name
  • Full name
  • Family

I.e. which name should I type into the \setmainfont [⟨font features⟩] {⟨font name⟩} command?

For example, for the font named as Times (top unexpanded item) in Font Book, the following values exist:

 PostScript name: Times-Roman
 Full name:       Times Roman
 Family:          Times

Viewing the Times font in Font Book

  • Usually it should be what's in the "Family" field
    – egreg
    Feb 8, 2012 at 10:43

3 Answers 3


XeTeX checks Full name first if no match and the name has a hyphen, it checks it as Family-Style, if no match checks PostScript name and finally if non of this matches, it will check Family name.

In most cases, you want to use Family name, so that XeTeX takes care of loading various font styles automatically (bold, italic etc.) unless you want only a specific style, then Full or PostScript names would be recommended (e.g. with \newfontface).

  • Thanks! Feels good to know a bit more about the inner workings.
    – fnurl
    Feb 8, 2012 at 18:41

Both the Postscript Name and the Full Name should work with XeLaTeX.


with lualatex I use:

  [UprightFont = * Roman,
      BoldFont = * Bold,
    ItalicFont = * Italic,
BoldItalicFont = * Bold Italic,
\setmathfont{XITS Math}

Text $x+y=\sqrt{z}$ \textbf{Text} \textsc{Text}


If you do not have the XITS math then use another math font, like Asana Math

  • So to answer the OP's question, the family is a suitable value for the \setmainfont font name. Feb 8, 2012 at 13:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.