Mathematics
Math mode basicsMath mode (inline & display): $ … $ (inline)・\( … \) (inline)・\[ … \] (display)・displaymath environment・equation environment・Math basics: Entering math mode・Operators & functions・Spaces are ignored・Text via \textScripts & spacingSuperscripts & subscripts: Superscript (^{})・Subscript (_{})・Both at once・\limits / \nolimits・Nested scripts・Spacing & height tuning: \, (thin)・\: (medium)・\; (thick)・\! (negative)・\quad・\qquad・\phantom・\mathstrutFractions, roots & exponents\frac・\dfrac・\tfrac・\cfrac・\binom・\dbinom・\sqrt・\sqrt[n]・\nicefracSums, integrals & big operatorsSums, integrals & limits: \sum・\prod・\coprod・\int・\iint・\iiint・\oint・\lim・\limsup・\liminf・Big operators: \sum・\prod・\coprod・\bigcup・\bigcap・\bigsqcup・\bigvee・\bigwedge・\bigoplus・\bigotimes・\bigodot・\biguplusDisplayed, aligned & numbered equationsDisplayed equations: \[ … \] (display)・equation environment・displaymath environment・\notag・Alignment environments: equation・align / align*・gather・multline・split・cases・flalign / alignat・Equation numbering & references: Manual tags (\tag)・Suppress numbers (\notag)・subequationsDelimiters (\left \right)Auto-sizing (\left \right)・Manual sizing (\big \Big \bigg)Matrices & arraysmatrix / pmatrix / bmatrix / vmatrix・array environment・Dots (\cdots / \vdots / \ddots)amsmath / AMSFontsAlignment environments・\text・\intertext・\operatorname / \DeclareMathOperator・\substack・\numberwithinmathtools\coloneqq・\xrightarrow・\underbracket・\prescript・\DeclarePairedDelimiter・\mathclap・\shortintertextTheorems & proofs (amsthm)\newtheorem・proof environment & QED・thmtoolsMath fontsBlackboard bold (\mathbb)・\mathbb{A}・\mathbb{B}・\mathbb{C}・\mathbb{D}・\mathbb{E}・\mathbb{F}・\mathbb{G}・\mathbb{H}・\mathbb{I}・\mathbb{J}・\mathbb{K}・\mathbb{L}・\mathbb{M}・\mathbb{N}・\mathbb{O}・\mathbb{P}・\mathbb{Q}・\mathbb{R}・\mathbb{S}・\mathbb{T}・\mathbb{U}・\mathbb{V}・\mathbb{W}・\mathbb{X}・\mathbb{Y}・\mathbb{Z}・Calligraphic (\mathcal)・\mathcal{A}・\mathcal{B}・\mathcal{C}・\mathcal{D}・\mathcal{E}・\mathcal{F}・\mathcal{G}・\mathcal{H}・\mathcal{I}・\mathcal{J}・\mathcal{K}・\mathcal{L}・\mathcal{M}・\mathcal{N}・\mathcal{O}・\mathcal{P}・\mathcal{Q}・\mathcal{R}・\mathcal{S}・\mathcal{T}・\mathcal{U}・\mathcal{V}・\mathcal{W}・\mathcal{X}・\mathcal{Y}・\mathcal{Z}・Fraktur (\mathfrak)・\mathfrak{A}・\mathfrak{B}・\mathfrak{C}・\mathfrak{D}・\mathfrak{E}・\mathfrak{F}・\mathfrak{G}・\mathfrak{H}・\mathfrak{I}・\mathfrak{J}・\mathfrak{K}・\mathfrak{L}・\mathfrak{M}・\mathfrak{N}・\mathfrak{O}・\mathfrak{P}・\mathfrak{Q}・\mathfrak{R}・\mathfrak{S}・\mathfrak{T}・\mathfrak{U}・\mathfrak{V}・\mathfrak{W}・\mathfrak{X}・\mathfrak{Y}・\mathfrak{Z}・Bold math (\bm / \boldsymbol)・unicode-math: \setmathfont・range= partial setup・STIX / Latin Modern MathLog-like functions & mod\log・\ln・\lg・\exp・\sin・\cos・\tan・\cot・\sec・\csc・\sinh・\cosh・\tanh・\arcsin・\arccos・\arctan・\max・\min・\sup・\inf・\det・\gcd・\deg・\dim・\ker・\hom・\arg・\Pr・\bmod・\pmodOver/under decorations\overline・\underline・\overbrace・\underbrace・\widehat・\widetilde・\overrightarrow・\overleftarrow・\hat・\bar・\vec・\tilde・\dot・\ddot・\check・\breve・\acute・\graveISO/JIS math typesetting rulesVariables in italic・Units/functions upright・e and d uprightTypesetting algorithmsalgorithm・algorithm2e・algpseudocode・\State・\For・\While・\Ifphysics / braket / tensor\dv・\pdv・\abs・\norm・\bra・\ket・\braket・\ddCommutative diagrams (tikz-cd / amscd)tikz-cd (\arrow)・amscd (CD env)Math tricks\smash・\mathstrut・\phantom・\mathclap・\overset / \underset