Draft:Chemmacros
![]() | Draft article not currently submitted for review.
This is a draft Articles for creation (AfC) submission. It is not currently pending review. While there are no deadlines, abandoned drafts may be deleted after six months. To edit the draft click on the "Edit" tab at the top of the window. To be accepted, a draft should:
It is strongly discouraged to write about yourself, your business or employer. If you do so, you must declare it. Where to get help
How to improve a draft
You can also browse Wikipedia:Featured articles and Wikipedia:Good articles to find examples of Wikipedia's best writing on topics similar to your proposed article. Improving your odds of a speedy review To improve your odds of a faster review, tag your draft with relevant WikiProject tags using the button below. This will let reviewers know a new draft has been submitted in their area of interest. For instance, if you wrote about a female astronomer, you would want to add the Biography, Astronomy, and Women scientists tags. Editor resources
Last edited by Wikideas1 (talk | contribs) 0 seconds ago. (Update) |
![]() | This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
|
Developer(s) | Clemens Niederberger |
---|---|
Initial release | 2012 |
Written in | LaTeX |
Operating system | Cross-platform |
Platform | TeX |
Type | Typesetting, Scientific publishing |
License | LaTeX Project Public License |
Website | ctan.org/pkg/chemmacros |
Chemmacros is a LaTeX 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
[edit]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
[edit]- 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
[edit]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
[edit]\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
[edit]chemmacros is organized into modules, such as:
- reactions – for Chemical equations
- Acid–base reactions
- Redox
- Thermodynamics – for reaction energetics
Use cases
[edit]The package is widely used in:
- Scientific publishing
- Chemistry lecture notes and textbooks
- Educational materials in chemical engineering and biochemistry
See also
[edit]References
[edit]External links
[edit]