![将文档中的长方程式列表拆分为两列](https://linux22.com/image/455393/%E5%B0%86%E6%96%87%E6%A1%A3%E4%B8%AD%E7%9A%84%E9%95%BF%E6%96%B9%E7%A8%8B%E5%BC%8F%E5%88%97%E8%A1%A8%E6%8B%86%E5%88%86%E4%B8%BA%E4%B8%A4%E5%88%97.png)
大家好。我的一份 Latex 文档中有这份方程式列表。我打算将其分成两列以节省空间。以下是我使用的代码:
begin{multicol}{2}
\textit{Chemical Initiation Reaction:}
\begin{equation*}
I\xrightarrow{K_{d}}2fR^{^{\bullet}}
\end{equation*}
\begin{equation*}
R^{^{\bullet}}+M\xrightarrow{K_{i}}R_{1}^{^{\bullet}}
\end{equation*}
\textit{Thermal Initiation Reaction:}
\begin{equation*}
3M\xrightarrow{K_{iterm}}M_{1}^{^{\bullet}}+M_{2}^{^{\bullet}}
\end{equation*}
\begin{equation*}
M_{1}^{^{\bullet}}+M\xrightarrow{4K_{P}}P_{2}^{^{\bullet}}
\end{equation*}
\begin{equation*}
M_{2}^{^{\bullet}}+M\xrightarrow{4K_{P}}P_{3}^{^{\bullet}}
\end{equation*}
\textit{Chain Propagation Reaction:}
\begin{equation*}
P_{n}^{^{\bullet}}+M\xrightarrow{K_{P}}P_{n+1}^{^{\bullet}}
\end{equation*}
\end{multicol}
答案1
切勿使用两个连续的equation
环境。gather
在这种情况下,请使用 ,。
我提出了两种可能性,但我更喜欢第二种,因为这三个方程式没有跨列拆分。
为了更好地渲染,我将方程式周围的垂直空间设置得比平常小一点,并且没有灵活性。
\documentclass{article}
\usepackage{amsmath}
\usepackage{multicol}
\newcommand{\smallbullet}{^{\scriptscriptstyle\bullet}}
\begin{document}
In the order you specified the reactions.
\begin{multicols}{2}
\allowdisplaybreaks
\abovedisplayskip=0.67\abovedisplayskip
\belowdisplayskip=0.67\belowdisplayskip
\noindent\textit{Chemical Initiation Reaction:}
\begin{gather*}
I\xrightarrow{K_{d}}2fR\smallbullet
\\
R\smallbullet+M\xrightarrow{K_{i}}R_{1}\smallbullet
\end{gather*}
\noindent\textit{Thermal Initiation Reaction:}
\begin{gather*}
3M\xrightarrow{K_{\mathrm{iterm}}}M_{1}\smallbullet+M_{2}\smallbullet
\\
M_{1}\smallbullet+M\xrightarrow{4K_{P}}P_{2}\smallbullet
\\
M_{2}\smallbullet+M\xrightarrow{4K_{P}}P_{3}\smallbullet
\end{gather*}
\noindent\textit{Chain Propagation Reaction:}
\begin{equation*}
P_{n}\smallbullet+M\xrightarrow{K_{P}}P_{n+1}\smallbullet
\end{equation*}
\end{multicols}
Modifying the order to get the reactions together.
\begin{multicols}{2}
\allowdisplaybreaks
\abovedisplayskip=0.67\abovedisplayskip
\belowdisplayskip=0.67\belowdisplayskip
\noindent\textit{Chemical Initiation Reaction:}
\begin{gather*}
I\xrightarrow{K_{d}}2fR\smallbullet
\\
R\smallbullet+M\xrightarrow{K_{i}}R_{1}\smallbullet
\end{gather*}
\noindent\textit{Chain Propagation Reaction:}
\begin{equation*}
P_{n}\smallbullet+M\xrightarrow{K_{P}}P_{n+1}\smallbullet
\end{equation*}
\noindent\textit{Thermal Initiation Reaction:}
\begin{gather*}
3M\xrightarrow{K_{\mathrm{iterm}}}M_{1}\smallbullet+M_{2}\smallbullet
\\
M_{1}\smallbullet+M\xrightarrow{4K_{P}}P_{2}\smallbullet
\\
M_{2}\smallbullet+M\xrightarrow{4K_{P}}P_{3}\smallbullet
\end{gather*}
\end{multicols}
\end{document}
答案2
尝试下面的代码,它对我有用。这是你想要的吗?看看这个:https://www.overleaf.com/learn/latex/Multiple_columns 还使用“multicols”而不是“multicol”
\begin{document}
\maketitle
\section{First Section}
\blindtext
\section{Multi col section}
\begin{multicols}{2}
\textit{Chemical Initiation Reaction:}
\begin{equation*}
I \xrightarrow{K_{d}} 2fR^{^{\bullet}}
\end{equation*}
\begin{equation*}
R^{^{\bullet}}+M\xrightarrow{K_{i}}R_{1}^{^{\bullet}}
\end{equation*}
\textit{Thermal Initiation Reaction:}
\begin{equation*}
3M\xrightarrow{K_{iterm}}M_{1}^{^{\bullet}}+M_{2}^{^{\bullet}}
\end{equation*}
\begin{equation*}
M_{1}^{^{\bullet}}+M\xrightarrow{4K_{P}}P_{2}^{^{\bullet}}
\end{equation*}
\begin{equation*}
M_{2}^{^{\bullet}}+M\xrightarrow{4K_{P}}P_{3}^{^{\bullet}}
\end{equation*}
\textit{Chain Propagation Reaction:}
\begin{equation*}
P_{n}^{^{\bullet}}+M\xrightarrow{K_{P}}P_{n+1}^{^{\bullet}}
\end{equation*}
\end{multicols}
\section{Next Section}
\lipsum
\end{document}
答案3
也可以通过简单的array
\documentclass{article}
\usepackage{amsmath,array}
\newcommand\bull{\scriptscriptstyle{}^{\bullet}}
\begin{document}
\subsection*{Chemical Initiation Reaction:}
$\def\arraystretch{1.5}\begin{array}{@{}l>{\hspace{6em}}l}
I \xrightarrow{K_{d}}2fR^{\bull} &
M_{1}^{\bull}+M \xrightarrow{4K_{P}}P_{2}^{\bull} \\
R^{\bull}+M \xrightarrow{K_{i}}R_{1}^{\bull}&
M_{2}^{\bull}+M \xrightarrow{4K_{P}}P_{3}^{\bull}\\
\rlap{\itshape Thermal Initiation Reaction:} & \rlap{\itshape Chain Propagation Reaction:}\\
3M \xrightarrow{K_{iterm}}M_{1}^{\bull}+M_{2}^{\bull} &
P_{n}^{\bull}+M\xrightarrow{K_{P}}P_{n+1}^{\bull}
\end{array}$
\end{document}