From 12a0110a0a5baeb56436275006dbda7ce119e3d3 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 30 Oct 2015 11:04:48 -0700 Subject: 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. --- default.beamer | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/default.beamer b/default.beamer index f4e4be990..b6626f2bf 100644 --- a/default.beamer +++ b/default.beamer @@ -122,6 +122,10 @@ $if(graphics)$ \setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio} $endif$ +% Prevent slide breaks in the middle of a paragraph: +\widowpenalties 1 10000 +\raggedbottom + % Comment these out if you don't want a slide with just the % part/section/subsection/subsubsection title: \AtBeginPart{ -- cgit v1.2.3