I have been using chemfig for a while and I like it very much. But some small things I still can't do. Check this example:
\schemestart
\chemname{\chemfig{[2]OH-[4]CH_2-CH(-[0]OH)-CH_2(-[0]OH)}}{Glycerol}
\hspace{.3cm}
\arrow{-U>[\footnotesize ATP][\footnotesize ADP + H$^{+}$][][0.6][45]}
\hspace{.7cm}
\chemname{\chemfig{[2]O(-[0]\circleatom{P})-[4]CH_2-CH(-[0]OH)-CH_2(-[0]OH)}}{Glycerol 3-phosphate}
\schemestop
I would like to write the enzyme's name (glycerol kinase) below the U-shaped arrow. Is there an easy way to do that?
Best Answer
I'm guessing the
\circleatom
is a copy of what I used here. I vaguely remembered having defined something like it before.The middle of an
-U>
arrow is a node namedUarrow@arctangent
. If you have only one such arrow you can use that fact to write something beneath it with\chemmove
:If you need that more often you should consider usings
chemfig
's possibility to add new arrow types. You could for example adapt the definition of the-U>
arrow to define a variant that takes a third argument:It can now be used as follows:
It has three further optional arguments which are the same as the ones of
-U>
.The complete code: