CamteX
All guides

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 \mapsto
\rightarrow \quad \leftarrow \quad \leftrightarrow \quad \mapsto

Implication and equivalence

p \Rightarrow q, \quad p \Leftrightarrow q
pq,pqp \Rightarrow q, \quad p \Leftrightarrow q

Arrow with a label

A \xrightarrow{\text{heating}} B
AheatingBA \xrightarrow{\text{heating}} B

Reversible reaction

\mathrm{N_2 + 3H_2} \rightleftharpoons \mathrm{2NH_3}
N2+3H22NH3\mathrm{N_2 + 3H_2} \rightleftharpoons \mathrm{2NH_3}

Common mistakes

See also

Don't want to memorize commands?

Draw a formula or paste a screenshot, and CamteX turns it into ready LaTeX.

Try it free