I have a long equation with multiple equalities where I even have to split off the first equation.
- Using 'multline' breaks the alignment of the equations
- With 'align' or 'split' I have to pick an arbitrary point in the first line to align the others to. I also cannot align within
\left(...\right)
.
Is there a way to do it automatically? I'm looking for something that looks like this picture in the end:
This is my code right now:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\newcommand{\pot}{\ensuremath{^{p/2}}}
\begin{equation}\begin{split}
(t+\tau)\pot-C&\left(m\lor\sup_{s\leq\tau}|B_s+b|\right)^p\\
&\leq t\pot+\tau\pot-C\sup_{s\leq\tau}|B_s+b|^p\\
&\leq t\pot+\tau\pot-C\sup_{s\leq\tau}|B_s^p+b^p|\\
&\leq t\pot+\tau\pot-C\sup_{s\leq\tau}\big||B_s|^p-|b|^p\big|\\
&\leq t\pot+Cm^p+\tau\pot-CM_\tau^p\\
\end{split}\end{equation}
\end{document}
left …\right
with the\MTkillspecial
command defined in § 3.6 (Paired Delimiters) of themathtools
documentation.multined
(requiresmathtools
) and usealigned
for the lines after the first.