In Chemfig, the reversible reactions are represented with a double harpoon. The top one goes from the left to the right, the bottom from the right to the left. One can rotate this double arrow. But I could not find a way to mirror it, like \leftrighharpoon in the package mathrel. This seems silly, but my reactions diagrams are very big and intricated, so the relative position of forward and reverse matter.

I am sorry if I missed something in the manual or in the previous questions asked on this forum.


The best way is to define a new arrow. You can do it like this:



        \noexpand\path[allow upside down](\CF@arrow@start@node)--(\CF@arrow@end@node)%
            node[pos=0,sloped,yshift=1pt](\CF@arrow@start@node @u0){}%
            node[pos=0,sloped,yshift=-1pt](\CF@arrow@start@node @d0){}%
            node[pos=1,sloped,yshift=1pt](\CF@arrow@start@node @u1){}%
            node[pos=1,sloped,yshift=-1pt](\CF@arrow@start@node @d1){};%
    \expandafter\draw\expandafter[\CF@arrow@current@style,revhalf-](\CF@arrow@start@node @u0)--(\CF@arrow@start@node @u1);%
\expandafter\draw\expandafter[\CF@arrow@current@style,-revhalf](\CF@arrow@start@node @d0)--(\CF@arrow@start@node @d1);%







enter image description here

I know it can be probably done better and easier, but it should do the work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.