For chemistry symbols in LaTeX, the mhchem package does most of the work: \ce{2H2 + O2 -> 2H2O} typesets a whole reaction with upright element symbols, subscripts and a yields arrow. Without mhchem, the yields arrow is \rightarrow, the equilibrium symbol is \rightleftharpoons, and formulas are written as \mathrm{H_2O} in math mode so the element letters stay upright. Reaction conditions go over a stretchy arrow with \xrightarrow{\Delta} from amsmath. The table lists the chemistry symbols people use most, with the package each one needs; the full list follows below.
| Symbol | Command | Use | Package | Copy |
|---|---|---|---|---|
\ce{2H2 + O2 -> 2H2O} | Whole reaction | mhchem | ||
\ce{A <=> B} | Equilibrium in mhchem | mhchem | ||
\rightarrow | Yields (reaction arrow) | built in | ||
\rightleftharpoons | Equilibrium symbol (harpoons) | built in | ||
\xrightarrow{\Delta} | Arrow with heat or conditions above | amsmath | ||
\mathrm{H_2O} | Chemical formula in math mode | built in | ||
\mathrm{Na^+} | Ion charge | built in | ||
{}^{14}_{6}\mathrm{C} | Isotope (mass and atomic number) | built in | ||
\Delta H^\circ | Standard enthalpy change | built in | ||
\uparrow | Gas evolved | built in | ||
\downarrow | Precipitate | built in | ||
\ce{HC#CH} | Triple bond (= for a double bond) | mhchem |
Load mhchem with version 4. Inside \ce, -> is the yields arrow, <=> the equilibrium arrow, numbers after an element become subscripts, ^ sets a charge, and a lone ^ or v after a species marks a gas or a precipitate. Text in square brackets after an arrow goes above it:
\usepackage[version=4]{mhchem}
\ce{CaCO3 ->[\Delta] CaO + CO2 ^}\rightleftharpoons\leftrightarrows\rightarrow\longrightarrow\uparrow\downarrow{}^{14}_{6}\text{C}\text{Na}^{+}\text{H}_2\text{O}\Delta^{\circ}^{\circ}\text{C}\text{C}-\text{C}\text{C}=\text{C}\text{C}\equiv\text{C}\delta^{+}e^{-}\text{(aq)}\text{(s)}\text{(l)}\text{(g)}