aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-10-30 11:04:48 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-10-30 11:04:48 -0700
commit12a0110a0a5baeb56436275006dbda7ce119e3d3 (patch)
tree2daa7fb18f265885d357dc1cdc24dc570bfbb49d
parenta3c8439ad6e8d1da89be1069a9d62bedd62a3279 (diff)
downloadpandoc-12a0110a0a5baeb56436275006dbda7ce119e3d3.tar.gz
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.
-rw-r--r--default.beamer4
1 files changed, 4 insertions, 0 deletions
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{