Skip to content
Tutorials Center
My learning

Topics

Lesson 11 of 38 Β· Math Typesetting

Math Symbols and Greek Letters

A guide to LaTeX math symbols: Greek letters, operators, relations, arrows, logic and set symbols, math alphabets such as \mathbb, accents and how to find any symbol.

LaTeX has a command for nearly every mathematical symbol in use, and the names follow a logic: most are the English word for the symbol. Once you know the families (Greek letters, binary operators, relations, arrows, big operators, delimiters), you can guess commands and rarely need to look them up. This lesson organises the most useful symbols into those families and shows how to find the rest.

Each table has a live gallery in the editor further down. As in the previous lesson, the math syntax is LaTeX's, rendered here by KaTeX. A few exotic symbols exist only in real LaTeX; those are marked.

Greek letters

Lowercase letters are \alpha, \beta, and so on. Capitalised command names give the uppercase letter. Letters whose uppercase form looks the same as a Latin letter (A, B, E) have no command: just type the Latin letter.

Lowercase Command Uppercase Command
Ξ± \alpha (use A)
Ξ² \beta (use B)
Ξ³ \gamma Ξ“ \Gamma
Ξ΄ \delta Ξ” \Delta
Ξ΅ / Ο΅ \varepsilon / \epsilon (use E)
ΞΆ \zeta
Ξ· \eta
ΞΈ / Ο‘ \theta / \vartheta Θ \Theta
Ξ» \lambda Ξ› \Lambda
ΞΌ \mu
Ο€ / Ο– \pi / \varpi Ξ  \Pi
ρ / ϱ \rho / \varrho
Οƒ / Ο‚ \sigma / \varsigma Ξ£ \Sigma
Ο„ \tau
Ο† / Ο• \varphi / \phi Ξ¦ \Phi
ψ \psi Ψ \Psi
Ο‰ \omega Ξ© \Omega

Some letters have two shapes (the "var" variants). Choose one and stay consistent in a document. For example, \varepsilon is the curly epsilon used in analysis and \epsilon the open one.

Binary operators

Binary operators sit between two things and get medium spacing.

Symbol Command Symbol Command
Γ— \times Γ· \div
Β· \cdot βˆ— \ast
Β± \pm βˆ“ \mp
∘ \circ βŠ• \oplus
βŠ— \otimes βˆͺ \cup
∩ \cap ∧ \wedge
∨ \vee βˆ– \setminus

Relations

Relations compare things and get thick spacing on both sides.

Symbol Command Symbol Command
β‰  \neq ≀ \leq
β‰₯ \geq β‰ˆ \approx
≑ \equiv ∼ \sim
β‰… \cong ∝ \propto
∈ \in βˆ‰ \notin
βŠ‚ \subset βŠ† \subseteq
βŠƒ \supset ∣ \mid
β‰ͺ \ll ≫ \gg

Negate nearly any relation with \not, or use a dedicated command such as \neq or \nsubseteq (from amssymb).

Arrows

Symbol Command Symbol Command
β†’ \to or \rightarrow ← \leftarrow
↔ \leftrightarrow β‡’ \Rightarrow
⇐ \Leftarrow ⇔ \Leftrightarrow
↦ \mapsto ⟢ \longrightarrow
↑ \uparrow ↓ \downarrow

For arrows with text above them use \xrightarrow{text} (amsmath).

Logic, sets and common signs

Symbol Command Meaning
βˆ€ \forall for all
βˆƒ \exists there exists
Β¬ \neg not
βˆ… \emptyset or \varnothing empty set
∞ \infty infinity
βˆ‚ \partial partial derivative
βˆ‡ \nabla nabla, gradient
β€² ' as in f' prime
… \ldots, \cdots, \vdots, \ddots dots at the baseline, centered, vertical, diagonal
ℝ \mathbb{R} blackboard bold (needs amssymb or amsfonts in LaTeX)

Use \ldots between commas (1, 2, \ldots, n) and \cdots between operators (1 + 2 + \cdots + n).

Math alphabets

Letters can be set in special styles, useful for sets, vectors, operators and fields.

Command Look Typical use
\mathbb{R} ℝ blackboard bold Number sets
\mathcal{L} β„’ calligraphic Operators, families (capitals only)
\mathbf{v} v bold Vectors
\mathrm{d} upright Constants and units
\mathfrak{g} 𝔀 Fraktur Lie algebras
\mathsf{T}, \mathtt{x} sans, typewriter Rare
\boldsymbol{\alpha} bold Greek Bold Greek letters (in real LaTeX, \bm from the bm package is the better tool)

Named operators and functions

Functions such as sin, log and lim must be upright with correct spacing, so they have their own commands: \sin, \cos, \tan, \log, \ln, \exp, \max, \min, \lim, \sup, \inf, \det, \gcd, \arg. Typing sin x without the backslash would produce the italic product sΒ·iΒ·nΒ·x.

For one the standard set lacks, define your own: \DeclareMathOperator{\rank}{rank} in the preamble (amsmath), and then write \rank A.

Accents over math

Command Result
\hat{x} xΜ‚
\bar{x} xΜ„
\tilde{x} x̃
\vec{v} v⃗
\dot{x}, \ddot{x} first and second time derivative
\overline{AB} line over a group
\widehat{abc} a wide hat
\underline{x} underline

The editor below shows every command from the tables as a symbol. Edit the list (one command per line) to see other symbols, or type a formula with them in the lower box.

Symbol gallery and formula test (KaTeX)

Finding any symbol

Nobody remembers all the commands. The practical routes:

  1. Detexify. A web tool where you draw the symbol with the mouse and it suggests the command and the package.
  2. The Comprehensive LaTeX Symbol List. A PDF of thousands of symbols that you can open offline with texdoc symbols-a4.
  3. Your editor. TeXstudio, Overleaf and LaTeX Workshop offer symbol panels and command completion.
  4. Unicode math in XeLaTeX or LuaLaTeX with unicode-math, where you can type some symbols directly.

Many symbols come from packages: amssymb (the AMS symbols), mathtools (extensions to amsmath), stmaryrd, wasysym. If a command gives "Undefined control sequence", check which package defines it.

Check your understanding

Quick check Β· 4 questions

of 4 answered You scored / 4 Β· perfect!

  1. 1. Which command prints a not-equal sign?

    Both \ne and \neq print β‰ . Typing != in math mode would print an exclamation mark and an equals sign.
  2. 2. Why write \sin x instead of sin x?

    Named operators have their own commands for upright text and correct spacing.
  3. 3. How do you write the set of real numbers in blackboard bold?

    \mathbb comes from amssymb or amsfonts in real LaTeX; KaTeX has it built in.
  4. 4. Which tool lets you draw a symbol to find its command?

    Detexify recognises a hand-drawn symbol and suggests the command.

Summary

  • Greek letters use their English names; capitalise the name for the uppercase letter.
  • Symbols fall into families: binary operators, relations, arrows, logic and set signs.
  • \mathbb, \mathcal, \mathbf, \mathrm and \mathfrak change the alphabet.
  • Named functions such as \sin and \lim are upright; define new ones with \DeclareMathOperator.
  • Detexify and the symbols PDF find the command for anything else.

Next: Fractions, Roots, Sums and Integrals