Question: I would like to use Zapf's Palatino font for the text in my document, which also includes a lot of maths. And I would like a good font for the maths. This is a snapshot of what I am doing.

```
\documentclass[10pt,letterpaper]{memoir}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathpple}
\usepackage{upgreek}
\usepackage{mathpazo}
\usepackage{lipsum}

\begin{document}

\chapter{Demo}

Some regular text. \lipsum[1]

Now for some maths.

\begin{displaymath}
P_{N-1 + m} = \frac{C}{N-{1} + m} \binom{N_{2} - N_{1}}{m}
        \alpha^{m}\beta^{(N_{2} - N_{1}) -m}
\end{displaymath}

The number 27 is the sum of the first 5 odd prime numbers: $27 = 1+3+5+7+11$

\end{document}

```

To me the text and math fonts seem a good fit but the text does not look like Palatino.

[![enter image description here](https://i.stack.imgur.com/tdQt7.jpg)](https://i.stack.imgur.com/tdQt7.jpg)

Answer: 
I suggest that you not load the `mathpple`, `mathpazo`, and `upgreek` packages and, instead, load the `newpxtext` and `newpxmath` packages.

[![enter image description here](https://i.stack.imgur.com/kGiwH.png)](https://i.stack.imgur.com/kGiwH.png)

```
\documentclass[10pt,letterpaper]{memoir}
\usepackage{amsmath,amssymb}
%\usepackage{mathpple}
%\usepackage{upgreek}
%\usepackage{mathpazo}
\usepackage{lipsum}
\usepackage{newpxtext,newpxmath}

\begin{document}

Some regular text. \lipsum[2]

Now for some maths.
\begin{displaymath}
P_{N-1 + m} = \frac{C}{N-{1} + m} \binom{N_{2} - N_{1}}{m}\,
        \alpha^{m}\beta^{(N_{2} - N_{1}) -m}
\end{displaymath}
The number 27 is the sum of the first 5 odd prime numbers: $27 = 1+3+5+7+11$.

$\alpha\beta\gamma\delta$ vs.\ $\upalpha\upbeta\upgamma\updelta$

\end{document}

```
You can also do this with OpenType fonts using `unicode-math`.

```
\documentclass[10pt,letterpaper]{memoir}
\usepackage{amsmath}
\usepackage{unicode-math}
\usepackage{microtype}
\usepackage{lipsum}

\defaultfontfeatures{Scale=MatchLowercase}
\setmainfont{TeX Gyre Pagella}
\setmathfont{Asana Math}

\begin{document}

\chapter{Demo}

Some regular text. \lipsum[1]

Now for some maths.

\begin{displaymath}
P_{N-1 + m} = \frac{C}{N-{1} + m} \binom{N_{2} - N_{1}}{m}
        \alpha^{m}\beta^{(N_{2} - N_{1}) -m}
\end{displaymath}

The number 27 is the sum of the first 5 odd prime numbers: $27 = 1+3+5+7+11$

\end{document}

```

[![Palatino sample](https://i.stack.imgur.com/W2Ck7.png)](https://i.stack.imgur.com/W2Ck7.png)

With LuaLaTeX, including `microtype` will get you both font protrusion and font expansion, which cuts down on the amount of hyphenation substantially.

You can also substitute Palatino or Palatino Linotype as the main font if you have it, or TeX Gyre Pagella Math as the math font. A sans-serif font that matches well is Hermann Zapf’s Optima, and you might mix in some of Zapf’s Neo Euler in math mode (I like its upright letters and its script alphabet).