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