How to write $\text{codim}(Y)$ without \text{codim}?
$\text{codim}(Y)$
\text{codim}
Is there command like \dim that I can use to write codimension?
\text
\DeclareMathOperator{\codim} {codim}
\textfor this. Use\DeclareMathOperator{\codim} {codim}to define it. – daleif Aug 16 '16 at 16:33