I am trying to suppress page-breaking when a sentence in a single columned text is followed by a multi-column text.
\documentclass{article}
\usepackage{multicol}
\usepackage{enumitem}
\usepackage{lipsum}
\begin{document}
\lipsum[1-5]
We have the following cases:
\begin{multicols}{2}
\begin{enumerate}
\item First case
\item Second case
\item Third case
\item Fourth case
\item Fifth case
\item Sixth case
\end{enumerate}
\end{multicols}
\end{document}
Is it possible to avoid "We have the following cases:" being the last line of a page while the enumeration starting on the next page? In other words, is it possible that either "We have the following cases:" moves in the next page or some items stay in the same page with "We have the following cases:"?
Replacing
\begin{enumerate}
by
\begin{enumerate}[beginpenalty=10000]
did not solve the problem.


enumerateandenumitem; choose one or the other package, but not both. (Speaking for myself, I'd use theenumitempackage.) – Mico Feb 07 '24 at 09:54