I'm trying to write out a formula, and I'm having trouble getting it to work in chemmacros
What I want is 2,2'-bpy, with a prime and a hyphen. What I get is 2.2"-"bpy, with a period and quotes around the hyphen (hyphen is used, somewhat annoyingly as I've never seen a time I'd want that, as a bond instead of a hyphen in formulas. So you have to put it in quotes. You have to add a space after the second 2, so that they don't go subscript.)
MWE, with an example of what should happen below what is happening.
\documentclass{article}
\usepackage{chemmacros}
\chemsetup{formula=chemformula, %use chemformula instead of say, mhchem
}
\begin{document}
\ch{(UO2)2( 2, 2 \chemprime "-" bpy)(CH3CO2)(O)(OH)}
\ch{UO2 "-" H2O2 "-" K2CO3}
\end{document}
