7

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

6
  • 5
    It makes little sense to use a Palatino based math font with a different text font.
    – egreg
    Aug 25, 2014 at 15:29
  • 2
    I said give an example! Short answer do not help either are appreciated.
    – user44967
    Aug 25, 2014 at 15:32
  • 4
    It is easy to change the text font after you have loaded mathpazo. But if you want to see code: provide a minimal example that we can adapt and tell what font you actually want to use as text font. Short question without sensible informations aren't appreciated. Aug 25, 2014 at 15:47
  • I am loading mathpazo but it changes the font everywhere, and I would like to change only the math environment. Example, well, I also said that \begin{equation} ... \end{equation}.. say \begin{equation} A+B+C \end{equation}. How to change the font only at the \begin{equation} ... \end{equation} part.
    – user44967
    Aug 25, 2014 at 16:12
  • 2
    That is not a complete minimal working example (MWE) that people can compile to illustrate your problem. All questions should include a complete, small compilable example, starting with \documentclass{...} and ending with \end{document}. Also, you can edit your question. Code in comments is unreadable, does not help and is not appreciated either.
    – cfr
    Aug 25, 2014 at 18:16

1 Answer 1

7

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}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .