beamerthemeGiraldo.sty
2.01 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
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
% 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.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%
% Logotipo(s)
%
\pgfdeclareimage[width=64pt]{ue-logo}{logo_horizontal_duas_linhas}
\pgfdeclareimage[width=64pt]{ue-logo-branco}{logo_horizontal_duas_linhas_invertido}
\pgfdeclareimage[width=96pt]{ue-logo-principal}{logo_principal}
\titlegraphic{\pgfuseimage{ue-logo-principal}}
\logo{\pgfputat{\pgfxy(-1,8)}{\pgfbox[center,base]{\pgfuseimage{ue-logo}}}}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%
% Temas por omissao
%
\usecolortheme{Giraldo}
\usefonttheme[onlymath]{serif}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%
% Pagina de seccao
%
\AtBeginSection
{ \begingroup
\setbeamercolor{background canvas}{bg=ue-red}
\setbeamercolor{palette tertiary}{
use={structure,normal text},
fg=ue-red,
bg=ue-red
}
\setbeamercolor{section in toc}{
fg=white}
\setbeamercolor{section in toc shaded}{
fg=ue-red}
\setbeamertemplate{section in toc shaded}[default][42]
\logo{\pgfputat{\pgfxy(-1.2,8)}{\pgfbox[center,base]{\pgfuseimage{ue-logo-branco}}}}
\begin{frame}<beamer>
\tableofcontents[currentsection]
\end{frame}
\endgroup
}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%
% Afinação de elementos nas páginas
%
\setbeamertemplate{footline}[text line]{
\insertsectionnavigationhorizontal{\linewidth}{\hskip0pt plus1filll}{\textbf{\insertframenumber}/\inserttotalframenumber}
}
\setbeamertemplate{headline}{}
\setbeamertemplate{navigation symbols}{}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%
% Correccoes
%
% Avisos sobre as fontes
%
\let\Tiny=\tiny
%
% Dicionarios para Portugues
%
\languagepath{Portuguese}
\newtranslation[to=Portuguese]{Definition}{Defini\c{c}\~{a}o}
\newtranslation[to=Portuguese]{Example}{Exemplo}
\newtranslation[to=Portuguese]{Theorem}{Teorema}
\uselanguage{Portuguese}