LaTeX Symbols
Every LaTeX math symbol is a command that starts with a backslash and is typed in math mode, for example $x \leq y$ or \[ A \cup B \]. The table below lists the symbols people look up most, grouped by kind; the links further down go to a page per symbol family with variants and common mistakes.
Most-used LaTeX math symbols
\leqRelation: less than or equal to (
\leis the same).\geqRelation: greater than or equal to (
\ge).\neqRelation: not equal (
\ne).\approxRelation: approximately equal.
\equivRelation: identical to, congruent modulo n.
\simRelation: similar to, distributed as.
\proptoRelation: proportional to.
\llRelation: much less than (
\ggfor much greater).\pmOperator: plus or minus (
\mpfor minus or plus).\timesOperator: multiplication cross, cross product.
\cdotOperator: centered dot, dot product.
\divOperator: division sign.
\circOperator: function composition; also the degree sign as
^\circ.\oplusOperator: direct sum, XOR (
\otimesfor tensor product).\inSet: element of (
\notinfor not an element).\subseteqSet: subset or equal (
\subsetfor subset).\cupSet: union (
\bigcupfor the big operator).\capSet: intersection (
\bigcapfor the big operator).\setminusSet: set difference.
\emptysetSet: empty set (
\varnothingfor the round form).\mathbb{R}Set: real numbers; also
\mathbb{N},\mathbb{Z},\mathbb{Q},\mathbb{C}(amssymb).\forallLogic: for all.
\existsLogic: there exists (
\nexistsfor there is no).\negLogic: not (
\lnotis the same).\landLogic: and (
\wedge);\loror\veefor or.\impliesLogic: implies (amsmath;
\ifffor if and only if).\toArrow: maps to, tends to (
\rightarrow).\RightarrowArrow: double right arrow.
\mapstoArrow: maps an element to its image.
\inftyMisc: infinity.
\partialMisc: partial derivative.
\nablaMisc: nabla, gradient operator.
\angleMisc: angle.
\perpMisc: perpendicular (
\parallelfor parallel).\thereforeMisc: therefore (amssymb;
\becausefor because).\alpha, \beta, \pi, \OmegaGreek letters: backslash plus the name; capitalize for uppercase.
\hat{x}, \bar{x}, \vec{x}, \dot{x}Accents over a letter: hat, bar, vector arrow, dot.
\sum, \prod, \intBig operators: sum, product, integral; limits go in
_and^.
Try it live
Change the formula and the preview redraws as you type. Copy the LaTeX, download a PNG or SVG, copy it for Word, or use Edit here on any example below to load it.
Math symbols examples
Each result below is drawn from the LaTeX under it. Copy the code, edit it on this page, or open it in the full editor.
Set-builder notation
LaTeXS = \{ x \in \mathbb{R} : x^2 < 4 \}Epsilon-delta definition
LaTeX\forall \varepsilon > 0 \; \exists \delta > 0 : |x - a| < \delta \implies |f(x) - f(a)| < \varepsilonSet operations
LaTeXA \cup B = \{ x : x \in A \lor x \in B \}, \quad A \cap \emptyset = \emptysetRelations in one line
LaTeXa \leq b, \quad x \neq 0, \quad \pi \approx 3.14, \quad y \propto x^2Function notation
LaTeXf \colon \mathbb{R} \to \mathbb{R}, \quad x \mapsto x^2Gradient and partial derivatives
LaTeX\nabla f = \left( \frac{\partial f}{\partial x}, \frac{\partial f}{\partial y} \right)Modular congruence
LaTeXa \equiv b \pmod{n}
How to find the command for any symbol
Most symbol names are the English word or its abbreviation: \leq (less or equal), \subseteq, \infty, \partial. If you know the name of the symbol, try it in the editor on this page; an unknown command is shown in red instead of silently disappearing.
When you only know what it looks like, look it up by shape: the Comprehensive LaTeX Symbol List on CTAN covers thousands of symbols from many packages, and Detexify lets you draw a symbol to find its command. If the symbol is in a screenshot or PDF, the image to LaTeX converter reads the whole formula, symbol included.
Which symbols need a package
Plain LaTeX already defines the Greek letters, the basic relations (\leq, \neq, \approx, \equiv, \sim, \propto), operators (\pm, \times, \cdot, \cup, \cap), \in, \subseteq, \forall, \exists, \infty, \partial, \nabla and the arrows.
Load \usepackage{amssymb} for \mathbb, \varnothing, \therefore, \nexists, \leqslant and the negated relations such as \nleq; load \usepackage{amsmath} for \implies, \iff, \text and the matrix and alignment environments. Most papers load both, and Overleaf templates usually include them.
\usepackage{amsmath}
\usepackage{amssymb}Math mode first
Symbol commands only work inside math: $ … $ or \( … \) in a sentence, \[ … \] or an equation environment on its own line. Typed in running text they stop compilation with "Missing $ inserted". To use one in the middle of a sentence, wrap just the symbol: the value $\approx 3$.
Common mistakes
Symbol commands are math-mode only; outside
$ … $LaTeX stops with "Missing $ inserted".Instead ofThe error is less than 5 \leq 10.WriteThe error is less than $5 \leq 10$.\Rand friends are shortcuts some templates define, not standard LaTeX.\mathbb(amssymb) works everywhere.Instead of\R, \N, \ZWrite\mathbb{R}, \mathbb{N}, \mathbb{Z}Commands from amssymb raise "Undefined control sequence" until the package is loaded. MathJax and KaTeX include them, so a formula can work on a web page and still fail in a document.
Instead of\varnothing % without amssymbWrite\usepackage{amssymb} % in the preambleLaTeX does not combine ASCII characters into symbols;
<=prints as two characters.Instead ofx <= y, a != b, A -> BWritex \leq y, a \neq b, A \to B
In Overleaf, MathJax and Word
Overleaf and pdfLaTeX
Every command in the table compiles with
amsmathandamssymbloaded. Symbols from other packages (stmaryrd,mathabx,fdsymbol) need their package and can change the look of existing symbols.MathJax and KaTeX
MathJax and KaTeX include the amssymb symbols by default, so
\mathbb{R}and\varnothingwork without a preamble. In Markdown (Obsidian, Jupyter, GitHub) wrap formulas in$ … $or$$ … $$.Microsoft Word
Inside a Word equation, Math AutoCorrect turns many backslash names such as
\alpha,\inftyor\rightarrowinto the symbol when you press Space. For whole formulas, build them here and use Copy for Word, which pastes an editable Word equation.
Math symbols in LaTeX: questions
- Where can I find a list of all LaTeX symbols?
- The Comprehensive LaTeX Symbol List on CTAN is the complete reference, covering symbols from hundreds of packages. For everyday math, the table on this page and the linked pages per symbol family cover what most documents use.
- How do I find the LaTeX command for a symbol I only have as a picture?
- Paste a screenshot of the formula into the image to LaTeX converter on the home page; it returns the LaTeX with the symbol command and a preview to check it. For a single symbol you can also draw it in Detexify.
- Do I need a package for LaTeX math symbols?
- The basic ones are built in.
amssymbadds blackboard bold (\mathbb),\varnothing,\thereforeand negated relations;amsmathadds\implies,\iffand\text. Load both to be safe. - Why does my symbol print as plain text or disappear?
- Usually it is outside math mode, misspelled, or from a package that is not loaded. Put it between
$ … $, check the spelling, and look for "Undefined control sequence" in the log. - Can I type Unicode symbols like ≤ or ∞ directly?
- With XeLaTeX or LuaLaTeX and the
unicode-mathpackage, yes. With pdfLaTeX many Unicode math characters are not set up and cause errors, so the backslash commands are the portable choice.
Related LaTeX reference
- Greek Letters in LaTeXEvery lowercase and uppercase Greek letter with its command, the var- forms, and bold or upright Greek.
- How to Write an Arrow in LaTeXRight, left, double, long, maps-to and labeled arrows (\to, \Rightarrow, \xrightarrow), plus arrows in text mode.
- And Symbol and Logic Symbols in LaTeXLogical and (\land), or, not, implies, iff, for all and there exists, and how to print a literal & instead.
- LaTeX equation editorSymbol panel, live preview, and PNG, SVG, MathML or Word export.
- All LaTeX reference pagesSymbols, math structures and text formatting in one list.
Have the formula as a picture?
Paste a screenshot or photo of the equation and get its LaTeX, ready to copy or open in the editor.
Convert an image to LaTeX