# Palatino text with CMR math in beamer?

I've tried so many combinations, but I can't get it to work. I'd appreciate any suggestions.

-
Could you include a small example of what you've tried? – Werner Mar 7 '13 at 7:54
Palatino and Computer Modern don't mix well with each other; the result will be something like a punch in the eye. :) – egreg Mar 7 '13 at 13:31

Use the serif option to set the default family to roman, then set \rmdefault and \mathfamilydefault as you please:

\documentclass[serif]{beamer}

\renewcommand\rmdefault{pplx}
\renewcommand\mathfamilydefault{cmr}

\begin{document}

\begin{frame}{Frametitle}
Some text\\
$E=mc^2$
\end{frame}

\end{document}


Note: Next time, please post a minimal working example (MWE) outlining at least one of the 'many combinations' you tried ;-)

-
Also, if you want Palatino with oldstyle figures, you can set \rmdefault to pplj. – benwilfut Mar 7 '13 at 7:46
Thanks, that worked perfectly. I won't post stuff I tried so as not to confuse anybody, but I actually inherited a template that was using the pxfonts package and I was trying to find a way to change only the math font. – user24121 Mar 7 '13 at 8:19
@user24121 »I won't post stuff I tried« - Please do post stuff that you tried if you ask a question! This is always helpful for people answering. – clemens Mar 7 '13 at 10:27