I get the following errors and have no idea, why. I just updated all my packages. I am using MikTeX 2.9 on Windows 7 and TeXmaker 4.3. Just spent like an hour searching for an answer and didn't get any. Would be very good if anyone could help me. The \ch{} command, however, works.
! LaTeX Error: Environment reaction undefined.See the LaTeX manual or LaTeX Companion for explanation.Type H for immediate help.... \begin{reaction}
! LaTeX Error: Environment experimental undefined.See the LaTeX manual or LaTeX Companion for explanation.Type H for immediate help.... \begin{experimental}
! Undefined control sequence. \data
! Undefined control sequence. \NMR
\documentclass[11pt,a4paper]{scrartcl}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{siunitx} %SI units
\usepackage{chemmacros} %formula, spectra, ...
\begin{document}
\ch{CH4}
\begin{reaction}
A -> B
\end{reaction}
\begin{experimental}
\data*{yield} \SI{555}{\milli\gram} ugly, brown whatever
\NMR{1,H}(250)[CDCl3] \val{9.99} (m, \#{5})
\end{experimental}
\end{document}
chemmacros
with version 5.0 and now features a modular structure. You can either run in backwards compatibility mode via\usepackage[compatibility=4.7]{chemmacros}
or you load\usepackage{chemmacros}
and then the required modules for your environments, namely\chemsetup{modules={reactions,spectroscopy}}
. Thereaction
environment needs thereactions
module,experimental
needs thespectroscopy
module.\chemsetup{modules={all}}
.chemmacros
manual and yet you didn't find them after an hour of searching. Should I rework the manual?