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?
[Tex/LaTex] 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: