diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-10-30 11:04:48 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-10-30 11:04:48 -0700 |
commit | 12a0110a0a5baeb56436275006dbda7ce119e3d3 (patch) | |
tree | 2daa7fb18f265885d357dc1cdc24dc570bfbb49d | |
parent | a3c8439ad6e8d1da89be1069a9d62bedd62a3279 (diff) | |
download | pandoc-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.beamer | 4 |
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{ |