Equations side-by-side with equation numbers for each in LaTeX

In this tutorial, you will learn how to put equations side-by-side with equation numbers for each in LaTeX.

To get equations side-by-side with equation numbers for each, I will recommend using the minipage environment.

Two equation side-by-side with equation numbers for each

To get two equations side by side in LaTeX you have to use the minipage environment two times.

\begin{minipage}{.5\linewidth}
\begin{equation}
...
\end{equation}
\end{minipage}
\begin{minipage}{.5\linewidth}
\begin{equation}
...
\end{equation}
\end{minipage}

\documentclass{article}
\begin{document}

\noindent Two equations side-by-side with equation numbers for each:\\[4pt]
\begin{minipage}{.5\linewidth}
\begin{equation}
  a_1 = b_1 + c_1
\end{equation}
\end{minipage}%
\begin{minipage}{.5\linewidth}
\begin{equation}
  x^2 = a^2 + b^2
\end{equation}
\end{minipage}

\end{document}

Output:

Two equations side-by-side with equation numbers for each.

Three equations side-by-side with equation numbers for each

In order to get three equations side by side with equation numbers for each you have to use the minipage environment three times.

\documentclass{article}
\begin{document}

\noindent Three equations side-by-side with equation numbers for each:\\[4pt]
\begin{minipage}{.33\linewidth}
\begin{equation}
  a_1 = b_1 + c_1
\end{equation}
\end{minipage}%
\begin{minipage}{.33\linewidth}
\begin{equation}
  x^2 = a^2 + b^2
\end{equation}
\end{minipage}%
\begin{minipage}{.33\linewidth}
\begin{equation}
  x_1 = a_1 + b_1
\end{equation}
\end{minipage}

\end{document}

Output:

Three equations side-by-side with equation numbers for each.

Leave a Reply

Your email address will not be published. Required fields are marked *