From 0593d28057594fb328a4d442f4253e11191c6c0f Mon Sep 17 00:00:00 2001 From: Francisco Coelho Date: Fri, 14 Nov 2014 08:41:01 +0000 Subject: [PATCH] support for "strongtitles" option --- exemplos/simples.tex | 13 +++++++------ texmf/tex/latex/beamer/themes/color/beamercolorthemeGiraldo.sty | 5 ++++- texmf/tex/latex/beamer/themes/inner/beamerinnerthemeGiraldo.sty | 713 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- texmf/tex/latex/beamer/themes/theme/beamerthemeGiraldo.sty | 7 ++++++- 4 files changed, 368 insertions(+), 370 deletions(-) diff --git a/exemplos/simples.tex b/exemplos/simples.tex index 76ada88..c6b50e9 100644 --- a/exemplos/simples.tex +++ b/exemplos/simples.tex @@ -1,5 +1,5 @@ \documentclass{beamer} -\usetheme[strongtitles]{Giraldo} +\usetheme{Giraldo} % % % Suporte para o português @@ -9,11 +9,6 @@ \usepackage[utf8]{inputenc} \usepackage[portuges]{babel} % -\languagepath{Portuguese} -\newtranslation[to=Portuguese]{Definition}{Defini\c{c}\~{a}o} -\newtranslation[to=Portuguese]{Example}{Exemplo} -\newtranslation[to=Portuguese]{Theorem}{Teorema} -\uselanguage{Portuguese} % % % Suporte para figuras @@ -117,4 +112,10 @@ Escola de Ciências e Tecnologia \end{description} \end{example} \end{frame} + % + \section{Opções e mais exemplos} + + \begin{frame}{Beamer, \alert{Giraldo} e variantes} + Exemplos de uso do \texttt{Beamer} e do tema \texttt{Giraldo} + \end{frame} \end{document} \ No newline at end of file diff --git a/texmf/tex/latex/beamer/themes/color/beamercolorthemeGiraldo.sty b/texmf/tex/latex/beamer/themes/color/beamercolorthemeGiraldo.sty index 3b7c3f1..f83ce06 100644 --- a/texmf/tex/latex/beamer/themes/color/beamercolorthemeGiraldo.sty +++ b/texmf/tex/latex/beamer/themes/color/beamercolorthemeGiraldo.sty @@ -66,7 +66,10 @@ \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 alerted}{use={normal text,alerted text},fg=alerted text.fg!75!normal text.fg,bg=normal text.bg!75!black} +\setbeamercolor*{block title alerted}{ + use={normal text,alerted text}, + fg=alerted text.fg!75!normal text.fg, + bg=normal text.bg!75!black} % % % Examples diff --git a/texmf/tex/latex/beamer/themes/inner/beamerinnerthemeGiraldo.sty b/texmf/tex/latex/beamer/themes/inner/beamerinnerthemeGiraldo.sty index ac8b60f..fa10867 100644 --- a/texmf/tex/latex/beamer/themes/inner/beamerinnerthemeGiraldo.sty +++ b/texmf/tex/latex/beamer/themes/inner/beamerinnerthemeGiraldo.sty @@ -8,440 +8,429 @@ \mode -% Some images: - -\pgfdeclareimage[width=14pt,height=12pt]{beamericonbook}{beamericonbook} -\pgfdeclareimage[width=14pt,height=12pt]{beamericonbookshaded}{beamericonbook.20} -\pgfaliasimage{beamericonbook.!20opaque}{beamericonbookshaded} -\pgfaliasimage{beamericonbook.!15opaque}{beamericonbookshaded} -\pgfaliasimage{beamericonbook.!10opaque}{beamericonbookshaded} -\pgfaliasimage{beamericonbook.!5opaque}{beamericonbookshaded} -\pgfaliasimage{beamericonbook.!2opaque}{beamericonbookshaded} -\pgfdeclareimage[width=11pt,height=14pt]{beamericonarticle}{beamericonarticle} -\pgfdeclareimage[width=11pt,height=14pt]{beamericonarticleshaded}{beamericonarticle.20} -\pgfaliasimage{beamericonarticle.!20opaque}{beamericonarticleshaded} -\pgfaliasimage{beamericonarticle.!15opaque}{beamericonarticleshaded} -\pgfaliasimage{beamericonarticle.!10opaque}{beamericonarticleshaded} -\pgfaliasimage{beamericonarticle.!5opaque}{beamericonarticleshaded} -\pgfaliasimage{beamericonarticle.!2opaque}{beamericonarticleshaded} -\pgfdeclareimage[width=14pt,height=14pt]{beamericononline}{beamericononline} -\pgfdeclareimage[width=14pt,height=14pt]{beamericononlineshaded}{beamericononline.20} -\pgfaliasimage{beamericononline.!20opaque}{beamericononlineshaded} -\pgfaliasimage{beamericononline.!15opaque}{beamericononlineshaded} -\pgfaliasimage{beamericononline.!10opaque}{beamericononlineshaded} -\pgfaliasimage{beamericononline.!5opaque}{beamericononlineshaded} -\pgfaliasimage{beamericononline.!2opaque}{beamericononlineshaded} - -% Title page: default - -\defbeamertemplate*{title page}{default}[1][] -{ - \vbox{} - \vfill - \begingroup - \centering - \begin{beamercolorbox}[sep=8pt,center,#1]{title} - \usebeamerfont{title}\inserttitle\par% - \ifx\insertsubtitle\@empty% - \else% - \vskip0.25em% - {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}% - \fi% - \end{beamercolorbox}% - \vskip1em\par - \begin{beamercolorbox}[sep=8pt,center,#1]{author} - \usebeamerfont{author}\insertauthor - \end{beamercolorbox} - \begin{beamercolorbox}[sep=8pt,center,#1]{institute} - \usebeamerfont{institute}\insertinstitute - \end{beamercolorbox} - \begin{beamercolorbox}[sep=8pt,center,#1]{date} - \usebeamerfont{date}\insertdate - \end{beamercolorbox}\vskip0.5em - {\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par} - \endgroup - \vfill -} - - -% Part page: default - -\defbeamertemplate*{part page}{default}[1][] -{ - \begingroup - \centering - {\usebeamerfont{part name}\usebeamercolor[fg]{part name}\partname~\insertromanpartnumber} - \vskip1em\par - \begin{beamercolorbox}[sep=16pt,center,#1]{part title} - \usebeamerfont{part title}\insertpart\par - \end{beamercolorbox} - \endgroup -} - - -% Section page: default - -\defbeamertemplate*{section page}{default}[1][] -{ - \begingroup - \setbeamertemplate{footline}[] - \setbeamercolor{background canvas}{bg=ue-red} - \logo{\pgfputat{\pgfxy(-1.2,8)}{\pgfbox[center,base]{\pgfuseimage{university-logo-inverted}}}} - \centering - {\usebeamerfont{section name}\usebeamercolor[fg]{section name}\sectionname~\insertsectionnumber} - \vskip1em\par - \begin{beamercolorbox}[sep=12pt,center,#1]{part title} - \usebeamerfont{section title}\insertsection\par - \end{beamercolorbox} - \endgroup -} - -% Subsection page: default - -\defbeamertemplate*{subsection page}{default}[1][] -{ - \begingroup - \centering - {\usebeamerfont{subsection name}\usebeamercolor[fg]{subsection name}\subsectionname~\insertsubsectionnumber} - \vskip1em\par - \begin{beamercolorbox}[sep=8pt,center,#1]{part title} - \usebeamerfont{subsection title}\insertsubsection\par - \end{beamercolorbox} - \endgroup -} +% % Some images: + +% \pgfdeclareimage[width=14pt,height=12pt]{beamericonbook}{beamericonbook} +% \pgfdeclareimage[width=14pt,height=12pt]{beamericonbookshaded}{beamericonbook.20} +% \pgfaliasimage{beamericonbook.!20opaque}{beamericonbookshaded} +% \pgfaliasimage{beamericonbook.!15opaque}{beamericonbookshaded} +% \pgfaliasimage{beamericonbook.!10opaque}{beamericonbookshaded} +% \pgfaliasimage{beamericonbook.!5opaque}{beamericonbookshaded} +% \pgfaliasimage{beamericonbook.!2opaque}{beamericonbookshaded} +% \pgfdeclareimage[width=11pt,height=14pt]{beamericonarticle}{beamericonarticle} +% \pgfdeclareimage[width=11pt,height=14pt]{beamericonarticleshaded}{beamericonarticle.20} +% \pgfaliasimage{beamericonarticle.!20opaque}{beamericonarticleshaded} +% \pgfaliasimage{beamericonarticle.!15opaque}{beamericonarticleshaded} +% \pgfaliasimage{beamericonarticle.!10opaque}{beamericonarticleshaded} +% \pgfaliasimage{beamericonarticle.!5opaque}{beamericonarticleshaded} +% \pgfaliasimage{beamericonarticle.!2opaque}{beamericonarticleshaded} +% \pgfdeclareimage[width=14pt,height=14pt]{beamericononline}{beamericononline} +% \pgfdeclareimage[width=14pt,height=14pt]{beamericononlineshaded}{beamericononline.20} +% \pgfaliasimage{beamericononline.!20opaque}{beamericononlineshaded} +% \pgfaliasimage{beamericononline.!15opaque}{beamericononlineshaded} +% \pgfaliasimage{beamericononline.!10opaque}{beamericononlineshaded} +% \pgfaliasimage{beamericononline.!5opaque}{beamericononlineshaded} +% \pgfaliasimage{beamericononline.!2opaque}{beamericononlineshaded} + +% % Title page: default + +% \defbeamertemplate*{title page}{default}[1][] +% { +% \vbox{} +% \vfill +% \begingroup +% \centering +% \begin{beamercolorbox}[sep=8pt,center,#1]{title} +% \usebeamerfont{title}\inserttitle\par% +% \ifx\insertsubtitle\@empty% +% \else% +% \vskip0.25em% +% {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}% +% \fi% +% \end{beamercolorbox}% +% \vskip1em\par +% \begin{beamercolorbox}[sep=8pt,center,#1]{author} +% \usebeamerfont{author}\insertauthor +% \end{beamercolorbox} +% \begin{beamercolorbox}[sep=8pt,center,#1]{institute} +% \usebeamerfont{institute}\insertinstitute +% \end{beamercolorbox} +% \begin{beamercolorbox}[sep=8pt,center,#1]{date} +% \usebeamerfont{date}\insertdate +% \end{beamercolorbox}\vskip0.5em +% {\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par} +% \endgroup +% \vfill +% } + + +% % Part page: default + +% \defbeamertemplate*{part page}{default}[1][] +% { +% \begingroup +% \centering +% {\usebeamerfont{part name}\usebeamercolor[fg]{part name}\partname~\insertromanpartnumber} +% \vskip1em\par +% \begin{beamercolorbox}[sep=16pt,center,#1]{part title} +% \usebeamerfont{part title}\insertpart\par +% \end{beamercolorbox} +% \endgroup +% } +% % Section page: default +% \defbeamertemplate*{section page}{default}[1][] +% { +% \begingroup +% \setbeamertemplate{footline}[] +% \setbeamercolor{background canvas}{bg=ue-red} +% \logo{\pgfputat{\pgfxy(-1.2,8)}{\pgfbox[center,base]{\pgfuseimage{university-logo-inverted}}}} +% \centering +% {\usebeamerfont{section name}\usebeamercolor[fg]{section name}\sectionname~\insertsectionnumber} +% \vskip1em\par +% \begin{beamercolorbox}[sep=12pt,center,#1]{part title} +% \usebeamerfont{section title}\insertsection\par +% \end{beamercolorbox} +% \endgroup +% } -% -% Table of contents -% - -\defbeamertemplateparent{sections/subsections in toc}{section in toc,subsection in toc,subsubsection in toc} -{} - -\defbeamertemplateparent{sections/subsections in toc shaded}{section in toc shaded,subsection in toc shaded,subsubsection in toc shaded}[1][20] -{[#1]} +% % Subsection page: default +% \defbeamertemplate*{subsection page}{default}[1][] +% { +% \begingroup +% \centering +% {\usebeamerfont{subsection name}\usebeamercolor[fg]{subsection name}\subsectionname~\insertsubsectionnumber} +% \vskip1em\par +% \begin{beamercolorbox}[sep=8pt,center,#1]{part title} +% \usebeamerfont{subsection title}\insertsubsection\par +% \end{beamercolorbox} +% \endgroup +% } -% (sub-)section in toc: default -\defbeamertemplate*{section in toc}{default} -{\inserttocsection\par} +% % +% % Table of contents +% % -\defbeamertemplate*{subsection in toc}{default} -{\leavevmode\leftskip=1.5em\inserttocsubsection\par} +% \defbeamertemplateparent{sections/subsections in toc}{section in toc,subsection in toc,subsubsection in toc} +% {} -\defbeamertemplate*{subsubsection in toc}{default} -{\leavevmode\normalsize\usebeamerfont{subsection in toc}\leftskip=3em% - \usebeamerfont{subsubsection in toc}\inserttocsubsubsection\par} +% \defbeamertemplateparent{sections/subsections in toc shaded}{section in toc shaded,subsection in toc shaded,subsubsection in toc shaded}[1][20] +% {[#1]} -% (sub-)section in toc shaded, default -\defbeamertemplate*{section in toc shaded}{default}[1][20] -{\begin{colormixin}{#1!parent.bg}\usebeamertemplate{section in toc}\end{colormixin}\unskip} -\defbeamertemplate*{subsection in toc shaded}{default}[1][20] -{\begin{colormixin}{#1!parent.bg}\usebeamertemplate{subsection in toc}\end{colormixin}\unskip} +% % (sub-)section in toc: default -\defbeamertemplate*{subsubsection in toc shaded}{default}[1][20] -{\begin{colormixin}{#1!parent.bg}\usebeamertemplate{subsubsection in toc}\end{colormixin}\unskip} +% \defbeamertemplate*{section in toc}{default} +% {\inserttocsection\par} +% \defbeamertemplate*{subsection in toc}{default} +% {\leavevmode\leftskip=1.5em\inserttocsubsection\par} +% \defbeamertemplate*{subsubsection in toc}{default} +% {\leavevmode\normalsize\usebeamerfont{subsection in toc}\leftskip=3em% +% \usebeamerfont{subsubsection in toc}\inserttocsubsubsection\par} +% % (sub-)section in toc shaded, default -% -% Item -% +% \defbeamertemplate*{section in toc shaded}{default}[1][20] +% {\begin{colormixin}{#1!parent.bg}\usebeamertemplate{section in toc}\end{colormixin}\unskip} -\defbeamertemplateparent{items}{itemize items,enumerate items} -{} +% \defbeamertemplate*{subsection in toc shaded}{default}[1][20] +% {\begin{colormixin}{#1!parent.bg}\usebeamertemplate{subsection in toc}\end{colormixin}\unskip} +% \defbeamertemplate*{subsubsection in toc shaded}{default}[1][20] +% {\begin{colormixin}{#1!parent.bg}\usebeamertemplate{subsubsection in toc}\end{colormixin}\unskip} -% Itemize items -\defbeamertemplateparent{itemize items}{itemize item,itemize subitem,itemize subsubitem} -{} -% Itemize items, default -\defbeamertemplate*{itemize item}{default}{\scriptsize\raise1.25pt\hbox{\donotcoloroutermaths$\blacktriangleright$}} -\defbeamertemplate*{itemize subitem}{default}{\tiny\raise1.5pt\hbox{\donotcoloroutermaths$\blacktriangleright$}} -\defbeamertemplate*{itemize subsubitem}{default}{\tiny\raise1.5pt\hbox{\donotcoloroutermaths$\blacktriangleright$}} +% % +% % Item +% % +% \defbeamertemplateparent{items}{itemize items,enumerate items} +% {} -% Enumerate items, default -\defbeamertemplateparent{enumerate items}{enumerate item,enumerate subitem,enumerate subsubitem,enumerate mini} -{} +% % Itemize items -\defbeamertemplate*{enumerate item}{default}{\insertenumlabel.} -\defbeamertemplate*{enumerate subitem}{default}{\insertenumlabel.\insertsubenumlabel} -\defbeamertemplate*{enumerate subsubitem}{default}{\insertenumlabel.\insertsubenumlabel.\insertsubsubenumlabel} -\defbeamertemplate*{enumerate mini template}{default}{\insertenumlabel} +% \defbeamertemplateparent{itemize items}{itemize item,itemize subitem,itemize subsubitem} +% {} -% Description item width +% % Itemize items, default -\defbeamertemplate*{description item}{default}{\insertdescriptionitem} +% \defbeamertemplate*{itemize item}{default}{\scriptsize\raise1.25pt\hbox{\donotcoloroutermaths$\blacktriangleright$}} +% \defbeamertemplate*{itemize subitem}{default}{\tiny\raise1.5pt\hbox{\donotcoloroutermaths$\blacktriangleright$}} +% \defbeamertemplate*{itemize subsubitem}{default}{\tiny\raise1.5pt\hbox{\donotcoloroutermaths$\blacktriangleright$}} +% % Enumerate items, default -% Itemize/Enumerate body +% \defbeamertemplateparent{enumerate items}{enumerate item,enumerate subitem,enumerate subsubitem,enumerate mini} +% {} -\defbeamertemplate*{itemize/enumerate body begin}{default}{} -\defbeamertemplate*{itemize/enumerate body end}{default}{} +% \defbeamertemplate*{enumerate item}{default}{\insertenumlabel.} +% \defbeamertemplate*{enumerate subitem}{default}{\insertenumlabel.\insertsubenumlabel} +% \defbeamertemplate*{enumerate subsubitem}{default}{\insertenumlabel.\insertsubenumlabel.\insertsubsubenumlabel} +% \defbeamertemplate*{enumerate mini template}{default}{\insertenumlabel} -\defbeamertemplate*{itemize/enumerate subbody begin}{default}{} -\defbeamertemplate*{itemize/enumerate subbody end}{default}{} -\defbeamertemplate*{itemize/enumerate subsubbody begin}{default}{} -\defbeamertemplate*{itemize/enumerate subsubbody end}{default}{} +% % Description item width +% \defbeamertemplate*{description item}{default}{\insertdescriptionitem} -% Alerted text -\defbeamertemplate*{alerted text begin}{default}{\setbeamercolor{local structure}{parent=alerted text}} +% % Itemize/Enumerate body +% \defbeamertemplate*{itemize/enumerate body begin}{default}{} +% \defbeamertemplate*{itemize/enumerate body end}{default}{} +% \defbeamertemplate*{itemize/enumerate subbody begin}{default}{} +% \defbeamertemplate*{itemize/enumerate subbody end}{default}{} -% Structured text +% \defbeamertemplate*{itemize/enumerate subsubbody begin}{default}{} +% \defbeamertemplate*{itemize/enumerate subsubbody end}{default}{} -% empyt defaults -% Bibliography items +% % Alerted text -\defbeamertemplate*{bibliography item}{default} -{\lower3.5pt\hbox{\hskip2pt\pgfuseimage{beamericonarticle}\hskip1pt}} +% \defbeamertemplate*{alerted text begin}{default}{\setbeamercolor{local structure}{parent=alerted text}} -\defbeamertemplate*{bibliography entry article}{default}{} -\defbeamertemplate*{bibliography entry title}{default}{\par} -\defbeamertemplate*{bibliography entry location}{default}{\par} -\defbeamertemplate*{bibliography entry note}{default}{\par} -% Buttons +% % Structured text -\newdimen\beamer@dima% -\newdimen\beamer@dimb% +% % empyt defaults -\defbeamertemplate*{button}{default} -{% - \setbox\beamer@tempbox=\hbox{{\insertbuttontext}}% - \ht\beamer@tempbox=6pt% - \dp\beamer@tempbox=0pt% - \setbox\beamer@tempbox=\vbox{\box\beamer@tempbox\vskip2pt}% - \beamer@tempdim=\wd\beamer@tempbox% - \beamer@dima=\beamer@tempdim\advance\beamer@dima by2.2pt - \beamer@dimb=\beamer@tempdim\advance\beamer@dimb by4pt - \begin{pgfpicture}{-4pt}{0pt}{\the\beamer@tempdim}{8pt} - \color{bg} - \pgfsetlinewidth{0.8pt} - \pgfpathqmoveto{0pt}{0pt} - \pgfpathqcurveto{-2.2pt}{0pt}{-4pt}{1.8pt}{-4pt}{4pt} - \pgfpathqcurveto{-4pt}{6.2pt}{-2.2pt}{8pt}{0pt}{8pt} - \pgfpathlineto{\pgfpoint{\the\beamer@tempdim}{8pt}} - \pgfpathcurveto% - {\pgfpoint{\the\beamer@dima}{8pt}}% - {\pgfpoint{\the\beamer@dimb}{6.2pt}}% - {\pgfpoint{\the\beamer@dimb}{4pt}} - \pgfpathcurveto% - {\pgfpoint{\the\beamer@dimb}{1.8pt}}% - {\pgfpoint{\the\beamer@dima}{0pt}}% - {\pgfpoint{\the\beamer@tempdim}{0pt}} - \pgfpathclose - \pgfusepathqfill - \colorlet{bg}{parent.bg} - \usebeamercolor[fg]{button border} - \pgfpathqmoveto{0pt}{0pt} - \pgfpathqcurveto{-2.2pt}{0pt}{-4pt}{1.8pt}{-4pt}{4pt} - \pgfpathqcurveto{-4pt}{6.2pt}{-2.2pt}{8pt}{0pt}{8pt} - \pgfpathlineto{\pgfpoint{\the\beamer@tempdim}{8pt}} - \pgfpathcurveto% - {\pgfpoint{\the\beamer@dima}{8pt}}% - {\pgfpoint{\the\beamer@dimb}{6.2pt}}% - {\pgfpoint{\the\beamer@dimb}{4pt}} - \pgfpathcurveto% - {\pgfpoint{\the\beamer@dimb}{1.8pt}}% - {\pgfpoint{\the\beamer@dima}{0pt}}% - {\pgfpoint{\the\beamer@tempdim}{0pt}} - \pgfpathclose - \pgfusepathqstroke - \end{pgfpicture}% - \hskip-\beamer@tempdim% - \box\beamer@tempbox% - \kern4pt% -} +% % Bibliography items -% Abstract +% \defbeamertemplate*{bibliography item}{default} +% {\lower3.5pt\hbox{\hskip2pt\pgfuseimage{beamericonarticle}\hskip1pt}} -\defbeamertemplate*{abstract title}{default} -{% - \begin{center}% - \abstractname - \end{center}% -} +% \defbeamertemplate*{bibliography entry article}{default}{} +% \defbeamertemplate*{bibliography entry title}{default}{\par} +% \defbeamertemplate*{bibliography entry location}{default}{\par} +% \defbeamertemplate*{bibliography entry note}{default}{\par} -\defbeamertemplate*{abstract begin}{default} -{\beamercolorbox[vmode]{abstract}\leftskip2em\rightskip2em plus 1fill\usebeamerfont*{abstract}} - -\defbeamertemplate*{abstract end}{default} -{\medskip\endbeamercolorbox} - - -% Verse - -\defbeamertemplate*{verse begin}{default} -{\beamercolorbox[vmode]{verse}} - -\defbeamertemplate*{verse end}{default} -{\endbeamercolorbox} - - -% Quotation - -\defbeamertemplate*{quotation begin}{default} -{\beamercolorbox[vmode]{quotation}} - -\defbeamertemplate*{quotation end}{default} -{\endbeamercolorbox} - - -% Quote - -\defbeamertemplate*{quote begin}{default} -{\beamercolorbox[vmode]{quote}} - -\defbeamertemplate*{quote end}{default} -{\endbeamercolorbox} - - -% Footnotes - -\defbeamertemplate*{footnote}{default} -{ - \parindent 1em\noindent% - \raggedright - \hbox to 1.8em{\hfil\insertfootnotemark}\insertfootnotetext\par% -} - - -% Captions - -\defbeamertemplate*{caption}{default} -{% - \raggedright - {% - \usebeamercolor[fg]{caption name}% - \usebeamerfont*{caption name}% - \insertcaptionname - \usebeamertemplate{caption label separator}% - }% - \insertcaption\par -} -\defbeamertemplate*{caption label separator}{default}{: } - -% Blocks - -\defbeamertemplateparent{blocks}{block begin,block end,% - block alerted begin,block alerted end,% - block example begin,block example end} -{} - -\defbeamertemplate*{block begin}{default} -{ - \par\vskip\medskipamount% - \begin{beamercolorbox}[colsep*=.75ex]{block title} - \usebeamerfont*{block title}\insertblocktitle% - \end{beamercolorbox}% - {\parskip0pt\par}% - \ifbeamercolorempty[bg]{block title} - {} - {\ifbeamercolorempty[bg]{block body}{}{\nointerlineskip\vskip-0.5pt}}% - \usebeamerfont{block body}% - \begin{beamercolorbox}[colsep*=.75ex,vmode]{block body}% - \ifbeamercolorempty[bg]{block body}{\vskip-.25ex}{\vskip-.75ex}\vbox{}% -} -\defbeamertemplate*{block end}{default} -{\end{beamercolorbox}\vskip\smallskipamount} -\defbeamertemplate*{block alerted begin}{default} -{ - \par\vskip\medskipamount% - \begin{beamercolorbox}[colsep*=.75ex]{block title alerted} - \usebeamerfont*{block title alerted}\insertblocktitle% - \end{beamercolorbox}% - {\parskip0pt\par}% - \ifbeamercolorempty[bg]{block title alerted} - {} - {\ifbeamercolorempty[bg]{block body alerted}{}{\nointerlineskip\vskip-0.5pt}}% - \usebeamerfont{block body alerted}% - \begin{beamercolorbox}[colsep*=.75ex,vmode]{block body alerted}% - \ifbeamercolorempty[bg]{block body alerted}{\vskip-.25ex}{\vskip-.75ex}\vbox{}% -} +% % Buttons -\defbeamertemplate*{block alerted end}{default} -{\end{beamercolorbox}\vskip\smallskipamount} +% \newdimen\beamer@dima% +% \newdimen\beamer@dimb% +% \defbeamertemplate*{button}{default} +% {% +% \setbox\beamer@tempbox=\hbox{{\insertbuttontext}}% +% \ht\beamer@tempbox=6pt% +% \dp\beamer@tempbox=0pt% +% \setbox\beamer@tempbox=\vbox{\box\beamer@tempbox\vskip2pt}% +% \beamer@tempdim=\wd\beamer@tempbox% +% \beamer@dima=\beamer@tempdim\advance\beamer@dima by2.2pt +% \beamer@dimb=\beamer@tempdim\advance\beamer@dimb by4pt +% \begin{pgfpicture}{-4pt}{0pt}{\the\beamer@tempdim}{8pt} +% \color{bg} +% \pgfsetlinewidth{0.8pt} +% \pgfpathqmoveto{0pt}{0pt} +% \pgfpathqcurveto{-2.2pt}{0pt}{-4pt}{1.8pt}{-4pt}{4pt} +% \pgfpathqcurveto{-4pt}{6.2pt}{-2.2pt}{8pt}{0pt}{8pt} +% \pgfpathlineto{\pgfpoint{\the\beamer@tempdim}{8pt}} +% \pgfpathcurveto% +% {\pgfpoint{\the\beamer@dima}{8pt}}% +% {\pgfpoint{\the\beamer@dimb}{6.2pt}}% +% {\pgfpoint{\the\beamer@dimb}{4pt}} +% \pgfpathcurveto% +% {\pgfpoint{\the\beamer@dimb}{1.8pt}}% +% {\pgfpoint{\the\beamer@dima}{0pt}}% +% {\pgfpoint{\the\beamer@tempdim}{0pt}} +% \pgfpathclose +% \pgfusepathqfill +% \colorlet{bg}{parent.bg} +% \usebeamercolor[fg]{button border} +% \pgfpathqmoveto{0pt}{0pt} +% \pgfpathqcurveto{-2.2pt}{0pt}{-4pt}{1.8pt}{-4pt}{4pt} +% \pgfpathqcurveto{-4pt}{6.2pt}{-2.2pt}{8pt}{0pt}{8pt} +% \pgfpathlineto{\pgfpoint{\the\beamer@tempdim}{8pt}} +% \pgfpathcurveto% +% {\pgfpoint{\the\beamer@dima}{8pt}}% +% {\pgfpoint{\the\beamer@dimb}{6.2pt}}% +% {\pgfpoint{\the\beamer@dimb}{4pt}} +% \pgfpathcurveto% +% {\pgfpoint{\the\beamer@dimb}{1.8pt}}% +% {\pgfpoint{\the\beamer@dima}{0pt}}% +% {\pgfpoint{\the\beamer@tempdim}{0pt}} +% \pgfpathclose +% \pgfusepathqstroke +% \end{pgfpicture}% +% \hskip-\beamer@tempdim% +% \box\beamer@tempbox% +% \kern4pt% +% } -\defbeamertemplate*{block example begin}{default} -{ - \par\vskip\medskipamount% - \begin{beamercolorbox}[colsep*=.75ex]{block title example} - \usebeamerfont*{block title example}\insertblocktitle% - \end{beamercolorbox}% - {\parskip0pt\par}% - \ifbeamercolorempty[bg]{block title example} - {} - {\ifbeamercolorempty[bg]{block body example}{}{\nointerlineskip\vskip-0.5pt}}% - \usebeamerfont{block body example}% - \begin{beamercolorbox}[colsep*=.75ex,vmode]{block body example}% - \ifbeamercolorempty[bg]{block body example}{\vskip-.25ex}{\vskip-.75ex}\vbox{}% -} -\defbeamertemplate*{block example end}{default} -{\end{beamercolorbox}\vskip\smallskipamount} +% % Abstract +% \defbeamertemplate*{abstract title}{default} +% {% +% \begin{center}% +% \abstractname +% \end{center}% +% } +% \defbeamertemplate*{abstract begin}{default} +% {\beamercolorbox[vmode]{abstract}\leftskip2em\rightskip2em plus 1fill\usebeamerfont*{abstract}} -% Theorems - -\defbeamertemplateparent{theorems}{theorem begin,theorem end} -{} - -\defbeamertemplate*{theorem begin}{default} -{% - \begin{\inserttheoremblockenv} - {% - \inserttheoremname - \ifx\inserttheoremaddition\@empty\else\ (\inserttheoremaddition)\fi% - }% -} - -\defbeamertemplate*{theorem end}{default} -{\end{\inserttheoremblockenv}} - - -% Proofs -\defbeamertemplate*{proof begin}{default} -{\begin{block}{\insertproofname}} - -\defbeamertemplate*{proof end}{default} -{\end{block}} - -\defbeamertemplate*{qed symbol}{default} -{\openbox} +% \defbeamertemplate*{abstract end}{default} +% {\medskip\endbeamercolorbox} +% % Verse +% \defbeamertemplate*{verse begin}{default} +% {\beamercolorbox[vmode]{verse}} +% \defbeamertemplate*{verse end}{default} +% {\endbeamercolorbox} +% +% % Quotation +% +% \defbeamertemplate*{quotation begin}{default} +% {\beamercolorbox[vmode]{quotation}} +% +% \defbeamertemplate*{quotation end}{default} +% {\endbeamercolorbox} +% +% % Quote +% +% \defbeamertemplate*{quote begin}{default} +% {\beamercolorbox[vmode]{quote}} +% +% \defbeamertemplate*{quote end}{default} +% {\endbeamercolorbox} +% +% % Footnotes +% +% \defbeamertemplate*{footnote}{default} +% { +% \parindent 1em\noindent% +% \raggedright +% \hbox to 1.8em{\hfil\insertfootnotemark}\insertfootnotetext\par% +% } +% +% % Captions +% +% \defbeamertemplate*{caption}{default} +% {% +% \raggedright +% {% +% \usebeamercolor[fg]{caption name}% +% \usebeamerfont*{caption name}% +% \insertcaptionname +% \usebeamertemplate{caption label separator}% +% }% +% \insertcaption\par +% } +% \defbeamertemplate*{caption label separator}{default}{: } +% +% % Blocks +% +% \defbeamertemplateparent{blocks}{block begin,block end,% +% block alerted begin,block alerted end,% +% block example begin,block example end} +% {} +% +% \defbeamertemplate*{block begin}{default} +% { +% \par\vskip\medskipamount% +% \begin{beamercolorbox}[colsep*=.75ex]{block title} +% \usebeamerfont*{block title}\insertblocktitle% +% \end{beamercolorbox}% +% {\parskip0pt\par}% +% \ifbeamercolorempty[bg]{block title} +% {} +% {\ifbeamercolorempty[bg]{block body}{}{\nointerlineskip\vskip-0.5pt}}% +% \usebeamerfont{block body}% +% \begin{beamercolorbox}[colsep*=.75ex,vmode]{block body}% +% \ifbeamercolorempty[bg]{block body}{\vskip-.25ex}{\vskip-.75ex}\vbox{}% +% } +% \defbeamertemplate*{block end}{default} +% {\end{beamercolorbox}\vskip\smallskipamount} +% +% \defbeamertemplate*{block alerted begin}{default} +% { +% \par\vskip\medskipamount% +% \begin{beamercolorbox}[colsep*=.75ex]{block title alerted} +% \usebeamerfont*{block title alerted}\insertblocktitle% +% \end{beamercolorbox}% +% {\parskip0pt\par}% +% \ifbeamercolorempty[bg]{block title alerted} +% {} +% {\ifbeamercolorempty[bg]{block body alerted}{}{\nointerlineskip\vskip-0.5pt}}% +% \usebeamerfont{block body alerted}% +% \begin{beamercolorbox}[colsep*=.75ex,vmode]{block body alerted}% +% \ifbeamercolorempty[bg]{block body alerted}{\vskip-.25ex}{\vskip-.75ex}\vbox{}% +% } +% +% \defbeamertemplate*{block alerted end}{default} +% {\end{beamercolorbox}\vskip\smallskipamount} +% +% \defbeamertemplate*{block example begin}{default} +% { +% \par\vskip\medskipamount% +% \begin{beamercolorbox}[colsep*=.75ex]{block title example} +% \usebeamerfont*{block title example}\insertblocktitle% +% \end{beamercolorbox}% +% {\parskip0pt\par}% +% \ifbeamercolorempty[bg]{block title example} +% {} +% {\ifbeamercolorempty[bg]{block body example}{}{\nointerlineskip\vskip-0.5pt}}% +% \usebeamerfont{block body example}% +% \begin{beamercolorbox}[colsep*=.75ex,vmode]{block body example}% +% \ifbeamercolorempty[bg]{block body example}{\vskip-.25ex}{\vskip-.75ex}\vbox{}% +% } +% \defbeamertemplate*{block example end}{default} +% {\end{beamercolorbox}\vskip\smallskipamount} +% +% % Theorems +% +% \defbeamertemplateparent{theorems}{theorem begin,theorem end} +% {} +% +% \defbeamertemplate*{theorem begin}{default} +% {% +% \begin{\inserttheoremblockenv} +% {% +% \inserttheoremname +% \ifx\inserttheoremaddition\@empty\else\ (\inserttheoremaddition)\fi% +% }% +% } +% +% \defbeamertemplate*{theorem end}{default} +% {\end{\inserttheoremblockenv}} +% +% % Proofs +% \defbeamertemplate*{proof begin}{default} +% {\begin{block}{\insertproofname}} +% +% \defbeamertemplate*{proof end}{default} +% {\end{block}} +% +% \defbeamertemplate*{qed symbol}{default} +% {\openbox} +% +% \mode diff --git a/texmf/tex/latex/beamer/themes/theme/beamerthemeGiraldo.sty b/texmf/tex/latex/beamer/themes/theme/beamerthemeGiraldo.sty index 1188556..e276bed 100644 --- a/texmf/tex/latex/beamer/themes/theme/beamerthemeGiraldo.sty +++ b/texmf/tex/latex/beamer/themes/theme/beamerthemeGiraldo.sty @@ -39,7 +39,7 @@ \usecolortheme{Giraldo} \usefonttheme{default} -\useinnertheme{default} +\useinnertheme{Giraldo} \useoutertheme{Giraldo} \setbeamertemplate{headline}{} @@ -49,4 +49,9 @@ \mode +\languagepath{Portuguese} +\newtranslation[to=Portuguese]{Definition}{Defini\c{c}\~{a}o} +\newtranslation[to=Portuguese]{Example}{Exemplo} +\newtranslation[to=Portuguese]{Theorem}{Teorema} +\uselanguage{Portuguese} -- libgit2 0.21.2