%% 
%%  An UIT Edition example
%% 
%%  Example 04-20-4 on page 118.
%% 
%%  Copyright (C) 2012 Vo\ss 
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 

% Show page(s) 1,7

%% ==== 
\PassOptionsToClass{}{beamer}
\documentclass{exabeamer}
\usepackage[utf8]{inputenc}
\usepackage{array,ragged2e}
\setbeamertemplate{background}[grid][0.5cm]{}
\setbeamercolor{frametitle}{fg=white,bg=gray}
\setbeamerfont{titlelike}{series=\bfseries}
\setbeamerfont{framesubtitle}{size=\footnotesize}
\setbeamertemplate{frametitle}{%
 \begin{beamercolorbox}[wd=\paperwidth,ht=1cm,
  leftskip=.3cm,rightskip=.3cm]{frametitle}
  \usebeamerfont{titlelike}\tabular{@{}l}
   \insertframetitle\\
   \usebeamerfont{framesubtitle}%
   \usebeamercolor[fg]{framesubtitle}%
   \insertframesubtitle%
   \endtabular\hfill
   \usebeamerfont*{titlelike}\Huge FU
 \end{beamercolorbox}}
 \logo{\includegraphics[width=1.5cm]{%
  images/beamer/fu-berlin}}

%\StartShownPreambleCommands
\setbeamertemplate{logo}{} \setbeamertemplate{navigation symbols}{}
\setbeamercolor{section in head/foot}{fg=black,bg=white}
\setbeamertemplate{footline}{%
 \begin{beamercolorbox}[wd=\paperwidth,ht=1.2cm]{section in head/foot}
  \tabular{@{}m{0.75\paperwidth}@{}>{\RaggedLeft}m{0.25\paperwidth}@{}}
    \insertnavigation{0.75\paperwidth} &
    \includegraphics[width=1cm]{images/beamer/fu-berlin}
  \endtabular\end{beamercolorbox}}
%\StopShownPreambleCommands

\begin{document}
\section{Beamer templates}  \subsection{New header}
\begin{frame}{Templates}{The \texttt{frametitle} template}
The number of templates that can be overwritten by the user is very large.
\ldots
\end{frame}
\begin{frame}{bar}{baz} foo \end{frame} \begin{frame}{bar}{baz} foo \end{frame}
\subsection{New footer}
\begin{frame}{bar}{baz} foo \end{frame}
\begin{frame}{Headers and footers}{The template \texttt{footline}}
The number of templates which can be overwritten by the user is very large.
\ldots
\end{frame}
\section{New header and footer} \subsection{New footer}
\begin{frame}{bar}{baz} foo \end{frame}\begin{frame}{bar}{baz} foo \end{frame}
\section{Demo section}
\begin{frame}{bar}{baz} foo \end{frame}\begin{frame}{bar}{baz} foo \end{frame}
\begin{frame}{bar}{baz} foo \end{frame}\begin{frame}{bar}{baz} foo \end{frame}
\end{document}
