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.
This commit is contained in:
parent
a3c8439ad6
commit
12a0110a0a
1 changed files with 4 additions and 0 deletions
|
@ -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{
|
||||
|
|
Loading…
Reference in a new issue