--- /dev/null
+% Colors
+\definecolor{mjobg}{RGB}{255, 255, 238}
+\definecolor{mjotext}{RGB}{34, 34, 34}
+\definecolor{mjotitle}{RGB}{104, 92, 130}
+\definecolor{mjohead}{RGB}{208, 58, 39}
+
+\setbeamercolor{background canvas}{bg=mjobg}
+\setbeamercolor{title}{fg=mjohead}
+
+\setbeamercolor{structure}{fg=mjotext}
+\setbeamercolor{normal text}{fg=mjotext}
+
+\setbeamercolor{block title}{fg=mjohead}
+\setbeamercolor{proof title}{fg=mjotext}
+\setbeamercolor{block body}{fg=mjotext}
+
+\setbeamercolor{frametitle}{fg=mjotitle}
+
+\setbeamercolor{section in head/foot}{fg=mjotitle}
+\setbeamercolor{subsection in head/foot}{fg=mjotitle}
+\setbeamercolor{author/framecount in foot}{fg=mjotitle}
+\setbeamercolor{title in head/foot}{fg=mjotitle}
--- /dev/null
+\usefonttheme{serif}
+
+% Title page
+\setbeamerfont{author}{family=\rmfamily}
+\setbeamerfont{title}{size=\large,shape=\itshape}
+\setbeamerfont{subtitle}{size=\normalsize}
+
+% The subsection font is used only for the auto-generated
+% subsection introduction slides.
+\setbeamerfont{subsection}{shape=\scshape}
+
+% Frame bits
+\setbeamerfont{frametitle}{shape=\scshape,family=\rmfamily,size=\tiny}
+\setbeamerfont{footline}{shape=\scshape,family=\rmfamily}
+
+% Use slightly more leading than normal.
+\linespread{1.1}
+
+% These are for "Theorem" et al.
+\setbeamerfont{block title}{size={}}
+\setbeamerfont{proof title}{parent=block title,shape=\itshape}
+
+% The references can be tiny.
+\setbeamerfont{bibliography item}{size=\footnotesize}
+\setbeamerfont{bibliography entry author}{size=\footnotesize}
+\setbeamerfont{bibliography entry title}{size=\footnotesize}
+\setbeamerfont{bibliography entry location}{size=\footnotesize}
+\setbeamerfont{bibliography entry note}{size=\footnotesize}
--- /dev/null
+\mode<presentation>
+
+\useinnertheme{circles}
+
+% Spacing is nice.
+\setlength{\parskip}{1em}
+
+\defbeamertemplate*{title page}{mjo}[1][]
+{
+ \vbox{}
+ \vfill
+ \begin{centering}
+ \begin{beamercolorbox}[sep=0pt,center,#1]{title}
+ \usebeamerfont{title}\inserttitle\par%
+ \end{beamercolorbox}%
+ \begin{beamercolorbox}[sep=0pt,center,#1]{title}
+ \usebeamerfont{subtitle}\insertsubtitle\par%
+ \end{beamercolorbox}%
+
+ \vskip\parskip\par
+
+ \begin{beamercolorbox}[sep=4pt,center,#1]{author}
+ \usebeamerfont{author}\insertauthor
+ \end{beamercolorbox}
+
+ \vskip\parskip\par
+
+ \begin{beamercolorbox}[sep=8pt,center,#1]{date}
+ % The smaller "institute" font face looks better for this.
+ \usebeamerfont{institute}\insertdate
+ \end{beamercolorbox}
+ \end{centering}
+ \vfill
+}
+
+
+% Get rid of the navigation buttons.
+\setbeamertemplate{navigation symbols}{}
+
+
+% Leave the theorems alone.
+\setbeamertemplate{theorem begin}{
+ {
+ \usebeamerfont*{block title}
+ \usebeamercolor[fg]{block title}
+ \inserttheoremname
+ \inserttheoremnumber
+ \ifx\inserttheoremaddition\@empty\else\ (\inserttheoremaddition)\fi%
+ \inserttheorempunctuation
+ \usebeamercolor[fg]{block body}
+ }
+ \usebeamerfont*{block body}
+}
+
+\setbeamertemplate{theorem end}{}
+
+% No weird numbers-inside-bullets. Just number them dude.
+\setbeamertemplate{enumerate items}[default]
+
+% Use numbered references rather than the goofy document icon.
+\setbeamertemplate{bibliography item}[text]
+
+% Don't break the line that "Proof." is on.
+\setbeamertemplate{proof begin}{
+ \usebeamerfont*{proof title}
+ \usebeamercolor[fg]{proof title}
+ \insertproofname
+ \usebeamerfont*{block body}
+ \usebeamercolor[fg]{block body}
+}
+\setbeamertemplate{proof end}{}
+
+
+% Align the second row of footnote text under the first row.
+% The footnotes are too close to the footline, but I can't
+% figure out how to add padding to them.
+\defbeamertemplate*{footnote}{mjo}{
+ \hangindent1em\hangafter1\noindent%
+ \raggedright%
+ \hbox to 1em{\insertfootnotemark\hfil}%
+ \insertfootnotetext%
+ \par%
+}
--- /dev/null
+\mode<presentation>
+\useoutertheme{miniframes}
+
+% Display the current/total frame count.
+\setbeamertemplate{page number in head/foot}[totalframenumber]%
+
+% Insert the Section (and optionally, Part:) into the header.
+% We disable hyperlinks in the header because they mess up
+% the font color and aren't terribly useful.
+\setbeamertemplate{headline}{
+ \begin{beamercolorbox}[ht=3ex,dp=1.125ex,%
+ leftskip=.3cm,rightskip=.3cm plus1fil]{title in head}%
+ \NoHyper%
+ \usebeamerfont*{frametitle}
+ \usebeamercolor[fg]{frametitle}
+ \ifx\insertpart\@empty%
+ \else%
+ \insertpart: %
+ \fi%
+ \insertsectionhead%
+ \endNoHyper%
+ \end{beamercolorbox}%
+ \vskip\parskip\par%
+}
+
+% Stolen from the miniframes theme and modified.
+\setbeamertemplate{footline}{
+ \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
+ leftskip=.3cm,rightskip=.3cm plus1fil]{author/framecount in foot}%
+ \insertauthor%
+ \hfill%
+ \usebeamertemplate{page number in head/foot}%
+ \end{beamercolorbox}%
+}
--- /dev/null
+\ProcessOptionsBeamer
+
+\mode<presentation>
+
+% Use a sane color for hyperlinks, and color them by default.
+
+\definecolor{mjolink}{HTML}{2f6fab}
+\hypersetup{colorlinks=true,urlcolor=mjolink}
+
+\useinnertheme{mjo}
+\useoutertheme{mjo}
+\usefonttheme{mjo}
+\usecolortheme{mjo}
+
+% Introduce new sections with a slide announcing the current part and
+% section. Disable hyperlinking to avoid messing up the font color.
+\AtBeginSection[]{
+ \begin{frame}[c]
+ \NoHyper%
+ \begin{center}
+ \usebeamerfont{title}
+ \ifx\insertpart\@empty%
+ \else%
+ \insertpart: %
+ \fi%
+ \insertsectionhead\par%
+ \end{center}
+ \endNoHyper%
+ \end{frame}
+}
+
+% Introduce new subsections with a slide announcing the current
+% subsection. This does NOT include the current part/section.
+% Disable hyperlinking to avoid messing up the font color.
+\AtBeginSubsection[]{
+ \begin{frame}[c]
+ \NoHyper%
+ \begin{center}
+ \usebeamerfont{subsection}
+ \insertsubsectionhead
+ \end{center}
+ \endNoHyper%
+ \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} }
+
+
+% Reset the footnote counter on each slide, and always start
+% from the dagger (i.e. skip symbol zero, the asterisk).
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+\AtBeginEnvironment{frame}{\setcounter{footnote}{1}}
+
+\mode<all>