Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

The align command from amsmath allows me to put two equations side-by-side:

\begin{align}
x = y && a = b
\end{align}

Unfortunately for my purposes, this shows both equations under one equation number:

x = y    a = b   (1)

Is there any way to give them individual numbers, so that the output looks like this?:

x = y (1)    a = b (2)
share|improve this question

3 Answers

You can use minipages to wrap the equations:

\documentclass{article}
\usepackage{amsmath}

\begin{document}

\noindent\begin{minipage}{.5\linewidth}
\begin{equation}
  a = b + c.
\end{equation}
\end{minipage}%
\begin{minipage}{.5\linewidth}
\begin{equation}
  d = e + f.
\end{equation}
\end{minipage}

\end{document}

enter image description here

share|improve this answer
\usepackage{multicol}
...
\begin{multicols}{2}
  \begin{equation}
    a=b
  \end{equation}\break
  \begin{equation}
    b=c
  \end{equation}
\end{multicols}
share|improve this answer
\documentclass{article}
\usepackage{amsmath,tabularx}
\begin{document}

\noindent
\begin{tabularx}{\linewidth}{@{}XX@{}}
\begin{equation}
  a = b + c.
\end{equation}
&
\begin{equation}
  d = e + f.
\end{equation}
\end{tabularx}

\end{document}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.