化学反应中的箭头

化学反应中的箭头

我想写下这些方程式:在此处输入图片描述

我用了这个代码:

\documentclass[12pt,twoside,a4paper,openright]{report}
\usepackage{color}
\usepackage[portuguese]{babel}
\usepackage[utf8]{inputenc}
\usepackage[lmargin=3.0cm,rmargin=2.0cm,tmargin=2.0cm,bmargin=2.0cm, includefoot, includehead]{geometry}
\usepackage{graphicx}
\usepackage{chemformula}
\usepackage{chemfig}
\usepackage{chemmacros}

\begin{document}

\begin{reactions*}
"(1)"  && CaCO3  &-> CaO + CO2 && "{\small Calcinação}" \\
"(2)"  && CaO + H2O &-> Ca(OH)2  && "{\small Hidratação}" \\
"(3)" && Ca(OH)2 +  CO2 &-> !((PCC)) (CaCO3) + H2O && "{\small Precipitação}"
\end{reactions*}

\end{document}

可以放箭头吗?

答案1

我不熟悉chemmacros这个包,所以我这样做了Tikz(这并不意味着我知道 Tikz 什么!)。

\documentclass{article}
\usepackage{tikz}
\usepackage{amsmath}
\usetikzlibrary{matrix}
\newcommand{\mm}[1]{\mathrm{#1}}
\begin{document}
    \begin{tikzpicture}[every node/.style={anchor=west}]
        \matrix (m) [matrix of math nodes, nodes in empty cells]{
            \quad 
             & \textrm{Burning of limestone}\quad      & \mm{CaCO_3}                                               & \longrightarrow & \mm{\color{cyan}CaO\color{black}+\color{orange}CO_2} & \\
             & \textrm{Slacking of quicklime}\quad     & \mm{\color{cyan}CaC\color{black} + H_2O}                  & \longrightarrow & \mm{\color{cyan}Ca(OH)_2}                            & \\
             & \textrm{\color{cyan}Percipitation}\quad & \mm{\color{cyan}Ca(OH)_2\color{black}+\color{orange}CO_2} & \longrightarrow & \mm{\color{cyan}\mathbf{CaCO_3}\color{black}+H_2O}   & \\
             &                                         &                                                           &                 & \hspace{6pt} \scriptstyle(\mm{PCC})\\};

        \draw[-stealth,color=orange,thick,densely dashed] (m-1-5.east) -| (m-3-5.south east) |- (m-3-3.south east); 
    \end{tikzpicture}
\end{document}

在此处输入图片描述

相关内容