2

Can I set a label for a chemical reaction with chemfig, just like I can do with equation?

My MWE

\documentclass[12pt]{article}
\usepackage{chemfig}
\usepackage[version=3]{mhchem}

\begin{document}

    \begin{equation} \label{1}
    \Lambda = \dfrac{1}{R}
    \end{equation}

\begin{center}
    \schemestart
    \ce{CO^{$2-$}_3 ($aq$)} + \ce{H_{2}O ($l$)}
    \arrow{<=>}
    \ce{OH^{$-$} ($aq$)} \+ \ce{HCO^{$-$}_3 ($aq$)}
    \schemestop
\end{center}

\end{document}

Result

Result

2

With the help of the chemmacros package and its reactions module:

enter image description here

\documentclass[12pt]{article}
\usepackage{chemmacros}
\chemsetup{modules=reactions}

\begin{document}

    \begin{equation} \label{1}
    \Lambda = \dfrac{1}{R}
    \end{equation}

\begin{reaction}
    CO3^{2-} \aq{}  + H2O \lqd{}  <=>  OH- \aq{} + HCO3^{-}\aq{}
\end{reaction}

\end{document}
| improve this answer | |

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.