From: Michael Orlitzky Date: Wed, 28 Sep 2016 15:18:04 +0000 (-0400) Subject: Add a new "refsframe" environment to fix bibliography whitespace/titling. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=dbf007252b913f427d2df6ae0c0634fe5c2fb81e;p=beamer-mjo.git Add a new "refsframe" environment to fix bibliography whitespace/titling. --- diff --git a/beamerthemeUMBC.sty b/beamerthemeUMBC.sty index ac0a4a6..a376fd5 100644 --- a/beamerthemeUMBC.sty +++ b/beamerthemeUMBC.sty @@ -25,4 +25,17 @@ {\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