1

I'm trying to produce the scheme in the figure on latex, so far my attempts are abortive. I've added here what I have so far using the chemfig package:

enter image description here

\schemestart
 A \arrow{->[$k_{on}$]} 
 B \arrow{->[$k_{c}$]}
 C
  \arrow(C---){->[$k_{d}$]}[30,1.75] D
 \arrow(@C---){->[$k_{d}^{'}$]}[-30,1.75] E
 \arrow{<=>[*{0} $k_{a}^{}$][*{0} $k_{a}^{'}$]}[90,1.85]
\schemestop
4
  • \arrow(C---) has a - too much. It should be \arrow(C--).
    – cgnieder
    Apr 27, 2016 at 12:58
  • @clemens, thanks, I'm just missing to arrows back to A now
    – jarhead
    Apr 27, 2016 at 12:59
  • Do the outer arrows need to have edges or may they go directly?
    – cgnieder
    Apr 27, 2016 at 12:59
  • @clemens, yes they do...or any other type of arrow that is not direct with an angle, they can also be rounded
    – jarhead
    Apr 27, 2016 at 13:00

1 Answer 1

1

You can define a new arrow type as explained in section 11 of part IV of the chemfig manual:

\documentclass{article}
\usepackage{chemfig}

\makeatletter
\definearrow{3}{-|>}{%
  \CF@arrow@shift@nodes{#3}%
  \expandafter\draw\expandafter[\CF@arrow@current@style,-CF]
    (\CF@arrow@start@node) -| (\CF@arrow@end@node)
    node[midway] (arrow@middle){} ;%
  \CF@arrow@display@label
    {#1}{0.5}{+}{\CF@arrow@start@node}
    {#2}{0.5}{-}{arrow@middle}%
}
\makeatother

\begin{document}

% \schemedebug{true}
\schemestart
  A \arrow(A--){->[$k_{on}$]} 
  B \arrow{->[$k_{c}$]}
  C \arrow(C--D){->[$k_{d}$]}[30,1.75] D
  \arrow(@C--E){->[$k_{d}^{'}$]}[-30,1.75] E
  \arrow(@E--@D){<=>[*{0} $k_{a}^{}$][*{0} $k_{a}^{'}$]}
  \arrow(@E--@A){-|>}
  \arrow(@D--@A){-|>}
\schemestop

\end{document}

For reasons I don't understand the arrows don't quite end at node A but a little bit beside it. And if one adds an anchor (\arrow(@[email protected]){-|>}) the node gets shifted instead of the arrow tip. I suspect that there's a bug when an arrow connects two nodes with the (@node1--@node2) syntax but I'm not sure… probably a question for Christian, the author of chemfig.

4
  • its not bad, however the arrow does not end at node A as you mentioned and if I add a rate k above the arrow it is far from it and with an angle.
    – jarhead
    Apr 27, 2016 at 15:45
  • 1
    @jarhead the label placement should work now
    – cgnieder
    Apr 27, 2016 at 18:07
  • yes, thanks, I still did not resolve the arrow issue
    – jarhead
    Apr 28, 2016 at 16:22
  • @jarhead I know.
    – cgnieder
    Apr 29, 2016 at 0:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .