[Tex/LaTex] How to change the font for math

fontsmath-mode

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}

Best Answer

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