I have a document with a long list of items in enumerate and itemize environments, some of these start with a single line followed of a long (or sort) paragraph:
\begin{itemize}
\item short sentence no more than a line.
% I definitely don't want the page break here
very long paragraph, with lots of text but which
I wouldn't mind to break between pages.
% I wouldn't mind a break here
\item another item with a some what long sentence
% but it shouldn't break here
Another long paragraph which I wouldn't mind to break.
\end{itemize}
I want to prevent the first line from being separated from the rest of the text, but in a way that doesn't prevent page breaks on the longer paragraphs, like minipage or samepage. There seems to be a comment describing a piece of code from ltlists.dtx
that seems to be meant to prevent the case I'm seeing:
This code is intended to prevent a page break after the first line of an item that comes immediately after a section title. It may be sensible to always forbid a page break after one line of an item? As with all such settings of
\clubpenalty
it is local so will have no effect if the item starts in a group.
But only applies if it's after a title, which is not this specific case.
itemize
environment here and that you really want something else.