[Tex/LaTex] mathpazo package and changing font within \begin{equation} … \end{equation}

equationsfontsmath-modetext manipulation

I really like the mathapazo package but it changes all the text – NOT only the math environment. How I can edit the \usepackage{mathpazo} so that it effect only the math environment?! Does anyone has an idea?

Or please suggest some other nice fonts that I can make use within \begin{equation} … \end{equation} the default is too ugly! I also don't know how to change a font within \begin{equation} … \end{equation} – so, please give an example not just a line of code.

THANKS

Best Answer

Just reset \rmdefault to the definition it had before mathpazo was loaded.

\documentclass{article}

\let\temp\rmdefault
\usepackage{mathpazo}
\let\rmdefault\temp

\begin{document}
The quick brown fox jumps over the lazy dog.
\[
\int_a^b f(x) dx
\]
\end{document}