Commit 43dfde2769e57ffcb403462be07629c5174bf650
1 parent
0593d280
Exists in
master
completed alpha version
only one “taste” supported, **mine**. future versions might include highlight frame titles, sidebars, etc.
Showing
4 changed files
with
147 additions
and
135 deletions
Show diff stats
exemplos/simples.tex
... | ... | @@ -41,21 +41,7 @@ Escola de Ciências e Tecnologia |
41 | 41 | % |
42 | 42 | % Página de rosto |
43 | 43 | % |
44 | - \begin{frame} | |
45 | - \titlepage | |
46 | - \end{frame} | |
47 | - % | |
48 | - % | |
49 | - % Preâmbulo (sumário e notas preliminares) | |
50 | - % | |
51 | - \section*{Preâmbulo} | |
52 | - % | |
53 | - % | |
54 | - % Sumário (por exemplo, a tabela de conteúdos) | |
55 | - % | |
56 | - \begin{frame}{Sumário} | |
57 | - \tableofcontents | |
58 | - \end{frame} | |
44 | + \frame[plain]{\titlepage} | |
59 | 45 | % |
60 | 46 | % |
61 | 47 | % Primeira secção | ... | ... |
texmf/tex/latex/beamer/themes/color/beamercolorthemeGiraldo.sty
... | ... | @@ -5,21 +5,7 @@ |
5 | 5 | % 1. under the LaTeX Project Public License and/or |
6 | 6 | % 2. under the GNU Public License. |
7 | 7 | % |
8 | - | |
9 | - | |
10 | -% | |
11 | -% (fc:) Not sure what the next command does... | |
12 | -% | |
13 | -%\@ifundefined{beamer@cta@do}{}{\beamer@cta@do} | |
14 | -% | |
15 | -\newif\ifstrongtitles | |
16 | -\strongtitlesfalse | |
17 | -% | |
18 | -\DeclareOptionBeamer{strongtitles}[true]{\csname strongtitles#1\endcsname} | |
19 | -\ProcessOptionsBeamer | |
20 | - | |
21 | 8 | \mode<presentation> |
22 | - | |
23 | 9 | % |
24 | 10 | % |
25 | 11 | % Define UE colors |
... | ... | @@ -35,41 +21,23 @@ |
35 | 21 | \setbeamercolor*{normal text}{fg=black,bg=white} |
36 | 22 | \setbeamercolor{alerted text}{fg=ue-red,bg=white} |
37 | 23 | \setbeamercolor*{title}{fg=ue-red,bg=white} |
38 | -\ifstrongtitles | |
39 | - \setbeamercolor*{frametitle}{ | |
40 | - fg=white, | |
41 | - bg=ue-red | |
42 | - } | |
43 | -\else | |
44 | - \setbeamercolor*{frametitle}{ | |
45 | - fg=ue-red, | |
46 | - bg=white | |
47 | - } | |
48 | -\fi | |
49 | -% | |
50 | -% | |
51 | -% Frame constant elements | |
52 | -% | |
53 | - | |
54 | -% \setbeamercolor*{separation line}{} | |
55 | -% \setbeamercolor*{fine separation line}{} | |
56 | 24 | % |
57 | 25 | % |
58 | 26 | % Structures (lists, etc) |
59 | 27 | % |
60 | 28 | \setbeamercolor*{structure}{fg=ue-grey} |
61 | -%\setbeamercolor{item projected}{fg=black} | |
62 | 29 | % |
63 | 30 | % |
64 | 31 | % Frame block elements (theorems, etc) |
65 | 32 | % |
66 | 33 | \setbeamercolor*{block body}{bg=normal text.bg!90!black} |
67 | 34 | \setbeamercolor*{block body alerted}{bg=normal text.bg!90!black} |
68 | -\setbeamercolor*{block title}{parent=structure,bg=ue-red,fg=white} | |
35 | +\setbeamercolor*{block title}{parent=structure,fg=white,bg=ue-red} | |
69 | 36 | \setbeamercolor*{block title alerted}{ |
70 | 37 | use={normal text,alerted text}, |
71 | - fg=alerted text.fg!75!normal text.fg, | |
72 | - bg=normal text.bg!75!black} | |
38 | + fg=ue-g!75!normal text.fg, | |
39 | + bg=normal text.bg!75!black | |
40 | +} | |
73 | 41 | % |
74 | 42 | % |
75 | 43 | % Examples |
... | ... | @@ -100,8 +68,8 @@ |
100 | 68 | % |
101 | 69 | \setbeamercolor{palette tertiary}{ |
102 | 70 | use={structure,normal text}, |
103 | - fg=structure.fg, | |
104 | - bg=normal text.bg!45!black | |
71 | + fg=ue-grey, | |
72 | + bg=white | |
105 | 73 | } |
106 | 74 | % |
107 | 75 | \setbeamercolor{palette quaternary}{ |
... | ... | @@ -113,11 +81,26 @@ |
113 | 81 | % |
114 | 82 | % Sidebar stuff |
115 | 83 | % |
116 | -\setbeamercolor*{sidebar}{parent=palette primary} | |
117 | -\setbeamercolor{palette sidebar primary}{use=normal text,fg=normal text.fg} | |
118 | -\setbeamercolor{palette sidebar secondary}{use=structure,fg=structure.fg} | |
119 | -\setbeamercolor{palette sidebar tertiary}{use=normal text,fg=normal text.fg} | |
120 | -\setbeamercolor{palette sidebar quaternary}{use=structure,fg=structure.fg} | |
84 | +%\setbeamercolor*{sidebar}{parent=palette primary} | |
85 | +\setbeamercolor*{sidebar}{bg=ue-red,fg=black} | |
86 | +\setbeamercolor*{title in sidebar}{fg=white} | |
87 | +\setbeamercolor*{subsection in sidebar}{fg=white} | |
88 | +\setbeamercolor{palette sidebar primary}{ | |
89 | + use=normal text, | |
90 | + fg=normal text.fg | |
91 | +} | |
92 | +\setbeamercolor{palette sidebar secondary}{ | |
93 | + use=structure, | |
94 | + fg=white | |
95 | +} | |
96 | +\setbeamercolor{palette sidebar tertiary}{ | |
97 | + use=normal text, | |
98 | + fg=normal text.fg | |
99 | +} | |
100 | +\setbeamercolor{palette sidebar quaternary}{ | |
101 | + use=structure, | |
102 | + fg=structure.fg | |
103 | +} | |
121 | 104 | % |
122 | 105 | % |
123 | 106 | % | ... | ... |
texmf/tex/latex/beamer/themes/outer/beamerouterthemeGiraldo.sty
... | ... | @@ -7,45 +7,66 @@ |
7 | 7 | % |
8 | 8 | |
9 | 9 | \mode<presentation> |
10 | - | |
11 | -\setbeamercolor*{author in head/foot}{parent=palette tertiary} | |
12 | -\setbeamercolor*{title in head/foot}{parent=palette secondary} | |
13 | -\setbeamercolor*{date in head/foot}{parent=palette primary} | |
14 | - | |
15 | -\setbeamercolor*{section in head/foot}{parent=palette tertiary} | |
16 | -\setbeamercolor*{subsection in head/foot}{parent=palette primary} | |
17 | - | |
18 | -\defbeamertemplate*{footline}{infolines theme} | |
19 | -{ | |
20 | - \leavevmode% | |
21 | - \hbox{% | |
22 | - \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}% | |
23 | - \usebeamerfont{author in head/foot}\insertshortauthor\expandafter\beamer@ifempty\expandafter{\beamer@shortinstitute}{}{~~(\insertshortinstitute)} | |
24 | - \end{beamercolorbox}% | |
25 | - \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}% | |
26 | - \usebeamerfont{title in head/foot}\insertshorttitle | |
27 | - \end{beamercolorbox}% | |
28 | - \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}% | |
29 | - \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em} | |
30 | - \insertframenumber{} / \inserttotalframenumber\hspace*{2ex} | |
31 | - \end{beamercolorbox}}% | |
32 | - \vskip0pt% | |
33 | -} | |
34 | - | |
35 | -\defbeamertemplate*{headline}{infolines theme} | |
36 | -{ | |
37 | - \leavevmode% | |
38 | - \hbox{% | |
39 | - \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.65ex,dp=1.5ex,right]{section in head/foot}% | |
40 | - \usebeamerfont{section in head/foot}\insertsectionhead\hspace*{2ex} | |
41 | - \end{beamercolorbox}% | |
42 | - \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.65ex,dp=1.5ex,left]{subsection in head/foot}% | |
43 | - \usebeamerfont{subsection in head/foot}\hspace*{2ex}\insertsubsectionhead | |
44 | - \end{beamercolorbox}}% | |
45 | - \vskip0pt% | |
46 | -} | |
10 | +% | |
11 | +% | |
12 | +% Logotipo(s) | |
13 | +% | |
14 | +\pgfdeclareimage[width=64pt]{university-logo}{logo_horizontal_duas_linhas} | |
15 | +\pgfdeclareimage[width=64pt]{university-logo-inverted}{logo_horizontal_duas_linhas_invertido} | |
16 | +% | |
17 | +\newif\ifsidebar | |
18 | +\sidebarfalse | |
19 | +% | |
20 | +\DeclareOptionBeamer{sidebar}[true]{\csname sidebar#1\endcsname} | |
21 | +\ProcessOptionsBeamer | |
22 | +% | |
23 | +\ifsidebar | |
24 | + \useoutertheme[width=72pt,right,hideothersubsections]{sidebar} | |
25 | + \useoutertheme[width=72pt,right,hideothersubsections]{infolines} | |
26 | + \logo{\pgfuseimage{university-logo-inverted}} | |
27 | + \setbeamertemplate{headline}[sidebar theme] | |
28 | + % | |
29 | + \setbeamertemplate{sidebar right} | |
30 | + { | |
31 | + % {% | |
32 | + % \vskip1.25em% | |
33 | + % \hbox to72pt{\hss\insertlogo\hss} | |
34 | + % \vskip1.25em% | |
35 | + % }% | |
36 | + {% Titulo na barra lateral | |
37 | + \usebeamerfont{title in sidebar}% | |
38 | + \usebeamercolor[fg]{title in sidebar}% | |
39 | + \hbox to72pt{\hss\insertshorttitle[width=64pt,center,respectlinebreaks]\hss} | |
40 | + %\insertshorttitle[width=64pt,center,respectlinebreaks]\par% | |
41 | + %\insertshortsubtitle[width=2cm,center,respectlinebreaks]\par% | |
42 | + }% | |
43 | + {% Barra de navegacao | |
44 | + \vskip1.25em% | |
45 | + \usebeamercolor[fg]{subsection in sidebar} | |
46 | + \insertverticalnavigation{64pt}% | |
47 | + \vfill | |
48 | + }% | |
49 | + \hbox to 72pt{% lecture.frame em baixo a direita | |
50 | + \hfill% | |
51 | + \strut% | |
52 | + \usebeamerfont{subsection in sidebar}% | |
53 | + \usebeamercolor[fg]{subsection in sidebar}% | |
54 | + \insertframenumber/\inserttotalframenumber | |
55 | + \hskip5pt | |
56 | + } | |
57 | + \vskip3pt% | |
58 | + }% | |
59 | + % | |
60 | + \setbeamertemplate{footline}[] | |
61 | +\else | |
62 | + \logo{\pgfuseimage{university-logo}} | |
63 | + \setbeamertemplate{headline}{} | |
64 | + \setbeamertemplate{footline}[frame number] | |
65 | +\fi | |
47 | 66 | |
48 | 67 | \setbeamersize{text margin left=1em,text margin right=1em} |
49 | 68 | |
69 | +\setbeamertemplate{navigation symbols}{} | |
70 | + | |
50 | 71 | \mode |
51 | 72 | <all> | ... | ... |
texmf/tex/latex/beamer/themes/theme/beamerthemeGiraldo.sty
... | ... | @@ -5,50 +5,72 @@ |
5 | 5 | % 1. under the LaTeX Project Public License and/or |
6 | 6 | % 2. under the GNU Public License. |
7 | 7 | % |
8 | -\mode<presentation> | |
9 | -% | |
10 | -% \DeclareOptionBeamer{nosidebar}{\PassOptionsToPackage{nosidebar}{beamerouterthemeGiraldo}} | |
11 | -% \DeclareOptionBeamer{hideothersubsections}{\PassOptionsToPackage{hideothersubsections}{beamerouterthemeGiraldo}} | |
12 | -% | |
13 | -\newif\ifhidesections | |
14 | -\hidesectionsfalse | |
15 | -% | |
16 | -\DeclareOptionBeamer{hidesections}[true]{\csname hidesections#1\endcsname} | |
17 | -\DeclareOptionBeamer{strongtitles}{\PassOptionsToPackage{strongtitles}{beamercolorthemeGiraldo}} | |
18 | -\ProcessOptionsBeamer | |
19 | -% | |
20 | -\pgfdeclareimage[width=64pt]{university-logo}{logo_horizontal_duas_linhas} | |
21 | -\pgfdeclareimage[width=64pt]{university-logo-inverted}{logo_horizontal_duas_linhas_invertido} | |
22 | -\logo{\pgfputat{\pgfxy(-1.2,8)}{\pgfbox[center,base]{\pgfuseimage{university-logo}}}} | |
23 | -% | |
24 | -\ifhidesections | |
25 | -\else | |
26 | - \AtBeginSection[] {% | |
27 | - \begingroup% | |
28 | - \setbeamertemplate{footline}[]% | |
29 | - \setbeamercolor{background canvas}{bg=ue-red} | |
30 | - \setbeamercolor{section in toc shaded}{fg=black} | |
31 | - \setbeamercolor{section in toc}{fg=white} | |
32 | - \logo{\pgfputat{\pgfxy(-1.2,8)}{\pgfbox[center,base]{\pgfuseimage{university-logo-inverted}}}} | |
33 | - \begin{frame}<beamer> | |
34 | - \tableofcontents[currentsection] | |
35 | - \end{frame} | |
36 | - \endgroup | |
37 | - } | |
38 | -\fi | |
39 | - | |
8 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
9 | +% | |
10 | +% | |
11 | +% Logotipo(s) | |
12 | +% | |
13 | +\pgfdeclareimage[width=64pt]{ue-logo}{logo_horizontal_duas_linhas} | |
14 | +\pgfdeclareimage[width=64pt]{ue-logo-branco}{logo_horizontal_duas_linhas_invertido} | |
15 | +\pgfdeclareimage[width=96pt]{ue-logo-principal}{logo_principal} | |
16 | +\titlegraphic{\pgfuseimage{ue-logo-principal}} | |
17 | +\logo{\pgfputat{\pgfxy(-1,8)}{\pgfbox[center,base]{\pgfuseimage{ue-logo}}}} | |
18 | +% | |
19 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
20 | +% | |
21 | +% | |
22 | +% Temas por omissao | |
23 | +% | |
40 | 24 | \usecolortheme{Giraldo} |
41 | -\usefonttheme{default} | |
42 | -\useinnertheme{Giraldo} | |
43 | -\useoutertheme{Giraldo} | |
44 | - | |
25 | +\usefonttheme[onlymath]{serif} | |
26 | +% | |
27 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
28 | +% | |
29 | +% | |
30 | +% Pagina de seccao | |
31 | +% | |
32 | +\AtBeginSection | |
33 | +{ \begingroup | |
34 | + \setbeamercolor{background canvas}{bg=ue-red} | |
35 | + \setbeamercolor{palette tertiary}{ | |
36 | + use={structure,normal text}, | |
37 | + fg=ue-red, | |
38 | + bg=ue-red | |
39 | + } | |
40 | + \setbeamercolor{section in toc}{ | |
41 | + fg=white} | |
42 | + \setbeamercolor{section in toc shaded}{ | |
43 | + fg=ue-red} | |
44 | + \setbeamertemplate{section in toc shaded}[default][42] | |
45 | + \logo{\pgfputat{\pgfxy(-1.2,8)}{\pgfbox[center,base]{\pgfuseimage{ue-logo-branco}}}} | |
46 | + \begin{frame}<beamer> | |
47 | + \tableofcontents[currentsection] | |
48 | + \end{frame} | |
49 | + \endgroup | |
50 | +} | |
51 | +% | |
52 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
53 | +% | |
54 | +% | |
55 | +% Afinação de elementos nas páginas | |
56 | +% | |
57 | +\setbeamertemplate{footline}[text line]{ | |
58 | + \insertsectionnavigationhorizontal{\linewidth}{\hskip0pt plus1filll}{\textbf{\insertframenumber}/\inserttotalframenumber} | |
59 | +} | |
45 | 60 | \setbeamertemplate{headline}{} |
46 | -\setbeamertemplate{footline}[frame number] | |
47 | 61 | \setbeamertemplate{navigation symbols}{} |
62 | +% | |
63 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
64 | +% | |
65 | +% | |
66 | +% Correccoes | |
67 | +% | |
68 | +% Avisos sobre as fontes | |
69 | +% | |
48 | 70 | \let\Tiny=\tiny |
49 | -\mode | |
50 | -<all> | |
51 | - | |
71 | +% | |
72 | +% Dicionarios para Portugues | |
73 | +% | |
52 | 74 | \languagepath{Portuguese} |
53 | 75 | \newtranslation[to=Portuguese]{Definition}{Defini\c{c}\~{a}o} |
54 | 76 | \newtranslation[to=Portuguese]{Example}{Exemplo} | ... | ... |