Take the 2-minute tour ×
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.

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

1 Answer 1

up vote 3 down vote accepted

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

\begin{equation}
  \begin{aligned}
    \Sigma &= a + b + c + d\\
           & + e + f + g + h\\
           & + i + j + k + l
  \end{aligned}
\end{equation}
share|improve this answer
1  
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
1  
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

 
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.