Commit c45003794c781c46e80ea500c46758325d55e0e6
1 parent
c15412f7
Exists in
master
Release Candidate #1
Showing
11 changed files
with
781 additions
and
696 deletions
Show diff stats
exemplos/simples.pdf
No preview for this file type
exemplos/simples.tex
1 | \documentclass{beamer} | 1 | \documentclass{beamer} |
2 | -\usetheme{Giraldo} | 2 | +\usetheme[calcado]{Giraldo} |
3 | % | 3 | % |
4 | % | 4 | % |
5 | % Suporte para o português | 5 | % Suporte para o português |
@@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
7 | \usepackage{eurosym} | 7 | \usepackage{eurosym} |
8 | \usepackage[T1]{fontenc} | 8 | \usepackage[T1]{fontenc} |
9 | \usepackage[utf8]{inputenc} | 9 | \usepackage[utf8]{inputenc} |
10 | -\usepackage[portuges]{babel} | 10 | +\usepackage[portuguese]{babel} |
11 | % | 11 | % |
12 | % | 12 | % |
13 | % | 13 | % |
@@ -24,14 +24,13 @@ | @@ -24,14 +24,13 @@ | ||
24 | % | 24 | % |
25 | % Identificação deste documento | 25 | % Identificação deste documento |
26 | % | 26 | % |
27 | -\title{Exemplo de uma aula} | ||
28 | -\subtitle{Uso do tema `Giraldo'} | ||
29 | -\author{Francisco Coelho} | ||
30 | -\institute[\texttt{fc@di.uevora.pt}]{ | 27 | +\title[Exemplo]{Exemplo de uma aula} |
28 | +\subtitle[Giraldo]{Uso do tema `Giraldo'} | ||
29 | +\author[fc]{Francisco Coelho\\{fc@di.uevora.pt}} | ||
30 | +\institute[UE]{ | ||
31 | Departamento de Informática\\ | 31 | Departamento de Informática\\ |
32 | -Escola de Ciências e Tecnologia | ||
33 | -} | ||
34 | -\date{} | 32 | +Escola de Ciências e Tecnologia} |
33 | +\date{\today} | ||
35 | % | 34 | % |
36 | % | 35 | % |
37 | % Documento | 36 | % Documento |
@@ -46,7 +45,7 @@ Escola de Ciências e Tecnologia | @@ -46,7 +45,7 @@ Escola de Ciências e Tecnologia | ||
46 | % | 45 | % |
47 | % Primeira secção | 46 | % Primeira secção |
48 | % | 47 | % |
49 | - \section{Uso básico do `beamer`} | 48 | + \section[Uso]{Uso básico do `beamer`} |
50 | % | 49 | % |
51 | % | 50 | % |
52 | % Página de conteúdo | 51 | % Página de conteúdo |
@@ -73,10 +72,10 @@ Escola de Ciências e Tecnologia | @@ -73,10 +72,10 @@ Escola de Ciências e Tecnologia | ||
73 | % | 72 | % |
74 | \begin{frame}{Teoremas e Demonstrações} | 73 | \begin{frame}{Teoremas e Demonstrações} |
75 | \begin{theorem}[Teorema Fundamental da Álgebra] | 74 | \begin{theorem}[Teorema Fundamental da Álgebra] |
76 | - Qualquer polinómio de grau $n$ tem $n$ raízes complexas. | 75 | + Qualquer polinómio de grau $n$ tem $n$ raízes. |
77 | \end{theorem} | 76 | \end{theorem} |
78 | \begin{proof} | 77 | \begin{proof} |
79 | - Tenho uma demonstração simples mas não cabe na margem da página. | 78 | + Tenho uma demonstração simples e engenhosa mas não cabe na margem desta página. |
80 | \end{proof} | 79 | \end{proof} |
81 | \end{frame} | 80 | \end{frame} |
82 | % | 81 | % |
@@ -99,21 +98,63 @@ Escola de Ciências e Tecnologia | @@ -99,21 +98,63 @@ Escola de Ciências e Tecnologia | ||
99 | \end{example} | 98 | \end{example} |
100 | \end{frame} | 99 | \end{frame} |
101 | % | 100 | % |
102 | - \section{Opções e mais exemplos} | 101 | + \section[Opções]{Opções e mais exemplos} |
103 | 102 | ||
104 | \begin{frame}{Beamer e \alert{Giraldo}} | 103 | \begin{frame}{Beamer e \alert{Giraldo}} |
105 | - \begin{semiverbatim} | 104 | + \begin{example}[Documento] |
105 | + \begin{semiverbatim} | ||
106 | + \\documentclass\{beamer\} | ||
107 | + | ||
108 | + \\usetheme\{\alert{Giraldo}\} | ||
109 | + | ||
110 | + \\usepackage[portuges]\{babel\} | ||
111 | + | ||
112 | + \\begin\{document\} | ||
113 | + | ||
114 | + ~~~~... | ||
115 | + | ||
116 | + \\end\{document\} | ||
117 | + \end{semiverbatim} | ||
118 | + \end{example} | ||
119 | + \end{frame} | ||
120 | + | ||
121 | + \begin{frame}{Barra de título em cada página} | ||
122 | + \begin{description} | ||
123 | + \item[sempavor] texto cinza escuro sobre fundo branco: | ||
124 | + \begin{semiverbatim} | ||
106 | \\documentclass\{beamer\} | 125 | \\documentclass\{beamer\} |
107 | 126 | ||
108 | - \\usetheme\{\alert{Giraldo}\} | 127 | + \\usetheme[\alert{sempavor}]\{Giraldo\} |
128 | + \end{semiverbatim} | ||
129 | + \item[comvergonha] texto cinza sobre fundo vermelho: | ||
130 | + \begin{semiverbatim} | ||
131 | + \\documentclass\{beamer\} | ||
109 | 132 | ||
110 | - \\usepackage[portuges]\{babel\} | 133 | + \\usetheme[\alert{comvergonha}]\{Giraldo\} |
134 | + \end{semiverbatim} | ||
135 | + \item[(omissão)] texto cinza escuro sobre fundo cinza claro: | ||
136 | + \begin{semiverbatim} | ||
137 | + \\documentclass\{beamer\} | ||
111 | 138 | ||
112 | - \\begin\{document\} | 139 | + \\usetheme\{Giraldo\} |
140 | + \end{semiverbatim} | ||
141 | + \end{description} | ||
142 | + \end{frame} | ||
113 | 143 | ||
114 | - ~~~~... | 144 | + \begin{frame}{Navegação das secções no fundo da página} |
145 | + \begin{description} | ||
146 | + \item[calcado] com navegação das secções: | ||
147 | + \begin{semiverbatim} | ||
148 | + \\documentclass\{beamer\} | ||
149 | + | ||
150 | + \\usetheme[\alert{calcado}]\{Giraldo\} | ||
151 | + \end{semiverbatim} | ||
152 | + \item[(omissão)] sem navegação das secções: | ||
153 | + \begin{semiverbatim} | ||
154 | + \\documentclass\{beamer\} | ||
115 | 155 | ||
116 | - \\end\{document\} | ||
117 | - \end{semiverbatim} | 156 | + \\usetheme\{Giraldo\} |
157 | + \end{semiverbatim} | ||
158 | + \end{description} | ||
118 | \end{frame} | 159 | \end{frame} |
119 | \end{document} | 160 | \end{document} |
120 | \ No newline at end of file | 161 | \ No newline at end of file |
texmf/tex/latex/beamer/themes/color/beamercolorthemeGiraldo.sty
@@ -5,6 +5,25 @@ | @@ -5,6 +5,25 @@ | ||
5 | % 1. under the LaTeX Project Public License and/or | 5 | % 1. under the LaTeX Project Public License and/or |
6 | % 2. under the GNU Public License. | 6 | % 2. under the GNU Public License. |
7 | % | 7 | % |
8 | +% | ||
9 | +% Opcoes | ||
10 | +% | ||
11 | +% (default) ==> barra dos títulos: fundo cinza claro, texto cinza escuro | ||
12 | +% | ||
13 | +% sempavor ==> barra dos titulos: fundo branco, texto conza | ||
14 | +% | ||
15 | +\newif\ifgiraldo@sempavor | ||
16 | +\giraldo@sempavorfalse | ||
17 | +\DeclareOptionBeamer{sempavor}{\giraldo@sempavortrue} | ||
18 | +% | ||
19 | +% comvergonha ==> barra dos titulos: fundo vermelho, texto branco | ||
20 | +% | ||
21 | +\newif\ifgiraldo@comvergonha | ||
22 | +\giraldo@comvergonhafalse | ||
23 | +\DeclareOptionBeamer{comvergonha}{\giraldo@comvergonhatrue} | ||
24 | +% | ||
25 | +\ProcessOptionsBeamer | ||
26 | +% | ||
8 | \mode<presentation> | 27 | \mode<presentation> |
9 | % | 28 | % |
10 | % | 29 | % |
@@ -82,6 +101,32 @@ | @@ -82,6 +101,32 @@ | ||
82 | bg=normal text.bg!30!black | 101 | bg=normal text.bg!30!black |
83 | } | 102 | } |
84 | % | 103 | % |
104 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
105 | +% | ||
106 | +% | ||
107 | +% Processamento de opcoes | ||
108 | +% | ||
109 | +% sempavor | ||
110 | +% | ||
111 | +\ifgiraldo@sempavor | ||
112 | + \setbeamercolor{frametitle}{bg=white,fg=ue-gray} | ||
113 | + \pgfdeclareimage[width=64pt]{page-logo}{lhn} | ||
114 | +% | ||
115 | +% alcaide | ||
116 | +% | ||
117 | +\else\ifgiraldo@comvergonha | ||
118 | + \setbeamercolor{frametitle}{bg=ue-red,fg=white} | ||
119 | + \pgfdeclareimage[width=64pt]{page-logo}{lhb} | ||
120 | +% | ||
121 | +% (default) | ||
122 | +% | ||
123 | +\else | ||
124 | + \setbeamercolor{frametitle}{bg=ue-grey!12.5!white,fg=ue-grey} | ||
125 | + \pgfdeclareimage[width=64pt]{page-logo}{lhn} | ||
126 | +\fi\fi | ||
127 | +% | ||
128 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
129 | +% | ||
85 | % | 130 | % |
86 | % Sidebar stuff | 131 | % Sidebar stuff |
87 | % | 132 | % |
texmf/tex/latex/beamer/themes/theme/beamerthemeGiraldo.sty
@@ -9,10 +9,18 @@ | @@ -9,10 +9,18 @@ | ||
9 | % | 9 | % |
10 | % | 10 | % |
11 | % Opcoes | 11 | % Opcoes |
12 | +\DeclareOptionBeamer{sempavor}{\PassOptionsToPackage{sempavor}{beamercolorthemeGiraldo}} | ||
13 | +\DeclareOptionBeamer{comvergonha}{\PassOptionsToPackage{comvergonha}{beamercolorthemeGiraldo}} | ||
14 | +% | ||
15 | +% Opcoes | ||
16 | +% | ||
17 | +% comsapatos ==> barra de contexo | ||
18 | +% | ||
19 | +\newif\ifgiraldo@calcado | ||
20 | +\giraldo@calcadofalse | ||
21 | +\DeclareOptionBeamer{calcado}{\giraldo@calcadotrue} | ||
22 | +% | ||
12 | % | 23 | % |
13 | -\newif\ifgiraldo@sempavor | ||
14 | -\giraldo@sempavorfalse | ||
15 | -\DeclareOptionBeamer{sempavor}{\giraldo@sempavortrue} | ||
16 | \ProcessOptionsBeamer | 24 | \ProcessOptionsBeamer |
17 | % | 25 | % |
18 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | 26 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
@@ -20,10 +28,11 @@ | @@ -20,10 +28,11 @@ | ||
20 | % | 28 | % |
21 | % Logotipo(s) | 29 | % Logotipo(s) |
22 | % | 30 | % |
23 | -\pgfdeclareimage[width=64pt]{ue-logo}{logo_horizontal_duas_linhas} | ||
24 | -\pgfdeclareimage[width=64pt]{ue-logo-branco}{logo_horizontal_duas_linhas_invertido} | ||
25 | -\pgfdeclareimage[width=96pt]{ue-logo-principal}{logo_principal} | ||
26 | -\titlegraphic{\pgfuseimage{ue-logo-principal}} | 31 | +%\pgfdeclareimage[width=64pt]{ue-logo}{logo_horizontal_duas_linhas} |
32 | +%\pgfdeclareimage[width=64pt]{ue-logo-branco}{logo_horizontal_duas_linhas_invertido} | ||
33 | +\pgfdeclareimage[width=64pt]{section-logo}{lhb} | ||
34 | +\pgfdeclareimage[width=96pt]{main-logo}{lue} | ||
35 | +\titlegraphic{\pgfuseimage{main-logo}} | ||
27 | %\logo{\pgfputat{\pgfxy(-1.2,8)}{\pgfbox[center,base]{\pgfuseimage{ue-logo}}}} | 36 | %\logo{\pgfputat{\pgfxy(-1.2,8)}{\pgfbox[center,base]{\pgfuseimage{ue-logo}}}} |
28 | % | 37 | % |
29 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | 38 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
@@ -37,52 +46,61 @@ | @@ -37,52 +46,61 @@ | ||
37 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | 46 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
38 | % | 47 | % |
39 | % | 48 | % |
40 | -% Opcao sempavor | 49 | +% Afinação de elementos nas páginas |
41 | % | 50 | % |
42 | -\ifgiraldo@sempavor | ||
43 | - \pgfdeclareimage[width=64pt]{ue-logo}{logo_horizontal_duas_linhas} | ||
44 | - \setbeamercolor{frametitle}{bg=ue-red,fg=white} | 51 | +\ifgiraldo@calcado |
52 | + \setbeamertemplate{footline}[text line]{ | ||
53 | + \insertsectionnavigationhorizontal{\linewidth}{}{\hskip0pt plus1filll\textbf{\insertframenumber}/\inserttotalframenumber} | ||
54 | + } | ||
45 | \else | 55 | \else |
46 | - \pgfdeclareimage[width=64pt]{ue-logo}{logo_horizontal_duas_linhas} | 56 | + \setbeamertemplate{footline}[text line]{ |
57 | + \hskip0pt plus1filll\textbf{\insertframenumber}/\inserttotalframenumber | ||
58 | + } | ||
47 | \fi | 59 | \fi |
48 | -\logo{\pgfputat{\pgfxy(-1.2,8)}{\pgfbox[center,base]{\pgfuseimage{ue-logo}}}} | ||
49 | - | ||
50 | % | 60 | % |
51 | -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | 61 | +% |
52 | % | 62 | % |
63 | +\setbeamertemplate{headline}{} | ||
53 | % | 64 | % |
54 | -% Pagina de seccao | ||
55 | % | 65 | % |
56 | -\AtBeginSection | ||
57 | -{ \begingroup | ||
58 | - \setbeamercolor{background canvas}{bg=ue-red} | ||
59 | - \setbeamercolor{palette tertiary}{ | ||
60 | - use={structure,normal text}, | ||
61 | - fg=ue-red, | ||
62 | - bg=ue-red | ||
63 | - } | ||
64 | - \setbeamercolor{section in toc}{ | ||
65 | - fg=white} | ||
66 | - \setbeamercolor{section in toc shaded}{ | ||
67 | - fg=ue-red} | ||
68 | - \setbeamertemplate{section in toc shaded}[default][42] | ||
69 | - \logo{\pgfputat{\pgfxy(-1.2,8)}{\pgfbox[center,base]{\pgfuseimage{ue-logo-branco}}}} | ||
70 | - \begin{frame}<beamer> | ||
71 | - \tableofcontents[currentsection] | ||
72 | - \end{frame} | ||
73 | - \endgroup | 66 | +% |
67 | +\setbeamertemplate{navigation symbols}{} | ||
68 | +% | ||
69 | +% Titulo da pagina | ||
70 | +% | ||
71 | +\addtobeamertemplate{frametitle}{}{% | ||
72 | + \begin{tikzpicture}[remember picture,overlay] | ||
73 | + \node[anchor=north east] at (current page.north east) { | ||
74 | + \pgfuseimage{page-logo}}; | ||
75 | + \end{tikzpicture} | ||
74 | } | 76 | } |
77 | +%\logo{\pgfputat{\pgfxy(-1.2,8)}{\pgfbox[center,base]{\pgfuseimage{section-logo}}}} | ||
75 | % | 78 | % |
76 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | 79 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
77 | % | 80 | % |
78 | % | 81 | % |
79 | -% Afinação de elementos nas páginas | 82 | +% Pagina de seccao |
80 | % | 83 | % |
81 | -\setbeamertemplate{footline}[text line]{ | ||
82 | - \insertsectionnavigationhorizontal{\linewidth}{\hskip0pt plus1filll}{\textbf{\insertframenumber}/\inserttotalframenumber} | 84 | +\AtBeginSection |
85 | +{ \begingroup | ||
86 | + \setbeamercolor{background canvas}{bg=ue-red} | ||
87 | + \setbeamercolor{palette tertiary}{ | ||
88 | + use={structure,normal text}, | ||
89 | + fg=ue-red, | ||
90 | + bg=ue-red} | ||
91 | + \setbeamercolor{section in toc}{fg=white} | ||
92 | + \setbeamercolor{section in toc shaded}{fg=ue-red} | ||
93 | + \setbeamertemplate{section in toc shaded}[default][42] | ||
94 | + \setbeamertemplate{footline}[text line]{} | ||
95 | + % | ||
96 | + % FIXME: hardcoded logo coordinates (while in frametitle are page referenced...) | ||
97 | + % | ||
98 | + \logo{\pgfputat{\pgfxy(-1.19,8.09)}{\pgfbox[center,base]{\pgfuseimage{section-logo}}}} | ||
99 | + \begin{frame}<beamer> | ||
100 | + \tableofcontents[currentsection] | ||
101 | + \end{frame} | ||
102 | + \endgroup | ||
83 | } | 103 | } |
84 | -\setbeamertemplate{headline}{} | ||
85 | -\setbeamertemplate{navigation symbols}{} | ||
86 | % | 104 | % |
87 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | 105 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
88 | % | 106 | % |
texmf/tex/latex/beamer/themes/theme/beamerthemeLoios.sty
@@ -1,19 +0,0 @@ | @@ -1,19 +0,0 @@ | ||
1 | -% Copyright 2007 by Till Tantau | ||
2 | -% | ||
3 | -% This file may be distributed and/or modified | ||
4 | -% | ||
5 | -% 1. under the LaTeX Project Public License and/or | ||
6 | -% 2. under the GNU Public License. | ||
7 | -% | ||
8 | -% See the file doc/licenses/LICENSE for more details. | ||
9 | - | ||
10 | - | ||
11 | -\mode<presentation> | ||
12 | - | ||
13 | -\usefonttheme{Loios} | ||
14 | -\usecolortheme{Loios} | ||
15 | -\useinnertheme{Loios} | ||
16 | -\useoutertheme{Loios} | ||
17 | - | ||
18 | -\mode | ||
19 | -<all> |
No preview for this file type
No preview for this file type
texmf/tex/latex/beamer/themes/theme/logo_horizontal_duas_linhas.pdf
No preview for this file type
texmf/tex/latex/beamer/themes/theme/logo_horizontal_duas_linhas_invertido.pdf
No preview for this file type
texmf/tex/latex/beamer/themes/theme/logo_principal.pdf
No preview for this file type
No preview for this file type