\def\filedate{28 June 2005} \NeedsTeXFormat{LaTeX2e}[1994/06/01] % ---------------------------------------------------------------------- % (c) Martin Bischoff, 2005 % % This program can be redistributed and/or modified under the terms % of the GNU Public License, version 2. % (see http://www.gnu.org/copyleft/gpl.html) % % The author is interested in any extensions or modifications of this file. % ---------------------------------------------------------------------- \ProvidesPackage{beamerthemeAG}[2005/06/28] \mode % --- LOGO -------------------------------------------------------------- \defbeamertemplate{type}{logo}[1]{}[action] {\pgfdeclareimage[height=1cm,width=1cm]{logo}{#1}\logo{\pgfuseimage{logo}}} % --- LOGO END ---------------------------------------------------------- % --- COLORS ------------------------------------------------------------ \usecolortheme{default} \definecolor{CornflowerBlue}{rgb}{0.258824,0.258824,0.435294} \definecolor{SkyBlue}{rgb}{0.196078,0.6,0.8} \setbeamercolor*{structure}{fg=CornflowerBlue!75!SkyBlue} \setbeamercolor*{author in head/foot}{use=palette primary,bg=palette primary.fg,fg=white} \setbeamercolor*{title in head/foot}{use=palette secondary,bg=palette secondary.fg,fg=white} \setbeamercolor*{institute in head/foot}{use=palette tertiary,bg=palette tertiary.fg,fg=white} \setbeamercolor{frametitle}{use=palette secondary,bg=palette secondary.fg,fg=white} \setbeamercolor*{section in head/foot}{use=palette tertiary,bg=palette tertiary.fg,fg=white} \setbeamercolor*{subsection in head/foot}{use=palette primary,bg=palette primary.fg,fg=white} \setbeamercolor{navigation symbols dimmed}{use=palette secondary,bg=white,fg=palette secondary.fg} % --- COLORS END -------------------------------------------------------- % --- FOOTLINE ---------------------------------------------------------- \defbeamertemplate*{footline}{AG foot} { \leavevmode% \hbox{% \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,left]{author in head/foot}% \usebeamerfont{author in head/foot}\hspace*{2ex}\insertshortauthor \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]{institute in head/foot}% \usebeamerfont{institute in head/foot}\insertshortinstitute\hspace*{2ex} \end{beamercolorbox}}% \vskip0pt% } % --- FOOTLINE END ------------------------------------------------------ % --- HEADLINE ---------------------------------------------------------- \usesectionheadtemplate {\hfill\insertsectionhead} {\hfill\color{fg!50!bg}\insertsectionhead} \ifbeamer@compress \defbeamertemplate*{headline}{split theme} {% \leavevmode% \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex]{section in head/foot}% \insertsectionnavigationhorizontal{.5\paperwidth}{\hskip0pt plus1filll}{}% \end{beamercolorbox}% \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex]{subsection in head/foot}% \insertsubsectionnavigationhorizontal{.5\paperwidth}{}{\hskip0pt plus1filll}% \end{beamercolorbox}% } \else \defbeamertemplate*{headline}{split theme} {% \leavevmode% \@tempdimb=2.4375ex% \ifnum\beamer@subsectionmax<\beamer@sectionmax% \multiply\@tempdimb by\beamer@sectionmax% \else% \multiply\@tempdimb by\beamer@subsectionmax% \fi% \ifdim\@tempdimb>0pt% \advance\@tempdimb by 1.125ex% \begin{beamercolorbox}[wd=.5\paperwidth,ht=\@tempdimb]{section in head/foot}% \vbox to\@tempdimb{\vfil\insertsectionnavigation{.5\paperwidth}\vfil}% \end{beamercolorbox}% \begin{beamercolorbox}[wd=.5\paperwidth,ht=\@tempdimb]{subsection in head/foot}% \vbox to\@tempdimb{\vfil\insertsubsectionnavigation{.5\paperwidth}\vfil}% \end{beamercolorbox}% \fi% } \fi % --- HEADLINE END ------------------------------------------------------ % -- Frametite ------------------------------------------------------ % -- Frametitle end ------------------------------------------------------ \mode \endinput