]> gitweb.michael.orlitzky.com - beamer-mjo.git/commitdiff
Add a new "refsframe" environment to fix bibliography whitespace/titling.
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 28 Sep 2016 15:18:04 +0000 (11:18 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 28 Sep 2016 15:18:04 +0000 (11:18 -0400)
beamerthemeUMBC.sty

index ac0a4a610428fb5dc30372ae8d7566610c698736..a376fd58195fca9edd8cfd51240bd1367f20825f 100644 (file)
   {\begin{frame}{#1}}
   {\end{frame}}
 
+% Define a new ``refsframe'' environment for the bibliography.
+% It automatically handles the frame breaks, and fixes the busted
+% vertical spacing on slides >= 2. The extra curly braces ensure that
+% the change to the ``frametitle continuation'' template are only
+% temporary.
+\newenvironment{refsframe}[1][References] {
+    \splittopskip=2.13em % Fixes the vertical spacing of split frames.
+    \setbeamertemplate{frametitle continuation}{} % Same title for all frames.
+    \begin{frame}[allowframebreaks]{#1}
+  }
+  { \end{frame} }
+
+
 \mode<all>