Commit d9a2e41924e444e9974a94af04bd125e8cce525f
1 parent
db222dca
Exists in
master
initial structure for beamer themes
Showing
4 changed files
with
200 additions
and
0 deletions
Show diff stats
| ... | ... | @@ -0,0 +1,54 @@ |
| 1 | +% Copyright 2014 by Francisco Coelho | |
| 2 | +% | |
| 3 | +% This file may be distributed and/or modified | |
| 4 | +% | |
| 5 | +% 1. under the LaTeX Project Public License and/or | |
| 6 | +% 2. under the GNU Public License. | |
| 7 | +% | |
| 8 | +% See the file doc/licenses/LICENSE for more details. | |
| 9 | + | |
| 10 | +\setbeamercolor*{normal text}{fg=black,bg=white} | |
| 11 | + | |
| 12 | +\DeclareOption{overlystylish} | |
| 13 | +{ | |
| 14 | + \def\beamer@cta@do{ | |
| 15 | + \setbeamertemplate{background canvas}[vertical shading][bottom=black,top=black,middle=blue!50!black] | |
| 16 | + } | |
| 17 | +} | |
| 18 | +\ProcessOptions | |
| 19 | + | |
| 20 | +\@ifundefined{beamer@cta@do}{}{\beamer@cta@do} | |
| 21 | + | |
| 22 | +\mode<presentation> | |
| 23 | + | |
| 24 | +\setbeamercolor*{example text}{fg=green!65!black} | |
| 25 | + | |
| 26 | +\setbeamercolor*{structure}{fg=blue!25!white} | |
| 27 | + | |
| 28 | +\setbeamercolor{palette primary}{use={structure,normal text},fg=structure.fg,bg=normal text.bg!75!black} | |
| 29 | +\setbeamercolor{palette secondary}{use={structure,normal text},fg=structure.fg,bg=normal text.bg!60!black} | |
| 30 | +\setbeamercolor{palette tertiary}{use={structure,normal text},fg=structure.fg,bg=normal text.bg!45!black} | |
| 31 | +\setbeamercolor{palette quaternary}{use={structure,normal text},fg=structure.fg,bg=normal text.bg!30!black} | |
| 32 | + | |
| 33 | +\setbeamercolor*{block body}{bg=normal text.bg!90!black} | |
| 34 | +\setbeamercolor*{block body alerted}{bg=normal text.bg!90!black} | |
| 35 | +\setbeamercolor*{block body example}{bg=normal text.bg!90!black} | |
| 36 | +\setbeamercolor*{block title}{parent=structure,bg=normal text.bg!75!black} | |
| 37 | +\setbeamercolor*{block title alerted}{use={normal text,alerted text},fg=alerted text.fg!75!normal text.fg,bg=normal text.bg!75!black} | |
| 38 | +\setbeamercolor*{block title example}{use={normal text,example text},fg=example text.fg!75!normal text.fg,bg=normal text.bg!75!black} | |
| 39 | + | |
| 40 | +\setbeamercolor{item projected}{fg=black} | |
| 41 | + | |
| 42 | +\setbeamercolor*{sidebar}{parent=palette primary} | |
| 43 | + | |
| 44 | +\setbeamercolor{palette sidebar primary}{use=normal text,fg=normal text.fg} | |
| 45 | +\setbeamercolor{palette sidebar secondary}{use=structure,fg=structure.fg} | |
| 46 | +\setbeamercolor{palette sidebar tertiary}{use=normal text,fg=normal text.fg} | |
| 47 | +\setbeamercolor{palette sidebar quaternary}{use=structure,fg=structure.fg} | |
| 48 | + | |
| 49 | +\setbeamercolor*{separation line}{} | |
| 50 | +\setbeamercolor*{fine separation line}{} | |
| 51 | + | |
| 52 | + | |
| 53 | +\mode | |
| 54 | +<all> | ... | ... |
| ... | ... | @@ -0,0 +1,51 @@ |
| 1 | +% Copyright 2014 by Francisco Coelho | |
| 2 | +% | |
| 3 | +% This file may be distributed and/or modified | |
| 4 | +% | |
| 5 | +% 1. under the LaTeX Project Public License and/or | |
| 6 | +% 2. under the GNU Public License. | |
| 7 | +% | |
| 8 | +% See the file doc/licenses/LICENSE for more details. | |
| 9 | + | |
| 10 | +\definecolor{ue-red}{RGB}{158 27 50} | |
| 11 | +\definecolor{ue-gray}{RGB}{88 89 91} | |
| 12 | +\definecolor{ue-grey}{RGB}{88 89 91} | |
| 13 | +\definecolor{ue-black}{RGB}{0 0 0} | |
| 14 | + | |
| 15 | +\setbeamercolor*{normal text}{fg=black,bg=white} | |
| 16 | +\setbeamercolor*{alerted text}{fg=ue-red,bg=white} | |
| 17 | +\setbeamercolor*{title}{fg=ue-red} | |
| 18 | + | |
| 19 | +\@ifundefined{beamer@cta@do}{}{\beamer@cta@do} | |
| 20 | + | |
| 21 | +\mode<presentation> | |
| 22 | + | |
| 23 | +\setbeamercolor*{example text}{fg=ue-red!65!black} | |
| 24 | +\setbeamercolor*{structure}{fg=ue-grey} | |
| 25 | +\setbeamercolor{palette primary}{use={structure,normal text},fg=structure.fg,bg=normal text.bg!75!black} | |
| 26 | +\setbeamercolor{palette secondary}{use={structure,normal text},fg=structure.fg,bg=normal text.bg!60!black} | |
| 27 | +\setbeamercolor{palette tertiary}{use={structure,normal text},fg=structure.fg,bg=normal text.bg!45!black} | |
| 28 | +\setbeamercolor{palette quaternary}{use={structure,normal text},fg=structure.fg,bg=normal text.bg!30!black} | |
| 29 | +\setbeamercolor*{frametitle}{fg=ue-red} | |
| 30 | +\setbeamercolor*{block body}{bg=normal text.bg!90!black} | |
| 31 | +\setbeamercolor*{block body alerted}{bg=normal text.bg!90!black} | |
| 32 | +\setbeamercolor*{block body example}{bg=normal text.bg!90!black} | |
| 33 | +\setbeamercolor*{block title}{parent=structure,bg=ue-red,fg=white} | |
| 34 | +\setbeamercolor*{block title alerted}{use={normal text,alerted text},fg=alerted text.fg!75!normal text.fg,bg=normal text.bg!75!black} | |
| 35 | +\setbeamercolor*{block title example}{use={normal text,example text},fg=example text.fg!75!normal text.fg,bg=normal text.bg!75!black} | |
| 36 | + | |
| 37 | +\setbeamercolor{item projected}{fg=black} | |
| 38 | + | |
| 39 | +\setbeamercolor*{sidebar}{parent=palette primary} | |
| 40 | + | |
| 41 | +\setbeamercolor{palette sidebar primary}{use=normal text,fg=normal text.fg} | |
| 42 | +\setbeamercolor{palette sidebar secondary}{use=structure,fg=structure.fg} | |
| 43 | +\setbeamercolor{palette sidebar tertiary}{use=normal text,fg=normal text.fg} | |
| 44 | +\setbeamercolor{palette sidebar quaternary}{use=structure,fg=structure.fg} | |
| 45 | + | |
| 46 | +\setbeamercolor*{separation line}{} | |
| 47 | +\setbeamercolor*{fine separation line}{} | |
| 48 | + | |
| 49 | + | |
| 50 | +\mode | |
| 51 | +<all> | ... | ... |
| ... | ... | @@ -0,0 +1,55 @@ |
| 1 | +% Copyright 2007 by Till Tantau | |
| 2 | +% | |
| 3 | +% This file may be distributed and/or modified | |
| 4 | +% | |
| 5 | +% 1. under the LaTeX Project Public License and/or | |
| 6 | +% 2. under the GNU Public License. | |
| 7 | +% | |
| 8 | +% See the file doc/licenses/LICENSE for more details. | |
| 9 | + | |
| 10 | +\ProvidesPackageRCS $Header: /Users/joseph/Documents/LaTeX/beamer/base/themes/outer/beamerouterthemeinfolines.sty,v 51a8c72084af 2012/10/16 20:17:59 joseph $ | |
| 11 | + | |
| 12 | + | |
| 13 | +\mode<presentation> | |
| 14 | + | |
| 15 | +\setbeamercolor*{author in head/foot}{parent=palette tertiary} | |
| 16 | +\setbeamercolor*{title in head/foot}{parent=palette secondary} | |
| 17 | +\setbeamercolor*{date in head/foot}{parent=palette primary} | |
| 18 | + | |
| 19 | +\setbeamercolor*{section in head/foot}{parent=palette tertiary} | |
| 20 | +\setbeamercolor*{subsection in head/foot}{parent=palette primary} | |
| 21 | + | |
| 22 | +\defbeamertemplate*{footline}{infolines theme} | |
| 23 | +{ | |
| 24 | + \leavevmode% | |
| 25 | + \hbox{% | |
| 26 | + \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}% | |
| 27 | + \usebeamerfont{author in head/foot}\insertshortauthor\expandafter\beamer@ifempty\expandafter{\beamer@shortinstitute}{}{~~(\insertshortinstitute)} | |
| 28 | + \end{beamercolorbox}% | |
| 29 | + \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}% | |
| 30 | + \usebeamerfont{title in head/foot}\insertshorttitle | |
| 31 | + \end{beamercolorbox}% | |
| 32 | + \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}% | |
| 33 | + \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em} | |
| 34 | + \insertframenumber{} / \inserttotalframenumber\hspace*{2ex} | |
| 35 | + \end{beamercolorbox}}% | |
| 36 | + \vskip0pt% | |
| 37 | +} | |
| 38 | + | |
| 39 | +\defbeamertemplate*{headline}{infolines theme} | |
| 40 | +{ | |
| 41 | + \leavevmode% | |
| 42 | + \hbox{% | |
| 43 | + \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.65ex,dp=1.5ex,right]{section in head/foot}% | |
| 44 | + \usebeamerfont{section in head/foot}\insertsectionhead\hspace*{2ex} | |
| 45 | + \end{beamercolorbox}% | |
| 46 | + \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.65ex,dp=1.5ex,left]{subsection in head/foot}% | |
| 47 | + \usebeamerfont{subsection in head/foot}\hspace*{2ex}\insertsubsectionhead | |
| 48 | + \end{beamercolorbox}}% | |
| 49 | + \vskip0pt% | |
| 50 | +} | |
| 51 | + | |
| 52 | +\setbeamersize{text margin left=1em,text margin right=1em} | |
| 53 | + | |
| 54 | +\mode | |
| 55 | +<all> | ... | ... |
| ... | ... | @@ -0,0 +1,40 @@ |
| 1 | +% Copyright 2007 by Till Tantau | |
| 2 | +% | |
| 3 | +% This file may be distributed and/or modified | |
| 4 | +% | |
| 5 | +% 1. under the LaTeX Project Public License and/or | |
| 6 | +% 2. under the GNU Public License. | |
| 7 | +% | |
| 8 | +% See the file doc/licenses/LICENSE for more details | |
| 9 | + | |
| 10 | +\mode<presentation> | |
| 11 | + | |
| 12 | +\usefonttheme{default} | |
| 13 | +\usecolortheme{Diana} | |
| 14 | +\useinnertheme{default} | |
| 15 | +\useoutertheme{default} | |
| 16 | + | |
| 17 | + | |
| 18 | +\pgfdeclareimage[width=64pt]{university-logo}{logo_horizontal_duas_linhas} | |
| 19 | +\pgfdeclareimage[width=64pt]{university-logo-inverted}{logo_horizontal_duas_linhas_invertido} | |
| 20 | +\logo{\pgfputat{\pgfxy(-1.2,8)}{\pgfbox[center,base]{\pgfuseimage{university-logo}}}} | |
| 21 | + | |
| 22 | + | |
| 23 | +\setbeamertemplate{headline}{} | |
| 24 | +\setbeamertemplate{footline}[frame number] | |
| 25 | +\setbeamertemplate{navigation symbols}{} | |
| 26 | + | |
| 27 | +\AtBeginSection[] { | |
| 28 | + \begingroup | |
| 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 | + | |
| 39 | +\mode | |
| 40 | +<all> | ... | ... |