TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I try to write an equation with two similar formulas, i.e.
\begin{equation} \qquad A_1 = B + C \qquad A_2 = D + E \qquad \end{equation} Of course, instead of \qquads I want to use something like \hfill.

I would also like to do the same with some text within, like \begin{equation} \qquad A_1 = B + C \quad \text{and} \quad A_2 = D + E \qquad \end{equation}

Is there any prefered/"best" way for this?

share|improve this question
It looks like you've got two separate accounts, which means you cannot edit your original post or leave comments. The StackExchange staff can merge them together for you. – Joseph Wright Mar 7 '13 at 19:13

amsmath's align environment provides this by default:

enter image description here

\usepackage{amsmath}% http://ctan.org/pkg/amsmath
\noindent X\dotfill X
  A_1 &= B + C & A_2 &= D + E
  A_1 &= B + C &&\text{and} & A_2 &= D + E
\noindent X\dotfill X
share|improve this answer
Thanks! I just did not use the central &. Could you please also explain the use of extra &'s around \text{and}? – user27000 Mar 7 '13 at 12:12

Your Answer


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.