Developer(s) | Martin Hensel |
---|---|
Initial release | 2004 |
Stable release | 4.09 |
Written in | TeX |
Operating system | Cross-platform |
Platform | LaTeX |
Type | Typesetting |
License | LaTeX Project Public License |
Website | ctan |
mhchem is a LaTeX package designed to simplify the typesetting of chemical formulae and equations. It allows users to write chemical expressions using a concise and intuitive syntax that is then rendered into properly formatted chemical notation. [1]
\ce{H2O}
for water.The command:
\ce{2H2 + O2 -> 2H2O}
will render as:
To use mhchem, include the package in the LaTeX document preamble:
\usepackage[version=4]{mhchem}
Then, chemical equations can be typed using the \ce{}
command.
mhchem is supported by MathJax, enabling its use on the web for rendering chemical equations in HTML documents, including Wikipedia and other wikis using MathJax extensions.