Mathematical operators, such as function names, should be set in roman type, not italics. Latex already has commands for some operators, including \max
, \min
, and \log
. How can I define additional such commands?
Math Mode – Define Additional Math Operators to be Typeset in Roman
math-modemath-operators
Best Answer
\DeclareMathOperator{\foo}{foo}
and\DeclareMathOperator*{\hocolim}{hocolim}
for sub- and superscripts in the limits position.This requires
which is recommended for math documents anyway.
Minimal example: