0

I would like to get hydrated compounds with the leading number NOT subscripted, as shown here, but using mhchem instead of chemmacros. In particular, I already tried the accepted solution to that question (add more space in front of the numbers) and it does not work.

\usepackage[utf8]{inputenc}
\usepackage{mhchem}

\begin{document}

\ce{SrCl2 \cdot 6H2O}
\ce{SrCl2 \cdot  6H2O}
\ce{SrCl2 \cdot  6 H2O}

\end{document}

Outputs: enter image description here

1 Answer 1

3

Use *, as explained in “Addition compounds”, page 9 of the manual.

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

\begin{document}

\ce{SrCl2 * 6 H2O}

\end{document}

enter image description here

1
  • You can also use a full stop e.g \ce{SrCl2.6H2O}. The exception is if you want just ·3H2O, where you have to use the *. Aug 3, 2023 at 13:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .