TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've tried making the command


to make the subscript to show that an ion is aqueous, but when used in the \ce command it breaks the reaction arrows

\ce{2Cu(OH2)^{2+}_{6} + 4I^{-}\aq  <=> 2CuI v +I2 v +12H2O}
share|improve this question
BTW: IUPAC recommends to typeset “the states of aggregation of chemical species [...] appended to the formula in parentheses and [...] printed in Roman (upright) type without a full stop (period).” This means: not as a subscript. – clemens May 2 '12 at 19:13

mhchem's arrows need to be preceded with a space. Since a command “eats” spaces after it there is no space before the arrow here: \ce{\cs <=>}. So that's why you need to add an empty group {} (\ce{\cs{} <=>}) or enclose the command with braces (\ce{{\cs} <=>}):



without space: \ce{A<=>} \\
with space: \ce{A <=>}

without space: \ce{\B <=>} \\
with space: \ce{\B{} <=>} \\
with space: \ce{{\B} <=>}


enter image description here

share|improve this answer

This is fixed if you use {} immediately following \aq:

\ce{2Cu(OH2)^{2+}_{6} + 4I^{-}\aq{} <=> 2CuI v +I2 v +12H2O}

mhchem and newcommand

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.