Skip to main content
Correct spacing improves equation readability.

Operator Commands

operators.tex
\sin x, \cos x, \log x, \exp x, \lim_{n\to\infty} a_n
\operatorname{Var}(X)
\DeclareMathOperator{\argmax}{arg\,max}

Spacing Commands

spacing.tex
a\,b \quad a\qquad b \; c \! d

Text In Math

text-math.tex
\text{if } x > 0, \text{ then } f(x)=x^2.