1

I have a lot of short equations that I want to place in two columns to save space. When I use multicols to do this, the equations are not aligned vertically, how can I solve this? I saw some questions to achieve similar effects but the answers did not allow for numbering the equations individually.

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

enter image description here

2
  • You can also use `a &=b & c&=d\` etc. Every other & expands into a gap. May 22 at 14:05
  • @JohnKormylo yes that's what I read in other answers as well but then the two equations on a single line will have the same number and they can't be referenced individually if I'm not mistaken
    – debsim
    May 22 at 14:47

1 Answer 1

2

Like this:

enter image description here

I would instead of multicols use 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}
2
  • Thanks, that's indeed what I want! Any idea why this does work and my approach doesn't?
    – debsim
    May 22 at 14:49
  • @debsim, multicols is not intended for such task (as far as I know). You may looking for exam package, which define environments for similar cases.
    – Zarko
    May 22 at 15:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .