I wonder if you can help me...? I have a number of \item (s) inside a \begin{enumerate} \end{enumerate}
I want to ensure that each \item will start on a new page if there's not enough room on the current page. I've got this working with the code below. However, I don't want to have the final \item at the bottom of the page. Instead I want it to fill the top of the page.
Code: Select all
\usepackage{lipsum} \
\newenvironment{absolutelynopagebreak}
{\par\nobreak\vfill\penalty0\vfilneg
\vtop\bgroup}
{\par\xdef\tpd{\the\prevdepth}\egroup
\prevdepth=\tpd}
Dave