0

I am trying to figure out how to put a value (e.g. ∆H>0 or E_cell=1.10 V) to the right of a chemical equation. For example

\ce{Cu ^{2+}(aq) + Zn(s) -> Cu(s) + Zn^{2+} (aq) E_{cell}^\standardstate = \SI{1.10}{\volt}}

However the value is jammed up against the equation and using \verbatim{ } seems a bit crude. Thanks,

Cam

  • 1
    Welcome to TeX.SE. Please consider posting not just a code snippet but something that's compilable. For starters, do indicate which packages define the macros \ce, \standardstate, and \SI. – Mico Jun 08 '16 at 16:57
  • Did you try adding, say \quad first? – Bernard Jun 08 '16 at 17:02

1 Answers1

4

Since TeX ignores spaces in math formulas, you need to add an explicit one, typically \quad or \qquad.

Note: in the code I removed \standardstate as I don't know its definition.

\documentclass{article}
\usepackage[version=4]{mhchem}
\usepackage{siunitx}

\begin{document}

\[
\ce{Cu^{2+}(aq) + Zn(s) -> Cu(s) + Zn^{2+} (aq)}
\qquad E_{\mathrm{cell}}^{0} = \SI{1.10}{\volt}
\]

\end{document}

enter image description here

egreg
  • 1,121,712