1

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.

1 Answer 1

1

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}

:-)

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .