I'm working on a technical document in which each page has an image followed by a list of information/actions in an itemize or enumerate environment. I'd like to make sure that the page is cleared after each such list, without inserting manual \clearpage
commands. What's the best way to redefine the itemize/enumerate environments so that they run \clearpage
? One difficulty is that there can be nested lists, and I only want to clear the page after the outermost list ends.
For example:
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\includegraphics[width=\textwidth]{image1.png}
\begin{enumerate}
\item First item
\item Second item
\begin{enumerate}
\item Sub-list 1
\item Sub-list 2
\end{enumerate}
\item Third item
\end{enumerate}
\includegraphics[width=\textwidth]{image2.png}
...
Actually, the pics are included using figure commands with the [t]
flag. The issue I'm having is if the list is very short, then the next list starts on the same page, rather than following on from the image on the next page.