0

I'm trying to solve a problem. One solution might be to prevent a page break in an itemized list on an individual item. So, if I would have several items a page break can only occur after an item is finished.

I didn't find a solution how prevent it. Using samepage environment caused that no page break occurs after \item.

0

I figured it out. Its simple command (marked below)

\documentclass{report}
\begin{document}
\begin{itemize}
    \interlinepenalty10000     % crucial change!!!
    \item First unbreakable item
\end{itemize}
\end{document}

:-)

  • Could you please add a code? – user156344 Apr 15 at 12:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.