Just started in the writing of chemistry stuff using LaTeX.
Question
Is it possible to tag chemical equations with a letter and numbers as R1
, R2
and so on?
Output and MWE
\documentclass[12pt,twoside]{report}
\usepackage[spanish,es-noquoting]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{nccmath}
\usepackage{chemformula}
\begin{document}
\begin{align}
&\ch{B + H+ <=> BH+}\\
&\ch{AH+ + B <=> A + BH^{+}} \label{reaccion_neta}
\end{align}
The sum \ref{reaccion_neta} is:
\begin{align}
\Delta G^0_{1} + \Delta G^0_{ref}&=-RT(ln(Ka_1)+ln(Ka^{-1}_{ref}) \\
G^0_{BH^+} - G^0_{B} + G^0_{A}- G^0_{AH+} &=-RT(ln(Ka_1)+ln(Ka^{-1}_{ref})\\
&= RT2.303pKa_{1}- RT2.303pKa_{ref}
\end{align}
\end{document}
mhchem
orchemmacros
. Both offer the possibility to align and number reaction equations. This answer might be interesting as well. – leandriis Aug 31 '17 at 17:23\ln
notln
for the natural logaritm, and you'd probably want_{\mathrm{ref}}
instead of_{ref}
. – Torbjørn T. Aug 31 '17 at 17:34