Geometry

Angles, triangles, parallel, perpendicular, at congruence.

Geometry symbols in LaTeX: perpendicular, parallel, angle and triangle

Geometry symbols in LaTeX are built in for the most part. Perpendicular, also the orthogonal symbol, is \perp (⊥), parallel is \parallel (∥), an angle is \angle ABC, and a triangle is \triangle ABC. Congruent is \cong and similar is \sim. A line segment gets a bar, \overline{AB}, a ray or vector gets an arrow, \overrightarrow{AB}, and a degree sign is a superscript circle, 90^\circ. Only a few extras, like \measuredangle and \nparallel, need amssymb. The table lists the geometry symbols people use most, with the package each one needs; the full list follows below.

Quick reference: the most used geometry symbols

SymbolCommandUsePackageCopy
⊥\perp
\perpPerpendicular, orthogonalbuilt in
∥\parallel
\parallelParallelbuilt in
∦\nparallel
\nparallelNot parallelamssymb
∠ABC\angle ABC
\angle ABCAnglebuilt in
∡ABC\measuredangle ABC
\measuredangle ABCMeasured angleamssymb
△ABC\triangle ABC
\triangle ABCTrianglebuilt in
≅\cong
\congCongruentbuilt in
∼\sim
\simSimilarbuilt in
AB‾\overline{AB}
\overline{AB}Line segmentbuilt in
AB→\overrightarrow{AB}
\overrightarrow{AB}Ray or vectorbuilt in
AB↔\overleftrightarrow{AB}
\overleftrightarrow{AB}Line through A and Bamsmath
90∘90^\circ
90^\circDegree signbuilt in

The same \perp command marks orthogonal vectors, u \perp v, and the orthogonal complement, V^\perp. For arcs, \overset{\frown}{AB} (amsmath) places an arc over the letters. More comparison symbols are on the relation symbols page.

Frequently asked questions about geometry symbols in LaTeX

How do I write the perpendicular or orthogonal symbol in LaTeX?
Use \perp in math mode: $AB \perp CD$ prints AB ⊥ CD. The same command is used for orthogonal vectors, u \perp v, and the orthogonal complement V^\perp. It is built in, so no package is needed.
How do I write a triangle symbol in LaTeX?
\triangle prints △, as in $\triangle ABC$, and needs no package. amssymb adds the smaller \vartriangle and the filled \blacktriangle.
How do I write the degree symbol in LaTeX?
In math mode write a superscript circle: $90^\circ$. In text, \textdegree prints °, and the siunitx package gives consistent output with \ang{45} or \qty{90}{\degree}.
∠\angle

Angle

\angle
∡\measuredangle

Measured Angle

\measuredangle
∢\sphericalangle

Spherical Angle

\sphericalangle
△\triangle

Triangle

\triangle
□\square

Square

\square
∘\circ

Circle

\circ
⊥\perp
∥\parallel

Parallel

\parallel
∦\nparallel

Not Parallel

\nparallel
≅\cong
≆\ncong
∼\sim
≃\simeq
⌢\frown

Arc

\frown
∘^{\circ}

Degree

^{\circ}
⊥\perp
AB‾\overline{AB}

Line Segment

\overline{AB}
AB→\overrightarrow{AB}

Ray

\overrightarrow{AB}
AB↔\overleftrightarrow{AB}

Line

\overleftrightarrow{AB}
∅\varnothing

Diameter

\varnothing