Sometimes I am writing an aligned list of equations, but I need to break them in the middle to add a comment, like:
Code:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{thmtools}
\setlength\parindent{0pt}
\usepackage[linesnumbered,ruled]{algorithm2e}
\usepackage{hyperref}
\usepackage{caption}
\usepackage{cleveref}
\begin{document}
\section{Introduction}
\begin{align*}
W(z) = A^TAB + \sum\limits_{\omega \in \sigma} a^2 V(z)\int_0^T rm(\theta)d\theta
\end{align*}
Obviously $A^TAB \leq 0$, therefore
\begin{align*}
W(z) \leq \sum\limits_{\omega \in \sigma} a^2 V(z)\int_0^T rm(\theta)d\theta
\end{align*}
\end{document}
But it would be better for the equations to remain aligned
What is the best way to accomplish this?




alignenvironment, with\intertext{..}or\shortintertext{..}inside that environment. Withmathtoolsget the\shortintertext(\intertextis there withamsmath). – Manuel Mar 09 '17 at 23:24