I tried to draw some reaction schemes with some electron movements using the chemfig
macros.
Problem is: I can draw every electron movement but in schemes only inside a certain compound of the reaction. If the nodes for the drawn arrow are in different compounds the arrow appears anywhere else but where I want it to. Same happens if the \chemmove
-order is posted after a compound-differing arrow. Meaning it looks like the nodes get somehow "spoiled" once there is an arrow slicing compounds between the nodes and the \chemmove
part.
Here are some examples.
This works:
\documentclass{article}
\usepackage{chemfig}
\usetikzlibrary{decorations}
\usepackage{chemmacros}
\begin{document}
\schemestart
\setchemrel{}{}{8em}
\chemfig{R-[:30](-[:-30,.25,,,draw=none]@{fp}\fplus)=^[:90]O}
\chemrel[\chemfig{*6(-=-=-=[@{b}])}][]{<>}
\schemestop
\chemmove{
\draw[->,red,shorten >=3pt, shorten <=3pt]
(b) .. controls +(-120:8mm) and +(-90:8mm) .. (fp) ;
}
But this doesn't:
\documentclass{article}
\usepackage{chemfig}
\usetikzlibrary{decorations}
\usepackage{chemmacros}
\begin{document}
\schemestart
\chemfig{R-[:30](-[:-30,.25,,,draw=none]@{fp}\fplus)=^[:90]O}
\arrow{<=>[*{0}\chemfig{*6(-=-=-=[@{b}])}]}[,1.5]
\schemestop
\chemmove{
\draw[->,red,shorten >=3pt, shorten <=3pt]
(b) .. controls +(-120:8mm) and +(-90:8mm) .. (fp) ;
}
\end{document}
I tried to work around it by using \chemrel
instead of \arrow
but this makes alignments horrible.
\chemmove
after\schemestop
.mychemistry
is rather unmaintained but if you notice something not working you could tell the author, anyway\chemmove
and\arrow
can be combined (see texwelt.de/wissen/fragen/5734#5738 for an example...)\usepackage{chemfig}
should suffice. What we need is to be able to reproduce your problem.