Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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:

\begin{itemize}
\item A
\item B
\item C
\item D
\end{itemize}

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.

1  
You can always put the list in a \vbox, but it's not very LaTeX-ey. –  Justin Bailey Jan 30 '12 at 21:16
1  
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

1 Answer 1

up vote 4 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.

\documentclass{article}
\usepackage[bottom=2.9in]{geometry}
\usepackage{lipsum}
\begin{document}
\lipsum[1-5]
\vbox{%
\begin{itemize}
\item A
\item B
\item C
\item D
\end{itemize}}

\end{document}
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.