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 have a diagram, say five lines, the tag (equation numbering) is in the first line, this is not I want. How to force the tag stay in the middle line? Thanks in advance!

share|improve this question
up vote 3 down vote accepted

You could use the amsmath package, which provides an aligned environment:

    \Sigma &= a + b + c + d\\
           & + e + f + g + h\\
           & + i + j + k + l
share|improve this answer
In the same package there's also gathered which doesn't use the & sign for alignment -- depending on your equation this may be of more use to you. – Ant Aug 2 '11 at 9:55
And split is preferred to aligned. – Leo Liu Aug 2 '11 at 14:35
As a I say diagram (an xymatrix), it is a one-line object occupied many lines. I want the tag is in the center line and the ","(as suggested) is in the last line. – Ma Ming Nov 29 '11 at 22:42

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.