[Tex/LaTex] Rightarrow with a Delta on it (for use with the mhchem package)

arrowschemistrymhchem

I have a small problem with arrows. I need a \rightarrow with a \Delta on it. Can you help me, please? I use the chemistry package \usepackage[version=3]{mhchem}.

Best Answer

mhchem's formulas implicitly use math mode so you can use \Delta directly. The syntax inside mhchem's \ce{} macro for a right arrow is:

->[above][below]

where both arguments are optional and above and below are placed in math mode. (mhchem also loads amsmath by the way.)

\documentclass{article}
\usepackage[version=3]{mhchem}
\begin{document}
\ce{ A + B ->[\Delta] C }
\end{document}

enter image description here

The mhchem manual actually has an example for this :)

enter image description here

Related Question