2

For my thesis I use the fourier font because I like it as my main font but I have one problem with it: I do not like the font that fourier uses for math. How can I change/override this? I just want the default font for math that tex uses, in my whole document...

\usepackage[T1]{fontenc} 

% Font fourier
\usepackage{fourier}

% Try to override it
\usepackage{lmodern}
%\usepackage[mathscr]{eucal}
%\usepackage{kpfonts}%  for math
%\usepackage{kmath,kerkis}
  • 3
    Don't do that! They don't match well and your document will look horrible. Either use fourier for text and math (you may use erewhon for text, which is a clone/extension of Adobe Utopia, on which Fourier is based). Or use Computer Modern (the default) or Latin Modern if you need accented letters. – Bernard Apr 18 '16 at 11:49
  • So because I do not like the \mathcal math letters of fourier I need to change the font for my whole thesis? – GerjanOnline Apr 18 '16 at 11:57
  • That's another problem: you always can change a math alphabet. I don't think it's a problem for \mathcal. Just check the thickness of the stroke is compatible. You also can try Zapf Chancery or its URW clone. – Bernard Apr 18 '16 at 12:03
  • Hi Gerjan, welcome to TeX.SX! We'd like to keep answers separate from questions, so you should write a separate answer instead of editing your answer into the question. Self-answers are perfectly admissible, and a well-written answer may earn you additional reputation. – ebosi Apr 18 '16 at 12:33
  • Done, I have updated my post – GerjanOnline Apr 18 '16 at 12:36
3

You can easily obtain a horrible document mixing Utopia as text font and Palatino (mathpazo) for math by doing

\documentclass{article}
\usepackage[T1]{fontenc}

\usepackage{mathpazo}
\renewcommand{\rmdefault}{put}

\usepackage[math]{blindtext} % just to produce mock text

\begin{document}

\blindmathtrue
\blindmathpaper

\end{document}

enter image description here

Even more appalling is when Computer Modern is used for math

\documentclass{article}
\usepackage[T1]{fontenc}

\renewcommand{\rmdefault}{put}

\usepackage[math]{blindtext}

\begin{document}

\blindmathtrue
\blindmathpaper

\end{document}

enter image description here

Here is the same with fourier:

enter image description here

Take your pick, but be aware of the following advices

  1. never load other math font packages along with fourier, because this package sets up different encodings for the math font and you easily get wrong symbols

  2. never mix different fonts for text and math

0

Solved it using:

% Font fourier
\usepackage{fourier} 

% Only use the math font of mathpazo
\let\temp\rmdefault
\usepackage{mathpazo}
\let\rmdefault\temp

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.