When typing reactions starting with coordinating compounds, I noticed that when the first reactant starts with "[" in both reaction and reactions environments the part enclosed in square brackets isn't rendered correctly:
\documentclass{article}
\usepackage{chemmacros}
\chemsetup{modules = all}
\begin{document}
\begin{reaction}
[ML6]A <=> [ML6]+ + A-
\end{reaction}
\end{document}
Neither pdflatex, nor xelatex show any error messages. Empirically I discovered that adding a pair of square brackets to the reaction(s) environment solves the problem:
\documentclass{article}
\usepackage{chemmacros}
\chemsetup{modules = all}
\begin{document}
\begin{reaction}[]
[ML6]A <=> [ML6]+ + A-
\end{reaction}
\end{document}
I'm also curious why \begin{reaction}[] actually works – maybe there are some arguments that reaction(s) environment expects?



\documentclass{article}\begin{document}\begin{figure}[Test]\end{figure}\end{document}and you will get an error about unknown positional arguments. – Troy Dec 04 '18 at 17:07[]brackets every time, use{[}for the first complex, or something else? Also I find it weird that compilers don't complain at all as ifML6were a valid argument. – andselisk Dec 04 '18 at 17:53[]since it seems to be the quickest way to do it. I don't think one has any advantage (apart from flow of typing) over the other. maybe Clemens would have something to say regarding your second statement. – Troy Dec 04 '18 at 18:26chemmacrosdoesn't do this anymore with the newest release (should be available in the main distributions in a few days) – cgnieder Sep 27 '19 at 11:16