How to change the default font of math operators? The problem is that if I use the command \DeclareMathAlphabet\mathrm{U}{eur}{b}{n}
, only new defined operators will be changed in terms of its font. For the operators like \sin
or \sup
, no changes will take place.
\documentclass[english]{report}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{amsthm,amssymb}
\DeclareMathAlphabet\mathrm{U}{eur}{b}{n}
\begin{document}
$$\sin,\sup$$
\end{document}
Best Answer
The usual definition of
\sin
iswhile
\operator@font
meansYou won't find a definition place for
\symoperators
, because this is a byproduct of ainstruction. So what you need is a new symbol font rather than a math alphabet.
This will also work when
amsmath
is loaded and\operatorname
or\DeclareMathOperator
are used.If you also want to define a new
\matheul
command, addto the commands above. Note that
\mathrm
will continue to act as before.