I'm using the aligned environment within an itemize environment. I need the aligned environment so the label for the \item will be on the same line as the equation.
For example:
\begin{enumerate}
\item $\begin{aligned}[t]
%Big equation with many lines over two or more pages
\end{aligned}$
\end{enumerate}
However, I need to have this same label and equation alignment (i.e., on the same line), but also \allowdisplaybreaks for the huge equation within the aligned environment.
The problem as I understand it is that the aligned environment creates an unbreakable box around the multi-line equation. However, if I use the align environment, then the equation will not be on the same line as the \item label.
Ideas?
EDIT: Here's an MWE
\documentclass{article}
\usepackage{amsmath}
\usepackage{enumitem}
\allowdisplaybreaks[1]
\setitemize{topsep=5pt}
\begin{document}
\begin{enumerate}
\item Equation 1\\
\item Equation 2\\
\item $\begin{aligned}[t]
line 1&\\%This equation will span 2+ pages
&line2\\
\end{aligned}$
\end{enumerate}
\end{document}
In this example, line 1 is on the same line as the label (3.), but if this code were placed in the middle of a page, say, then the item in the aligned environment would start on the next page, and I need it to start right under the 2nd item.




\\just before the\end{aligned}will force an extra blank line (not breakable from the aligned block. and making it taller) that you don't want. – barbara beeton May 23 '14 at 21:08