when using \cee
command (from mhchem package) within align environment, \\[10pt]
doesn't work. It works in align environment without \cee
. Is there a workaround?
here is a MWE:
\documentclass{article}
\usepackage{amsmath}
\usepackage{mhchem}
%with \cee command
\begin{document}
\begin{align}
\cee{
A &-> B \\[10pt] %"[10pt]" is printed, no vertical adjustment
A &-> B
}
\end{align}
%without \cee command
\begin{align}
A &\rightarrow B \\[10pt] %vertical adjustment works
A &\rightarrow B
\end{align}
\end{document}
prints:
Best Answer
Edit: mhchem version 3.16 includes the fix shown below. Update will be available in a few days.
(This redefinition requires the current version of mhchem, not the one in texlive 2012)