From dbf007252b913f427d2df6ae0c0634fe5c2fb81e Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 28 Sep 2016 11:18:04 -0400 Subject: [PATCH] Add a new "refsframe" environment to fix bibliography whitespace/titling. --- beamerthemeUMBC.sty | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 -- 2.43.2