Guide LaTeX

Arrows in LaTeX

The LaTeX commands for every common arrow, which ones need the amssymb package, and how to put text over an arrow.

Tap to copy:

Arrow commands for LaTeX: → \rightarrow, ⇒ \Rightarrow, ⟶ \longrightarrow, ↦ \mapsto, ↔ \leftrightarrow, ⇔ \Leftrightarrow
Arrow commands for LaTeX (cheat sheet) · Download image

Basic arrows (no package needed)

ArrowCommandArrowCommand
→\rightarrow or \to←\leftarrow or \gets
↑\uparrow↓\downarrow
↔\leftrightarrow↕\updownarrow
⇒\Rightarrow⇐\Leftarrow
⇔\Leftrightarrow⇕\Updownarrow
⟶\longrightarrow⟵\longleftarrow
⟹\Longrightarrow⟺\Longleftrightarrow
↦\mapsto⟼\longmapsto
↪\hookrightarrow↩\hookleftarrow
↗\nearrow↘\searrow
↙\swarrow↖\nwarrow
⇀\rightharpoonup⇌\rightleftharpoons

Extra arrows with amssymb

Add \usepackage{amssymb} to your preamble for these: \twoheadrightarrow ↠, \rightarrowtail ↣, \circlearrowright ↻, \curvearrowright ↷, \rightsquigarrow ↝, \rightrightarrows ⇉, \rightleftarrows ⇄, \upuparrows ⇈, \Rrightarrow ⇛, \Lsh ↰, \Rsh ↱, \looparrowright ↬ and the crossed-out \nrightarrow ↛ and \nRightarrow ⇏.

Text over an arrow

With \usepackage{amsmath}, \xrightarrow{f} draws an arrow that stretches to fit the label, and \xleftarrow[below]{above} adds text on both sides. For a vector arrow over letters, use \overrightarrow{AB}.

Implies

\implies (amsmath) gives a spaced ⟹ and \iff gives ⟺. Use them in proofs; use \Rightarrow when you want a shorter arrow.

Frequently Asked Questions

What is the LaTeX command for a right arrow?

Use \rightarrow or \to in math mode.

How do I write implies in LaTeX?

Use \Rightarrow for ⇒ or \implies (amsmath) for a longer, spaced ⟹.

More guides

→Copied