mhchem

Chemical formulas and equations: \ce{2H2 + O2 -> 2H2O}.

Loading

\usepackage{mhchem}

A module of its own, compiled into mLaTeX: the package's commands are defined over mLaTeX's primitives.

Commands

\ce, \cee, \pu.

Example

A document that uses it, from mLaTeX's own tests, so it compiles as written, and below it what mLaTeX sets from it in your browser:

mhchem.tex
\documentclass{article}
\usepackage[version=4]{mhchem}
\begin{document}
\ce{H2O}, \ce{2H2 + O2 -> 2H2O}, \ce{CO2 ^}, \ce{Fe^{3+}}, \ce{A <=> B}, \pu{123 kJ/mol}.
\end{document}
OutputLoading mLaTeX in your browser
Loading mLaTeX