# align with long equations

I have a very long align* with lots of \intertext. Some of the equations are really long, like this: What is the most sensible way to typeset this? So far I have always used the following:

&= \bra{\pi^-} \bra{\pi^-} \delta^{ab} \delta^{cd} \ket{\pi^+} \ket{\pi^+} A_s
+ \bra{\pi^-} \bra{\pi^-} \delta^{ac} \delta^{bd} \ket{\pi^+} \ket{\pi^+} A_t
+ \bra{\pi^-} \bra{\pi^-} \delta^{ad} \delta^{bc} \ket{\pi^+} \ket{\pi^+} A_u \,.


This seems to work, although I am not sure whether \quad is really the right measure to shift it.

Now I have tried to use some nested thing:

&=
\begin{aligned}[t]
&\bra{\pi^-} \bra{\pi^-} \delta^{ab} \delta^{cd} \ket{\pi^+} \ket{\pi^+} A_s
\\
&+ \bra{\pi^-} \bra{\pi^-} \delta^{ac} \delta^{bd} \ket{\pi^+} \ket{\pi^+} A_t
\\
&+ \bra{\pi^-} \bra{\pi^-} \delta^{ad} \delta^{bc} \ket{\pi^+} \ket{\pi^+} A_u \,.
\end{aligned}


That looks like this now: Only with {aligned}[t] I got it to look correct. Without the [t] the equal-sign would be in the middle. With a simple gathered the three lines would be centered, that looked really weird: The aligned seems to be a bit more typing. However, the semantics in the LaTeX code seem more clear and the output seems to be a bit more consistent, the + pretty accurately under the \langle. The spacing between = and \langle in the first line got a bit larger, that is probably a bad thing.

Is there a good way to do this?

• It may depend on what's to the left of the = sign. There are various other possibilities. Could we know the l.h.s.,so we can test?. Jul 9, 2016 at 18:37
• Please, make a full example. Jul 9, 2016 at 19:50

just using the align or align* environment should give you what you want:

\documentclass[preview]{standalone}
\usepackage{amsmath}
\usepackage{braket}
\begin{document}
\begin{align}
=&\bra{\pi^-} \bra{\pi^-} \delta^{ab} \delta^{cd} \ket{\pi^+} \ket{\pi^+} A_s\\
&+ \bra{\pi^-} \bra{\pi^-} \delta^{ac} \delta^{bd} \ket{\pi^+} \ket{\pi^+} A_t\\
&+ \bra{\pi^-} \bra{\pi^-} \delta^{ad} \delta^{bc} \ket{\pi^+} \ket{\pi^+} A_u \,.
\end{align}
\end{document}


Is that the thing you are looking for?

• That's pretty much what I have been doing so far. The slight problem are the three numbers on the side, but I use align* on the outer level anyway. Jul 9, 2016 at 18:35
• you could also suppress line numbering for specific line by adding \notag or give one number to multiple lines by putting them in an \begin{split} ... \end{split} environment. Jul 9, 2016 at 18:39
• Might want to use = {} &  or the spacing might be wrong. Jul 9, 2016 at 23:21

Not an answer; too long for a comment.

My quick reading seems to show that the only thing that changes from line to line in these formulas is the partition of abcd and the subscript on A . Is there a way to rewrite the discussion to separate out the constant parts from the variable parts. That might both make the alignment problem go away and make the argument easier for your readers.

If you want to keep the equations whole I think you should consider making some of the outer parenthesis and bracket pairs larger.

I don't think the intertext is a problem - but you could solve it by naming the left hand side of these equations and repeating the short name. That wouldn't make the block of lines much wider.