Arrows in LaTeX
Arrows appear in limits, implications, mappings and reaction equations. A single-line arrow is the regular one, a double-line arrow means implication. Add a label above an arrow with \xrightarrow.
Basic arrows
\rightarrow \quad \leftarrow \quad \leftrightarrow \quad \mapstoImplication and equivalence
p \Rightarrow q, \quad p \Leftrightarrow qArrow with a label
A \xrightarrow{\text{heating}} BReversible reaction
\mathrm{N_2 + 3H_2} \rightleftharpoons \mathrm{2NH_3}Common mistakes
- Typing -> and => instead of commands: in math mode they are set as separate symbols.
See also
Don't want to memorize commands?
Draw a formula or paste a screenshot, and CamteX turns it into ready LaTeX.