Commit 9a0f941a808b2bb198eaa1b8046e84b44841e75e

Authored by Francisco Coelho
1 parent 43dfde27
Exists in master

alpha version

basic support
README.md
... ... @@ -20,34 +20,26 @@
20 20  
21 21 ## Exemplos
22 22  
23   -``
24   - \documentclass{beamer}
25   - \usetheme{Giraldo}
26   - %
27   - \title{Exemplo de uma aula}
28   - \subtitle{Uso do tema `Giraldo'}
29   - \author{Francisco Coelho}
30   - \institute[\texttt{fc@di.uevora.pt}]{
31   - Departamento de Informática\\
32   - Escola de Ciências e Tecnologia\\
33   - Universidade de Évora
34   - }
35   -
36   - \begin{document}
37   - \begin{frame}
38   - \titlepage
39   - \end{frame}
40   -
41   - \section*{Preâmbulo}
42   -
43   - \begin{frame}{Sumário}
44   - \tableofcontents
45   - \end{frame}
46   -
47   - \section{Uso básico do `beamer`}
48   -
49   - \begin{frame}{Criar uma página}
50   - Olá
51   - \end{frame}
52   - \end{document}
  23 +```
  24 +\documentclass{beamer}
  25 +\usetheme{Giraldo}
  26 +%
  27 +\title{Olá Mundo}
  28 +\subtitle{Uso do tema `Giraldo'}
  29 +\author{Francisco Coelho}
  30 +\institute[\texttt{fc@di.uevora.pt}]{
  31 +Departamento de Informática\\
  32 +Escola de Ciências e Tecnologia\\
  33 +Universidade de Évora
  34 +}
  35 +
  36 +\begin{document}
  37 + \begin{frame}[plain]{\titlepage}
  38 +
  39 + \section{Uso básico do `beamer`}
  40 +
  41 + \begin{frame}{Criar uma página}
  42 + Olá
  43 + \end{frame}
  44 +\end{document}
53 45 ```
54 46 \ No newline at end of file
... ...
exemplos/simples.tex
... ... @@ -4,8 +4,8 @@
4 4 %
5 5 % Suporte para o português
6 6 %
7   -\usepackage[T1]{fontenc}
8 7 \usepackage{eurosym}
  8 +\usepackage[T1]{fontenc}
9 9 \usepackage[utf8]{inputenc}
10 10 \usepackage[portuges]{babel}
11 11 %
... ... @@ -101,7 +101,19 @@ Escola de Ciências e Tecnologia
101 101 %
102 102 \section{Opções e mais exemplos}
103 103  
104   - \begin{frame}{Beamer, \alert{Giraldo} e variantes}
105   - Exemplos de uso do \texttt{Beamer} e do tema \texttt{Giraldo}
  104 + \begin{frame}{Beamer e \alert{Giraldo}}
  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}
106 118 \end{frame}
107 119 \end{document}
108 120 \ No newline at end of file
... ...
texmf/tex/latex/beamer/themes/color/beamercolorthemeGiraldo.sty
... ... @@ -19,7 +19,11 @@
19 19 % Basic text elements
20 20 %
21 21 \setbeamercolor*{normal text}{fg=black,bg=white}
22   -\setbeamercolor{alerted text}{fg=ue-red,bg=white}
  22 +\setbeamercolor*{alerted text}{fg=ue-red,bg=white}
  23 +%
  24 +%
  25 +% Title page elements
  26 +%
23 27 \setbeamercolor*{title}{fg=ue-red,bg=white}
24 28 %
25 29 %
... ... @@ -82,25 +86,25 @@
82 86 % Sidebar stuff
83 87 %
84 88 %\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   -}
  89 +% \setbeamercolor*{sidebar}{bg=ue-red,fg=black}
  90 +% \setbeamercolor*{title in sidebar}{fg=white}
  91 +% \setbeamercolor*{subsection in sidebar}{fg=white}
  92 +% \setbeamercolor{palette sidebar primary}{
  93 +% use=normal text,
  94 +% fg=normal text.fg
  95 +% }
  96 +% \setbeamercolor{palette sidebar secondary}{
  97 +% use=structure,
  98 +% fg=white
  99 +% }
  100 +% \setbeamercolor{palette sidebar tertiary}{
  101 +% use=normal text,
  102 +% fg=normal text.fg
  103 +% }
  104 +% \setbeamercolor{palette sidebar quaternary}{
  105 +% use=structure,
  106 +% fg=structure.fg
  107 +%}
104 108 %
105 109 %
106 110 %
... ...
texmf/tex/latex/beamer/themes/theme/beamerthemeGiraldo.sty
... ... @@ -8,13 +8,23 @@
8 8 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9 9 %
10 10 %
  11 +% Opcoes
  12 +%
  13 +\newif\ifgiraldo@sempavor
  14 +\giraldo@sempavorfalse
  15 +\DeclareOptionBeamer{sempavor}{\giraldo@sempavortrue}
  16 +\ProcessOptionsBeamer
  17 +%
  18 +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  19 +%
  20 +%
11 21 % Logotipo(s)
12 22 %
13 23 \pgfdeclareimage[width=64pt]{ue-logo}{logo_horizontal_duas_linhas}
14 24 \pgfdeclareimage[width=64pt]{ue-logo-branco}{logo_horizontal_duas_linhas_invertido}
15 25 \pgfdeclareimage[width=96pt]{ue-logo-principal}{logo_principal}
16 26 \titlegraphic{\pgfuseimage{ue-logo-principal}}
17   -\logo{\pgfputat{\pgfxy(-1,8)}{\pgfbox[center,base]{\pgfuseimage{ue-logo}}}}
  27 +%\logo{\pgfputat{\pgfxy(-1.2,8)}{\pgfbox[center,base]{\pgfuseimage{ue-logo}}}}
18 28 %
19 29 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
20 30 %
... ... @@ -27,6 +37,20 @@
27 37 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
28 38 %
29 39 %
  40 +% Opcao sempavor
  41 +%
  42 +\ifgiraldo@sempavor
  43 + \pgfdeclareimage[width=64pt]{ue-logo}{logo_horizontal_duas_linhas}
  44 + \setbeamercolor{frametitle}{bg=ue-red,fg=white}
  45 +\else
  46 + \pgfdeclareimage[width=64pt]{ue-logo}{logo_horizontal_duas_linhas}
  47 +\fi
  48 +\logo{\pgfputat{\pgfxy(-1.2,8)}{\pgfbox[center,base]{\pgfuseimage{ue-logo}}}}
  49 +
  50 +%
  51 +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  52 +%
  53 +%
30 54 % Pagina de seccao
31 55 %
32 56 \AtBeginSection
... ...