Take the 2-minute tour ×
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.

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

share|improve this question
3  
Could you include a small example of what you've tried? –  Werner Mar 7 '13 at 7:54
1  
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
add comment

1 Answer

up vote 3 down vote accepted

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 ;-)

share|improve this answer
    
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
1  
@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. –  cgnieder Mar 7 '13 at 10:27
add comment

Your Answer

 
discard

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.