This repository has been archived by the owner on Nov 16, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
beamerouterthemeSmallInfosFFF.sty
82 lines (66 loc) · 2.66 KB
/
beamerouterthemeSmallInfosFFF.sty
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
70
71
72
73
74
75
76
77
78
79
80
81
82
% Copyright 2007 by Till Tantau
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
%
% See the file doc/licenses/LICENSE for more details.
\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/themes/outer/beamerouterthemeSmallInfosFFF.sty,v 1.9 2007/01/28 20:48:30 tantau Exp $
\mode<presentation>
\setbeamercolor*{author in head/foot}{parent=palette primary,fg=white}
\setbeamercolor*{title in head/foot}{parent=palette primary,fg=white}
\setbeamercolor*{date in head/foot}{parent=palette primary,fg=white}
\setbeamercolor*{section in head/foot}{parent=palette tertiary,fg=black}
\defbeamertemplate*{footline}{infolines theme}
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex]{date in head/foot}%
\usebeamerfont{author in head/foot}\hspace*{2ex}\insertdate\vspace*{1pt}
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
\usebeamerfont{title in head/foot}\insertshorttitle\vspace*{1pt}
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
\usebeamerfont{date in head/foot}\insertframenumber/\inserttotalframenumber\hspace*{2ex}\vspace*{1pt}
\end{beamercolorbox}}%
\vskip0pt%
}
% Frame title: default
\defbeamertemplate*{frametitle}{SmallInfos theme}[1][left]
{
\ifbeamercolorempty[bg]{frametitle}{}{\nointerlineskip}%
\@tempdima=\textwidth%
\@tempdima=0.65\@tempdima
\advance\@tempdima by\beamer@leftmargin%
\hbox{\begin{beamercolorbox}[sep=0.45cm,#1,wd=\the\@tempdima]{frametitle}
\usebeamerfont{frametitle}%
\vbox{}\vskip-2ex%
\if@tempswa\else\csname beamer@fte#1\endcsname\fi%
\strut\vspace*{0.01cm}\hspace{-0.2cm}\insertframetitle\hspace{-0.2cm}\strut\par%
%{%
%\ifx\insertframesubtitle\@empty%
%\else%
%{\usebeamerfont{framesubtitle}\usebeamercolor[fg]{framesubtitle}\insertframesubtitle\strut\par}%
%\fi
%}%
\vskip-1ex%
\if@tempswa\else\vskip-.3cm\fi% set inside beamercolorbox... evil here...
\end{beamercolorbox}}%
}
\def\beamer@fteright{\vskip0.35cm\advance\leftskip by 1.7cm\advance\rightskip by1.7cm}
% Frame title continuations, default
\defbeamertemplate*{frametitle continuation}{SmallInfos theme}{\insertcontinuationcountroman}
\defbeamertemplate*{headline}{SmallInfos theme}
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=\paperwidth,ht=2.25ex,dp=1ex,left]{navigation in head/foot}%
\insertnavigation{\paperwidth}
\end{beamercolorbox}}%
\vskip0pt%
}
\setbeamersize{text margin left=1em,text margin right=1em}
\mode
<all>