[Tex/LaTex] Palatino package and fontspec

fontsfontspec

I want to use the palatino package in XeLaTeX but I often use accented letters so I also load the package fontspec. However, after loading the fontspec package I get the error:

LaTeX Font Warning: Font shape 'EU1/ppl/m/n' undefined using 'EU1/lmr/m/n' instead on input line 10.

And even without the fontspec package the math symbols are in not in the desired palatino font.

Thanks for any suggestions.

Best Answer

If you don't already have them, then install Tex Gyre Pagella and TeX Gyre Pagella Math from the TeX Gyre project and then you can do this:

\documentclass{article}
\usepackage{unicode-math}
\setmainfont{TeX Gyre Pagella}
\setmathfont{TeX Gyre Pagella Math}
\begin{document}
Some Unicode maths: $x ∈ ℕ$ in a Palatino-like font.
\end{document}

Run with xelatex to get:

enter image description here

Note that unicode-math package loads fontspec automatically.