LaTeX math symbols and Greek letters

Math symbols are commands used between $ $or inside \[ \]. Most are core LaTeX; the package column says when one is not.

symbols.tex
\documentclass{article}
\begin{document}
$\alpha + \beta \neq \infty$ \qquad $A \to B$
\end{document}

Greek letters

Lowercase letters are \alpha,\beta, and so on. Capitalise the name for uppercase (\Gamma). LaTeX has no command for an uppercase letter that looks the same as a Latin one, such as alpha. Type the Latin letter instead. Several letters have a variant form, such as\varepsilon.

LetterLowercaseUppercase
alpha\alphaA
beta\betaB
gamma\gamma\Gamma
delta\delta\Delta
epsilon\epsilonE
epsilon (variant)\varepsilon
zeta\zetaZ
eta\etaH
theta\theta\Theta
theta (variant)\vartheta
kappa\kappaK
lambda\lambda\Lambda
mu\muM
nu\nuN
xi\xi\Xi
pi\pi\Pi
rho\rhoP
sigma\sigma\Sigma
tau\tauT
phi\phi\Phi
phi (variant)\varphi
chi\chiX
psi\psi\Psi
omega\omega\Omega

Relations and operators

Not equal is \neq. To negate any other relation, put \not before it, as in \not\equiv.

MeaningCommandShort form
not equal\neq\ne
less or equal\leq\le
greater or equal\geq\ge
approximately equal\approx
similar to, tilde operator\sim
equivalent\equiv
proportional to\propto
much less than\ll
much greater than\gg
plus or minus\pm
times\times
dot product\cdot

Arrows

MeaningCommandOther formPackage
right arrow\to\rightarrowcore
left arrow\leftarrowcore
left-right arrow\leftrightarrowcore
maps to\mapstocore
long right arrow\longrightarrowcore
double right arrow\Rightarrowcore
double left-right arrow\Leftrightarrowcore
implies (spaced)\impliesamsmath
if and only if (spaced)\iffamsmath
arrow with label\xrightarrow{f}amsmath
up arrow\uparrowcore
down arrow\downarrowcore

Sets, logic and infinity

MeaningCommandPackage
infinity\inftycore
partial derivative\partialcore
nabla\nablacore
for all\forallcore
there exists\existscore
element of\incore
not an element of\notincore
subset of\subsetcore
union\cupcore
intersection\capcore
empty set\varnothingamssymb
real numbers\mathbb{R}amssymb
therefore\thereforeamssymb
ellipsis, mid-line\cdotscore

Degree symbol

In math, write the degree as a superscript circle:^\circ. In running text, \textdegreeworks in current LaTeX with no package. The gensymb package adds \degree, which works in both modes.

degree.tex
\documentclass{article}
\usepackage{gensymb}
\begin{document}
A right angle is $90^\circ$. Water boils at 100\textdegree{}C,
or 100\,\degree C. In math: $T = 25\,\degree\mathrm{C}$.
\end{document}

Absolute value and norms

|x| works, but spacing is poor when a bar follows a relation or operator. amsmath provides\lvert and \rvert, which are spaced as delimiters. For tall contents, use\left| ... \right|. Norms use\lVert ... \rVert.

abs.tex
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
\lvert x \rvert \qquad
\left| \frac{a}{b} \right| \qquad
\lVert \mathbf{v} \rVert
\]
\end{document}

If you write absolute values often, mathtools lets you define a sizing macro once:

abs-macro.tex
\documentclass{article}
\usepackage{mathtools}
\DeclarePairedDelimiter{\abs}{\lvert}{\rvert}
\begin{document}
$\abs{x}$ \quad $\abs*{\frac{a}{b}}$
\end{document}

Tilde

The meaning of "tilde" depends on where it is used.

tilde.tex
\documentclass{article}
\begin{document}
$\tilde{x}$ \quad $\widetilde{xy}$ \quad $x \sim y$ \quad
home\textasciitilde user \quad Section~2
\end{document}

Common mistakes

Templates that use this

Keep a symbol list handy with thecheat sheet template, or use symbols in a paper with the amsart article and in slides with thepresentation templates.

Related

Symbols are most useful insidefractions,sums and integrals andaligned equations. If a symbol will not render in your engine, seepdfLaTeX vs XeLaTeX vs LuaLaTeX. For ready-made documents, see thethesis templates.