Commit 0593d28057594fb328a4d442f4253e11191c6c0f

Authored by Francisco Coelho
1 parent 0a8e1d5a
Exists in master

support for "strongtitles" option

exemplos/simples.tex
1 1 \documentclass{beamer}
2   -\usetheme[strongtitles]{Giraldo}
  2 +\usetheme{Giraldo}
3 3 %
4 4 %
5 5 % Suporte para o português
... ... @@ -9,11 +9,6 @@
9 9 \usepackage[utf8]{inputenc}
10 10 \usepackage[portuges]{babel}
11 11 %
12   -\languagepath{Portuguese}
13   -\newtranslation[to=Portuguese]{Definition}{Defini\c{c}\~{a}o}
14   -\newtranslation[to=Portuguese]{Example}{Exemplo}
15   -\newtranslation[to=Portuguese]{Theorem}{Teorema}
16   -\uselanguage{Portuguese}
17 12 %
18 13 %
19 14 % Suporte para figuras
... ... @@ -117,4 +112,10 @@ Escola de Ciências e Tecnologia
117 112 \end{description}
118 113 \end{example}
119 114 \end{frame}
  115 + %
  116 + \section{Opções e mais exemplos}
  117 +
  118 + \begin{frame}{Beamer, \alert{Giraldo} e variantes}
  119 + Exemplos de uso do \texttt{Beamer} e do tema \texttt{Giraldo}
  120 + \end{frame}
120 121 \end{document}
121 122 \ No newline at end of file
... ...
texmf/tex/latex/beamer/themes/color/beamercolorthemeGiraldo.sty
... ... @@ -66,7 +66,10 @@
66 66 \setbeamercolor*{block body}{bg=normal text.bg!90!black}
67 67 \setbeamercolor*{block body alerted}{bg=normal text.bg!90!black}
68 68 \setbeamercolor*{block title}{parent=structure,bg=ue-red,fg=white}
69   -\setbeamercolor*{block title alerted}{use={normal text,alerted text},fg=alerted text.fg!75!normal text.fg,bg=normal text.bg!75!black}
  69 +\setbeamercolor*{block title alerted}{
  70 + use={normal text,alerted text},
  71 + fg=alerted text.fg!75!normal text.fg,
  72 + bg=normal text.bg!75!black}
