Beamer template: added code to prevent slide breaks inside paragraphs.
This will matter, in pracitce, only when `allowframebreaks` is used.
It is especially helpful for bibliography slides.
Closes #2442. Thanks to Nick Bart for the solution.
commit12a0110a0a5baeb56436275006dbda7ce119e3d3
authorJohn MacFarlane <jgm@berkeley.edu>
dateFri 30 Oct 2015, 11:04 (11 years ago)
parenta3c8439
default.beamer+4
@@ -122,6 +122,10 @@ $if(graphics)$
122122\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
123123$endif$
124124
125+% Prevent slide breaks in the middle of a paragraph:
126+\widowpenalties 1 10000
127+\raggedbottom
128+
125129% Comment these out if you don't want a slide with just the
126130% part/section/subsection/subsubsection title:
127131\AtBeginPart{