I'd like to write a reaction mechanics in Latex, but the output differs from what I expected.
\documentclass{jlreq}
\usepackage[dvipdfmx]{graphicx}
\usepackage{chemfig}
\usetikzlibrary{calc}
\begin{document}
\schemestart
\chemfig{@{a}A-@{b}B}
\arrow{->[\chemfig{@{h}H^{+}}]}
\chemfig{A}
+
\chemfig{B}
\schemestop
\chemmove{
\draw($(a)!0.5!(b)$)..controls +(90:5mm) and +(90:5mm)..(h);
}
\end{document}
Below is the output(black) and what I want to write(red).
All I know is this occurs when the start/end point of the curve arrow is above the straight arrow.
articleso I can use latex, it gives the same wrong output with latex+dvipdfmx , if I delete[dvipdfmx]and use pdflatex, it works. So possibly an error in the dvipdfmx back end file, (no time to look now but leaving a comment in case others are checking) – David Carlisle Jul 16 '21 at 08:21dvipdfmxas a backend easily), I see the issue. As @DavidCarlisle says, it's likely a fault in the backend files forpgf, which is being used for the drawing. – Joseph Wright Jul 16 '21 at 08:41