summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/presentations-en/04-20-4.ltxb
blob: fbd107045772de5ec63e813674f957a3014a2e4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
%% 
%%  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}