I'm looking for a way to draw a double-headed arrow with a curly arrow above to depict a reversible chemical reaction with addition of another reagent.
The script I'm working with at the moment is as follows:
\documentclass[11pt]{article}
\usepackage{mychemistry}
\begin{document}
\setarrowlength{3em}
\large
\begin{rxn}
\reactant[,a]{E}
\chemand
\reactant[,a]{\ch{S1}}
\arrow[0,<=>]{}{}
\reactant[,a]{\ch{ES1}}
\arrow[0,<=>]{}{}
\reactant[,a]{\ch{E'P1}}
\arrow[0,<=>]{}{\arrow{P1}}
\reactant{\ch{E'}}
\arrow[0,-+>]{\ch{S2}}{}
\reactant[,a]{\ch{E'S2}}
\arrow[0,-+>]{}{\ch{P2}}
\reactant[,a]{\ch{E}}
\end{rxn}
\end{document}
Giving me the following output:
Ideally, I'd like to amend this so that the 2 arrows from the right-hand side are double sided arrows, while still preserving the curly arrows above.
Best Answer
This is not easy to do with
mychemistry
. I recommend to usechemfig
(which is loaded bymychemistry
). It is more far more flexible and I believe the input is more convenient, too.chemfig
lets you define own arrow types which can be used here. On texwelt I suggested the following solution for exactly this kind of arrow withchemfig
.Here is how it goes. The code may look a bit complicated but it's basically a copy of existing arrow definitions in
chemfig
. I added a few comments for explanation. It defines an arrow type<y>
with several optional arguments:The scheme itself is then created rather easy:
The complete example