Why won't this compile? I suspect the math inside the []s are preventing compilation. If so how do I make this work? Thanks.
\documentclass[12pt]{article}
\usepackage[version=3]{mhchem}
\begin{document}
\ce{E + S <=> [$k_1$][$k_{-1}$] ES <=>[$k_2$] E + P}
\end{document}
Error:
! Missing $ inserted. $ l.34 ...k_1$}][\ce{$k_{-1}$}] ES <=>[$k_2$] E + P} ?
\ce{E + S <=> [k_1][k_{-1}] ES <=>[k_2] E + P}– Herbert Jun 17 '11 at 15:00<=>and[k_1][...is not allowed. :| Thanks! – ptrcao Jun 17 '11 at 15:09\ensuremath{k_1}, if you wish to have math mode for the common italic math font. – Stefan Kottwitz♦ Jun 17 '11 at 15:30