Recently mhchem and beamer have stopped working well together, especially in the equation environments. When a chemical equation is placed in an equation environment, I get the following error:
ERROR: Undefined control sequence.
--- TeX said ---
\getanddefine@fonts ...p@font \let \textfont@name
\font@name \xdef \font@nam...
l.21 \end{frame}
A minimal example is:
\documentclass{beamer}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[version=3, arrows=pgf]{mhchem}
\newcommand*{\ra}[1]{\ensuremath{\dot{\mathsf{#1}}}}
\usetheme{Goettingen}
\begin{document}
\begin{frame}
\frametitle{S-Nitrosylation}
\begin{itemize}
\item{On Cys-residues: \ce{R-SH + $\ra N$O <=> R-S-$\ra N$-OH}}
\item{Additional pathway for \ce{$\ra N$O} regulation besides
cGMP-dependent kinase}
\end{itemize}
\begin{eqnarray}
\label{eq:1}
\cee{R-SH + $\ra N$O &<=>& R-S-$\ra N$-OH}
\end{eqnarray}
\end{frame}
\end{document}
Any thoughts?
Shawn Way