I would like to write two half-cell equations (reduction and oxidation) each on their own row, each with their own label of type reactions and entry with RxnDesc (reaction description) in the List of Reactions (provided by chemmacros reactions module,
followed by a summation line (just a horizontal rule) and the sum reaction, which should also have its own label and entry in listofreactions.
I can achieve the desired "look" with aligned, but that does not give me any entries in the list of reactions nor labels of reaction type:
\documentclass{article}
\usepackage{amsmath}
\usepackage{chemformula}
\begin{equation}
\begin{aligned}
\ch{1/2 O2\aq{} + H2O + 2 e- &<=> 2 OH-} \
\ch{Zn^{2+}\aq{} + 2 OH- &-> ZnO\sld{} + H2O}\
\midrule
\ch{Zn^{2+}\aq{} + 1/2 O2\aq{} + 2 e- &-> ZnO\sld{}}
\end{aligned}
\end{equation}
\end{document}
I have been trying to achieve that look (except every reaction should have its own label) with the reactions environment, but consistently failed. The best I can achieve is a nicely aligned reaction block, with entries with descriptions in list of reactions and labels, but missing the horizontal rule:
\documentclass{article}
\usepackage{amsmath}
\usepackage[minimal=true, modules={reactions}]{chemmacros}
\usepackage{chemformula}
\usepackage{booktabs}
\usepackage{array}
\listofreactions
\begin{reactions}
1/2 O2\aq{} + H2O + 2 e- &<=> 2 OH- \AddRxnDesc{Oxygen~reduction~in~water} \
Zn^{2+}\aq{} + 2 OH- &-> ZnO\sld{} + H2O \AddRxnDesc{Zinc~hydroxide~to~oxide} \
Zn^{2+}\aq{} + 1/2 O2\aq{} + 2 e- &-> ZnO\sld{} \AddRxnDesc{Zinc~deposition}
\end{reactions}
I have tried \NewChemReaction{rxntab}[1]{tabular} as suggested in a previous answer, but I could not get \hline or midrule to work, neither reaction labels or reaction descriptions, and in addition it doesn't look very nice, visually.
I also tried to use a regular align environment and reset the label numbering as suggested in a previous answer but that answer shows how to do it for a single equation and I guess my copy-paste skills were not enough to achieve the same for multiple numbered equations ;-)
Would love to learn how to do it, if there is a way.
TeXLive 2023, chemmacros v6.2a, chemformula v4.17 on Ubuntu 22.04.
Other related questios & answers:


