Chemmacros
| Developer(s) | Clemens Niederberger |
|---|---|
| Initial release | 2012 |
| Written in | Template:Linked TeX wordmark |
| Engine | |
| Operating system | Cross-platform |
| Platform | TeX |
| Type | Typesetting, Scientific publishing |
| License | LaTeX Project Public License |
| Website | ctan.org/pkg/chemmacros |
Search Chemmacros on Amazon.
Chemmacros is a Template:Linked TeX wordmark package used to simplify and enhance the typesetting of computational chemistry, such as chemical equations, reactions, formulas, and mechanisms. It provides a comprehensive interface for working with chemical notation, and is designed to integrate well with other LaTeX packages like mhchem and siunitx.[1]
Overview
chemmacros allows users to write chemical expressions with clearer syntax and better typographic results than raw LaTeX or math mode. The package is modular and extensible, allowing users to load only the features they need, such as reaction arrows, oxidation states, isotope notation, and physical quantities.
Features
- Easy input of chemical formulas and reactions
- Predefined macros for oxidation states, charges, and isotopes
- Reaction schemes with support for reagents and conditions
- Support for IUPAC-style nomenclature
- Integration with packages like mhchem and siunitx
Example
A basic example using chemmacros:
\documentclass{article}
\usepackage{chemmacros}
\chemsetup{modules = reactions}
\begin{document}
\ch{2H2 + O2 -> 2H2O}
\end{document}
- Would render as:
- 2H2 + O2 → 2H2O
Example 2
\setchemfig{atom sep=2em}
\chemfig{-[@{op,.75}]CH_2-CH(-[6]Cl)-[@{cl,0.25}]}
\makepolymerdelims{5pt}[27pt]{op}{cl}
\chemfig{-[@{op,.75}]CH_2-CH(-[6]Cl)-[@{cl,0.25}]}
\makepolymerdelims[delimiters=()]{5pt}[27pt]{op}{cl}
Modules
chemmacros is organized into modules, such as:
- reactions – for Chemical equations
- Acid–base reactions
- Redox
- Thermodynamics – for reaction energetics
Use cases
The package is widely used in:
- Scientific publishing
- Chemistry lecture notes and textbooks
- Educational materials in chemical engineering and biochemistry
See also
References
External links
This article "Chemmacros" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:Chemmacros. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.

