Triangle (△ ▲) in LaTeX
\triangle prints △, the triangle used in geometry to name a triangle by its corners, as in △ABC.
LaTeX command
\triangleNot the symbol you meant? Draw it to find the command →
Typing up handwritten notes? Convert a whole page of handwriting to LaTeX →
\triangle is built into LaTeX and KaTeX. It is an ordinary symbol, so \triangle ABC sets the triangle and the letters together with no extra space. The capital Greek \Delta (Δ) looks similar but is a letter, used for a change or a difference, not for a shape.
amssymb adds several more: \vartriangle, a slightly smaller △; \blacktriangle and \blacktriangledown, filled ▲ and ▼; and \triangleq, ≜, equal by definition. The pointing forms \triangleleft and \triangleright (◁ ▷) are built in and serve as operators, for example a normal subgroup.
For a triangle as a binary operation, such as the symmetric difference of sets, wrap it so it is spaced as an operator: A \mathbin{\triangle} B. \bigtriangleup is a built-in operator version.
Other forms
\vartrianglea smaller triangle, amssymb\blacktrianglefilled (▲), amssymb\triangleqequal by definition (≜), amssymb\bigtriangleupa triangle operator\triangleleftpointing left (◁)Examples
$\triangle ABC \cong \triangle DEF$congruent triangles
$f(x) \triangleq x^2 + 1$equal by definition
$\blacktriangle \quad \vartriangle$filled and small triangles
$N \triangleleft G$a normal subgroup
$A \mathbin{\triangle} B$symmetric difference
Tips and common mistakes
- Use
\trianglefor the shape and\Deltafor a change or difference. \vartriangle,\blacktriangleand\triangleqneed amssymb.- Wrap
\trianglein\mathbinwhen it is an operation between two things. - For an equals sign with a triangle, use
\triangleqrather than stacking symbols by hand. - Name a triangle with capitals right after the sign:
\triangleABC.
Working from handwritten notes?
LatexNotes turns a photo or PDF of handwritten mathematics into LaTeX, graphs and all. It is built with real pdflatex before you see it, and the .tex file is yours to edit or take to Overleaf. Free to try, no sign-up.
See how handwriting to LaTeX works, step by step, or go from GoodNotes to LaTeX if you write on an iPad (Notability works the same way).
Convert your maths to LaTeX →FAQ
How do I write the triangle symbol in LaTeX?
Use \triangle in maths mode, for example \triangle ABC.
How do I write a filled triangle?
Use \blacktriangle (▲) or \blacktriangledown (▼) with amssymb.
How do I write the triangle equals sign ≜?
Use \triangleq with amssymb; it means equal by definition.
Is \Delta the same as \triangle?
No. \Delta is the capital Greek letter delta, for a change or difference; \triangle is the geometric shape.