The chemformula package enables the user to input chemical formulas and reactions in a LaTeX document.