I am using two font packages: fourier (which is in fact Utopia) for overall text and chivo for sans-serif.

However, I don't like the changes these packages make to math font. I tried to revert math back to Computer Modern with the following commands:

% Revert mathcal back to `cms` -- it works

% Attempt to revert all math back to `cms`: does not work

I also tried replacing \mathsf with \mathnormal and \mathroman to no avail.

Here's my minimal reproducible example:



% Fix \mathcal but no success changing overall math font

Math calligraphy looks ok, but arrows are ugly: 
$$P \rightarrow \mathcal{O}(n^2) \wedge \leftrightarrow 8$$
  • Compiter Modern for maths and utopia don't match well. You shouldn't do that. – Bernard Sep 20 '19 at 20:15
  • What should I use instead? – giusti Sep 20 '19 at 20:32
  • @Bernard To anser the question you made in the answer below, I don't like math caligraphy and operators: brackets and arrows are short, and \vee doesn't stand out too much from the letter v. – giusti Sep 20 '19 at 20:40
  • Did you try mathdesign with option utopia? (it laso defines maths packages for Bitstream Charter and URW Garamond). – Bernard Sep 20 '19 at 20:57
  • That's a good suggestion, but it breaks my attempt to change \mathcal. Could you also suggest a way to fix that? – giusti Sep 20 '19 at 22:24

It is better to avoid that fourier change the math, so don't load the package but change only the font family:



abc \sffamily abc

  • Then you didn't use my example, I'm switching to T1-encoding. – Ulrike Fischer Sep 20 '19 at 19:56
  • What is the problem with fourier maths fonts? – Bernard Sep 20 '19 at 20:17

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.