34 commands, each with the package it needs
Abstract
Single, double, long, hooked and labelled arrows. Most are built in; \implies, \xrightarrow and a few others need amsmath or amssymb. Table 1 lists every symbol of the category with its rendered glyph, the command to type and the package to load; each name links to a page with a worked example, and 6 of them to a note comparing the commands that compile.
| Glyph | Command | Package | Page |
|---|---|---|---|
\to | none | To | |
\leftarrow | none | Leftarrow | |
\rightarrow | none | Rightarrow | |
\leftrightarrow | none | Leftrightarrow | |
\Leftarrow | none | Double left arrow | |
\Rightarrow | none | Implies arrow | |
\Leftrightarrow | none | Double left-right arrow | |
\iff | none | If and only if | |
\implies | amsmath | Implies | |
\uparrow | none | Uparrow | |
\downarrow | none | Downarrow | |
\updownarrow | none | Updownarrow | |
\nearrow | none | Nearrow | |
\searrow | none | Searrow | |
\swarrow | none | Swarrow | |
\nwarrow | none | Nwarrow | |
\mapsto | none | Mapsto | |
\longmapsto | none | Longmapsto | |
\hookrightarrow | none | Hookrightarrow | |
\hookleftarrow | none | Hookleftarrow | |
\twoheadrightarrow | amssymb | Twoheadrightarrow | |
\twoheadleftarrow | amssymb | Twoheadleftarrow | |
\rightharpoonup | none | Rightharpoonup | |
\rightharpoondown | none | Rightharpoondown | |
\leftrightharpoons | amssymb | Leftrightharpoons | |
\rightleftharpoons | none | Equilibrium arrow | |
\dashrightarrow | amssymb | Dashrightarrow | |
\circlearrowleft | amssymb | Circlearrowleft | |
\circlearrowright | amssymb | Circlearrowright | |
\xrightarrow{f} | amsmath | Xrightarrow | |
\xleftarrow{f} | amsmath | Xleftarrow | |
\longrightarrow | none | Longrightarrow | |
\longleftarrow | none | Longleftarrow | |
\Longrightarrow | none | Long implies arrow |
Table 1. Arrows in LaTeX: glyph, command, package (none means built into LaTeX) and the page for each symbol. Commands go inside math mode unless the page says otherwise.
The same table exists for every family of symbols. To find one by name or by pasting the character, use the symbol search.