TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After some fighting with Asana Math, I thought that I could give a Palatino-like math font a chance. So the questions are: (1) what exactly is the difference between pxfonts and mathpazo and (2) how to enable these in XeLaTeX (\usepackage{mathpazo} seemed to break text font, which is Linux Libertine using fontspec; in case this is relevant, I can provide a MWE)?

share|improve this question
Load fontspec after mathpazo or pxfonts. In the second case you probably will have to use the [no-math] option of fontspec. – Ulrike Fischer Apr 3 '12 at 13:38
up vote 9 down vote accepted

If you want to load 'traditional' font packages and fontspec, load the latter first as it automatically loads either Latin Modern or Computers Modern, depending on the package options given.


However, I would favour loading mathpazo purely for the math bits-and-pieces, and load TeX Gyre Pagella (their Palatino clone) as an OTF

     [ BoldFont       = texgyrepagella-bold.otf ,
       ItalicFont     = texgyrepagella-italic.otf ,
       BoldItalicFont = texgyrepagella-bolditalic.otf ]
The quick brown fox jumps over the lazy dog.
\[ y = mx + c \]

(I've taken a 'defensive' position with the font, and loaded using the file names as installed by TeX Live in the texmf tree. If you have the font installed for general use in your system font folder, it should load fine by name.)

share|improve this answer
Late comment, but why would you prefer Gyre Pagella to mathpazo? – Dennis Feb 26 '14 at 0:08
@Dennis mathpazo is a 'virtual font', built up from various bits and pieces to give (reasonably) good coverage of glyphs. The TeX Gyre project have worked to have a more 'consistent' font where various gaps/issues in the URW Palatino clone (used by mathpazo) are addressed. The Gyre font covers text mode, so loading mathpazo for math mode is still useful. (You could also consider using unicode-math and the TeX Gyre Palladio math font.) – Joseph Wright Feb 26 '14 at 6:58
Just tried this example, and strangely, it built with lualatex, but xelatex failed with fontspec error: "font-not-found" like in tex.stackexchange.com/questions/118944/…;. I looked up texgyrepagella-regular.otf on my system, and I could only find it in ~/.fonts?! So, turns out I had to tlmgr install tex-gyre before I could run this example. Cheers! – sdaau Oct 15 '14 at 15:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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