1

I want to write these equations: enter image description here

I used this code:

\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}

Is it possible put arrows?

  • 5
    You should make a complete example. How else are people supposed to know where the reactions* environment is defined? It's just a coincidence that I know it is from the chemmacros package... – cgnieder Jun 25 '14 at 11:16
  • reactions* put the arrows. Are you talking about the orange-dashed arrow, please tell me so I can edit the question. – Pouya Jun 25 '14 at 11:33
  • Sorry for confusion, I'm talking about orange-dashed arrow – user46548 Jun 25 '14 at 13:03
  • fwiw (not tex related) “slacking of quicklime” is surely wrong? -- if it means what i learned in school in the 1960s(!), the word is “slaking” (from the verb “slake”). – wasteofspace Jun 25 '14 at 13:13
  • @wasteofspace you are correct! And I know it. So, I will edit this name – user46548 Jun 25 '14 at 13:28
2

I'm not familiar with chemmacros package so I did it in Tikz (this not by any mean that I know Tikz what so ever!).

\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}

enter image description here

| 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.