I have been using \usepackage{mhchem}
to write chemical equations. Now I want to use also \usepackage{chemformula}
. But when I use the second package it appears that LaTeX doesn't understand the keywords of the first package.
Is it possible? Any idea about how to fix it?
Best Answer
I am not a user of either of the mentioned packages,
mhchem
andchemformula
.From the documentation of
chemformula
:Though not mentioned explicitly, I have a feeling that these two package are not compatible. But your purposes should be served by either of the packages.
chemmacros
is a comprehensive support for typesetting chemistry documents.Either
mhchem
orchemformula
can be loaded as modules:Default:
chemformula
.If you set
formula = {chemformula}
, thechemformula
module makes it possible that you can set allchemformula
options via the\chemsetup
command using the modulechemformula
, for example:And if you set
formula = {mhchem}
, thechemformula
module makes it possible that you can set all ofmhchem
’s options via the\chemsetup
command using the modulemhchem
, for example:(The last examples also implicitly indicate that either
mhchem
orchemformula
should be used in a document, but not both.)