Problema con el mecanismo de reacción en chemfig.

Problema con el mecanismo de reacción en chemfig.

¿Por qué estas dos flechas no están en su lugar? Las dos primeras líneas de movimientos químicos están en las posiciones adecuadas y las otras dos son otra cosa y no puedo encontrar ningún problema en el código. Lo compilé varias veces.

También me gustaría poner la cuarta estructura encima de la segunda flecha. ¿Es posible poner flechas allí?

\schemestart
        \chemfig{@{b1}\charge{-50:2pt=$\scriptsize\ominus$}{C}(-[:30,.6]Z)(-[:150,.6]Z)-[:-120,.6]H}
        \hspace*{1cm}
        \chemfig{@{b2}C(-[:120,.6]R)(-[:-120,.6]H)=[@{b3},.6]@{b4}\charge{0=\|,-90=\|}{O}}
        \arrow{<=>}
        \chemfig{@{a5}C(-[:30,.6]Z)(-[:150,.6]Z)(-[:-130,.6]H)-[:-60,.6](-[:-120,.6]R)-[,.6]@{o1}\charge{45:2pt=$\scriptsize\ominus$}{O}}
        \+
        \chemfig{@{n1}\charge{140:2pt=$\scriptstyle\oplus$}{N}(-[:115,.6]H)(-[@{b5}:-135,.6]@{h2}H)-[:60,.6]-[:0,.6]-[:-60,.6]-[:-120,.6]-[:180,.6]-[:120,.6]}
        \arrow{<=>}
        \chemfig{C(-[:30,.6]Z)(-[:150,.6]Z)(-[:-130,.6]H)-[:-60,.6](-[:-120,.6]R)-[,.6]\charge{90=\|,0=\|}{O}-[:-90,.6]H}
    \schemestop
        \chemmove[-stealth,red]{
        \draw[shorten <=8pt,shorten >=1pt](b1).. controls +(-45:15mm) and +(180:8mm).. (b2);
        \draw[shorten <=2pt,shorten >=2pt](b3).. controls +(100:5mm) and +(90:5mm).. (b4);
        \draw[shorten <=8pt,shorten >=2pt](o1).. controls +(45:4mm) and +(160:4mm).. (h2);
        \draw[shorten <=2pt,shorten >=2pt](b5).. controls +(120:4mm) and +(180:4mm).. (n1);
        }

ingrese la descripción de la imagen aquí

Respuesta1

¿algo como esto?

Las flechas 3 y 4 requirieron pequeños ajustes en ángulos y longitudes, eso es todo.

El anillo de la cuarta molécula estaba mal, reescribí la molécula.

\documentclass[border=2mm]{standalone}
\usepackage{chemfig} 
\begin{document} 

\schemestart
\chemfig{@{b1}\charge{-50:2pt=$\scriptsize\ominus$}{C}(-[:30,.6]Z)(-[:150,.6]Z)-[:-120,.6]H}
\hspace*{1cm}
\chemfig{@{b2}C(-[:120,.6]R)(-[:-120,.6]H)=[@{b3},.6]@{b4}\charge{0=\|,-90=\|}{O}}
\arrow{<=>}
\chemfig{@{a5}C(-[:30,.6]Z)(-[:150,.6]Z)(-[:-130,.6]H)-[:-60,.6](-[:-120,.6]R)-[,.6]@{o1}\charge{45:2pt=$\scriptsize\ominus$}{O}}
%
\arrow{<=>[\chemfig{@{n1}\charge{140:2pt=$\scriptstyle\oplus$}{N}*6([,.5]------)(-[:115,.6]H)(-[@{b5}:-135,.6]@{h2}H)}]}[,2]
%
\chemfig{C(-[:30,.6]Z)(-[:150,.6]Z)(-[:-130,.6]H)-[:-60,.6](-[:-120,.6]R)-[,.6]\charge{90=\|,0=\|}{O}-[:-90,.6]H}
\schemestop
\chemmove[-stealth,red]{
    \draw[shorten <=8pt,shorten >=1pt](b1).. controls +(-45:15mm) and +(180:8mm).. (b2);
    \draw[shorten <=2pt,shorten >=2pt](b3).. controls +(100:5mm) and +(90:5mm).. (b4);
    \draw[shorten <=8pt,shorten >=2pt](o1).. controls +(40:6mm) and +(150:6mm).. (h2);
    \draw[shorten <=2pt,shorten >=0pt](b5).. controls +(150:6mm) and +(180:4mm).. (n1);
}
\end{document} 

ingrese la descripción de la imagen aquí

Compilando con XeLatex, unsoluciónmostrado determina que el problema está en el comando \arrow y una solución alternativa y coloca el comando \arrow dentro de un \subscheme

\documentclass[border=2mm]{standalone}
\usepackage{chemfig} 
\begin{document} 

\schemestart
\chemfig{@{b1}\charge{-50:2pt=$\scriptsize\ominus$}{C}(-[:30,.6]Z)(-[:150,.6]Z)-[:-120,.6]H}
\hspace*{1cm}
\chemfig{@{b2}C(-[:120,.6]R)(-[:-120,.6]H)=[@{b3},.6]@{b4}\charge{0=\|,-90=\|}{O}}
\subscheme{\arrow{<=>}}
\chemfig{@{a5}C(-[:30,.6]Z)(-[:150,.6]Z)(-[:-130,.6]H)-[:-60,.6](-[:-120,.6]R)-[,.6]@{o1}\charge{45:2pt=$\scriptsize\ominus$}{O}}
\+ 
\chemfig{@{n1}\charge{120:2pt=$\scriptstyle\oplus$}{N}*6([,.5]------)(-[:150,.6]H)(-[@{b5}:-135,.6]@{h2}H)}
\subscheme{\arrow{<=>}}
\chemfig{C(-[:30,.6]Z)(-[:150,.6]Z)(-[:-130,.6]H)-[:-60,.6](-[:-120,.6]R)-[,.6]\charge{90=\|,0=\|}{O}-[:-90,.6]H}
%------------------------------------
\chemmove[-stealth,red]{
    \draw[shorten <=8pt,shorten >=1pt](b1).. controls +(-45:15mm) and +(180:8mm).. (b2);
    \draw[shorten <=2pt,shorten >=2pt](b3).. controls +(100:5mm) and +(90:5mm).. (b4);
    \draw[shorten <=8pt,shorten >=2pt](o1).. controls +(40:6mm) and +(150:6mm).. (h2);
    \draw[shorten <=2pt,shorten >=0pt](b5).. controls +(150:6mm) and +(180:4mm).. (n1);
}
\schemestop
\end{document} 

ingrese la descripción de la imagen aquí

información relacionada