Math & ScienceChemFig reaction scheme

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
Ron_S
Posts: 1
Joined: Tue Mar 29, 2022 9:41 pm

ChemFig reaction scheme

Post by Ron_S »

Good day,

I'm very new to the ChemFig package. I would like to generate the following reaction scheme:
Screen Shot 2022-03-30 at 5.22.31 pm.png
Screen Shot 2022-03-30 at 5.22.31 pm.png (34.44 KiB) Viewed 3158 times
My problem is how to code the first four input reactants, as it cannot be tagged with @, and the Nullset has already been labelled. My code so far is:

Code: Select all

\schemestart
\subscheme{$D\+L$}\arrow(dl--emp){->[*{0}$k_{15}$]}[-45]$\emptyset$
\arrow(@emp--b){->[$\mu$]}$B$\arrow(@b--s){->[$p_2$]}$S$\arrow(@s--hli){->[$k_9$]}$H\+L\+I$
\arrow(@emp--x){->[*{0}$\gamma$]}[45]$X$
\schemestop
Screen Shot 2022-03-30 at 5.46.43 pm.png
Screen Shot 2022-03-30 at 5.46.43 pm.png (31.25 KiB) Viewed 3156 times
Could someone please advise? Thank you!
Last edited by cgnieder on Thu Mar 31, 2022 8:10 am, edited 1 time in total.
Reason: added code markup

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

ChemFig reaction scheme

Post by cgnieder »

Crosspost: https://tex.stackexchange.com/questions/639039/. The answer there by polyn has the following suggestion:

Code: Select all

\documentclass{article}
\usepackage{chemfig}
\begin{document}
\schemestart
\subscheme{
\subscheme{D + L}
\arrow(a--b){0}[-90,0.3]
\subscheme{I + H}
\arrow{0}[-90,0.3]
\subscheme{I \phantom{+} \phantom{H}}
\arrow(c--d){0}[-90,0.3]
\subscheme{A + E}
}
\arrow(--emp){0}
\(\emptyset\)
\arrow
B
\arrow
S
\arrow
H + L + I
\arrow(@a.mid east--@emp.mid west)
\arrow(@b.mid east--@emp.mid west)
\arrow(@c.mid west--@emp.mid west)
\arrow(@d.mid east--@emp.mid west)
\arrow(@emp.mid east--)[45]
X
\arrow(@emp.mid east--.mid west)[-45]
\subscheme{Bc + I}
\schemestop
\end{document}

enter image description here
site moderator & package author
Post Reply