15070a60
Francisco Coelho
Added sources (wtf?)
|
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
|
% 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>
%
%
% Logotipo(s)
%
\pgfdeclareimage[width=64pt]{university-logo}{logo_horizontal_duas_linhas}
\pgfdeclareimage[width=64pt]{university-logo-inverted}{logo_horizontal_duas_linhas_invertido}
%
\newif\ifsidebar
\sidebarfalse
%
\DeclareOptionBeamer{sidebar}[true]{\csname sidebar#1\endcsname}
\ProcessOptionsBeamer
%
\ifsidebar
\useoutertheme[width=72pt,right,hideothersubsections]{sidebar}
\useoutertheme[width=72pt,right,hideothersubsections]{infolines}
\logo{\pgfuseimage{university-logo-inverted}}
\setbeamertemplate{headline}[sidebar theme]
%
\setbeamertemplate{sidebar right}
{
% {%
% \vskip1.25em%
% \hbox to72pt{\hss\insertlogo\hss}
% \vskip1.25em%
% }%
{% Titulo na barra lateral
\usebeamerfont{title in sidebar}%
\usebeamercolor[fg]{title in sidebar}%
\hbox to72pt{\hss\insertshorttitle[width=64pt,center,respectlinebreaks]\hss}
%\insertshorttitle[width=64pt,center,respectlinebreaks]\par%
%\insertshortsubtitle[width=2cm,center,respectlinebreaks]\par%
}%
{% Barra de navegacao
\vskip1.25em%
\usebeamercolor[fg]{subsection in sidebar}
\insertverticalnavigation{64pt}%
\vfill
}%
\hbox to 72pt{% lecture.frame em baixo a direita
\hfill%
\strut%
\usebeamerfont{subsection in sidebar}%
\usebeamercolor[fg]{subsection in sidebar}%
\insertframenumber/\inserttotalframenumber
\hskip5pt
}
\vskip3pt%
}%
%
\setbeamertemplate{footline}[]
\else
\logo{\pgfuseimage{university-logo}}
\setbeamertemplate{headline}{}
\setbeamertemplate{footline}[frame number]
\fi
\setbeamersize{text margin left=1em,text margin right=1em}
\setbeamertemplate{navigation symbols}{}
\mode
<all>
|