I am trying to create a reaction scheme using chemfig. I can not understand though how to have text written vertically.
Say my set of reaction A+B -> AB, A+C ->AC
If I start writing
\startscheme
A+B \arrow{->}AB
\stopscheme
how can I write the + and the C vertically and aligned with A?
I am sorry if it is a naive question, I just discovered this package today!
Edit: I mean something looking approximately like:
A + B <=> AB
+
C
^
|
AC
Edit 2: (why EI is not aligned to E)?
\schemedebug{true}
\schemestart
\subscheme{E\phantom{I}} + S \arrow{<=>[$k_1$][$k_{-1}$]} ES \arrow{->[$k_\text{cat}$]} P
% insert arrow typ 0 (invisible) starting from compound `c2'
% scaled to 0.1 of the standard arrow length and pointing down
\arrow(@c2--){0}[-90,.1] +
% insert arrow typ 0 (invisible) scaled to 0.1 of the standard
% arrow length and pointing down
\arrow{0}[-90,.1] I
\arrow{<=>[$k_4$][$k_{-4}$]}[-90] \subscheme{EI} + S
\arrow(@c7--@c11){<=>[$k_3$][$k_{-3}$]}
\arrow(@c3--){0}[-90,.1] + \arrow{0}[-90,.1] I \arrow{<=>[$k_2$][$k_{-2}$]}[-90] EIS
\schemestop
I don't find very intuitive how this works :(
\phantom{I}
in your\subscheme
. Intuition will come with practice. I played for two or three weeks with the possibilities before I used these commands in a real usecase...\phantom
there in the first place? If the answer is “no” then leave it out.\arrow(@a--@b)
or something the arrow connects from center to center unless specified differently. Without the phantom the second vertical arrow wouldn't have been exactly vertical. The easy way out was making theE
the same width as theEI
...