I have a itemize list nested in my description list. My Problem is that the page ends right when the itemize list begins, so at the bottom of the page i got my last description(Item 23) and the first itemized item("First nested Item" is on the top of the page.
Now i want to keep "Item 23" on the same page as the nested list. It#s a bit hard to explain, here is a code example of how it looks like. Please ignore the "Random Text" and \bigskips, they are just there to push the items down and illustrate the problem.
Code: Select all
Code, edit and compile here:
\documentclass[12pt,a4paper,headsepline]{scrreprt}\usepackage[utf8]{inputenc}\usepackage[naustrian]{babel}\usepackage[T1]{fontenc}\usepackage{graphicx}\usepackage{lmodern}\usepackage[automark]{scrlayer-scrpage}\usepackage{blindtext}%\usepackage{scrletter}\begin{document}\blindtext\blindtext[2]Random Text\bigskipRandom Text\bigskipRandom Text\bigskipRandom Text\bigskipRandom Text\begin{description}\item[Item 1] \hfill \\Some text\item[Item 2] \hfill \\Some more text\item[Item 23] \hfill\begin{itemize}\item First nested Item\item Second nested Item\end{itemize}\item[Item 24] \hfill \\Last Item text\end{description}