how can I add the charge and the counter ions to my complex? I'm using chemfig.
\schemestart
\chemname{\chemleft[\chemfig{Ni
(<:[1]OH_2)
(-[2]OH_2)
(<:[3]OH_2)
(<[5]OH_2)
(-[6]OH_2)
(<[7]OH_2)
}\chemright]}{\ce{[Ni(OH2)6]Cl2}}
\schemestop
Thanks!
\chemfig
works in math mode as well, so just$\chemleft[...\chemright]^{2+}$ \chemfig{Cl^{-}}
inside\chemname
should do the trick.