mhchem - francois-rozet/sleek-template GitHub Wiki

Mhchem

Features of the mhchem package.

Commands

Command Description Arguments
\ce Opens a chemical environment {content}

Where content is a chemical expression such as formulas or equations.

Equation symbols

\ce{A + B} \quad \ce{A - B} \quad \ce{A * B}

Arrows

\ce{A -> B} \; \ce{A <- B} \; \ce{A <-> B} \; \ce{A <--> B} \; \ce{A <=> B} \; \ce{A <=>> B} \; \ce{A <<=> B} \; \ce{A ->[C] B}

Bonds

\ce{A-B} \quad \ce{A=B} \quad \ce{A#B}

or

\ce{A\bond{1}B} \quad \ce{A\bond{2}B} \quad \ce{A\bond{3}B}

Exponents & subscripts

\ce{H2} \quad \ce{H^+} \quad \ce{O^{-2}} \quad \ce{CaCO3}

Examples

\ce{H2SO4 + H2O <=>[H2O] HSO4^- + H3O^+}

\ce{6CO2 + 6H2O ->[\text{Light}] C6H12O6 + 6O2}
⚠️ **GitHub.com Fallback** ⚠️