New answers tagged


This is not a problem with an up to date chemmacros (v5.8f): \documentclass{article} \usepackage{chemmacros}[2019/09/30]% v5.8f or newer \chemsetup{modules = reactions} \begin{document} \begin{reaction} [ML6]A <=> [ML6]+ + A- \end{reaction} \begin{reaction}[] [ML6]A <=> [ML6]+ + A- \end{reaction} \end{document}


With chemformula v4.15h (2019/10/13) the MWE works: \documentclass{article} \usepackage{chemformula}[2019/10/13] % v4.15h or newer \usepackage{chemmacros} \chemsetup{modules={reactions}} \usepackage{chemfig} \begin{document} \begin{reaction} A + B + C + D -> "\chemfig{A-[::30]B=[::30]C~[:30]D}" \end{reaction} \end{document}


\documentclass{article} \usepackage{chemmacros} \chemsetup{modules={all}} \usepackage{chemfig} \newcommand{\abcd}{\chemfig{A-[::30]B=[::30]C~[:30]D}} \begin{document} \begin{reaction} A + B + C + D -> "\abcd" \end{reaction} \end{document}


Strictly speaking, this expression isn't an equation; rather, it's a reaction (a definition of a generic elementary reaction in chemical kinetics, to be precise). I think using labeled reaction environment from chemmacros's reactions module suits this case much better: this way one can also address it later both in text and in the list of reactions. As for ...


This is an expansion problem. \glsnoexpandfields will help: \documentclass{report} \usepackage{chemmacros} \usepackage{glossaries} \glsnoexpandfields \newacronym{DMF}{DMF}{\iupac{\N,\N-dimethylformamide}} \begin{document} Dissolve in \gls{DMF}. Evaporate \gls{DMF} off. \end{document}


The solution is quite easy, actually, and you're on the right track: don't use the floating environment but center for example. You can still caption the image with \captionof which is available in each KOMA-Script class like scrreprt: \documentclass{scrreprt} \usepackage{chemmacros} \usechemmodule{scheme} \usepackage{lipsum} \begin{document} \section{...


chemmacros does not really insert space after the state symbol as the first to lines in the following example show. You can set up the macro to insert a negative kern afterwards but this might have unwanted effects in other places (see the example). I would adjust manually where needed. \documentclass{article} \usepackage{chemmacros} \usechemmodule{...

Top 50 recent answers are included