]> gitweb.michael.orlitzky.com - beamer-mjo.git/blob - beamerthemeUMBC.sty
a376fd58195fca9edd8cfd51240bd1367f20825f
[beamer-mjo.git] / beamerthemeUMBC.sty
1 \ProcessOptionsBeamer
2
3 \mode<presentation>
4
5 \useinnertheme{UMBC}
6 \useoutertheme{UMBC}
7 \usefonttheme{UMBC}
8 \usecolortheme{UMBC}
9
10 % Create a slide introducing new sections.
11 \AtBeginSection[]{
12 \begin{frame}
13 \frametitle{Part \thepart, Section \thesection}
14 \vfill
15 \begin{center}
16 \usebeamerfont{title}\insertpart: \insertsectionhead\par%
17 \end{center}
18 \vfill
19 \end{frame}
20 }
21
22 % Define a new ``partsecframe'' environment that uses a default frame
23 % title of ``<part>: <section>'' when no other frame title is given.
24 \newenvironment{partsecframe}[1][\insertpart: \insertsectionhead]
25 {\begin{frame}{#1}}
26 {\end{frame}}
27
28 % Define a new ``refsframe'' environment for the bibliography.
29 % It automatically handles the frame breaks, and fixes the busted
30 % vertical spacing on slides >= 2. The extra curly braces ensure that
31 % the change to the ``frametitle continuation'' template are only
32 % temporary.
33 \newenvironment{refsframe}[1][References] {
34 \splittopskip=2.13em % Fixes the vertical spacing of split frames.
35 \setbeamertemplate{frametitle continuation}{} % Same title for all frames.
36 \begin{frame}[allowframebreaks]{#1}
37 }
38 { \end{frame} }
39
40
41 \mode<all>