Skip to content

IUPAC mapping

AsciiChem constructs are designed against the IUPAC Green Book (3rd ed., 2007) and IUPAC Recommendations (Pure Appl. Chem. 90, 2018, 175–180). Where AsciiChem’s spelling differs from mhchem, the Green Book is the tiebreaker.

ConstructAsciiChemIUPAC reference
Element symbolC, HeGreen Book §2.10
Isotope (prefix)^14CGreen Book §2.10 (isotope)
ChargeCa^2+Green Book §2.10 (number-then-sign)
Oxidation stateFe^(III)Green Book §2.10 (Roman in parens)
Stoichiometric coefficient2H_2OGreen Book §2.10 (prefix)
Forward reactionA -> BRec. 2018 §3
EquilibriumA <=>[Fe][T] BRec. 2018 §3 (conditions)
SubscriptH_2Green Book §2.10

Where mhchem (LaTeX) and AsciiChem diverge, the rationale is recorded in TODO 01.

ConstructmhchemAsciiChemWhy
Charge\ce{Ca^{2+}}Ca^2+Plain ASCII; braces optional
Reaction\ce{A -> B}A -> BSame — direct lift
Adduct\ce{A·B}(deferred)Needs design; v2
Bond(none in mhchem)-, =, #Lifted from chemfig

Some chemistry typography is not yet modelled. Tracked in TODO 13:

  • Stereochemistry (R/S, E/Z) markers
  • Wedge/hash bonds in linear notation
  • Multi-center bonds
  • Reaction cascades (chained arrows)