21

My university's thesis guidelines require that each bibliographic entry appear in whole on a single page, rather than being split across two. How can I prevent (La)TeX breaking a paragraph across a page boundary?

lockstep
  • 250,273
Phil Miller
  • 20,208
  • 7
  • 27
  • 28

2 Answers2

17

You can modify the variable that tells TeX how bad an idea it is to break up lines of a paragraph as follows:

\interlinepenalty=10000

The 10000 there means TeX will never do this. This could mean that a long paragraph could even overrun the bottom of a page. If you just want to make a strong suggestion, use a smaller number.

Phil Miller
  • 20,208
  • 7
  • 27
  • 28
  • In addition, you might want to add some stretchy glue between paragraphs \parskip0pt plus\baselineskip so that TeX will feel free to stretch out the spaces between the paragraphs/bibliography entries to fill the page. – TH. Aug 26 '10 at 21:10
  • How would one get that added between each bibliography entry and the next? – SamB Nov 23 '10 at 17:59
  • 2
    @SamB: Probably a \bgroup \interlinepenality=10000 \parskip0pt plus\baselineskip \thebibliography \egroup would do it (not tested). – Daniel Jul 19 '11 at 06:35
0

If the page breaks are occurring where there are \pars in the .bbl file, edit the bibliography style file by adding a \nobreak after each. Note that editing BibTeX style files is not for the faint of heart. texdoc btxhak seems to be the only documentation available.

andrew
  • 2,221