I was trying to write an equation using chemfig.However,the + sign is not aligned properly. Also, how do I make the bonds from Me to (<-O) and (-O) longer so the bond length between C and N are longer.
I use the code below.
\begin{center}
\schemestart[][184]
\subscheme{
\setatomsep{2.5em}
\chemfig{Me-OH}
\arrow{0}[,0]\+
\chemfig{C(=[:150]O)(-[:30]R)(-[:270,,,,]N(-[:330,,,,]H)(-[:210,,,,]{OH}))}
\arrow
}
\subscheme
{
\chemfig{Me(-[:45,,,,<-]O(=[:330,,,,]C?(-[:30,,,,]R)))(-[:315,,,,]O(-[:30,,,,]N?(-[:330,,,,]H)))}
\arrow{0}[,0]\+
\ce{H_2O}
}
\schemestop
\end{center}
and the output shows