All guides

Arrows in LaTeX

Updated:

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

Copying this from handwritten notes? Snap a photo of the page and CamteX turns the formulas into LaTeX. Try it free

Implication and equivalence

p \Rightarrow q, \quad p \Leftrightarrow q
p⇒q,p⇔qp \Rightarrow q, \quad p \Leftrightarrow q

Arrow with a label

A \xrightarrow{\text{heating}} B
A→heatingBA \xrightarrow{\text{heating}} B

Reversible reaction

\mathrm{N_2 + 3H_2} \rightleftharpoons \mathrm{2NH_3}
N2+3H2⇌2NH3\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