I'm writing a document with some lists and I need to suppress a page break between the \item and the following line. Following is a MWE:
\documentclass[a4paper, 11pt]{scrartcl}
\usepackage{blindtext}
\usepackage{enumitem}
\begin{document}
\blindtext[2]
line\\
line\\
line\\
\begin{enumerate}[label=\textbf{Gruppe \arabic*},align=left,leftmargin=*,itemindent=0cm,labelwidth=\itemindent]
\item~\\[-2em]
\begin{enumerate}[label=\textbf{\alph*)},align=left,leftmargin=-1cm]
\item \blindtext
\item \blindtext
\end{enumerate}
\item~\nopagebreak\\[-2em]\nopagebreak
\begin{enumerate}[label=\textbf{\alph*)},align=left,leftmargin=-1cm]
\item \blindtext
\end{enumerate}
\end{enumerate}
\end{document}
I want Gruppe 2 and a) Lorem Ipsum on the same page. A page break before the item or after the first line is ok. But the page breaks between the \item and the first line is a problem. I tried \nopagebreak but it doesn't change anything. I read about samepage environment or minipage but I think this is not possible in this situation. A manual page break is only the last solution since this is at many places in the document and I want to find some generic solution.



\itemand only the first line of the paragraph. A page break after the first line of the paragraph is allowed. I only want to suppress a page break between these two lines. – Thomas Sablik Nov 25 '17 at 22:10needspacepackage and issue the directive\needspace{3\baselineskip}immediately before the\item~\\[-2em]instruction in question. – Mico Nov 25 '17 at 22:14