-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbeamerouterthemeCombo.sty
94 lines (80 loc) · 3.24 KB
/
beamerouterthemeCombo.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
83
84
85
86
87
88
89
90
91
92
93
94
% Copyright 2014 by Giovanni Bacci (djbrh83@gmail.com)
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
\mode<presentation>
\RequirePackage{lmodern}
% ----------------------------------------------------------------------------
% *** LENGTHS <<<
% ----------------------------------------------------------------------------
\newlength{\ulogowidth}
\setlength{\ulogowidth}{1cm}
\newlength{\biglogowidth}
\setlength{\biglogowidth}{3cm}
% ----------------------------------------------------------------------------
% *** END LENGTHS <<<
% ----------------------------------------------------------------------------
% ----------------------------------------------------------------------------
% *** IMAGES <<<
% ----------------------------------------------------------------------------
\pgfdeclareimage[width=\ulogowidth]{ULogo}{./images/logo}
\pgfdeclareimage[width=\biglogowidth]{BIGLogo}{./images/logo_big}
% ----------------------------------------------------------------------------
% *** END IMAGES <<<
% ----------------------------------------------------------------------------
% ----------------------------------------------------------------------------
% *** HEADLINE <<<
% ----------------------------------------------------------------------------
% Starred version sets this template automatically
% Otherwise I will have to call: \setbeamertemplate{headline}[giova headline]
\defbeamertemplate*{headline}{giova headline}{%
\leavevmode
\hbox{%
\begin{beamercolorbox}[wd=0.9\paperwidth, ht=10pt, dp=10pt, left]{navigation frame}%
\insertnavigation{0.9\paperwidth}
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=0.1\paperwidth, ht=10pt, dp=10pt, left]{header logo section}%
\begin{minipage}[c]{0.1\paperwidth}
\vspace{3pt}
\hspace{2pt}
\pgfuseimage{ULogo}
\end{minipage}
\end{beamercolorbox}%
}%
}%
% ----------------------------------------------------------------------------
% *** END HEADLINE <<<
% ----------------------------------------------------------------------------
% ----------------------------------------------------------------------------
% *** FOOTLINE <<<
% ----------------------------------------------------------------------------
\defbeamertemplate*{footline}{giova footline}{%
\leavevmode
\hbox{%
\begin{beamercolorbox}[wd=0.4\paperwidth, ht=5pt, dp=1pt,center]{author in head/foot}%
\insertshortauthor
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=0.6\paperwidth, ht=5pt, dp=1pt,right]{date in head/foot}%
\insertdate\hspace{3pt}
\end{beamercolorbox}%
}%
}%
% ----------------------------------------------------------------------------
% *** END FOOTLINE <<<
% ----------------------------------------------------------------------------
% ----------------------------------------------------------------------------
% *** FRAMETITLE <<<
% ----------------------------------------------------------------------------
\defbeamertemplate*{frametitle}{giova footline}{%
\vspace{-10pt}
\begin{center}
\insertframetitle
\end{center}
}
% ----------------------------------------------------------------------------
% *** END FRAMETITLE <<<
% ----------------------------------------------------------------------------
\mode
<all>