Source

beamer / beamerthemesplit.sty

Full commit
Till Tantau a96b744 

























Till Tantau d9ee75f 

Till Tantau a96b744 



Till Tantau d9ee75f 
Till Tantau a96b744 

































Till Tantau d9ee75f 
Till Tantau a96b744 
Till Tantau d9ee75f 

Till Tantau a96b744 












Till Tantau d9ee75f 
Till Tantau a96b744 

Till Tantau d9ee75f 
Till Tantau a96b744 




Till Tantau d9ee75f 
Till Tantau a96b744 






Till Tantau d9ee75f 
Till Tantau a96b744 

Till Tantau d9ee75f 
Till Tantau a96b744 








\ProvidesPackage{beamerthemesplit}[2003/07/28 ver 0.2]
\NeedsTeXFormat{LaTeX2e}[1995/12/01]

% Copyright 2003 by Till Tantau <tantau@cs.tu-berlin.de>.
%
% This program can be redistributed and/or modified under the terms
% of the LaTeX Project Public License Distributed from CTAN
% archives in directory macros/latex/base/lppl.txt.

                                % Title page  
\usetitlepagetemplate{
  \vbox{}
  \vfill
  \begin{centering}
    \Large\structure{\inserttitle}
    \vskip1em\par
    \normalsize\insertauthor\vskip1em\par
    {\scriptsize\insertinstitute\par}\par\vskip1em
    \insertdate\par\vskip1.5em
    \inserttitlegraphic
  \end{centering}
  \vfill
  }

                                % Frametitles
\useframetitletemplate{%
  {\leftskip-\beamer@leftmargin\advance\leftskip by0.3cm%
   \rightskip-\beamer@rightmargin plus1fil\advance\rightskip by0.3cm\leavevmode
    \color{structure}
    \Large\insertframetitle\par}%
  }


                                % Sections in headline
\usesectionheadtemplate
{\hfill\color{white}\tiny\textbf{\insertsectionhead}}
{\hfill\color{shaded}\tiny\textbf{\insertsectionhead}}

\usesubsectionheadtemplate
{\color{white}\tiny\textbf{\insertsubsectionhead}}
{\color{structureshaded}\tiny\textbf{\insertsubsectionhead}}

                                % Entries in table of contents
\usetemplatetocsection
{{\large\color{structure}\inserttocsection}}
{{\large\color{structureshaded}\inserttocsection}}

                                % Entries in table of contents
\usetemplatetocsubsection
{\leavevmode\leftskip=1.5em\color{black}\inserttocsubsection\par}
{\leavevmode\leftskip=1.5em\color{shaded}\inserttocsubsection\par}

\newdimen\tempdimen
                                % Head
\useheadtemplate{%
  \vbox{%
    \tempdimen=6.5pt%
    \ifnum\subsection@max<\section@max%
    \multiply\tempdimen by\section@max%
    \else%
    \multiply\tempdimen by\subsection@max%
    \fi%
    \advance\tempdimen by 3pt%
    \setbox\linebox=\hbox to\paperwidth{%
      \vbox to \tempdimen{\vfil\insertsectionnavigation{.5\paperwidth}\vfil}%
      \vbox to \tempdimen{\vfil\insertsubsectionnavigation{.5\paperwidth}\vfil}\hfill}%
    \hbox to\textwidth{%
      {\color{black}\hskip-\Gm@lmargin\vrule width.5\paperwidth
      height\ht\linebox\color{structure}\vrule width.5\paperwidth
      height\ht\linebox\hskip-\paperwidth\hskip\Gm@lmargin}%
     \hskip-\Gm@lmargin\box\linebox\hfill\hskip-\Gm@rmargin%
      }%
  }%
}

                                % Footline
\usefoottemplate{%
  \hbox{%
    \setbox\linebox=\hbox to\paperwidth{%
      \hbox to.5\paperwidth{\hfill\tiny\color{white}\textbf{\insertshortauthor}\hskip.3cm}%
      \hbox to.5\paperwidth{\hskip.3cm\tiny\color{white}\textbf{\insertshorttitle}\hfill}\hfill}%
    \ht\linebox=7pt%
    \dp\linebox=0pt%
    \setbox\linebox=\vbox{\box\linebox\vskip3pt}%
    \color{black}\hskip-\Gm@lmargin\vrule width.5\paperwidth
    height\ht\linebox\color{structure}\vrule width.5\paperwidth
    height\ht\linebox\hskip-\paperwidth% 
    \hbox{\box\linebox\hfill}\hfill\hskip-\Gm@rmargin}}

\def\logo#1{%
  \def\insertlogo{#1}%
  \usefoottemplate{%
    \vbox{%
      \hbox to\textwidth{\hfill\setbox\logobox=\hbox{\insertlogo}\ht\logobox=0pt\box\logobox\hskip-\Gm@rmargin\hskip0.3cm}\vskip2pt%
    \hbox{%
    \setbox\linebox=\hbox to\paperwidth{%
      \hbox to.5\paperwidth{\hfill\tiny\color{white}\textbf{\insertshortauthor}\hskip.3cm}%
      \hbox to.5\paperwidth{\hskip.3cm\tiny\color{white}\textbf{\insertshorttitle}\hfill}\hfill}%
    \ht\linebox=7pt%
    \dp\linebox=0pt%
    \setbox\linebox=\vbox{\box\linebox\vskip3pt}%
    \color{black}\hskip-\Gm@lmargin\vrule width.5\paperwidth
    height\ht\linebox\color{structure}\vrule width.5\paperwidth
    height\ht\linebox\hskip-\paperwidth% 
    \hbox{\box\linebox\hfill}\hfill\hskip-\Gm@rmargin}}}}


                                % Background
\usebackgroundtemplate{}

                                % Blocks
\useblocktemplate{\medskip{\color{blockstructure}\large\insertblockname}\par}{\medskip}
\usealertblocktemplate{\medskip{\alert{\large\insertblockname}}\par}{\medskip}
\useexampleblocktemplate{\medskip\begingroup\color{darkgreen}{\large\insertblockname}\par}{\endgroup\medskip}