beamerthemeGiraldo.sty
1.54 KB
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
% Copyright 2014 by Francisco Coelho
%
% 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>
%
% \DeclareOptionBeamer{nosidebar}{\PassOptionsToPackage{nosidebar}{beamerouterthemeGiraldo}}
% \DeclareOptionBeamer{hideothersubsections}{\PassOptionsToPackage{hideothersubsections}{beamerouterthemeGiraldo}}
%
\newif\ifhidesections
\hidesectionsfalse
%
\DeclareOptionBeamer{hidesections}[true]{\csname hidesections#1\endcsname}
\DeclareOptionBeamer{strongtitles}{\PassOptionsToPackage{strongtitles}{beamercolorthemeGiraldo}}
\ProcessOptionsBeamer
%
\pgfdeclareimage[width=64pt]{university-logo}{logo_horizontal_duas_linhas}
\pgfdeclareimage[width=64pt]{university-logo-inverted}{logo_horizontal_duas_linhas_invertido}
\logo{\pgfputat{\pgfxy(-1.2,8)}{\pgfbox[center,base]{\pgfuseimage{university-logo}}}}
%
\ifhidesections
\else
\AtBeginSection[] {%
\begingroup%
\setbeamertemplate{footline}[]%
\setbeamercolor{background canvas}{bg=ue-red}
\setbeamercolor{section in toc shaded}{fg=black}
\setbeamercolor{section in toc}{fg=white}
\logo{\pgfputat{\pgfxy(-1.2,8)}{\pgfbox[center,base]{\pgfuseimage{university-logo-inverted}}}}
\begin{frame}<beamer>
\tableofcontents[currentsection]
\end{frame}
\endgroup
}
\fi
\usecolortheme{Giraldo}
\usefonttheme{default}
\useinnertheme{default}
\useoutertheme{Giraldo}
\setbeamertemplate{headline}{}
\setbeamertemplate{footline}[frame number]
\setbeamertemplate{navigation symbols}{}
\let\Tiny=\tiny
\mode
<all>