diff --git a/exemplos/simples.tex b/exemplos/simples.tex index c6b50e9..cf38654 100644 --- a/exemplos/simples.tex +++ b/exemplos/simples.tex @@ -41,21 +41,7 @@ Escola de Ciências e Tecnologia % % Página de rosto % - \begin{frame} - \titlepage - \end{frame} - % - % - % Preâmbulo (sumário e notas preliminares) - % - \section*{Preâmbulo} - % - % - % Sumário (por exemplo, a tabela de conteúdos) - % - \begin{frame}{Sumário} - \tableofcontents - \end{frame} + \frame[plain]{\titlepage} % % % Primeira secção diff --git a/texmf/tex/latex/beamer/themes/color/beamercolorthemeGiraldo.sty b/texmf/tex/latex/beamer/themes/color/beamercolorthemeGiraldo.sty index f83ce06..9c49af4 100644 --- a/texmf/tex/latex/beamer/themes/color/beamercolorthemeGiraldo.sty +++ b/texmf/tex/latex/beamer/themes/color/beamercolorthemeGiraldo.sty @@ -5,21 +5,7 @@ % 1. under the LaTeX Project Public License and/or % 2. under the GNU Public License. % - - -% -% (fc:) Not sure what the next command does... -% -%\@ifundefined{beamer@cta@do}{}{\beamer@cta@do} -% -\newif\ifstrongtitles -\strongtitlesfalse -% -\DeclareOptionBeamer{strongtitles}[true]{\csname strongtitles#1\endcsname} -\ProcessOptionsBeamer - \mode - % % % Define UE colors @@ -35,41 +21,23 @@ \setbeamercolor*{normal text}{fg=black,bg=white} \setbeamercolor{alerted text}{fg=ue-red,bg=white} \setbeamercolor*{title}{fg=ue-red,bg=white} -\ifstrongtitles - \setbeamercolor*{frametitle}{ - fg=white, - bg=ue-red - } -\else - \setbeamercolor*{frametitle}{ - fg=ue-red, - bg=white - } -\fi -% -% -% Frame constant elements -% - -% \setbeamercolor*{separation line}{} -% \setbeamercolor*{fine separation line}{} % % % Structures (lists, etc) % \setbeamercolor*{structure}{fg=ue-grey} -%\setbeamercolor{item projected}{fg=black} % % % Frame block elements (theorems, etc) % \setbeamercolor*{block body}{bg=normal text.bg!90!black} \setbeamercolor*{block body alerted}{bg=normal text.bg!90!black} -\setbeamercolor*{block title}{parent=structure,bg=ue-red,fg=white} +\setbeamercolor*{block title}{parent=structure,fg=white,bg=ue-red} \setbeamercolor*{block title alerted}{ use={normal text,alerted text}, - fg=alerted text.fg!75!normal text.fg, - bg=normal text.bg!75!black} + fg=ue-g!75!normal text.fg, + bg=normal text.bg!75!black +} % % % Examples @@ -100,8 +68,8 @@ % \setbeamercolor{palette tertiary}{ use={structure,normal text}, - fg=structure.fg, - bg=normal text.bg!45!black + fg=ue-grey, + bg=white } % \setbeamercolor{palette quaternary}{ @@ -113,11 +81,26 @@ % % Sidebar stuff % -\setbeamercolor*{sidebar}{parent=palette primary} -\setbeamercolor{palette sidebar primary}{use=normal text,fg=normal text.fg} -\setbeamercolor{palette sidebar secondary}{use=structure,fg=structure.fg} -\setbeamercolor{palette sidebar tertiary}{use=normal text,fg=normal text.fg} -\setbeamercolor{palette sidebar quaternary}{use=structure,fg=structure.fg} +%\setbeamercolor*{sidebar}{parent=palette primary} +\setbeamercolor*{sidebar}{bg=ue-red,fg=black} +\setbeamercolor*{title in sidebar}{fg=white} +\setbeamercolor*{subsection in sidebar}{fg=white} +\setbeamercolor{palette sidebar primary}{ + use=normal text, + fg=normal text.fg +} +\setbeamercolor{palette sidebar secondary}{ + use=structure, + fg=white +} +\setbeamercolor{palette sidebar tertiary}{ + use=normal text, + fg=normal text.fg +} +\setbeamercolor{palette sidebar quaternary}{ + use=structure, + fg=structure.fg +} % % % diff --git a/texmf/tex/latex/beamer/themes/outer/beamerouterthemeGiraldo.sty b/texmf/tex/latex/beamer/themes/outer/beamerouterthemeGiraldo.sty index f796308..df5e895 100644 --- a/texmf/tex/latex/beamer/themes/outer/beamerouterthemeGiraldo.sty +++ b/texmf/tex/latex/beamer/themes/outer/beamerouterthemeGiraldo.sty @@ -7,45 +7,66 @@ % \mode - -\setbeamercolor*{author in head/foot}{parent=palette tertiary} -\setbeamercolor*{title in head/foot}{parent=palette secondary} -\setbeamercolor*{date in head/foot}{parent=palette primary} - -\setbeamercolor*{section in head/foot}{parent=palette tertiary} -\setbeamercolor*{subsection in head/foot}{parent=palette primary} - -\defbeamertemplate*{footline}{infolines theme} -{ - \leavevmode% - \hbox{% - \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}% - \usebeamerfont{author in head/foot}\insertshortauthor\expandafter\beamer@ifempty\expandafter{\beamer@shortinstitute}{}{~~(\insertshortinstitute)} - \end{beamercolorbox}% - \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}% - \usebeamerfont{title in head/foot}\insertshorttitle - \end{beamercolorbox}% - \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}% - \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em} - \insertframenumber{} / \inserttotalframenumber\hspace*{2ex} - \end{beamercolorbox}}% - \vskip0pt% -} - -\defbeamertemplate*{headline}{infolines theme} -{ - \leavevmode% - \hbox{% - \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.65ex,dp=1.5ex,right]{section in head/foot}% - \usebeamerfont{section in head/foot}\insertsectionhead\hspace*{2ex} - \end{beamercolorbox}% - \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.65ex,dp=1.5ex,left]{subsection in head/foot}% - \usebeamerfont{subsection in head/foot}\hspace*{2ex}\insertsubsectionhead - \end{beamercolorbox}}% - \vskip0pt% -} +% +% +% 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 diff --git a/texmf/tex/latex/beamer/themes/theme/beamerthemeGiraldo.sty b/texmf/tex/latex/beamer/themes/theme/beamerthemeGiraldo.sty index e276bed..2914c91 100644 --- a/texmf/tex/latex/beamer/themes/theme/beamerthemeGiraldo.sty +++ b/texmf/tex/latex/beamer/themes/theme/beamerthemeGiraldo.sty @@ -5,50 +5,72 @@ % 1. under the LaTeX Project Public License and/or % 2. under the GNU Public License. % -\mode -% -% \DeclareOptionBeamer{nosidebar}{\PassOptionsToPackage{nosidebar}{beamerouterthemeGiraldo}} -% \DeclareOptionBeamer{hideothersubsections}{\PassOptionsToPackage{hideothersubsections}{beamerouterthemeGiraldo}} -% -\newif\ifhidesections -\hidesectionsfalse -% -\DeclareOptionBeamer{hidesections}[true]{\csname hidesections#1\endcsname} -\DeclareOptionBeamer{strongtitles}{\PassOptionsToPackage{strongtitles}{beamercolorthemeGiraldo}} -\ProcessOptionsBeamer -% -\pgfdeclareimage[width=64pt]{university-logo}{logo_horizontal_duas_linhas} -\pgfdeclareimage[width=64pt]{university-logo-inverted}{logo_horizontal_duas_linhas_invertido} -\logo{\pgfputat{\pgfxy(-1.2,8)}{\pgfbox[center,base]{\pgfuseimage{university-logo}}}} -% -\ifhidesections -\else - \AtBeginSection[] {% - \begingroup% - \setbeamertemplate{footline}[]% - \setbeamercolor{background canvas}{bg=ue-red} - \setbeamercolor{section in toc shaded}{fg=black} - \setbeamercolor{section in toc}{fg=white} - \logo{\pgfputat{\pgfxy(-1.2,8)}{\pgfbox[center,base]{\pgfuseimage{university-logo-inverted}}}} - \begin{frame} - \tableofcontents[currentsection] - \end{frame} - \endgroup - } -\fi - +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% +% Logotipo(s) +% +\pgfdeclareimage[width=64pt]{ue-logo}{logo_horizontal_duas_linhas} +\pgfdeclareimage[width=64pt]{ue-logo-branco}{logo_horizontal_duas_linhas_invertido} +\pgfdeclareimage[width=96pt]{ue-logo-principal}{logo_principal} +\titlegraphic{\pgfuseimage{ue-logo-principal}} +\logo{\pgfputat{\pgfxy(-1,8)}{\pgfbox[center,base]{\pgfuseimage{ue-logo}}}} +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% +% Temas por omissao +% \usecolortheme{Giraldo} -\usefonttheme{default} -\useinnertheme{Giraldo} -\useoutertheme{Giraldo} - +\usefonttheme[onlymath]{serif} +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% +% Pagina de seccao +% +\AtBeginSection +{ \begingroup + \setbeamercolor{background canvas}{bg=ue-red} + \setbeamercolor{palette tertiary}{ + use={structure,normal text}, + fg=ue-red, + bg=ue-red + } + \setbeamercolor{section in toc}{ + fg=white} + \setbeamercolor{section in toc shaded}{ + fg=ue-red} + \setbeamertemplate{section in toc shaded}[default][42] + \logo{\pgfputat{\pgfxy(-1.2,8)}{\pgfbox[center,base]{\pgfuseimage{ue-logo-branco}}}} + \begin{frame} + \tableofcontents[currentsection] + \end{frame} + \endgroup +} +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% +% Afinação de elementos nas páginas +% +\setbeamertemplate{footline}[text line]{ + \insertsectionnavigationhorizontal{\linewidth}{\hskip0pt plus1filll}{\textbf{\insertframenumber}/\inserttotalframenumber} +} \setbeamertemplate{headline}{} -\setbeamertemplate{footline}[frame number] \setbeamertemplate{navigation symbols}{} +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% +% Correccoes +% +% Avisos sobre as fontes +% \let\Tiny=\tiny -\mode - - +% +% Dicionarios para Portugues +% \languagepath{Portuguese} \newtranslation[to=Portuguese]{Definition}{Defini\c{c}\~{a}o} \newtranslation[to=Portuguese]{Example}{Exemplo} -- libgit2 0.21.2