I'm using an align
environment in a long derivation. Each equality is aligned at the equal sign. Individual lines are too long to fit the page, so I need wrap them. However, I don't just want them to continue in the next line as I usually do and maybe indent them with a \quad
, I want them to align with the opening bracket which contains all the terms. I've been looking into the aligned
environment which sort of does what I want, but now the aligned
lines are vertically centered with the beginning of the equality:
\begin{align*}
Z &= Tr_\text{el, ph}\bigl[\exp(-\beta H)\bigr]\\
&= \int\mathcal{D}q Tr_\text{el}\biggl[T_\tau\exp\biggl(-\int_0^\beta d\tau\sum_j\Bigl[
\begin{aligned}
&-t\sum_\sigma\bigl(c_{j\sigma}^\dag(\tau)c_{j+1,\sigma}(\tau)+\text{h.c.}\bigr)\\
&+\tfrac{M}{2}\bigl(\dot q_j(\tau)^2+\omega_0^2q_j(\tau)^2\bigr)\\
&-g\sqrt{2M\omega_0}\sum_\sigma n_{j\sigma}(\tau)q_j(\tau)\Bigr]\biggr)\biggr]
\end{aligned}\\
&= ...
\end{align*}
This is what I would like it to look (photoshopped):
I imagine, I'm not the first one to have this problem. I did a thorough search before posting this question, so before you mark this as a duplicate, please consider carefully if the alleged duplicate really addresses my issue.
[t]
option foraligned
. You might also want to add a\!
before\begin{aligned}
[t]
but now it is on the same height has the equal sign. Maybe that's more reasonable anyway...[t]
changes the baseline, thus I only add it to constructions that are not individually numbered. Yuo could add a single equation number to the entire calculation instead.