I would like to use the fonts given by cmbright for part of my document, and the default CM fonts or perhaps mathpazo for another part.

What is the easiest, best way to do this? I have seen usually in other answers that changing math fonts can be a big ordeal. I am looking for a modern, clean approach to this (as much as possible). Thanks for your help!

  • The easiest way is to use unicode-math package to choose OpenType math fonts, but there are not as many OpenType fonts as old ones.
    – Leo Liu
    Dec 24 '12 at 3:03
  • The main obstacle is not in changing fonts, because one can define math versions, but rather the fact that math font packages frequently change the symbol tables. And this is the case with mathpazo.
    – egreg
    Dec 24 '12 at 17:46

If you compile your document using xelatex, you can easily define various fonts.

% XeLaTeX
% Math ‎Font‎

% Fonts
\newfontfamily\cf{Courier New}‎

‎\sum_{i=0}^{n} 2^i

Arial font. ‎
\cf{Courier New font}.

  • 3
    Could you provide an example? It will be for sure helpful to make more clear the answer. :) Dec 24 '12 at 11:01
  • been provided !
    – smh
    Dec 24 '12 at 12:54
  • 2
    @smh The question was also on how to switch math font. Please, add it to the example.
    – Guido
    Dec 24 '12 at 16:21
  • 2
    The question is about changing math and text fonts.
    – egreg
    Dec 24 '12 at 17:48

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.