使用 mhchem 套件的多行向下箭頭

使用 mhchem 套件的多行向下箭頭

mhchem在文檔中的化學章節中使用了包。我有一個部分,其中有一個帶有多行的向下箭頭,如下圖所示。
在此輸入影像描述

到目前為止我寫的程式碼是這樣的;

\documentclass[10pt,a4paper]{report}
\usepackage [version=4] {mhchem}
\usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}

\begin{document}
\noindent
\ce{Mg} \qquad strongest reducing agent, more readily becomes oxidized\\
\ce{Al}\\
\ce{Mg}\\
\ce{Zn}\\
\ce{Fe}\\
\ce{Pb}\\
\ce{Cu}\\
\ce{Ag} \qquad weakest reducing agent, least readily becomes oxidized \\

\end{document}



請告訴我該怎麼做。謝謝!

答案1

您可以利用\downarrow它的可擴展性:

\documentclass[10pt,a4paper]{report}
\usepackage [version=4] {mhchem}
\usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}

\begin{document}

\noindent
$\left\downarrow
\begin{tabular}{l@{\qquad}l@{}}
\ce{Mg} & strongest reducing agent, more readily becomes oxidized\\
\ce{Al}\\
\ce{Mg}\\
\ce{Zn}\\
\ce{Fe}\\
\ce{Pb}\\
\ce{Cu}\\
\ce{Ag} & weakest reducing agent, least readily becomes oxidized
\end{tabular}
\right.$

\end{document}

在此輸入影像描述

相關內容