列中有多个简短方程式

列中有多个简短方程式

我有很多短方程式,我想将它们放在两列中以节省空间。当我使用多列来执行此操作时,方程式不会垂直对齐,我该如何解决这个问题?我看到一些问题可以实现类似的效果,但答案不允许单独对方程式进行编号。

\documentclass{article}
\usepackage{multicol}
\usepackage{amsmath}



\begin{document}
I have a long paragraph here and below this text I want to list some short equations, to save space I want to have them in two columns but doing this makes them misalign:
\begin{multicols}{2}
\begin{align}
a &= b \\ 
c &= d 
\end{align}
\begin{align}
e &= f \\
g &= h
\end{align}
\end{multicols}
\end{document}

在此处输入图片描述

答案1

像这样:

在此处输入图片描述

我会multicols使用minipages:

\documentclass{article}
\usepackage{amsmath}

\begin{document}
I have a long paragraph here and below this text I want to list some short equations, to save space I want to have them in two columns but doing this makes them misaligned:
    \begin{center}
\begin{minipage}{0.5\linewidth} 
\begin{align}
a &= b \\
c &= d
\end{align}
    \end{minipage}\begin{minipage}{0.5\linewidth}
                    \begin{align}
                        e &= f \\
                        g &= h
                    \end{align}
                  \end{minipage}
    \end{center}
\end{document}

相关内容