TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How to make a list of unbreakable items?
How to prevent pagebreak in description environment

My short list is split across two pages. Two bullets are on the end of one page, while the next two are on following page. That is, "A,B" on one page, "C,D" on the next:

\item A
\item B
\item C
\item D

How do I force the list (itemize or enumerate) to not break across pages?

share|improve this question

marked as duplicate by Werner, lockstep, Martin Scharrer Jan 31 '12 at 14:59

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

You can always put the list in a \vbox, but it's not very LaTeX-ey. – Justin Bailey Jan 30 '12 at 21:16
There's also tex.stackexchange.com/questions/24655/… – lockstep Jan 30 '12 at 21:18
Thanks for links, they clarifies me a lot :). – Grzegorz Wierzowiecki Jan 30 '12 at 23:28
up vote 7 down vote accepted

Here is an example, using \vbox, which you can also replace with a minipage, using \begin{minipage} and \end{minipage}. The reason for me posting this particular example is to demonstrate that this might not be a typographically sound way of handling such problems. Modify the bottom on top of the example without the vbox and you can see the problems. Keeping the list contents together will either create underfull pages or overfull pages. Typographically is acceptable to break lists across pages.

\item A
\item B
\item C
\item D

share|improve this answer
it does not work when "short line" is added before list – Grzegorz Wierzowiecki Jan 30 '12 at 23:05
@GrzegorzWierzowiecki: The reason why it works as-is in Yiannis' answer is because \lipsum issues a \par (a paragraph ending/beginning) giving a natural break between the text and the \vbox. If you were to enter a "short line" before \vbox without issuing some form of paragraph break, the \vbox will be set on the same line as "short line". Does any of the other suggested solutions (links above) provide an answer to your original question? Or, are you looking for something different? – Werner Jan 30 '12 at 23:12
@Werner Thanks, you've clarified me how it works :). Making end of paragraph after "short line" solves problem :). – Grzegorz Wierzowiecki Jan 30 '12 at 23:28

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