70 73 %
71 74 %
72 75 % Examples
... ...
texmf/tex/latex/beamer/themes/inner/beamerinnerthemeGiraldo.sty
... ... @@ -8,440 +8,429 @@
8 8  
9 9 \mode<presentation>
10 10  
11   -% Some images:
12   -
13   -\pgfdeclareimage[width=14pt,height=12pt]{beamericonbook}{beamericonbook}
14   -\pgfdeclareimage[width=14pt,height=12pt]{beamericonbookshaded}{beamericonbook.20}
15   -\pgfaliasimage{beamericonbook.!20opaque}{beamericonbookshaded}
16   -\pgfaliasimage{beamericonbook.!15opaque}{beamericonbookshaded}
17   -\pgfaliasimage{beamericonbook.!10opaque}{beamericonbookshaded}
18   -\pgfaliasimage{beamericonbook.!5opaque}{beamericonbookshaded}
19   -\pgfaliasimage{beamericonbook.!2opaque}{beamericonbookshaded}
20   -\pgfdeclareimage[width=11pt,height=14pt]{beamericonarticle}{beamericonarticle}
21   -\pgfdeclareimage[width=11pt,height=14pt]{beamericonarticleshaded}{beamericonarticle.20}
22   -\pgfaliasimage{beamericonarticle.!20opaque}{beamericonarticleshaded}
23   -\pgfaliasimage{beamericonarticle.!15opaque}{beamericonarticleshaded}
24   -\pgfaliasimage{beamericonarticle.!10opaque}{beamericonarticleshaded}
25   -\pgfaliasimage{beamericonarticle.!5opaque}{beamericonarticleshaded}
26   -\pgfaliasimage{beamericonarticle.!2opaque}{beamericonarticleshaded}
27   -\pgfdeclareimage[width=14pt,height=14pt]{beamericononline}{beamericononline}
28   -\pgfdeclareimage[width=14pt,height=14pt]{beamericononlineshaded}{beamericononline.20}
29   -\pgfaliasimage{beamericononline.!20opaque}{beamericononlineshaded}
30   -\pgfaliasimage{beamericononline.!15opaque}{beamericononlineshaded}
31   -\pgfaliasimage{beamericononline.!10opaque}{beamericononlineshaded}
32   -\pgfaliasimage{beamericononline.!5opaque}{beamericononlineshaded}
33   -\pgfaliasimage{beamericononline.!2opaque}{beamericononlineshaded}
34   -
35   -% Title page: default
36   -
37   -\defbeamertemplate*{title page}{default}[1][]
38   -{
39   - \vbox{}
40   - \vfill
41   - \begingroup
42   - \centering
43   - \begin{beamercolorbox}[sep=8pt,center,#1]{title}
44   - \usebeamerfont{title}\inserttitle\par%
45   - \ifx\insertsubtitle\@empty%
46   - \else%
47   - \vskip0.25em%
48   - {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
49   - \fi%
50   - \end{beamercolorbox}%
51   - \vskip1em\par
52   - \begin{beamercolorbox}[sep=8pt,center,#1]{author}
53   - \usebeamerfont{author}\insertauthor
54   - \end{beamercolorbox}
55   - \begin{beamercolorbox}[sep=8pt,center,#1]{institute}
56   - \usebeamerfont{institute}\insertinstitute
57   - \end{beamercolorbox}
58   - \begin{beamercolorbox}[sep=8pt,center,#1]{date}
59   - \usebeamerfont{date}\insertdate
60   - \end{beamercolorbox}\vskip0.5em
61   - {\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
62   - \endgroup
63   - \vfill
64   -}
65   -
66   -
67   -% Part page: default
68   -
69   -\defbeamertemplate*{part page}{default}[1][]
70   -{
71   - \begingroup
72   - \centering
73   - {\usebeamerfont{part name}\usebeamercolor[fg]{part name}\partname~\insertromanpartnumber}
74   - \vskip1em\par
75   - \begin{beamercolorbox}[sep=16pt,center,#1]{part title}
76   - \usebeamerfont{part title}\insertpart\par
77   - \end{beamercolorbox}
78   - \endgroup
79   -}
80   -
81   -
82   -% Section page: default
83   -
84   -\defbeamertemplate*{section page}{default}[1][]
85   -{
86   - \begingroup
87   - \setbeamertemplate{footline}[]
88   - \setbeamercolor{background canvas}{bg=ue-red}
89   - \logo{\pgfputat{\pgfxy(-1.2,8)}{\pgfbox[center,base]{\pgfuseimage{university-logo-inverted}}}}
90   - \centering
91   - {\usebeamerfont{section name}\usebeamercolor[fg]{section name}\sectionname~\insertsectionnumber}
92   - \vskip1em\par
93   - \begin{beamercolorbox}[sep=12pt,center,#1]{part title}
94   - \usebeamerfont{section title}\insertsection\par
95   - \end{beamercolorbox}
96   - \endgroup
97   -}
98   -
99   -% Subsection page: default
100   -
101   -\defbeamertemplate*{subsection page}{default}[1][]
102   -{
103   - \begingroup
104   - \centering
105   - {\usebeamerfont{subsection name}\usebeamercolor[fg]{subsection name}\subsectionname~\insertsubsectionnumber}
106   - \vskip1em\par
107   - \begin{beamercolorbox}[sep=8pt,center,#1]{part title}
108   - \usebeamerfont{subsection title}\insertsubsection\par
109   - \end{beamercolorbox}
110   - \endgroup
111   -}
  11 +% % Some images:
  12 +
  13 +% \pgfdeclareimage[width=14pt,height=12pt]{beamericonbook}{beamericonbook}
  14 +% \pgfdeclareimage[width=14pt,height=12pt]{beamericonbookshaded}{beamericonbook.20}
  15 +% \pgfaliasimage{beamericonbook.!20opaque}{beamericonbookshaded}
  16 +% \pgfaliasimage{beamericonbook.!15opaque}{beamericonbookshaded}
  17 +% \pgfaliasimage{beamericonbook.!10opaque}{beamericonbookshaded}
  18 +% \pgfaliasimage{beamericonbook.!5opaque}{beamericonbookshaded}
  19 +% \pgfaliasimage{beamericonbook.!2opaque}{beamericonbookshaded}
  20 +% \pgfdeclareimage[width=11pt,height=14pt]{beamericonarticle}{beamericonarticle}
  21 +% \pgfdeclareimage[width=11pt,height=14pt]{beamericonarticleshaded}{beamericonarticle.20}
  22 +% \pgfaliasimage{beamericonarticle.!20opaque}{beamericonarticleshaded}
  23 +% \pgfaliasimage{beamericonarticle.!15opaque}{beamericonarticleshaded}
  24 +% \pgfaliasimage{beamericonarticle.!10opaque}{beamericonarticleshaded}
  25 +% \pgfaliasimage{beamericonarticle.!5opaque}{beamericonarticleshaded}
  26 +% \pgfaliasimage{beamericonarticle.!2opaque}{beamericonarticleshaded}
  27 +% \pgfdeclareimage[width=14pt,height=14pt]{beamericononline}{beamericononline}
  28 +% \pgfdeclareimage[width=14pt,height=14pt]{beamericononlineshaded}{beamericononline.20}
  29 +% \pgfaliasimage{beamericononline.!20opaque}{beamericononlineshaded}
  30 +% \pgfaliasimage{beamericononline.!15opaque}{beamericononlineshaded}
  31 +% \pgfaliasimage{beamericononline.!10opaque}{beamericononlineshaded}
  32 +% \pgfaliasimage{beamericononline.!5opaque}{beamericononlineshaded}
  33 +% \pgfaliasimage{beamericononline.!2opaque}{beamericononlineshaded}
  34 +
  35 +% % Title page: default
  36 +
  37 +% \defbeamertemplate*{title page}{default}[1][]
  38 +% {
  39 +% \vbox{}
  40 +% \vfill
  41 +% \begingroup
  42 +% \centering
  43 +% \begin{beamercolorbox}[sep=8pt,center,#1]{title}
  44 +% \usebeamerfont{title}\inserttitle\par%
  45 +% \ifx\insertsubtitle\@empty%
  46 +% \else%
  47 +% \vskip0.25em%
  48 +% {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
  49 +% \fi%
  50 +% \end{beamercolorbox}%
  51 +% \vskip1em\par
  52 +% \begin{beamercolorbox}[sep=8pt,center,#1]{author}
  53 +% \usebeamerfont{author}\insertauthor
  54 +% \end{beamercolorbox}
  55 +% \begin{beamercolorbox}[sep=8pt,center,#1]{institute}
  56 +% \usebeamerfont{institute}\insertinstitute
  57 +% \end{beamercolorbox}
  58 +% \begin{beamercolorbox}[sep=8pt,center,#1]{date}
  59 +% \usebeamerfont{date}\insertdate
  60 +% \end{beamercolorbox}\vskip0.5em
  61 +% {\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
  62 +% \endgroup
  63 +% \vfill
  64 +% }
  65 +
  66 +
  67 +% % Part page: default
  68 +
  69 +% \defbeamertemplate*{part page}{default}[1][]
  70 +% {
  71 +% \begingroup
  72 +% \centering
  73 +% {\usebeamerfont{part name}\usebeamercolor[fg]{part name}\partname~\insertromanpartnumber}
  74 +% \vskip1em\par
  75 +% \begin{beamercolorbox}[sep=16pt,center,#1]{part title}
  76 +% \usebeamerfont{part title}\insertpart\par
  77 +% \end{beamercolorbox}
  78 +% \endgroup
  79 +% }
112 80  
113 81  
  82 +% % Section page: default
114 83  
  84 +% \defbeamertemplate*{section page}{default}[1][]
  85 +% {
  86 +% \begingroup
  87 +% \setbeamertemplate{footline}[]
  88 +% \setbeamercolor{background canvas}{bg=ue-red}
  89 +% \logo{\pgfputat{\pgfxy(-1.2,8)}{\pgfbox[center,base]{\pgfuseimage{university-logo-inverted}}}}
  90 +% \centering
  91 +% {\usebeamerfont{section name}\usebeamercolor[fg]{section name}\sectionname~\insertsectionnumber}
  92 +% \vskip1em\par
  93 +% \begin{beamercolorbox}[sep=12pt,center,#1]{part title}
  94 +% \usebeamerfont{section title}\insertsection\par
  95 +% \end{beamercolorbox}
  96 +% \endgroup
  97 +% }
115 98  
116   -%
117   -% Table of contents
118   -%
119   -
120   -\defbeamertemplateparent{sections/subsections in toc}{section in toc,subsection in toc,subsubsection in toc}
121   -{}
122   -
123   -\defbeamertemplateparent{sections/subsections in toc shaded}{section in toc shaded,subsection in toc shaded,subsubsection in toc shaded}[1][20]
124   -{[#1]}
  99 +% % Subsection page: default
125 100  
  101 +% \defbeamertemplate*{subsection page}{default}[1][]
  102 +% {
  103 +% \begingroup
  104 +% \centering
  105 +% {\usebeamerfont{subsection name}\usebeamercolor[fg]{subsection name}\subsectionname~\insertsubsectionnumber}
  106 +% \vskip1em\par
  107 +% \begin{beamercolorbox}[sep=8pt,center,#1]{part title}
  108 +% \usebeamerfont{subsection title}\insertsubsection\par
  109 +% \end{beamercolorbox}
  110 +% \endgroup
  111 +% }
126 112  
127 113  
128 114  
129   -% (sub-)section in toc: default
130 115  
131   -\defbeamertemplate*{section in toc}{default}
132   -{\inserttocsection\par}
  116 +% %
  117 +% % Table of contents
  118 +% %
133 119  
134   -\defbeamertemplate*{subsection in toc}{default}
135   -{\leavevmode\leftskip=1.5em\inserttocsubsection\par}
  120 +% \defbeamertemplateparent{sections/subsections in toc}{section in toc,subsection in toc,subsubsection in toc}
  121 +% {}
136 122  
137   -\defbeamertemplate*{subsubsection in toc}{default}
138   -{\leavevmode\normalsize\usebeamerfont{subsection in toc}\leftskip=3em%
139   - \usebeamerfont{subsubsection in toc}\inserttocsubsubsection\par}
  123 +% \defbeamertemplateparent{sections/subsections in toc shaded}{section in toc shaded,subsection in toc shaded,subsubsection in toc shaded}[1][20]
  124 +% {[#1]}
140 125  
141 126  
142   -% (sub-)section in toc shaded, default
143 127  
144   -\defbeamertemplate*{section in toc shaded}{default}[1][20]
145   -{\begin{colormixin}{#1!parent.bg}\usebeamertemplate{section in toc}\end{colormixin}\unskip}
146 128  
147   -\defbeamertemplate*{subsection in toc shaded}{default}[1][20]
148   -{\begin{colormixin}{#1!parent.bg}\usebeamertemplate{subsection in toc}\end{colormixin}\unskip}
  129 +% % (sub-)section in toc: default
149 130  
150   -\defbeamertemplate*{subsubsection in toc shaded}{default}[1][20]
151   -{\begin{colormixin}{#1!parent.bg}\usebeamertemplate{subsubsection in toc}\end{colormixin}\unskip}
  131 +% \defbeamertemplate*{section in toc}{default}
  132 +% {\inserttocsection\par}
152 133  
  134 +% \defbeamertemplate*{subsection in toc}{default}
  135 +% {\leavevmode\leftskip=1.5em\inserttocsubsection\par}
153 136  
  137 +% \defbeamertemplate*{subsubsection in toc}{default}
  138 +% {\leavevmode\normalsize\usebeamerfont{subsection in toc}\leftskip=3em%
  139 +% \usebeamerfont{subsubsection in toc}\inserttocsubsubsection\par}
154 140  
155 141  
  142 +% % (sub-)section in toc shaded, default
156 143  
157   -%
158   -% Item
159   -%
  144 +% \defbeamertemplate*{section in toc shaded}{default}[1][20]
  145 +% {\begin{colormixin}{#1!parent.bg}\usebeamertemplate{section in toc}\end{colormixin}\unskip}
160 146  
161   -\defbeamertemplateparent{items}{itemize items,enumerate items}
162   -{}
  147 +% \defbeamertemplate*{subsection in toc shaded}{default}[1][20]
  148 +% {\begin{colormixin}{#1!parent.bg}\usebeamertemplate{subsection in toc}\end{colormixin}\unskip}
163 149  
  150 +% \defbeamertemplate*{subsubsection in toc shaded}{default}[1][20]
  151 +% {\begin{colormixin}{#1!parent.bg}\usebeamertemplate{subsubsection in toc}\end{colormixin}\unskip}
164 152  
165   -% Itemize items
166 153  
167   -\defbeamertemplateparent{itemize items}{itemize item,itemize subitem,itemize subsubitem}
168   -{}
169 154  
170 155  
171   -% Itemize items, default
172 156  
173   -\defbeamertemplate*{itemize item}{default}{\scriptsize\raise1.25pt\hbox{\donotcoloroutermaths$\blacktriangleright$}}
174   -\defbeamertemplate*{itemize subitem}{default}{\tiny\raise1.5pt\hbox{\donotcoloroutermaths$\blacktriangleright$}}
175   -\defbeamertemplate*{itemize subsubitem}{default}{\tiny\raise1.5pt\hbox{\donotcoloroutermaths$\blacktriangleright$}}
  157 +% %
  158 +% % Item
  159 +% %
176 160  
  161 +% \defbeamertemplateparent{items}{itemize items,enumerate items}
  162 +% {}
177 163  
178   -% Enumerate items, default
179 164  
180   -\defbeamertemplateparent{enumerate items}{enumerate item,enumerate subitem,enumerate subsubitem,enumerate mini}
181   -{}
  165 +% % Itemize items
182 166  
183   -\defbeamertemplate*{enumerate item}{default}{\insertenumlabel.}
184   -\defbeamertemplate*{enumerate subitem}{default}{\insertenumlabel.\insertsubenumlabel}
185   -\defbeamertemplate*{enumerate subsubitem}{default}{\insertenumlabel.\insertsubenumlabel.\insertsubsubenumlabel}
186   -\defbeamertemplate*{enumerate mini template}{default}{\insertenumlabel}
  167 +% \defbeamertemplateparent{itemize items}{itemize item,itemize subitem,itemize subsubitem}
  168 +% {}
187 169  
188 170  
189   -% Description item width
  171 +% % Itemize items, default
190 172  
191   -\defbeamertemplate*{description item}{default}{\insertdescriptionitem}
  173 +% \defbeamertemplate*{itemize item}{default}{\scriptsize\raise1.25pt\hbox{\donotcoloroutermaths$\blacktriangleright$}}
  174 +% \defbeamertemplate*{itemize subitem}{default}{\tiny\raise1.5pt\hbox{\donotcoloroutermaths$\blacktriangleright$}}
  175 +% \defbeamertemplate*{itemize subsubitem}{default}{\tiny\raise1.5pt\hbox{\donotcoloroutermaths$\blacktriangleright$}}
192 176  
193 177  
  178 +% % Enumerate items, default
194 179  
195   -% Itemize/Enumerate body
  180 +% \defbeamertemplateparent{enumerate items}{enumerate item,enumerate subitem,enumerate subsubitem,enumerate mini}
  181 +% {}
196 182  
197   -\defbeamertemplate*{itemize/enumerate body begin}{default}{}
198   -\defbeamertemplate*{itemize/enumerate body end}{default}{}
  183 +% \defbeamertemplate*{enumerate item}{default}{\insertenumlabel.}
  184 +% \defbeamertemplate*{enumerate subitem}{default}{\insertenumlabel.\insertsubenumlabel}
  185 +% \defbeamertemplate*{enumerate subsubitem}{default}{\insertenumlabel.\insertsubenumlabel.\insertsubsubenumlabel}
  186 +% \defbeamertemplate*{enumerate mini template}{default}{\insertenumlabel}
199 187  
200   -\defbeamertemplate*{itemize/enumerate subbody begin}{default}{}
201   -\defbeamertemplate*{itemize/enumerate subbody end}{default}{}
202 188  
203   -\defbeamertemplate*{itemize/enumerate subsubbody begin}{default}{}
204   -\defbeamertemplate*{itemize/enumerate subsubbody end}{default}{}
  189 +% % Description item width
205 190  
  191 +% \defbeamertemplate*{description item}{default}{\insertdescriptionitem}
206 192  
207 193  
208   -% Alerted text
209 194  
210   -\defbeamertemplate*{alerted text begin}{default}{\setbeamercolor{local structure}{parent=alerted text}}
  195 +% % Itemize/Enumerate body
211 196  
  197 +% \defbeamertemplate*{itemize/enumerate body begin}{default}{}
  198 +% \defbeamertemplate*{itemize/enumerate body end}{default}{}
212 199  
  200 +% \defbeamertemplate*{itemize/enumerate subbody begin}{default}{}
  201 +% \defbeamertemplate*{itemize/enumerate subbody end}{default}{}
213 202  
214   -% Structured text
  203 +% \defbeamertemplate*{itemize/enumerate subsubbody begin}{default}{}
  204 +% \defbeamertemplate*{itemize/enumerate subsubbody end}{default}{}
215 205  
216   -% empyt defaults
217 206  
218 207  
219   -% Bibliography items
  208 +% % Alerted text
220 209  
221   -\defbeamertemplate*{bibliography item}{default}
222   -{\lower3.5pt\hbox{\hskip2pt\pgfuseimage{beamericonarticle}\hskip1pt}}
  210 +% \defbeamertemplate*{alerted text begin}{default}{\setbeamercolor{local structure}{parent=alerted text}}
223 211  
224   -\defbeamertemplate*{bibliography entry article}{default}{}
225   -\defbeamertemplate*{bibliography entry title}{default}{\par}
226   -\defbeamertemplate*{bibliography entry location}{default}{\par}
227   -\defbeamertemplate*{bibliography entry note}{default}{\par}
228 212  
229 213  
230   -% Buttons
  214 +% % Structured text
231 215  
232   -\newdimen\beamer@dima%
233   -\newdimen\beamer@dimb%
  216 +% % empyt defaults
234 217  
235   -\defbeamertemplate*{button}{default}
236   -{%
237   - \setbox\beamer@tempbox=\hbox{{\insertbuttontext}}%
238   - \ht\beamer@tempbox=6pt%
239   - \dp\beamer@tempbox=0pt%
240   - \setbox\beamer@tempbox=\vbox{\box\beamer@tempbox\vskip2pt}%
241   - \beamer@tempdim=\wd\beamer@tempbox%
242   - \beamer@dima=\beamer@tempdim\advance\beamer@dima by2.2pt
243   - \beamer@dimb=\beamer@tempdim\advance\beamer@dimb by4pt
244   - \begin{pgfpicture}{-4pt}{0pt}{\the\beamer@tempdim}{8pt}
245   - \color{bg}
246   - \pgfsetlinewidth{0.8pt}
247   - \pgfpathqmoveto{0pt}{0pt}
248   - \pgfpathqcurveto{-2.2pt}{0pt}{-4pt}{1.8pt}{-4pt}{4pt}
249   - \pgfpathqcurveto{-4pt}{6.2pt}{-2.2pt}{8pt}{0pt}{8pt}
250   - \pgfpathlineto{\pgfpoint{\the\beamer@tempdim}{8pt}}
251   - \pgfpathcurveto%
252   - {\pgfpoint{\the\beamer@dima}{8pt}}%
253   - {\pgfpoint{\the\beamer@dimb}{6.2pt}}%
254   - {\pgfpoint{\the\beamer@dimb}{4pt}}
255   - \pgfpathcurveto%
256   - {\pgfpoint{\the\beamer@dimb}{1.8pt}}%
257   - {\pgfpoint{\the\beamer@dima}{0pt}}%
258   - {\pgfpoint{\the\beamer@tempdim}{0pt}}
259   - \pgfpathclose
260   - \pgfusepathqfill
261   - \colorlet{bg}{parent.bg}
262   - \usebeamercolor[fg]{button border}
263   - \pgfpathqmoveto{0pt}{0pt}
264   - \pgfpathqcurveto{-2.2pt}{0pt}{-4pt}{1.8pt}{-4pt}{4pt}
265   - \pgfpathqcurveto{-4pt}{6.2pt}{-2.2pt}{8pt}{0pt}{8pt}
266   - \pgfpathlineto{\pgfpoint{\the\beamer@tempdim}{8pt}}
267   - \pgfpathcurveto%
268   - {\pgfpoint{\the\beamer@dima}{8pt}}%
269   - {\pgfpoint{\the\beamer@dimb}{6.2pt}}%
270   - {\pgfpoint{\the\beamer@dimb}{4pt}}
271   - \pgfpathcurveto%
272   - {\pgfpoint{\the\beamer@dimb}{1.8pt}}%
273   - {\pgfpoint{\the\beamer@dima}{0pt}}%
274   - {\pgfpoint{\the\beamer@tempdim}{0pt}}
275   - \pgfpathclose
276   - \pgfusepathqstroke
277   - \end{pgfpicture}%
278   - \hskip-\beamer@tempdim%
279   - \box\beamer@tempbox%
280   - \kern4pt%
281   -}
282 218  
  219 +% % Bibliography items
283 220  
284   -% Abstract
  221 +% \defbeamertemplate*{bibliography item}{default}
  222 +% {\lower3.5pt\hbox{\hskip2pt\pgfuseimage{beamericonarticle}\hskip1pt}}
285 223  
286   -\defbeamertemplate*{abstract title}{default}
287   -{%
288   - \begin{center}%
289   - \abstractname
290   - \end{center}%
291   -}
  224 +% \defbeamertemplate*{bibliography entry article}{default}{}
  225 +% \defbeamertemplate*{bibliography entry title}{default}{\par}
  226 +% \defbeamertemplate*{bibliography entry location}{default}{\par}
  227 +% \defbeamertemplate*{bibliography entry note}{default}{\par}
292 228  
293   -\defbeamertemplate*{abstract begin}{default}
294   -{\beamercolorbox[vmode]{abstract}\leftskip2em\rightskip2em plus 1fill\usebeamerfont*{abstract}}
295   -
296   -\defbeamertemplate*{abstract end}{default}
297   -{\medskip\endbeamercolorbox}
298   -
299   -
300   -% Verse
301   -
302   -\defbeamertemplate*{verse begin}{default}
303   -{\beamercolorbox[vmode]{verse}}
304   -
305   -\defbeamertemplate*{verse end}{default}
306   -{\endbeamercolorbox}
307   -
308   -
309   -% Quotation
310   -
311   -\defbeamertemplate*{quotation begin}{default}
312   -{\beamercolorbox[vmode]{quotation}}
313   -
314   -\defbeamertemplate*{quotation end}{default}
315   -{\endbeamercolorbox}
316   -
317   -
318   -% Quote
319   -
320   -\defbeamertemplate*{quote begin}{default}
321   -{\beamercolorbox[vmode]{quote}}
322   -
323   -\defbeamertemplate*{quote end}{default}
324   -{\endbeamercolorbox}
325   -
326   -
327   -% Footnotes
328   -
329   -\defbeamertemplate*{footnote}{default}
330   -{
331   - \parindent 1em\noindent%
332   - \raggedright
333   - \hbox to 1.8em{\hfil\insertfootnotemark}\insertfootnotetext\par%
334   -}
335   -
336   -
337   -% Captions
338   -
339   -\defbeamertemplate*{caption}{default}
340   -{%
341   - \raggedright
342   - {%
343   - \usebeamercolor[fg]{caption name}%
344   - \usebeamerfont*{caption name}%
345   - \insertcaptionname
346   - \usebeamertemplate{caption label separator}%
347   - }%
348   - \insertcaption\par
349   -}
350   -\defbeamertemplate*{caption label separator}{default}{: }
351   -
352   -% Blocks
353   -
354   -\defbeamertemplateparent{blocks}{block begin,block end,%
355   - block alerted begin,block alerted end,%
356   - block example begin,block example end}
357   -{}
358   -
359   -\defbeamertemplate*{block begin}{default}
360   -{
361   - \par\vskip\medskipamount%
362   - \begin{beamercolorbox}[colsep*=.75ex]{block title}
363   - \usebeamerfont*{block title}\insertblocktitle%
364   - \end{beamercolorbox}%
365   - {\parskip0pt\par}%
366   - \ifbeamercolorempty[bg]{block title}
367   - {}
368   - {\ifbeamercolorempty[bg]{block body}{}{\nointerlineskip\vskip-0.5pt}}%
369   - \usebeamerfont{block body}%
370   - \begin{beamercolorbox}[colsep*=.75ex,vmode]{block body}%
371   - \ifbeamercolorempty[bg]{block body}{\vskip-.25ex}{\vskip-.75ex}\vbox{}%
372   -}
373   -\defbeamertemplate*{block end}{default}
374   -{\end{beamercolorbox}\vskip\smallskipamount}
375 229  
376   -\defbeamertemplate*{block alerted begin}{default}
377   -{
378   - \par\vskip\medskipamount%
379   - \begin{beamercolorbox}[colsep*=.75ex]{block title alerted}
380   - \usebeamerfont*{block title alerted}\insertblocktitle%
381   - \end{beamercolorbox}%
382   - {\parskip0pt\par}%
383   - \ifbeamercolorempty[bg]{block title alerted}
384   - {}
385   - {\ifbeamercolorempty[bg]{block body alerted}{}{\nointerlineskip\vskip-0.5pt}}%
386   - \usebeamerfont{block body alerted}%
387   - \begin{beamercolorbox}[colsep*=.75ex,vmode]{block body alerted}%
388   - \ifbeamercolorempty[bg]{block body alerted}{\vskip-.25ex}{\vskip-.75ex}\vbox{}%
389   -}
  230 +% % Buttons
390 231  
391   -\defbeamertemplate*{block alerted end}{default}
392   -{\end{beamercolorbox}\vskip\smallskipamount}
  232 +% \newdimen\beamer@dima%
  233 +% \newdimen\beamer@dimb%
393 234  
  235 +% \defbeamertemplate*{button}{default}
  236 +% {%
  237 +% \setbox\beamer@tempbox=\hbox{{\insertbuttontext}}%
  238 +% \ht\beamer@tempbox=6pt%
  239 +% \dp\beamer@tempbox=0pt%
  240 +% \setbox\beamer@tempbox=\vbox{\box\beamer@tempbox\vskip2pt}%
  241 +% \beamer@tempdim=\wd\beamer@tempbox%
  242 +% \beamer@dima=\beamer@tempdim\advance\beamer@dima by2.2pt
  243 +% \beamer@dimb=\beamer@tempdim\advance\beamer@dimb by4pt
  244 +% \begin{pgfpicture}{-4pt}{0pt}{\the\beamer@tempdim}{8pt}
  245 +% \color{bg}
  246 +% \pgfsetlinewidth{0.8pt}
  247 +% \pgfpathqmoveto{0pt}{0pt}
  248 +% \pgfpathqcurveto{-2.2pt}{0pt}{-4pt}{1.8pt}{-4pt}{4pt}
  249 +% \pgfpathqcurveto{-4pt}{6.2pt}{-2.2pt}{8pt}{0pt}{8pt}
  250 +% \pgfpathlineto{\pgfpoint{\the\beamer@tempdim}{8pt}}
  251 +% \pgfpathcurveto%
  252 +% {\pgfpoint{\the\beamer@dima}{8pt}}%
  253 +% {\pgfpoint{\the\beamer@dimb}{6.2pt}}%
  254 +% {\pgfpoint{\the\beamer@dimb}{4pt}}
  255 +% \pgfpathcurveto%
  256 +% {\pgfpoint{\the\beamer@dimb}{1.8pt}}%
  257 +% {\pgfpoint{\the\beamer@dima}{0pt}}%
  258 +% {\pgfpoint{\the\beamer@tempdim}{0pt}}
  259 +% \pgfpathclose
  260 +% \pgfusepathqfill
  261 +% \colorlet{bg}{parent.bg}
  262 +% \usebeamercolor[fg]{button border}
  263 +% \pgfpathqmoveto{0pt}{0pt}
  264 +% \pgfpathqcurveto{-2.2pt}{0pt}{-4pt}{1.8pt}{-4pt}{4pt}
  265 +% \pgfpathqcurveto{-4pt}{6.2pt}{-2.2pt}{8pt}{0pt}{8pt}
  266 +% \pgfpathlineto{\pgfpoint{\the\beamer@tempdim}{8pt}}
  267 +% \pgfpathcurveto%
  268 +% {\pgfpoint{\the\beamer@dima}{8pt}}%
  269 +% {\pgfpoint{\the\beamer@dimb}{6.2pt}}%
  270 +% {\pgfpoint{\the\beamer@dimb}{4pt}}
  271 +% \pgfpathcurveto%
  272 +% {\pgfpoint{\the\beamer@dimb}{1.8pt}}%
  273 +% {\pgfpoint{\the\beamer@dima}{0pt}}%
  274 +% {\pgfpoint{\the\beamer@tempdim}{0pt}}
  275 +% \pgfpathclose
  276 +% \pgfusepathqstroke
  277 +% \end{pgfpicture}%
  278 +% \hskip-\beamer@tempdim%
  279 +% \box\beamer@tempbox%
  280 +% \kern4pt%
  281 +% }
394 282  
395   -\defbeamertemplate*{block example begin}{default}
396   -{
397   - \par\vskip\medskipamount%
398   - \begin{beamercolorbox}[colsep*=.75ex]{block title example}
399   - \usebeamerfont*{block title example}\insertblocktitle%
400   - \end{beamercolorbox}%
401   - {\parskip0pt\par}%
402   - \ifbeamercolorempty[bg]{block title example}
403   - {}
404   - {\ifbeamercolorempty[bg]{block body example}{}{\nointerlineskip\vskip-0.5pt}}%
405   - \usebeamerfont{block body example}%
406   - \begin{beamercolorbox}[colsep*=.75ex,vmode]{block body example}%
407   - \ifbeamercolorempty[bg]{block body example}{\vskip-.25ex}{\vskip-.75ex}\vbox{}%
408   -}
409   -\defbeamertemplate*{block example end}{default}
410   -{\end{beamercolorbox}\vskip\smallskipamount}
411 283  
  284 +% % Abstract
412 285  
  286 +% \defbeamertemplate*{abstract title}{default}
  287 +% {%
  288 +% \begin{center}%
  289 +% \abstractname
  290 +% \end{center}%
  291 +% }
413 292  
  293 +% \defbeamertemplate*{abstract begin}{default}
  294 +% {\beamercolorbox[vmode]{abstract}\leftskip2em\rightskip2em plus 1fill\usebeamerfont*{abstract}}
414 295  
415   -% Theorems
416   -
417   -\defbeamertemplateparent{theorems}{theorem begin,theorem end}
418   -{}
419   -
420   -\defbeamertemplate*{theorem begin}{default}
421   -{%
422   - \begin{\inserttheoremblockenv}
423   - {%
424   - \inserttheoremname
425   - \ifx\inserttheoremaddition\@empty\else\ (\inserttheoremaddition)\fi%
426   - }%
427   -}
428   -
429   -\defbeamertemplate*{theorem end}{default}
430   -{\end{\inserttheoremblockenv}}
431   -
432   -
433   -% Proofs
434   -\defbeamertemplate*{proof begin}{default}
435   -{\begin{block}{\insertproofname}}
436   -
437   -\defbeamertemplate*{proof end}{default}
438   -{\end{block}}
439   -
440   -\defbeamertemplate*{qed symbol}{default}
441   -{\openbox}
  296 +% \defbeamertemplate*{abstract end}{default}
  297 +% {\medskip\endbeamercolorbox}
442 298  
443 299  
  300 +% % Verse
444 301  
  302 +% \defbeamertemplate*{verse begin}{default}
  303 +% {\beamercolorbox[vmode]{verse}}
445 304  
  305 +% \defbeamertemplate*{verse end}{default}
  306 +% {\endbeamercolorbox}
  307 +%
  308 +% % Quotation
  309 +%
  310 +% \defbeamertemplate*{quotation begin}{default}
  311 +% {\beamercolorbox[vmode]{quotation}}
  312 +%
  313 +% \defbeamertemplate*{quotation end}{default}
  314 +% {\endbeamercolorbox}
  315 +%
  316 +% % Quote
  317 +%
  318 +% \defbeamertemplate*{quote begin}{default}
  319 +% {\beamercolorbox[vmode]{quote}}
  320 +%
  321 +% \defbeamertemplate*{quote end}{default}
  322 +% {\endbeamercolorbox}
  323 +%
  324 +% % Footnotes
  325 +%
  326 +% \defbeamertemplate*{footnote}{default}
  327 +% {
  328 +% \parindent 1em\noindent%
  329 +% \raggedright
  330 +% \hbox to 1.8em{\hfil\insertfootnotemark}\insertfootnotetext\par%
  331 +% }
  332 +%
  333 +% % Captions
  334 +%
  335 +% \defbeamertemplate*{caption}{default}
  336 +% {%
  337 +% \raggedright
  338 +% {%
  339 +% \usebeamercolor[fg]{caption name}%
  340 +% \usebeamerfont*{caption name}%
  341 +% \insertcaptionname
  342 +% \usebeamertemplate{caption label separator}%
  343 +% }%
  344 +% \insertcaption\par
  345 +% }
  346 +% \defbeamertemplate*{caption label separator}{default}{: }
  347 +%
  348 +% % Blocks
  349 +%
  350 +% \defbeamertemplateparent{blocks}{block begin,block end,%
  351 +% block alerted begin,block alerted end,%
  352 +% block example begin,block example end}
  353 +% {}
  354 +%
  355 +% \defbeamertemplate*{block begin}{default}
  356 +% {
  357 +% \par\vskip\medskipamount%
  358 +% \begin{beamercolorbox}[colsep*=.75ex]{block title}
  359 +% \usebeamerfont*{block title}\insertblocktitle%
  360 +% \end{beamercolorbox}%
  361 +% {\parskip0pt\par}%
  362 +% \ifbeamercolorempty[bg]{block title}
  363 +% {}
  364 +% {\ifbeamercolorempty[bg]{block body}{}{\nointerlineskip\vskip-0.5pt}}%
  365 +% \usebeamerfont{block body}%
  366 +% \begin{beamercolorbox}[colsep*=.75ex,vmode]{block body}%
  367 +% \ifbeamercolorempty[bg]{block body}{\vskip-.25ex}{\vskip-.75ex}\vbox{}%
  368 +% }
  369 +% \defbeamertemplate*{block end}{default}
  370 +% {\end{beamercolorbox}\vskip\smallskipamount}
  371 +%
  372 +% \defbeamertemplate*{block alerted begin}{default}
  373 +% {
  374 +% \par\vskip\medskipamount%
  375 +% \begin{beamercolorbox}[colsep*=.75ex]{block title alerted}
  376 +% \usebeamerfont*{block title alerted}\insertblocktitle%
  377 +% \end{beamercolorbox}%
  378 +% {\parskip0pt\par}%
  379 +% \ifbeamercolorempty[bg]{block title alerted}
  380 +% {}
  381 +% {\ifbeamercolorempty[bg]{block body alerted}{}{\nointerlineskip\vskip-0.5pt}}%
  382 +% \usebeamerfont{block body alerted}%
  383 +% \begin{beamercolorbox}[colsep*=.75ex,vmode]{block body alerted}%
  384 +% \ifbeamercolorempty[bg]{block body alerted}{\vskip-.25ex}{\vskip-.75ex}\vbox{}%
  385 +% }
  386 +%
  387 +% \defbeamertemplate*{block alerted end}{default}
  388 +% {\end{beamercolorbox}\vskip\smallskipamount}
  389 +%
  390 +% \defbeamertemplate*{block example begin}{default}
  391 +% {
  392 +% \par\vskip\medskipamount%
  393 +% \begin{beamercolorbox}[colsep*=.75ex]{block title example}
  394 +% \usebeamerfont*{block title example}\insertblocktitle%
  395 +% \end{beamercolorbox}%
  396 +% {\parskip0pt\par}%
  397 +% \ifbeamercolorempty[bg]{block title example}
  398 +% {}
  399 +% {\ifbeamercolorempty[bg]{block body example}{}{\nointerlineskip\vskip-0.5pt}}%
  400 +% \usebeamerfont{block body example}%
  401 +% \begin{beamercolorbox}[colsep*=.75ex,vmode]{block body example}%
  402 +% \ifbeamercolorempty[bg]{block body example}{\vskip-.25ex}{\vskip-.75ex}\vbox{}%
  403 +% }
  404 +% \defbeamertemplate*{block example end}{default}
  405 +% {\end{beamercolorbox}\vskip\smallskipamount}
  406 +%
  407 +% % Theorems
  408 +%
  409 +% \defbeamertemplateparent{theorems}{theorem begin,theorem end}
  410 +% {}
  411 +%
  412 +% \defbeamertemplate*{theorem begin}{default}
  413 +% {%
  414 +% \begin{\inserttheoremblockenv}
  415 +% {%
  416 +% \inserttheoremname
  417 +% \ifx\inserttheoremaddition\@empty\else\ (\inserttheoremaddition)\fi%
  418 +% }%
  419 +% }
  420 +%
  421 +% \defbeamertemplate*{theorem end}{default}
  422 +% {\end{\inserttheoremblockenv}}
  423 +%
  424 +% % Proofs
  425 +% \defbeamertemplate*{proof begin}{default}
  426 +% {\begin{block}{\insertproofname}}
  427 +%
  428 +% \defbeamertemplate*{proof end}{default}
  429 +% {\end{block}}
  430 +%
  431 +% \defbeamertemplate*{qed symbol}{default}
  432 +% {\openbox}
  433 +%
  434 +%
446 435 \mode
447 436 <all>
... ...
texmf/tex/latex/beamer/themes/theme/beamerthemeGiraldo.sty
... ... @@ -39,7 +39,7 @@
39 39  
40 40 \usecolortheme{Giraldo}
41 41 \usefonttheme{default}
42   -\useinnertheme{default}
  42 +\useinnertheme{Giraldo}
43 43 \useoutertheme{Giraldo}
44 44  
45 45 \setbeamertemplate{headline}{}
... ... @@ -49,4 +49,9 @@
49 49 \mode
50 50 <all>
51 51  
  52 +\languagepath{Portuguese}
  53 +\newtranslation[to=Portuguese]{Definition}{Defini\c{c}\~{a}o}
  54 +\newtranslation[to=Portuguese]{Example}{Exemplo}
  55 +\newtranslation[to=Portuguese]{Theorem}{Teorema}
  56 +\uselanguage{Portuguese}
52 57  
... ...