I've tried to find a solution to this but even though it seams a simple problem, there was no info to be found.
I do not want a pagebreak to happen within an item of a list environment so that always the whole text of an item appears on the same page.
I tried to solve it with putting a \parbox around the item text. However then I don't know what the proper width of the parbox should be to match the other items.
\item This is a sample text. This is a sample text. This is a sample text. This is a sample text. This is a sample text.
\item\parbox[t]{\textwidth}{This item will normally be spread over two pages but I don't want that. If I use \textbackslash parbox with \textbackslash textwidth the box is to large. How can I define the proper size? Or is there a better solution? This is a sample text. This is a sample text. This is a sample text. }
\item This is a sample text. This is a sample text. This is a sample text. This is a sample text. This is a sample text. This is a sample text.
\item This is a sample text. This is a sample text. This is a sample text. This is a sample text. This is a sample text.
\item\parbox{\textwidth-\leftmargin}{This item will normally be spread over two pages but I don't want that. If I use \textbackslash parbox with \textbackslash textwidth the box is to large. How can I define the proper size? Or is there a better solution? This is a sample text. This is a sample text. This is a sample text.}
\item This is a sample text. This is a sample text. This is a sample text. This is a sample text. This is a sample text. This is a sample text.
\item This is a sample text. This is a sample text. This is a sample text. This is a sample text. This is a sample text.
\item\parbox[t]{\linewidth}{This item will normally be spread over two pages but I don't want that. If I use \textbackslash parbox with \textbackslash textwidth the box is to large. How can I define the proper size? Or is there a better solution? This is a sample text. This is a sample text. This is a sample text. }
\item This is a sample text. This is a sample text. This is a sample text. This is a sample text. This is a sample text. This is a sample text.