I have a constant defined by
\newcommand{\Lip}{\textrm{Lip}}
or
\def\Lip{\text{Lip}}
I use this constant in equations. But in the theorem environment, it appears in italic style. Does anyone know how to make it appear the same as it being put outside of theorem environment?
Thank you very much!
Best Answer
if you are using
amsmath
(which you may be, since you are using\text
) it would be better to use\DeclareMathOperator{\Lip}{Lip}
. then it will always be in an upright font.