4

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

  • 5
    It makes little sense to use a Palatino based math font with a different text font. – egreg Aug 25 '14 at 15:29
  • 1
    I said give an example! Short answer do not help either are appreciated. – user44967 Aug 25 '14 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. – Ulrike Fischer Aug 25 '14 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 '14 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 '14 at 18:16
4

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}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.