Advanced Mathematical Typesetting with LaTeX
Ready to go beyond basic equations? This guide covers advanced LaTeX math typesetting techniques used in professional mathematics publishing.
Theorem Environments
Use \newtheorem{theorem}{Theorem} to define theorem environments. Then: \begin{theorem} ... \end{theorem}. Works for lemmas, corollaries, definitions, and proofs.
Commutative Diagrams
Use the amsmath \xymatrix or tikz-cd package: \begin{tikzcd} A \arrow{r}{\phi} \arrow{d}{\psi} & B \arrow{d}{\chi} \\ C \arrow{r}{\omega} & D \end{tikzcd}.
Custom Commands
Define your own commands with \newcommand{\norm}[1]{\left\|#1\right\|}. Then use \norm{\vec{v}} throughout your document.
Numbering and Referencing
Use \tag{} for custom equation numbers. \notag suppresses numbering. \label{eq:foo} and \ref{eq:foo} for references.
✏️ Try it now — open the MathEditor and experiment with these formulas!