Commits

Anonymous committed 3a4f548

*** empty log message ***

  • Participants
  • Parent commits f673d55

Comments (0)

Files changed (26)

 2004-01-19 Till Tantau <tantau@users.sourceforge.net>
 
+	Bugfixes:
 	- Fixed bug with "jumping" blocks in overlays.
 	- Fixed bug with tabbing in beamerbaseboxes.
+	- Added work-around for problem with black background in older
+	  versions of acroread.
+
+	Added:
 	- Added placement options to columns and column commands.
 	- Added \column command.
 	- Added label option to frames.
-	- Added \againframe command for showing a frame again later on.
+	- Added \againframe command for showing a frame again later on
+	  (very useful!). 
 	- Added \includeonlyframe command for typesetting only specific
 	  frames. 
 	- Added \AtBeginSection, \AtBeginSubsection, and \AtBeginPart
 	- Added \visible command (opposite of \invisible).
 	- Added verse, quotation, and quote environments.
 	- Added abstract environment (not very useful in my opinion).
+	- Added colored option to \defverbatim for use with lstlisting.
+	- Added grid density option to grid background.
+	- Added professionalfont option.
+	- Added automatic support of serif math minion fonts.
+	- Added option to \pause command.
+	- Includes enumerate.sty by default and allows one to use its
+	  functionality in beamer.
+	- Added dark and tab options to beamerthemesidebar. Other sidebar
+	  themes no longer needed.
+
+	Changed:
+	- \pause commands now transcends blocks (very useful!)
+	- Extended syntax of \item: A second overlay specification will
+	  now cause the item to be alerted (very useful!).
 	- Balls are now also used for enumerations, not just for itemize
 	  in shadow theme. Use \beamertemplateenumeratealpha to get old
 	  behaviour. 
 	- Changed syntax of alert and structure templates.
-	- Extended syntax of \item: A second overlay specification will
-	  now cause the item to be alerted.
-	- Includes enumerate.sty by default and allows one to use its
-	  functionality in beamer.
-	- Added colored option to \defverbatim for use with lstlisting.
-	- Added grid density option to grid background.
+	- Partly reworked internals of overlay management. Should produce
+	  slightly shorter files.
+	- Changed file names of .jpg and .png images to start with "beamer-"
+	  to avoid name clashes.
+	- Renamed \original to \beameroriginal because of clash with
+	  lucidia font styles.
+	- "Streamlined" themes to use the same basic templates.
+
+	Removed:
 	- Removed pauses environment (no longer needed).
-	- Added option to \pause command.
-	- \pause commands now transcends blocks (also very useful!)
+	- Improved pgf makes \pgfonly superfluous. Use \only instead.
+	- Removed reproducable .pdf example files from repository for
+	  faster cvs checkout/checkin.
 	- Removed \invisibleon command (was superfluous anyway).
 	- Removed \mixinon command (was not very useful and clashes with
 	  new \pause command; use \opaqueness instead).
 	- \nameslide command is now obsolete. Use the label= option
 	  instead.
-	- Partly reworked internals of overlay management.
-	
-	- Renamed \original to \beameroriginal because of clash with
-	  lucidia font styles.
-	- Added suppression of font replacement for serif math minion
-	  fonts.
-	- Changed file names of .jpg and .png images to start with "beamer-"
-	  to avoid name clashes.
-	- Improved pgf makes \pgfonly superfluous. Use \only instead.
-	- Removed reproducable .pdf example files from repository for
-	  faster cvs checkout/checkin.
-	
-	- LyX: Added a big example file beamerlyxexample1.lyx.
-	- LyX: Changed tableofcontents command so that options can be
-	  given. 
-	- LyX: Changed frame command so that options can be given. 
-	- LyX: Added overprint and overlayarea environments.
-	- LyX: Added againframe command.
-	- LyX: Changed beamer.layout to use new command \column. Old environment
+	- Themes beamerthemesidebartab, beamerthemesidebardark, and
+	  beamerthemesidebardarktab are no obsolete. Use
+	  beamerthesesidebar will appropriate options instead.
+
+	LyX:
+	- Added a big example file beamerlyxexample1.lyx.
+	- Changed \tableofcontents command so that options can be
+	  given in LyX. 
+	- Changed \frame command in LyX so that options can be given. 
+	- Added overprint and overlayarea environments.
+	- Added \againframe command.
+	- Changed beamer.layout to use new command \column. Old environment
  	  no longer supported in lyx.
 
 2004-01-19 Till Tantau <tantau@users.sourceforge.net>
  9) Make \note command also work on a per-slide basis.
 10) Add a note template.
 11) Explain nodefaultblocks.
-12) Add quote, quotation, verse, and abstract environments.
+12) Make \cite commands hyperlink.

File base/beamer.cls

 \beamertemplateboldcenterframetitle
 
                                 % Sections in headline
-\usesectionheadtemplate
-{\color{structure}\tiny\insertsectionhead}
-{\color{structure!50!averagebackgroundcolor}\tiny\insertsectionhead}
-
-\usesubsectionheadtemplate
-{\color{structure}\tiny\insertsubsectionhead}
-{\color{structure!50!averagebackgroundcolor}\tiny\insertsubsectionhead}
+\beamertemplatedarksectionheads
 
                                 % Mini slides in headline
 \beamertemplatecircleminiframe
 \usefoottemplate{}
 
                                 % Background
-\usebackgroundtemplate{}
+\beamertemplatesolidbackgroundcolor{white}
 
                                 % Blocks
 \useblocktemplate{\medskip{\color{structure}\textbf{\insertblockname}}\par}{\medskip}

File base/beamerbaseboxes.sty

   \end{colormixin}
   \pgfaliasshading{bmb@cs#1.!2opaque}{bmb@shaded}
 
-  \pgfdeclareradialshading{bmb@cs#1bigsphere}{\pgfpoint{-0.9pt}{1.1pt}}%
+  \pgfdeclareradialshading{bmb@cs#1bigsphere}{\pgfpoint{-0.1849315ex}{.2260273ex}}%
   {color(0cm)=(bmb@up#1!15);
-    color(0.8pt)=(bmb@up#1!75);
-    color(1.6pt)=(bmb@up#1!70!black);
-    color(2.2pt)=(bmb@up#1!50!black);
-    color(2.6pt)=(bmb@down#1)}
-  \pgfdeclareradialshading{bmb@cs#1smallsphere}{\pgfpoint{-0.72pt}{0.89pt}}%
+    color(0.1643835ex)=(bmb@up#1!75);
+    color(0.3287671ex)=(bmb@up#1!70!black);
+    color(0.4520547ex)=(bmb@up#1!50!black);
+    color(0.53ex)=(bmb@down#1)}
+  \pgfdeclareradialshading{bmb@cs#1smallsphere}{\pgfpoint{-0.1479452ex}{0.18287671ex}}%
   {color(0cm)=(bmb@up#1!15);
-    color(0.64pt)=(bmb@up#1!75);
-    color(1.28pt)=(bmb@up#1!70!black);
-    color(1.76pt)=(bmb@up#1!50!black);
-    color(2.08pt)=(bmb@down#1)}
+    color(0.1315068ex)=(bmb@up#1!75);
+    color(0.2630136ex)=(bmb@up#1!70!black);
+    color(0.36164383ex)=(bmb@up#1!50!black);
+    color(0.427ex)=(bmb@down#1)}
   
   \begin{colormixin}{20!bmb@down#1}
-  \pgfdeclareradialshading{bigsphereshaded}{\pgfpoint{-0.9pt}{1.1pt}}%
+  \pgfdeclareradialshading{bigsphereshaded}{\pgfpoint{-0.1849315ex}{.2260273ex}}%
   {color(0cm)=(bmb@up#1!15);
-    color(0.8pt)=(bmb@up#1!75);
-    color(1.6pt)=(bmb@up#1!70!black);
-    color(2.2pt)=(bmb@up#1!50!black);
-    color(2.6pt)=(bmb@down#1)}
-  \pgfdeclareradialshading{smallsphereshaded}{\pgfpoint{-0.72pt}{0.89pt}}%
+    color(0.1643835ex)=(bmb@up#1!75);
+    color(0.3287671ex)=(bmb@up#1!70!black);
+    color(0.4520547ex)=(bmb@up#1!50!black);
+    color(0.53ex)=(bmb@down#1)}
+  \pgfdeclareradialshading{smallsphereshaded}{\pgfpoint{-0.1479452ex}{0.18287671ex}}%
   {color(0cm)=(bmb@up#1!15);
-    color(0.64pt)=(bmb@up#1!75);
-    color(1.28pt)=(bmb@up#1!70!black);
-    color(1.76pt)=(bmb@up#1!50!black);
-    color(2.08pt)=(bmb@down#1)}
+    color(0.1315068ex)=(bmb@up#1!75);
+    color(0.2630136ex)=(bmb@up#1!70!black);
+    color(0.36164383ex)=(bmb@up#1!50!black);
+    color(0.427ex)=(bmb@down#1)}
   \end{colormixin}
   \pgfaliasshading{bmb@cs#1bigsphere.!20opaque}{bigsphereshaded}
   \pgfaliasshading{bmb@cs#1smallsphere.!20opaque}{smallsphereshaded}
   \pgfaliasshading{bmb@cs#1smallsphere.!20!averagebackgroundcolor}{smallsphereshaded}
   
   \begin{colormixin}{15!bmb@down#1}
-  \pgfdeclareradialshading{bigsphereshaded}{\pgfpoint{-0.9pt}{1.1pt}}%
+  \pgfdeclareradialshading{bigsphereshaded}{\pgfpoint{-0.1849315ex}{.2260273ex}}%
   {color(0cm)=(bmb@up#1!15);
-    color(0.8pt)=(bmb@up#1!75);
-    color(1.6pt)=(bmb@up#1!70!black);
-    color(2.2pt)=(bmb@up#1!50!black);
-    color(2.6pt)=(bmb@down#1)}
-  \pgfdeclareradialshading{smallsphereshaded}{\pgfpoint{-0.72pt}{0.89pt}}%
+    color(0.1643835ex)=(bmb@up#1!75);
+    color(0.3287671ex)=(bmb@up#1!70!black);
+    color(0.4520547ex)=(bmb@up#1!50!black);
+    color(0.53ex)=(bmb@down#1)}
+  \pgfdeclareradialshading{smallsphereshaded}{\pgfpoint{-0.1479452ex}{0.18287671ex}}%
   {color(0cm)=(bmb@up#1!15);
-    color(0.64pt)=(bmb@up#1!75);
-    color(1.28pt)=(bmb@up#1!70!black);
-    color(1.76pt)=(bmb@up#1!50!black);
-    color(2.08pt)=(bmb@down#1)}
+    color(0.1315068ex)=(bmb@up#1!75);
+    color(0.2630136ex)=(bmb@up#1!70!black);
+    color(0.36164383ex)=(bmb@up#1!50!black);
+    color(0.427ex)=(bmb@down#1)}
   \end{colormixin}
   \pgfaliasshading{bmb@cs#1bigsphere.!15opaque}{bigsphereshaded}
   \pgfaliasshading{bmb@cs#1smallsphere.!15opaque}{smallsphereshaded}
   
   \begin{colormixin}{10!bmb@down#1}
-  \pgfdeclareradialshading{bigsphereshaded}{\pgfpoint{-0.9pt}{1.1pt}}%
+  \pgfdeclareradialshading{bigsphereshaded}{\pgfpoint{-0.1849315ex}{.2260273ex}}%
   {color(0cm)=(bmb@up#1!15);
-    color(0.8pt)=(bmb@up#1!75);
-    color(1.6pt)=(bmb@up#1!70!black);
-    color(2.2pt)=(bmb@up#1!50!black);
-    color(2.6pt)=(bmb@down#1)}
-  \pgfdeclareradialshading{smallsphereshaded}{\pgfpoint{-0.72pt}{0.89pt}}%
+    color(0.1643835ex)=(bmb@up#1!75);
+    color(0.3287671ex)=(bmb@up#1!70!black);
+    color(0.4520547ex)=(bmb@up#1!50!black);
+    color(0.53ex)=(bmb@down#1)}
+  \pgfdeclareradialshading{smallsphereshaded}{\pgfpoint{-0.1479452ex}{0.18287671ex}}%
   {color(0cm)=(bmb@up#1!15);
-    color(0.64pt)=(bmb@up#1!75);
-    color(1.28pt)=(bmb@up#1!70!black);
-    color(1.76pt)=(bmb@up#1!50!black);
-    color(2.08pt)=(bmb@down#1)}
+    color(0.1315068ex)=(bmb@up#1!75);
+    color(0.2630136ex)=(bmb@up#1!70!black);
+    color(0.36164383ex)=(bmb@up#1!50!black);
+    color(0.427ex)=(bmb@down#1)}
   \end{colormixin}
   \pgfaliasshading{bmb@cs#1bigsphere.!10opaque}{bigsphereshaded}
   \pgfaliasshading{bmb@cs#1smallsphere.!10opaque}{smallsphereshaded}
   
   \begin{colormixin}{5!bmb@down#1}
-  \pgfdeclareradialshading{bigsphereshaded}{\pgfpoint{-0.9pt}{1.1pt}}%
+  \pgfdeclareradialshading{bigsphereshaded}{\pgfpoint{-0.1849315ex}{.2260273ex}}%
   {color(0cm)=(bmb@up#1!15);
-    color(0.8pt)=(bmb@up#1!75);
-    color(1.6pt)=(bmb@up#1!70!black);
-    color(2.2pt)=(bmb@up#1!50!black);
-    color(2.6pt)=(bmb@down#1)}
-  \pgfdeclareradialshading{smallsphereshaded}{\pgfpoint{-0.72pt}{0.89pt}}%
+    color(0.1643835ex)=(bmb@up#1!75);
+    color(0.3287671ex)=(bmb@up#1!70!black);
+    color(0.4520547ex)=(bmb@up#1!50!black);
+    color(0.53ex)=(bmb@down#1)}
+  \pgfdeclareradialshading{smallsphereshaded}{\pgfpoint{-0.1479452ex}{0.18287671ex}}%
   {color(0cm)=(bmb@up#1!15);
-    color(0.64pt)=(bmb@up#1!75);
-    color(1.28pt)=(bmb@up#1!70!black);
-    color(1.76pt)=(bmb@up#1!50!black);
-    color(2.08pt)=(bmb@down#1)}
+    color(0.1315068ex)=(bmb@up#1!75);
+    color(0.2630136ex)=(bmb@up#1!70!black);
+    color(0.36164383ex)=(bmb@up#1!50!black);
+    color(0.427ex)=(bmb@down#1)}
   \end{colormixin}
   \pgfaliasshading{bmb@cs#1bigsphere.!5opaque}{bigsphereshaded}
   \pgfaliasshading{bmb@cs#1smallsphere.!5opaque}{smallsphereshaded}
   
   \begin{colormixin}{2!bmb@down#1}
-  \pgfdeclareradialshading{bigsphereshaded}{\pgfpoint{-0.9pt}{1.1pt}}%
+  \pgfdeclareradialshading{bigsphereshaded}{\pgfpoint{-0.1849315ex}{.2260273ex}}%
   {color(0cm)=(bmb@up#1!15);
-    color(0.8pt)=(bmb@up#1!75);
-    color(1.6pt)=(bmb@up#1!70!black);
-    color(2.2pt)=(bmb@up#1!50!black);
-    color(2.6pt)=(bmb@down#1)}
-  \pgfdeclareradialshading{smallsphereshaded}{\pgfpoint{-0.72pt}{0.89pt}}%
+    color(0.1643835ex)=(bmb@up#1!75);
+    color(0.3287671ex)=(bmb@up#1!70!black);
+    color(0.4520547ex)=(bmb@up#1!50!black);
+    color(0.53ex)=(bmb@down#1)}
+  \pgfdeclareradialshading{smallsphereshaded}{\pgfpoint{-0.1479452ex}{0.18287671ex}}%
   {color(0cm)=(bmb@up#1!15);
-    color(0.64pt)=(bmb@up#1!75);
-    color(1.28pt)=(bmb@up#1!70!black);
-    color(1.76pt)=(bmb@up#1!50!black);
-    color(2.08pt)=(bmb@down#1)}
+    color(0.1315068ex)=(bmb@up#1!75);
+    color(0.2630136ex)=(bmb@up#1!70!black);
+    color(0.36164383ex)=(bmb@up#1!50!black);
+    color(0.427ex)=(bmb@down#1)}
   \end{colormixin}
   \pgfaliasshading{bmb@cs#1bigsphere.!2opaque}{bigsphereshaded}
   \pgfaliasshading{bmb@cs#1smallsphere.!2opaque}{smallsphereshaded}

File base/beamerbaseframe.sty

 
 \presentation
 
+\newbox\beamer@framebox
+
+
 %
 % Slide Definitions
 %
   \global\beamer@pausecount=1\relax%
   \expandafter\beamer@ifempty\expandafter{\beamer@framestartpage}{%
     \refstepcounter{subsectionslide}%
-    \xdef\beamer@framestartpage{\thepage}% only first time
+    \xdef\beamer@framestartpage{\the\c@page}% only first time
   }{\clearpage}% cleanup from previous slide
   \hypersetup{pdfpagetransition=R}%
   \hypersetup{pdfpageduration=}%
-  \xdef\beamer@frameendpage{\thepage}% every time
+  \xdef\beamer@frameendpage{\the\c@page}% every time
   \beamer@setuplinks%
   \let\beamer@startcomment=\beamer@startcommentinframe%
+  % Insert labels if necessary:
   \ifx\beamer@againname\@empty\else%
     \label<\the\beamer@slideinframe>{\beamer@againname<\the\beamer@slideinframe>}%
     \ifnum\beamer@slideinframe=1\relax%
       \label<1>{\beamer@againname}%
     \fi%
   \fi%
-  \beamer@entrycode\vspace*{-\baselineskip}\begin{beamer@framepauses}\vfill}%
-  {\beamer@exitcode\vskip0pt plus 1.5fill\end{beamer@framepauses}}
-
-
-%
-%
-% The \frametitle command
-%
-%
-\long\def\frametitle#1{%
-  \beamer@ifempty{#1}{}{%
-  \vskip0pt plus -1fill%
-  {\gdef\insertframetitle{#1}\beamer@headrenderer}
-  \vskip0.25em%
-  \ifbeamer@centered
-  \vfill%
-  \fi}%
-}
-
-\long\def\useframetitletemplate#1{\def\beamer@headrenderer{#1}}
-
-
-\article
-{
-  \long\def\frametitle#1{\gdef\insertframetitle{#1}\beamer@headrenderer}
-  \long\def\useframetitletemplate#1{\def\beamer@headrenderer{#1}}
-  \useframetitletemplate{\paragraph{\insertframetitle}\ \par}
-}
+  % Start slide:
+  \setbox\beamer@framebox=\vbox to\textheight\bgroup\vbox{}\par%
+  \beamer@entrycode\begin{beamer@framepauses}%\vspace*{-\baselineskip}%
+  \vfill}%
+  {\beamer@exitcode\vskip0pt plus 1.5fill\end{beamer@framepauses}%}%
+  \egroup\box\beamer@framebox}
 
 
 
 \def\beamer@singletoken{\beamer@next\egroup}
 
 \def\beamer@writeslidentry{%
-  \expandafter\beamer@ifempty\expandafter{\beamer@framestartpage}{}% nothing to do ...
+  \expandafter\beamer@ifempty\expandafter{\beamer@framestartpage}{}% does not happen normally
   {%else
     \addtocontents{nav}%
       {\protect\headcommand{%

File base/beamerbaseframecomponents.sty

         \beamer@headtemplate\hfil%
       }%
       \hfil}}
-  \def\@oddfoot{\beamer@foottemplate\hypertarget{Navigation\thepage}{}\hfil}
+  \def\@oddfoot{\beamer@foottemplate\hypertarget{Navigation\the\c@page}{}\hfil}
   \let\@evenhead\@oddhead
   \let\@evenfoot\@oddfoot}
 \pagestyle{navigation}
     \setbox\beamer@tempbox=\hbox{\lower\beamer@tempdim\hbox{\box\beamer@tempbox}}%
     \wd\beamer@tempbox=0pt\ht\beamer@tempbox=0pt\dp\beamer@tempbox=0pt%
     \vbox{\hbox{\hskip-\Gm@lmargin\raise\headheight\box\beamer@tempbox}\hfil}}
-  \def\@oddfoot{\hypertarget{Navigation\thepage}{}\hfil}
+  \def\@oddfoot{\hypertarget{Navigation\the\c@page}{}\hfil}
   \let\@evenhead\@oddhead\let\@evenfoot\@oddfoot}
 
 \def\recalculatefoot{%

File base/beamerbaselocalstructure.sty

 
 
 %
+%
+% The \frametitle command
+%
+%
+\long\def\frametitle#1{%
+  \beamer@ifempty{#1}{}{%
+  \vskip0pt plus -1fill%
+  {\gdef\insertframetitle{#1}\beamer@headrenderer}
+  \vskip0.25em%
+  \ifbeamer@centered
+  \vfill%
+  \fi}%
+}
+
+\long\def\useframetitletemplate#1{\def\beamer@headrenderer{#1}}
+
+
+\article
+{
+  \long\def\frametitle#1{\gdef\insertframetitle{#1}\beamer@headrenderer}
+  \long\def\useframetitletemplate#1{\def\beamer@headrenderer{#1}}
+  \useframetitletemplate{\paragraph{\insertframetitle}\ \par}
+}
+
+
+
+%
 % Alerting
 %
 
 % Floats and tables
 %
 
-\def\figure{\@ifnextchar[{\@figure}{\@figure[]}}
-\def\@figure[#1]{% ignores placement specification!
+\newenvironment{figure}[1][]{%
   \def\@captype{figure}%
   \begin{center}}
-\def\endfigure{\end{center}}
+  {\end{center}}
 \newcounter{figure}
 \renewcommand\thefigure{\@arabic\c@figure}
 
-\def\table{\@ifnextchar[{\@table}{\@table[]}}
-\def\@table[#1]{% ignores placement specification!
+\newenvironment{table}[1][]{%
   \def\@captype{table}%
   \begin{center}}
-\def\endtable{\end{center}}
+  {\end{center}}
 \newcounter{table}
 \renewcommand\thetable{\@arabic\c@table}
 

File base/beamerbasenavigation.sty

 
 \def\beamer@link(#1/#2){%
   \def\beamer@goto{{Navigation#1}}% default: first slide of frame
-  \ifnum\thepage<#2%
-  \ifnum\thepage<#1\else% go to last slide of frame, on all slides of
+  \ifnum\c@page<#2%
+  \ifnum\c@page<#1\else% go to last slide of frame, on all slides of
                                 % the frame, except for the last one
   \def\beamer@goto{{Navigation#2}}% jump to last slide of frame
   \fi\fi%
 %
 
 \def\beamer@nameslide#1{%
-  \addtocontents{snm}{\protect\beamer@slide{#1}{\thepage}}%
+  \addtocontents{snm}{\protect\beamer@slide{#1}{\the\c@page}}%
   \hypertarget{#1}{}}
 \def\beamer@slide#1#2{\expandafter\def\csname beamer@hyperlink#1\endcsname{%
   \hyperlink{Navigation#2}}}

File base/beamerbasesection.sty

   \def\beamer@partname{#2}%
   \def\beamer@partnameshort{#1}%
   \addtocontents{nav}{\protect\headcommand{\protect\partentry{#2}{\the\c@part}}}%
-  \xdef\partlink{{Navigation\thepage}{\noexpand\beamer@partname}}%
-  \xdef\partlinkshort{{Navigation\thepage}{\noexpand\beamer@partnameshort}}%
+  \xdef\partlink{{Navigation\the\c@page}{\noexpand\beamer@partname}}%
+  \xdef\partlinkshort{{Navigation\the\c@page}{\noexpand\beamer@partnameshort}}%
   \beamer@tempcount=\c@page\advance\beamer@tempcount by -1%
   \addtocontents{nav}{\protect\headcommand{\protect\beamer@partpages{\the\beamer@partstartpage}{\the\beamer@tempcount}}}%
   \addtocontents{nav}{\protect\headcommand{\protect\beamer@sectionpages{\the\beamer@sectionstartpage}{\the\beamer@tempcount}}}%
    \long\def\secname{#2}\addtocontents{toc}{\protect\beamer@sectionintoc{\the\c@section}{#2}{\thepage}{\the\c@part}%
       {\the\beamer@tocsectionnumber}}}%
   \addtocontents{nav}{\protect\headcommand{\protect\sectionentry{\the\c@section}{#1}{\thepage}{\secname}{\the\c@part}}}%
-  {\let\\=\relax\xdef\sectionlink{{Navigation\thepage}{\noexpand\secname}}}%
+  {\let\\=\relax\xdef\sectionlink{{Navigation\the\c@page}{\noexpand\secname}}}%
   \beamer@tempcount=\c@page\advance\beamer@tempcount by -1%
   \addtocontents{nav}{\protect\headcommand{\protect\beamer@sectionpages{\the\beamer@sectionstartpage}{\the\beamer@tempcount}}}%
   \addtocontents{nav}{\protect\headcommand{\protect\beamer@subsectionpages{\the\beamer@subsectionstartpage}{\the\beamer@tempcount}}}%
   \beamer@tempcount=\c@page\advance\beamer@tempcount by -1%
   \addtocontents{nav}{\protect\headcommand{\protect\beamer@subsectionpages{\the\beamer@subsectionstartpage}{\the\beamer@tempcount}}}%
   \beamer@subsectionstartpage=\c@page%
-  \edef\subsectionlink{{Navigation\thepage}{\noexpand\subsecname}}%
+  \edef\subsectionlink{{Navigation\the\c@page}{\noexpand\subsecname}}%
   \def\insertsubsection{\expandafter\hyperlink\subsectionlink}
-  \Hy@writebookmark{\the\c@subsection}{#1}{Outline\the\c@section.\the\c@subsection.\thepage}{2}{toc}%
-  \hyper@anchorstart{Outline\the\c@section.\the\c@subsection.\thepage}\hyper@anchorend%
+  \Hy@writebookmark{\the\c@subsection}{#1}{Outline\the\c@section.\the\c@subsection.\the\c@page}{2}{toc}%
+  \hyper@anchorstart{Outline\the\c@section.\the\c@subsection.\the\c@page}\hyper@anchorend%
   \beamer@ifempty{#2}{\beamer@atbeginsubsections}{\beamer@atbeginsubsection}%
   \beamer@resumemode}
 

File base/beamerbasetemplates.sty

 
 \newcommand{\beamertemplateboldcenterframetitle}{
   \useframetitletemplate{%
+    \vskip0.25em%
     \begin{centering}
       \structure{\textbf{\insertframetitle}}
       \par
 }
 
   
+\newcommand{\beamertemplateboldframetitle}{
+  \useframetitletemplate{%
+    \vskip0.25em%
+    {\leftskip-\beamer@leftmargin\advance\leftskip by0.3cm%
+     \rightskip-\beamer@rightmargin plus1fil\advance\rightskip by0.3cm\leavevmode
+      \color{beamerstructure}
+      \Large\bfseries\insertframetitle\par}%
+    }
+}
 \newcommand{\beamertemplatelargeframetitle}{
   \useframetitletemplate{%
+    \vskip0.25em%
     {\leftskip-\beamer@leftmargin\advance\leftskip by0.3cm%
      \rightskip-\beamer@rightmargin plus1fil\advance\rightskip by0.3cm\leavevmode
-      \color{structure}
+      \color{beamerstructure}
       \Large\insertframetitle\par}%
     }
 }
   
 
+%
+% Side bars
+%
+\newcommand{\beamertemplaterightsidebarlogonavigation}{
+  \userightsidebartemplate{0cm}{%
+    \vfill%
+    \llap{\insertlogo\hskip0.1cm}%
+    \vskip2pt%
+    \llap{\insertnavigationsymbols\hskip0.1cm}%
+    \vskip2pt}
+}
+ 
+
+
 
 %
 % Table of contents templates
 
 \newcommand{\beamertemplateplaintoc}{
   \usetemplatetocsection[20!averagebackgroundcolor]
-    {\color{structure}\inserttocsection}
+    {\large\color{beamerstructure}\inserttocsection}
 
   \usetemplatetocsubsection[20!averagebackgroundcolor]
     {\leavevmode\leftskip=1.5em\color{black}\inserttocsubsection\par}
 
 \newcommand{\beamertemplatenumberedsubsectiontoc}{
   \usetemplatetocsection[20!averagebackgroundcolor]
-    {\leavevmode\leftskip=2em\color{structure}\inserttocsection}
+    {\leavevmode\leftskip=2em\color{beamerstructure}\inserttocsection}
 
   \usetemplatetocsubsection[20!averagebackgroundcolor]
     {\leavevmode\leftskip=2em\color{black}\rlap{\hskip-2em\inserttocsectionnumber.\inserttocsubsectionnumber}\inserttocsubsection\par}
 
 \newcommand{\beamertemplatenumberedsectiontoc}{
   \usetemplatetocsection[20!averagebackgroundcolor]
-  {\leavevmode\color{structure}\inserttocsectionnumber. \inserttocsection\par}
+  {\leavevmode\color{beamerstructure}\inserttocsectionnumber. \inserttocsection\par}
 
   \usetemplatetocsubsection[20!averagebackgroundcolor]
   {\leavevmode\leftskip=2.5em\color{black}\inserttocsubsection\par}
 
 \newcommand{\beamertemplatenumberedcirclesectiontoc}{
   \usetemplatetocsection[20!averagebackgroundcolor]
-  {\leavevmode\leftskip=.5em\color{structure}%
+  {\leavevmode\leftskip=.5em\color{beamerstructure}%
     \llap{\begin{pgfpicture}{-1ex}{0ex}{1ex}{2ex}
       \color{structure!50!averagebackgroundcolor}
       \pgfcircle[fill]{\pgfpoint{0ex}{.75ex}}{1.2ex}
 
   
   \usetemplatetocsection[20!averagebackgroundcolor]
-  {\leavevmode\leftskip=1em\color{structure}%
+  {\leavevmode\leftskip=1em\color{beamerstructure}%
     \llap{%
       \begin{pgfpicture}{-1ex}{-0.7ex}{1ex}{1ex}
         \pgfbox[center,center]{\pgfuseshading{tocsphere}}
 
 \newcommand{\beamertemplateballtoc}{
   \usetemplatetocsection[20!averagebackgroundcolor]
-    {\leavevmode\color{structure}\raise0.1ex\hbox{\pgfuseshading{bmb@cs\bmb@scheme bigsphere}}\ \inserttocsection\par}
+    {\leavevmode\color{beamerstructure}\raise0.1ex\hbox{\pgfuseshading{bmb@cs\bmb@scheme bigsphere}}\ \inserttocsection\par}
 
   \usetemplatetocsubsection[20!averagebackgroundcolor]
     {\leavevmode\leftskip=1.5em\color{black}\raise0.2ex\hbox{\pgfuseshading{bmb@cs\bmb@scheme smallsphere}}\ \inserttocsubsection\par}
 %
 
 \newcommand{\beamertemplatedotitem}{%
-  \useitemizeitemtemplate{\small\raise0.5pt\hbox{\color{structure}\textbullet}}
-  \usesubitemizeitemtemplate{\footnotesize\raise0.5pt\hbox{\color{structure}\textbullet}}
+  \useitemizeitemtemplate{\small\raise0.5pt\hbox{\color{beamerstructure}\textbullet}}
+  \usesubitemizeitemtemplate{\footnotesize\raise0.5pt\hbox{\color{beamerstructure}\textbullet}}
   }
 
 \newcommand{\beamertemplateballitem}{%
   \usesubitemizeitemtemplate{\raise0.2pt\hbox{\pgfuseshading{bmb@cs\bmb@scheme smallsphere}}}
 
   \useenumerateitemtemplate{
-    \color{structure}%
+    \color{beamerstructure}%
     \begin{pgfpicture}{-1ex}{-0.65ex}{1ex}{1ex}
       \begin{pgfmagnify}{1.75}{1.75}
         \pgfbox[center,center]{\pgfuseshading{bmb@cs\bmb@scheme bigsphere}}
         {\pgfbox[center,center]{\color{white}\tiny\textbf{\insertenumlabel}}}
     \end{pgfpicture}}
   \usesubenumerateitemtemplate{%
-    \color{structure}%
+    \color{beamerstructure}%
     \begin{pgfpicture}{-1ex}{-0.55ex}{1ex}{1ex}
       \begin{pgfmagnify}{1.4}{1.4}
         \pgfbox[center,center]{\pgfuseshading{bmb@cs\bmb@scheme bigsphere}}
       \end{pgfmagnify}
-      \pgfputat{\pgfpoint{0pt}{0.1pt}}
-      {\pgfbox[center,center]{\color{white}\tiny\insertsubenumlabel}}
+      \pgfbox[center,center]{\color{white}\tiny\insertsubenumlabel}
     \end{pgfpicture}}
   \AtBeginDocument{\beamertemplatesetupshadings}
 }
 
 \newcommand{\beamertemplatetriangleitem}{%
-  \useitemizeitemtemplate{\scriptsize\raise1.25pt\hbox{\color{structure}$\blacktriangleright$}}
-  \usesubitemizeitemtemplate{\tiny\raise1.5pt\hbox{\color{structure}$\blacktriangleright$}}
+  \useitemizeitemtemplate{\scriptsize\raise1.25pt\hbox{\color{beamerstructure}$\blacktriangleright$}}
+  \usesubitemizeitemtemplate{\tiny\raise1.5pt\hbox{\color{beamerstructure}$\blacktriangleright$}}
   }
 
 
 %
 
 \newcommand{\beamertemplateenumeratealpha}{
-  \useenumerateitemtemplate{\color{structure}\insertenumlabel.}
-  \usesubenumerateitemtemplate{\color{structure}\insertenumlabel.\insertsubenumlabel}
+  \useenumerateitemtemplate{\color{beamerstructure}\insertenumlabel.}
+  \usesubenumerateitemtemplate{\color{beamerstructure}\insertenumlabel.\insertsubenumlabel}
   }
   
 %
 
 
 %
+% Headline stuff
+%
+
+\newcommand{\beamertemplatelightsectionheads}
+{
+  \usesectionheadtemplate
+  {\hfill\color{white}\tiny\textbf{\insertsectionhead}}
+  {\hfill\color{white!50!black}\tiny\textbf{\insertsectionhead}}
+
+  \usesubsectionheadtemplate
+  {\color{white}\tiny\textbf{\insertsubsectionhead}}
+  {\color{white!50!structure}\tiny\textbf{\insertsubsectionhead}}
+}
+
+\newcommand{\beamertemplatedarksectionheads}
+{
+  \usesectionheadtemplate
+  {\color{structure}\tiny\insertsectionhead}
+  {\color{structure!50!averagebackgroundcolor}\tiny\insertsectionhead}
+
+  \usesubsectionheadtemplate
+  {\color{structure}\tiny\insertsubsectionhead}
+  {\color{structure!50!averagebackgroundcolor}\tiny\insertsubsectionhead}
+}
+
+
+
+%
 % Foot templates
 %
 
   \useminislidetemplate
   {%
     \begin{pgfpicture}{0pt}{0pt}{0.1cm}{0.1cm}
-      \color{structure}
+      \color{beamerstructure}
       \pgfcircle[fillstroke]{\pgfpoint{\beamer@sphereradius}{\beamer@sphereradius}}{\beamer@sphereradius}%
     \end{pgfpicture}%
   }
   {%
     \begin{pgfpicture}{0pt}{0pt}{0.1cm}{0.1cm}
-      \color{structure}
+      \color{beamerstructure}
       \pgfcircle[stroke]{\pgfpoint{\beamer@sphereradius}{\beamer@sphereradius}}{\beamer@sphereradius}%
     \end{pgfpicture}%
   }
 \newcommand{\beamertemplateboxminiframe}{
   \useminislidetemplate{%
     \begin{pgfpicture}{0pt}{0pt}{.1cm}{.1cm}
-      \color{structure}
+      \color{beamerstructure}
       \pgfrect[fillstroke]{\pgforigin}{\pgfpoint{\the\boxsize}{\the\boxsize}}
     \end{pgfpicture}%
   }  
   {%
     \begin{pgfpicture}{0pt}{0pt}{.1cm}{.1cm}
-      \color{structure}
+      \color{beamerstructure}
       \pgfrect[stroke]{\pgforigin}{\pgfpoint{\the\boxsize}{\the\boxsize}}
     \end{pgfpicture}%
   }
 \newcommand{\beamertemplateticksminiframe}{
   \useminislidetemplate
   {%
-    \color{structure}%
+    \color{beamerstructure}%
     \hskip-0.4pt\vrule height\boxsize width1.2pt%
   }  
   {%
-    \color{structure}%
+    \color{beamerstructure}%
     \vrule height\boxsize width0.4pt%
   }
   {%
 }
 
 \newcommand{\beamertemplatetextbibitems}{
-  \usebibitemtemplate{\color{structure}\insertbiblabel}
+  \usebibitemtemplate{\color{beamerstructure}\insertbiblabel}
 }
 
 \newcommand{\beamertemplatearrowbibitems}{
-  \usebibitemtemplate{\color{structure}\scriptsize\raise1.25pt\hbox{$\blacktriangleright$}}
+  \usebibitemtemplate{\color{beamerstructure}\scriptsize\raise1.25pt\hbox{$\blacktriangleright$}}
 }
 
 \article
 
 \newcommand{\beamertemplateoutlinebuttons}
 {\usebuttontemplate{%
-  \color{structure}
+  \color{beamerstructure}
   \setbox\beamer@tempbox=\hbox{\tiny\insertbuttontext}%
   \ht\beamer@tempbox=6pt%
   \dp\beamer@tempbox=0pt%
   \hskip-\beamer@tempdim%
   \box\beamer@tempbox%
   \kern4pt}}
+
+
 \newcommand{\beamertemplatenavigationsymbolsempty}{
   \usenavigationsymbolstemplate{}}
 
 \newcommand{\beamertemplatenavigationsymbolsvertical}{%
   \usenavigationsymbolstemplate{
   \vbox{%
-  \hbox{\insertslidenavigationsymbols}
-  \hbox{\insertframenavigationsymbols}
-  \hbox{\insertsubsectionnavigationsymbols}
-  \hbox{\insertsectionnavigationsymbols}
-  \hbox{\insertdocnavigationsymbols}
-  \hbox{\insertbackfindforwardnavigationsymbols}}}}
+  \hbox{\insertslidenavigationsymbol}
+  \hbox{\insertframenavigationsymbol}
+  \hbox{\insertsubsectionnavigationsymbol}
+  \hbox{\insertsectionnavigationsymbol}
+  \hbox{\insertdocnavigationsymbol}
+  \hbox{\insertbackfindforwardnavigationsymbol}}}}
 
 \newcommand{\beamertemplatenavigationsymbolshorizontal}{%
   \usenavigationsymbolstemplate{\hbox{%
 %
 
 \newcommand{\beamertemplateboldblocks}{
-  \useblocktemplate{\medskip{\color{structure}\textbf{\insertblockname}}\par}{\medskip}
+  \useblocktemplate{\medskip{\color{beamerstructure}\textbf{\insertblockname}}\par}{\medskip}
   \usealertblocktemplate{\medskip{\alert{\textbf{\insertblockname}}}\par}{\medskip}
   \useexampleblocktemplate{\medskip\begingroup{\color{structure!50!green}\textbf{\insertblockname}}\par%
     \color{black!50!green}}{\endgroup\medskip}
 }
 
 \newcommand{\beamertemplatelargeblocks}{
-  \useblocktemplate{\medskip{\color{structure}\large{\insertblockname}}\par}{\medskip}
+  \useblocktemplate{\medskip{\color{beamerstructure}\large{\insertblockname}}\par}{\medskip}
   \usealertblocktemplate{\medskip{\alert{\large{\insertblockname}}}\par}{\medskip}
   \useexampleblocktemplate{\medskip\begingroup{\color{structure!50!green}\large{\insertblockname}}\par%
     \color{black!50!green}}{\endgroup\medskip}

File base/beamerbasetitle.sty

 \def\beamer@title[#1]#2{%
   \def\inserttitle{#2}%
   \def\insertshorttitle{\def\\{}%
-    \ifnum\thepage=1%
+    \ifnum\c@page=1%
     \hyperlinkpresentationend{#1}%
     \else%
     \hyperlinkpresentationstart{#1}%
 % The \logo command
 %
 %
-\def\logo#1{\def\insertlogo{#1}}
+\def\logo#1{\def\insertlogo{\normalcolor#1}}
 \logo{}
 
 \article

File base/beamerbasetoc.sty

     \pause[0]%
     \@input{\jobname.toc}%
     \vfill}%
-  \normalcolor
   }
 
 \def\tableofcontentscurrent{\tableofcontents[current]}

File doc/beameruserguide.tex

 \end{smallpackage}
 
 
-\begin{smallpackage}{{beamerthemesidebar}\opt{|[width=|\meta{sidebar width}|]|}}
-  \example
+\begin{smallpackage}{{beamerthemesidebar}\opt{|[width=|\meta{sidebar
+        width}|,dark,tab]|}}
+  The option |width| sets the width of the sidebar to \meta{sidebar
+    width}. The option |dark| makes the side bar and the whole theme
+  darked. The option |tab| causes the current section or subsection to
+  be hilighted by changing the background behind the entry, rather
+  than hilighting the entry itself.
+  
+  \example |\usepackage{beamersidebar}|
 
   \pgfuseimage{themesidebar}\quad\pgfuseimage{themesidebar2}
 
-  \example
-\begin{verbatim}
-\usepackage[width=3cm]{beamerthemesidebar}
-\end{verbatim}
-\end{smallpackage}
-
-
-\begin{smallpackage}{{beamerthemesidebartab}\opt{|[width=|\meta{sidebar width}|]|}}
-  \example
+  \example |\usepackage[tab]{beamersidebar}|
 
   \pgfuseimage{themesidebartab}\quad\pgfuseimage{themesidebartab2}
-\end{smallpackage}
-
-
-\begin{smallpackage}{{beamerthemesidebardark}\opt{|[width=|\meta{sidebar width}|]|}}
-  \example
+
+  \example |\usepackage[dark]{beamersidebar}|
 
   \pgfuseimage{themesidebardark}\quad\pgfuseimage{themesidebardark2}
-\end{smallpackage}
-
-
-\begin{smallpackage}{{beamerthemesidebartabdark}\opt{|[width=|\meta{sidebar width}|]|}}
-  \example
+
+  \example |\usepackage[dark,tab]{beamersidebar}|
 
   \pgfuseimage{themesidebardarktab}\quad\pgfuseimage{themesidebardarktab2}
 \end{smallpackage}
 
   \pgfuseimage{themesplit}\quad\pgfuseimage{themesplit2}
 \end{smallpackage}
-\medskip
-
-The theme |beamerthemesplitcondensed| is no longer
-supported. Use |beamerthemesplit| with the |compress| class option
-instead. 
 
 \begin{smallpackage}{{beamerthemetree}}
   \example
 
 \paragraph{Predefined Templates}\ 
 
+\begin{command}{\beamertemplatesolidbackgroundcolor\marg{color}}
+  Installs the given color as the background color for every frame.
+  
+  \example |\beamertemplatesolidbackgroundcolor{white!90!red}|
+\end{command}
+
 \begin{command}{\beamertemplateshadingbackground%
     \marg{color expression page bottom}\marg{color expression page top}}
   Installs a vertically shaded background such that the

File themes/beamerthemebars.sty

 % 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
-  }
+                                % Standard templates
+\beamertemplatelargetitlepage
+\beamertemplatelargepartpage
+\beamertemplatelargeframetitle
+\beamertemplatelargeblocks
+\beamertemplatecircleminiframeinverted
+\beamertemplateplaintoc
+\beamertemplatelightsectionheads
 
-                                % Frametitles
-\useframetitletemplate{%
-  \vskip8pt
-  {\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
-{\color{white}\tiny\textbf{\insertsectionhead}}
-{\color{white!50!structure}\tiny\textbf{\insertsectionhead}}
-
-
-\beamertemplatecircleminiframeinverted
-
-                                % Entries in table of contents
-\usetemplatetocsection[50!averagebackgroundcolor]
-{{\large\color{structure}\inserttocsection}}
-
-                                % Entries in table of contents
-\usetemplatetocsubsection[50!averagebackgroundcolor]
-{\leavevmode\leftskip=1.5em\color{black}\inserttocsubsection\par}
 
                                 % Head
-\newbox\headbox
 \useheadtemplate{%
   \vbox{%
     \colouredline{structure}{\hskip-0.3cm\insertnavigation{\paperwidth}\hskip-0.3cm}%
   }}
 
                                 % Footline
-\def\beamernavigationcolorlight{structure!65!white}
-\def\beamernavigationcolorstrong{structure!50!white}
- 
-  
 \usefoottemplate{%
-  \setbox\beamer@logobox=\hbox{\insertlogo}%
   \vbox{%
     \hbox to\textwidth{\hfill%
       \setbox\beamer@logobox=\hbox{\raise 2pt\hbox{\insertlogo}}\ht\beamer@logobox=0pt%
     \tinycolouredline{structure}{\color{white}\textbf{\insertshorttitle}\hfill\lower1pt\hbox{\insertnavigationsymbols}%
   }}}
 
-                                % Blocks
-\useblocktemplate{\medskip{\color{structure}\large{\insertblockname}}\par}{\medskip}
-\usealertblocktemplate{\medskip{\alert{\large{\insertblockname}}}\par}{\medskip}
-\useexampleblocktemplate{\medskip\begingroup{\color{structure!50!green}\large{\insertblockname}}\par%
-\color{black!50!green}}{\endgroup\medskip}
+
+                                % Color of navigation symbols
+\def\beamernavigationcolorlight{structure!65!white}
+\def\beamernavigationcolorstrong{structure!50!white}

File themes/beamerthemeboxes.sty

 \define@key{BeamerBoxes}{footheight}{\beamer@boxfootheight=#1}
 \ProcessOptionsWithKV{BeamerBoxes}
 
-                                % 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
-  }
+% For example:
+%\addheadboxtemplate{\color{black}}{\hfill\tiny\color{white}\textbf{\insertshorttitle}\hskip0.3cm}
+%\addheadboxtemplate{\color{structure}}{\hskip0.3cm\tiny\color{white}\textbf{\insertshortauthor}}
 
-                                % Frametitles
-\useframetitletemplate{%
-  {\leftskip-\beamer@leftmargin\advance\leftskip by0.3cm%
-   \rightskip-\beamer@rightmargin plus1fil\advance\rightskip by0.3cm\leavevmode
-    \color{structure}
-    \Large\insertframetitle\par}%
-  }
+%\addfootboxtemplate{\color{black}}{\hfill\tiny\color{white}\textbf{\insertshortinstitute}\hskip0.3cm}
+%\addfootboxtemplate{\color{structure}}{}
+%\addfootboxtemplate{\color{black}}{\hfill\tiny\color{white}\textbf{\insertframenumber}\hskip0.3cm}
 
 
-                                % Sections in headline
-\usesectionheadtemplate
-{\hfill\color{white}\tiny\textbf{\insertsectionhead}}
-{\hfill\color{white!50!black}\tiny\textbf{\insertsectionhead}}
 
-\usesubsectionheadtemplate
-{\color{white}\tiny\textbf{\insertsubsectionhead}}
-{\color{white!50!structure}\tiny\textbf{\insertsubsectionhead}}
-
-                                % Entries in table of contents
-\usetemplatetocsection[50!averagebackgroundcolor]
-{{\large\color{structure}\inserttocsection}}
-
-                                % Entries in table of contents
-\usetemplatetocsubsection[50!averagebackgroundcolor]
-{\leavevmode\leftskip=1.5em\color{black}\inserttocsubsection\par}
+                                % Standard templates
+\beamertemplatelargetitlepage
+\beamertemplatelargepartpage
+\beamertemplatelargeframetitle
+\beamertemplatelargeblocks
+\beamertemplatecircleminiframeinverted
+\beamertemplateplaintoc
+\beamertemplatelightsectionheads
 
 
                                 % Head
 }}
 
 
-                                % Blocks
-\useblocktemplate{\medskip{\color{structure}\large{\insertblockname}}\par}{\medskip}
-\usealertblocktemplate{\medskip{\alert{\large{\insertblockname}}}\par}{\medskip}
-\useexampleblocktemplate{\medskip\begingroup{\color{structure!50!green}\large{\insertblockname}}\par%
-\color{black!50!green}}{\endgroup\medskip}
-
-
-                                % Buttons
-\userightsidebartemplate{0cm}{%
-  \vfill\llap{\insertnavigationsymbols}}
-
-% For example:
-%\addheadboxtemplate{\color{black}}{\hfill\tiny\color{white}\textbf{\insertshorttitle}\hskip0.3cm}
-%\addheadboxtemplate{\color{structure}}{\hskip0.3cm\tiny\color{white}\textbf{\insertshortauthor}}
-
-%\addfootboxtemplate{\color{black}}{\hfill\tiny\color{white}\textbf{\insertshortinstitute}\hskip0.3cm}
-%\addfootboxtemplate{\color{structure}}{}
-%\addfootboxtemplate{\color{black}}{\hfill\tiny\color{white}\textbf{\insertframenumber}\hskip0.3cm}
+\beamertemplaterightsidebarlogonavigation

File themes/beamerthemeclassic.sty

 % of the LaTeX Project Public License Distributed from CTAN
 % archives in directory macros/latex/base/lppl.txt.
 
+
+                                % default templates
+\beamertemplaterightsidebarlogonavigation
+\beamertemplatelargeblocks
+
                                 % Title page  
 \usetitlepagetemplate{
   \vbox{}
 
                                 % Frametitles
 \useframetitletemplate{%
-  \vskip1.5em
+  \vskip1.25em
   {\leftskip-\beamer@leftmargin plus1fill\advance\leftskip by0.3cm%
    \rightskip-\beamer@rightmargin plus1fill\advance\rightskip by0.3cm\leavevmode
     \color{structure}\Large\textrm{\textit{{\insertframetitle}}}\par}
                                 % Footline
 \usefoottemplate{}
 
-%                                % Background
-%\usebackgroundtemplate{{\color{white}\vrule height\paperheight width\paperwidth}}
-% Necessary, because of strange bug in acroread fullscreen preview
-
-
-                                % Blocks
-\useblocktemplate{\medskip{\color{structure}\large{\insertblockname}}\par}{\medskip}
-\usealertblocktemplate{\medskip{\alert{\large{\insertblockname}}}\par}{\medskip}
-\useexampleblocktemplate{\medskip\begingroup{\color{structure!50!green}\large{\insertblockname}}\par%
-\color{black!50!green}}{\endgroup\medskip}
 
  
                                 % Itemize
 \useitemizeitemtemplate{\tiny\raise1.5pt\hbox{\color{structure}$\blacktriangleright$}}
 \usesubitemizeitemtemplate{\tiny\raise1.5pt\hbox{\color{structure}$\blacktriangleright$}}
-
-                                % Buttons
-\userightsidebartemplate{0cm}{%
-  \vfill%
-  \llap{\insertlogo\hskip0.1cm}%
-  \llap{\insertnavigationsymbols}}

File themes/beamerthemelined.sty

 % 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{%
-  \vskip4pt
-  {\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
-{\color{structure}\tiny\insertsectionhead}
-{\color{structure!50!averagebackgroundcolor}\tiny\insertsectionhead}
-
-                                % Entries in table of contents
-\usetemplatetocsection[50!averagebackgroundcolor]
-{{\large\color{structure}\inserttocsection}}
-
-                                % Entries in table of contents
-\usetemplatetocsubsection[50!averagebackgroundcolor]
-{\leavevmode\leftskip=1.5em\color{black}\inserttocsubsection\par}
+                                % Standard templates
+\beamertemplatelargetitlepage
+\beamertemplatelargepartpage
+\beamertemplatelargeframetitle
+\beamertemplatelargeblocks
+\beamertemplateplaintoc
 
                                 % Head
 \useheadtemplate{%
       }%
     }%
   }
-
-                                % Blocks
-\useblocktemplate{\medskip{\color{structure}\large{\insertblockname}}\par}{\medskip}
-\usealertblocktemplate{\medskip{\alert{\large{\insertblockname}}}\par}{\medskip}
-\useexampleblocktemplate{\medskip\begingroup{\color{structure!50!green}\large{\insertblockname}}\par%
-\color{black!50!green}}{\endgroup\medskip}

File themes/beamerthemeplain.sty

 % of the LaTeX Project Public License Distributed from CTAN
 % archives in directory macros/latex/base/lppl.txt.
 
+
+                                % Standard templates
+\beamertemplatelargeblocks
+\beamertemplaterightsidebarlogonavigation
+
                                 % Title page  
 \usetitlepagetemplate{
   \vbox{}
     \color{structure}\Large\textrm{\textit{{\insertframetitle}}}\par}
   }
 
-                                % Sections in headline
-\usesectionheadtemplate
-{\color{structure}\tiny\insertsectionhead}
-{\color{structure!50!averagebackgroundcolor}\tiny\insertsectionhead}
-
                                 % Entries in table of contents
 \usetemplatetocsection[50!averagebackgroundcolor]
 {{\large\color{structure}\textrm{\textit{{\inserttocsection}}}}}
                                 % Footline
 \usefoottemplate{}
 
-                                % Blocks
-\useblocktemplate{\medskip{\color{structure}\large{\insertblockname}}\par}{\medskip}
-\usealertblocktemplate{\medskip{\alert{\large{\insertblockname}}}\par}{\medskip}
-\useexampleblocktemplate{\medskip\begingroup{\color{structure!50!green}\large{\insertblockname}}\par%
-\color{black!50!green}}{\endgroup\medskip}
-
                                 % Itemize
 \useitemizeitemtemplate{\tiny\raise1.5pt\hbox{\color{structure}$\blacktriangleright$}}
 \usesubitemizeitemtemplate{\tiny\raise1.5pt\hbox{\color{structure}$\blacktriangleright$}}
-
-                                % Buttons
-\userightsidebartemplate{0cm}{%
-  \vfill%
-  \llap{\insertlogo\hskip0.1cm}%
-  \llap{\insertnavigationsymbols}}

File themes/beamerthemeshadow.sty

   }
   
 \useframetitletemplate{%
-  \nointerlineskip{\tiny\vskip.35em}\vskip-2pt%
+  \nointerlineskip\vskip-2pt%{\tiny\vskip.35em}\vskip-2pt%
   \hbox{\leavevmode
     \advance\beamer@leftmargin by -12bp%
     \advance\beamer@rightmargin by -12bp%
     \advance\beamer@tempdim by \beamer@rightmargin%
     \hskip-\Gm@lmargin\hbox{%
       \setbox\beamer@tempbox=\hbox{\begin{minipage}[b]{\paperwidth}%
-          \vskip2pt%
+          \vbox{}\vskip-1ex%
           \leftskip0.3cm%
           \rightskip0.3cm plus1fil\leavevmode
           \color{structure}\Large\color{white}\insertframetitle\strut\par
 
 \beamertemplateballitem
 \beamertemplatesolidbuttons
-
-                                % Sections in headline
-\usesectionheadtemplate
-  {\hfill\color{white}\tiny\textbf{\insertsectionhead}}
-  {\hfill\color{white!50!black}\tiny\textbf{\insertsectionhead}}
-
-\usesubsectionheadtemplate
-  {\color{white}\tiny\textbf{\insertsubsectionhead}}
-  {\color{white!50!structure}\tiny\textbf{\insertsubsectionhead}}
-
+\beamertemplatelightsectionheads
 
                                 % Entries in table of contents
 \beamertemplatenumberedballsectiontoc
 
-
 \pgfdeclareverticalshading{topshade}{\paperwidth}{%
   color(0pt)=(averagebackgroundcolor);
   color(4pt)=(black!50!averagebackgroundcolor)}

File themes/beamerthemesidebar.sty

   \@tempa
   \AtEndOfPackage{\let\@unprocessedoptions\relax}}
 
+\newif\ifbeamer@sidebartab
+\newif\ifbeamer@sidebardark
+
+\beamer@sidebartabfalse
+\beamer@sidebardarkfalse
+
 \newdimen\beamer@sidebarwidth
 \beamer@sidebarwidth=2.5cm
-\define@key{Side}{width}{\beamer@sidebarwidth=#1}
-\ProcessOptionsWithKV{Side}
+\define@key{beamersidebar}{width}{\beamer@sidebarwidth=#1}
+\define@key{beamersidebar}{tab}[true]{\csname beamer@sidebartab#1\endcsname}
+\define@key{beamersidebar}{dark}[true]{\csname beamer@sidebardark#1\endcsname}
+\ProcessOptionsWithKV{beamersidebar}
 
-                                % 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\vskip0.3cm\leavevmode
-    \color{structure}
-    \Large\insertframetitle\par}%
-  }
+\ifbeamer@sidebardark
+  \beamertemplateboldtitlepage
+  \beamertemplateboldpartpage
+  \beamertemplateboldframetitle
+  \beamertemplateboldblocks
+  \beamertemplatenavigationsymbolsvertical
+\else
+  \beamertemplatelargetitlepage
+  \beamertemplatelargepartpage
+  \beamertemplatelargeframetitle
+  \beamertemplatelargeblocks
+  \beamertemplatenavigationsymbolsvertical
+\fi
 
+\ifbeamer@sidebardark
+  \usetemplatetocsection[50!averagebackgroundcolor]
+  {\color{structure}\textbf{\inserttocsection}}
+
+  \def\beamernavigationcolorlight{structure!65!white}
+  \def\beamernavigationcolorstrong{structure!50!white}
+
+  \ifbeamer@sidebartab
+    {\tiny\global\beamer@tempdim=2.4375ex}
+
+    \pgfdeclarehorizontalshading{beamer@tabmain}{\the\beamer@tempdim}
+    {color(0pt)=(white);
+      color(\beamer@sidebarwidth)=(structure!50!averagebackgroundcolor)}
+    \pgfdeclarehorizontalshading{beamer@tab}{\the\beamer@tempdim}{%
+      color(0pt)=(white);
+      color(9pt)=(structure!50!averagebackgroundcolor);
+      color(\beamer@sidebarwidth)=(structure)}
+  \fi
+\fi
+  
 
                                 % Sections in headline
 \usesectionsidetemplate
 {%
   {\tiny
-  \setbox\beamer@tempbox=\hbox{\color{black}{\kern3pt\insertsectionhead}}%
+    \setbox\beamer@tempbox=\hbox{%
+      \ifbeamer@sidebartab%
+        \ifbeamer@sidebardark%
+          \color[gray]{0.3}\lower0.5ex\hbox{\pgfuseshading{beamer@tab}}%
+          \hskip-\beamer@sidebarwidth%
+          \color{structure}\bfseries%
+        \else%
+          \color[gray]{0.1}\lower0.375ex\hbox{\vrule width\beamer@sidebarwidth height 2.4375ex}%
+          \hskip-\beamer@sidebarwidth%
+          \color{structure}%
+        \fi%
+      \else%
+        \ifbeamer@sidebardark%
+          \color{white}\bfseries%
+        \else%
+          \color{black}%
+        \fi%
+      \fi{\kern1.125ex\insertsectionhead}}%
   \ht\beamer@tempbox=3ex%
   \dp\beamer@tempbox=0.75ex%
   \wd\beamer@tempbox=\beamer@sidebarwidth%
 }
 {%
   {\tiny
-  \setbox\beamer@tempbox=\hbox{\color{structure!75}{\kern3pt\insertsectionhead}}%
+    \setbox\beamer@tempbox=\hbox{%
+      \ifbeamer@sidebartab%
+        \ifbeamer@sidebardark\color{structure!50}\bfseries\else\color{structure}\fi%
+      \else%
+        \ifbeamer@sidebardark\color{structure!80}\bfseries\else\color{structure!75}\fi%
+      \fi{\kern1.125ex\insertsectionhead}}%
   \ht\beamer@tempbox=3ex%
   \dp\beamer@tempbox=0.75ex%
   \wd\beamer@tempbox=\beamer@sidebarwidth%
 \usesubsectionsidetemplate
 {%
   {\tiny
-  \setbox\beamer@tempbox=\hbox{\color{black}{\kern6pt\insertsubsectionhead}}%
+    \setbox\beamer@tempbox=\hbox{%
+      \ifbeamer@sidebartab%
+        \ifbeamer@sidebardark%
+          \color[gray]{0.3}\lower0.5ex\hbox{\pgfuseshading{beamer@tab}}%
+          \hskip-\beamer@sidebarwidth%
+          \color{white}\bfseries%
+        \else%
+          \color{black!10}\lower0.375ex\hbox{\vrule width\beamer@sidebarwidth height 2.4375ex}%
+          \hskip-\beamer@sidebarwidth%
+          \color{black}%
+        \fi%
+      \else%
+        \ifbeamer@sidebardark\color{white}\bfseries\else\color{black}\fi%
+      \fi{\kern2.25ex\insertsubsectionhead}}%
   \ht\beamer@tempbox=1.6875ex%
   \dp\beamer@tempbox=0.75ex%
   \wd\beamer@tempbox=\beamer@sidebarwidth%
 }
 {%
   {\tiny%
-  \setbox\beamer@tempbox=\hbox{\color{black!50}{\kern6pt\insertsubsectionhead}}%
+    \setbox\beamer@tempbox=\hbox{%
+      \ifbeamer@sidebartab%
+        \ifbeamer@sidebardark\color{white}\bfseries\else\color{black}\fi%
+      \else%
+        \ifbeamer@sidebardark\color{black!50}\bfseries\else\color{black!50}\fi%
+      \fi{\kern2.25ex\insertsubsectionhead}}%
   \ht\beamer@tempbox=1.6875ex%
   \dp\beamer@tempbox=0.75ex%
   \wd\beamer@tempbox=\beamer@sidebarwidth%
     \begin{minipage}{\beamer@tempdim}
       \leftskip0pt plus1fill%
       \rightskip0pt plus1fill%
-      \tiny\color{structure}\insertshorttitle%
-      \vskip.5em
-      \color{black!75}\insertshortauthor
+      \tiny
+      \ifbeamer@sidebardark
+        \color{white}\bfseries\insertshorttitle%
+        \vskip.5em
+        \color{structure!50}\insertshortauthor
+      \else%
+        \color{structure}\insertshorttitle%
+        \vskip.5em
+        \color{black!75}\insertshortauthor5
+      \fi%
     \end{minipage}}%
   \vskip1em
   \insertverticalnavigation{\beamer@sidebarwidth}%
 }
 
                                 % Side bar background
-\userightsidebarverticalshadingtemplate{white}{structure!50!averagebackgroundcolor}
-
-                                % Blocks
-\useblocktemplate{\medskip{\color{structure}\large{\insertblockname}}\par}{\medskip}
-\usealertblocktemplate{\medskip{\alert{\large{\insertblockname}}}\par}{\medskip}
-\useexampleblocktemplate{\medskip\begingroup{\color{structure!50!green}\large{\insertblockname}}\par%
-\color{black!50!green}}{\endgroup\medskip}
-
+\ifbeamer@sidebardark
+  \userightsidebarverticalshadingtemplate{structure}{black}
+\else
+  \ifbeamer@sidebartab
+    \userightsidebarverticalshadingtemplate{structure!90!white}{white!95!structure}
+  \else
+    \userightsidebarverticalshadingtemplate{white}{structure!50!averagebackgroundcolor}
+  \fi
+\fi
+  
                                 % Margins
 \beamersetleftmargin{0.5cm}
 \beamersetrightmargin{0.5cm}
-
-                                % Navigation symbols
-\usenavigationsymbolstemplate{\vbox{%
-  \hbox{\insertslidenavigationsymbol}
-  \hbox{\insertframenavigationsymbol}
-  \hbox{\insertsubsectionnavigationsymbol}
-  \hbox{\insertsectionnavigationsymbol}
-  \hbox{\insertdocnavigationsymbol}
-  \hbox{\insertbackfindforwardnavigationsymbol}}}

File themes/beamerthemesidebardark.sty

 % of the LaTeX Project Public License Distributed from CTAN
 % archives in directory macros/latex/base/lppl.txt.
 
-\RequirePackage{pgfshade}
-\RequirePackage{keyval}[1997/11/10]
+\ClassWarning{beamer}{beamerthemesidebardark is obsolete. Use
+  \noexpand\usepackage[dark]{beamerthemesidebar} instead}
 
-\def\ProcessOptionsWithKV#1{%
-  \let\@tempa\@empty
-  \@for\CurrentOption:=\@classoptionslist\do{%
-    \@ifundefined{KV@#1@\CurrentOption}%
-    {}{\edef\@tempa{\@tempa,\CurrentOption,}}}%
-  \edef\@tempa{%
-    \noexpand\setkeys{#1}{\@tempa\@ptionlist{\@currname.\@currext}}}%
-  \@tempa
-  \AtEndOfPackage{\let\@unprocessedoptions\relax}}
+\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{beamerthemesidebar}}
 
-\newdimen\beamer@sidebarwidth
-\beamer@sidebarwidth=2.5cm
-\define@key{Side}{width}{\beamer@sidebarwidth=#1}
-\ProcessOptionsWithKV{Side}
+\ProcessOptions
 
-                                % Title page  
-\usetitlepagetemplate{
-  \vbox{}
-  \vfill
-  \begin{centering}
-    \Large\structure{\bfseries\inserttitle}
-    \vskip1em\par
-    \normalsize\insertauthor\vskip1em\par
-    {\scriptsize\insertinstitute\par}\par\vskip1em
-    \insertdate\par\vskip1.5em
-    \inserttitlegraphic
-  \end{centering}
-  \vfill
-}
+\RequirePackage[dark]{beamerthemesidebar}
 
-                                % Part page  
-\usepartpagetemplate{
-  \begin{centering}
-    \Large\structure{\bfseries\partname~\@Roman\c@part}
-    \vskip1em\par
-    \bfseries\insertpart\par
-  \end{centering}
-}
 
-                                % Frametitles
-\useframetitletemplate{%
-  {\leftskip-\beamer@leftmargin\advance\leftskip by0.3cm%
-   \rightskip-\beamer@rightmargin plus1fil\advance\rightskip by0.3cm\vskip0.3cm\leavevmode
-    \color{structure}
-    \Large\bfseries\insertframetitle\par}%
-  }
-
-
-                                % Head and foot are empty
-\useheadtemplate{}
-\usefoottemplate{}
-                                % Entries in table of contents
-\usetemplatetocsection[50!averagebackgroundcolor]
-{\color{structure}\textbf{\inserttocsection}}
-
-                                % Sidebar
-\userightsidebartemplate{\beamer@sidebarwidth}{%
-  \vskip1em
-  \beamer@tempdim=\beamer@sidebarwidth%
-  \advance\beamer@tempdim by -3pt%
-  \hbox{%
-    \hskip 3pt%
-    \begin{minipage}{\beamer@tempdim}
-      \leftskip0pt plus1fill%
-      \rightskip0pt plus1fill%
-      \tiny\color{white}\bfseries\insertshorttitle%
-      \vskip.5em
-      \color{structure!50}\insertshortauthor
-    \end{minipage}}%
-  \vskip1em
-  \insertverticalnavigation{\beamer@sidebarwidth}%
-  \vfill
-  \hbox to \beamer@sidebarwidth{\hfil\insertnavigationsymbols\hskip3pt}
-  \vskip3pt
-  \hbox to \beamer@sidebarwidth{\hfil\insertlogo\hskip3pt}
-  \vskip3pt
-}
-
-                                % Sidebar Background
-\userightsidebarverticalshadingtemplate{structure}{black}
-
-                                % Sections in headline
-\usesectionsidetemplate
-{%
-  {\tiny
-  \setbox\beamer@tempbox=\hbox{\color{white}{\kern3pt\bfseries\insertsectionhead}}%
-  \ht\beamer@tempbox=3ex%
-  \dp\beamer@tempbox=0.75ex%
-  \wd\beamer@tempbox=\beamer@sidebarwidth%
-  \box\beamer@tempbox}%
-}
-{%
-  {\tiny
-  \setbox\beamer@tempbox=\hbox{\color{structure!80}{\kern3pt\bfseries\insertsectionhead}}%
-  \ht\beamer@tempbox=3ex%
-  \dp\beamer@tempbox=0.75ex%
-  \wd\beamer@tempbox=\beamer@sidebarwidth%
-  \box\beamer@tempbox}%
-}
-
-\usesubsectionsidetemplate
-{%
-  {\tiny
-  \setbox\beamer@tempbox=\hbox{\color{white}{\kern6pt\bfseries\insertsubsectionhead}}%
-  \ht\beamer@tempbox=1.6875ex%
-  \dp\beamer@tempbox=0.75ex%
-  \wd\beamer@tempbox=\beamer@sidebarwidth%
-  \box\beamer@tempbox}%
-}
-{%
-  {\tiny%
-  \setbox\beamer@tempbox=\hbox{\color{black!50}{\kern6pt\bfseries\insertsubsectionhead}}%
-  \ht\beamer@tempbox=1.6875ex%
-  \dp\beamer@tempbox=0.75ex%
-  \wd\beamer@tempbox=\beamer@sidebarwidth%
-  \box\beamer@tempbox}%
-}
-
-
-
-                                % Blocks
-\useblocktemplate{\medskip{\color{structure}\large{\insertblockname}}\par}{\medskip}
-\usealertblocktemplate{\medskip{\alert{\large{\insertblockname}}}\par}{\medskip}
-\useexampleblocktemplate{\medskip\begingroup{\color{structure!50!green}\large{\insertblockname}}\par%
-\color{black!50!green}}{\endgroup\medskip}
-
- 
-                                % Margins
-\beamersetleftmargin{0.5cm}
-\beamersetrightmargin{0.5cm}
-
-                                % Navigation symbols
-\usenavigationsymbolstemplate{\vbox{%
-  \hbox{\insertslidenavigationsymbol}
-  \hbox{\insertframenavigationsymbol}
-  \hbox{\insertsubsectionnavigationsymbol}
-  \hbox{\insertsectionnavigationsymbol}
-  \hbox{\insertdocnavigationsymbol}
-  \hbox{\insertbackfindforwardnavigationsymbol}}}
-
-\def\beamernavigationcolorlight{structure!65!lightgray}
-\def\beamernavigationcolorstrong{structure!50!lightgray}
-  
+\endinput

File themes/beamerthemesidebardarktab.sty

 \ProvidesPackage{beamerthemesidebardarktab}[2003/11/07 ver 0.93]
-\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.
+\ClassWarning{beamer}{beamerthemesidebardarktab is obsolete. Use
+  \noexpand\usepackage[dark,tab]{beamerthemesidebar} instead}
 
-\RequirePackage{keyval}[1997/11/10]
-\RequirePackage{pgfshade}
+\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{beamerthemesidebar}}
 
-\def\ProcessOptionsWithKV#1{%
-  \let\@tempa\@empty
-  \@for\CurrentOption:=\@classoptionslist\do{%
-    \@ifundefined{KV@#1@\CurrentOption}%
-    {}{\edef\@tempa{\@tempa,\CurrentOption,}}}%
-  \edef\@tempa{%
-    \noexpand\setkeys{#1}{\@tempa\@ptionlist{\@currname.\@currext}}}%
-  \@tempa
-  \AtEndOfPackage{\let\@unprocessedoptions\relax}}
+\ProcessOptions
 
-\newdimen\beamer@sidebarwidth
-\beamer@sidebarwidth=2.5cm
-\define@key{Side}{width}{\beamer@sidebarwidth=#1}
-\ProcessOptionsWithKV{Side}
+\RequirePackage[darktab]{beamerthemesidebar}
 
-                                % Title page  
-\usetitlepagetemplate{
-  \vbox{}
-  \vfill
-  \begin{centering}
-    \Large\structure{\bfseries\inserttitle}
-    \vskip1em\par
-    \normalsize\insertauthor\vskip1em\par
-    {\scriptsize\insertinstitute\par}\par\vskip1em
-    \insertdate\par\vskip1.5em
-    \inserttitlegraphic
-  \end{centering}
-  \vfill
-}
-
-                                % Part page  
-\usepartpagetemplate{
-  \begin{centering}
-    \Large\structure{\bfseries\partname~\@Roman\c@part}
-    \vskip1em\par
-    \bfseries\insertpart\par
-  \end{centering}
-}
-
-{\tiny\global\beamer@tempdim=2.4375ex}
-
-\pgfdeclarehorizontalshading{beamer@tabmain}{\the\beamer@tempdim}
-{color(0pt)=(white);
-  color(\beamer@sidebarwidth)=(structure!50!averagebackgroundcolor)}
-\pgfdeclarehorizontalshading{beamer@tab}{\the\beamer@tempdim}{%
-  color(0pt)=(white);
-  color(9pt)=(structure!50!averagebackgroundcolor);
-  color(\beamer@sidebarwidth)=(structure)}
-
-
-                                % Frametitles
-\useframetitletemplate{%
-  {\leftskip-\beamer@leftmargin\advance\leftskip by0.3cm%
-   \rightskip-\beamer@rightmargin plus1fil\advance\rightskip by0.3cm\vskip0.3cm\leavevmode
-    \color{structure}
-    \Large\bfseries\insertframetitle\par}%
-  }
-
-                                % Sections in headline
-\usesectionsidetemplate
-{%
-  {\tiny\setbox\beamer@tempbox=\hbox{%
-    \color[gray]{0.3}\lower0.5ex\hbox{\pgfuseshading{beamer@tab}}%
-    \hskip-\beamer@sidebarwidth%
-    \color{structure}{\kern3pt\bfseries\insertsectionhead}}%
-  \ht\beamer@tempbox=3ex%
-  \dp\beamer@tempbox=0.75ex%
-  \wd\beamer@tempbox=\beamer@sidebarwidth%
-  \box\beamer@tempbox}%
-}
-{%
-  {\tiny\setbox\beamer@tempbox=\hbox{\color{structure!50}{\kern3pt\bfseries\insertsectionhead}}%
-  \ht\beamer@tempbox=3ex%
-  \dp\beamer@tempbox=0.75ex%
-  \wd\beamer@tempbox=\beamer@sidebarwidth%
-  \box\beamer@tempbox}%
-}
-
-\usesubsectionsidetemplate
-{%
-  {\tiny\setbox\beamer@tempbox=\hbox{%
-    \color[gray]{0.3}\lower0.5ex\hbox{\pgfuseshading{beamer@tab}}%
-    \hskip-\beamer@sidebarwidth%
-    \color{white}{\kern6pt\bfseries\insertsubsectionhead}}%
-  \ht\beamer@tempbox=1.6875ex%
-  \dp\beamer@tempbox=0.75ex%
-  \wd\beamer@tempbox=\beamer@sidebarwidth%
-  \box\beamer@tempbox}%
-}
-{%
-  {\tiny\setbox\beamer@tempbox=\hbox{\color{white}{\kern6pt\bfseries\insertsubsectionhead}}%
-  \ht\beamer@tempbox=1.6875ex%
-  \dp\beamer@tempbox=0.75ex%
-  \wd\beamer@tempbox=\beamer@sidebarwidth%
-  \box\beamer@tempbox}%
-}
-                                % Entries in table of contents
-\usetemplatetocsection[50!averagebackgroundcolor]
-{\color{structure}\textbf{\inserttocsection}}
-
-                                % Head
-\useheadtemplate{}
-
-                                % Foot
-\usefoottemplate{}
-
-                                % Sidebar
-\userightsidebartemplate{\beamer@sidebarwidth}{%
-  \vskip1em
-  \beamer@tempdim=\beamer@sidebarwidth%
-  \advance\beamer@tempdim by -3pt%
-  \hbox{%
-    \hskip 3pt%
-    \begin{minipage}{\beamer@tempdim}
-      \leftskip0pt plus1fill%
-      \rightskip0pt plus1fill%
-      \tiny\color{white}\bfseries\insertshorttitle%
-      \vskip.5em
-      \color{structure!50}\insertshortauthor
-    \end{minipage}}%
-  \vskip1em
-  \insertverticalnavigation{\beamer@sidebarwidth}%
-  \vfill
-  \hbox to \beamer@sidebarwidth{\hfil\insertnavigationsymbols\hskip3pt}
-  \vskip3pt
-  \hbox to \beamer@sidebarwidth{\hfil\insertlogo\hskip3pt}
-  \vskip3pt
-}
-
-                                % Sidebar Background
-\userightsidebarverticalshadingtemplate{structure}{black}
-
-                                % Blocks
-\useblocktemplate{\medskip{\color{structure}\large{\insertblockname}}\par}{\medskip}
-\usealertblocktemplate{\medskip{\alert{\large{\insertblockname}}}\par}{\medskip}
-\useexampleblocktemplate{\medskip\begingroup{\color{structure!50!green}\large{\insertblockname}}\par%
-\color{black!50!green}}{\endgroup\medskip}
- 
-                                % Margins
-\beamersetleftmargin{0.5cm}
-\beamersetrightmargin{0.5cm}
-
-
-                                % Navigation symbols
-\usenavigationsymbolstemplate{\vbox{%
-  \hbox{\insertslidenavigationsymbol}
-  \hbox{\insertframenavigationsymbol}
-  \hbox{\insertsubsectionnavigationsymbol}
-  \hbox{\insertsectionnavigationsymbol}
-  \hbox{\insertdocnavigationsymbol}
-  \hbox{\insertbackfindforwardnavigationsymbol}}}
-
-\def\beamernavigationcolorlight{structure!65!lightgray}
-\def\beamernavigationcolorstrong{structure!50!lightgray}
-  
+\endinput

File themes/beamerthemesidebartab.sty

 \ProvidesPackage{beamerthemesidebartab}[2003/11/07 ver 0.93]
-\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.
+\ClassWarning{beamer}{beamerthemesidebartab is obsolete. Use
+  \noexpand\usepackage[tab]{beamerthemesidebar} instead}
 
-\RequirePackage{keyval}[1997/11/10]
-\RequirePackage{pgfshade}
+\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{beamerthemesidebar}}
 
-\def\ProcessOptionsWithKV#1{%
-  \let\@tempa\@empty
-  \@for\CurrentOption:=\@classoptionslist\do{%
-    \@ifundefined{KV@#1@\CurrentOption}%
-    {}{\edef\@tempa{\@tempa,\CurrentOption,}}}%
-  \edef\@tempa{%
-    \noexpand\setkeys{#1}{\@tempa\@ptionlist{\@currname.\@currext}}}%
-  \@tempa
-  \AtEndOfPackage{\let\@unprocessedoptions\relax}}
+\ProcessOptions
 
-\newdimen\beamer@sidebarwidth
-\beamer@sidebarwidth=2.5cm
-\define@key{Side}{width}{\beamer@sidebarwidth=#1}
-\ProcessOptionsWithKV{Side}
+\RequirePackage[tab]{beamerthemesidebar}
 
-                                % 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\vskip0.3cm\leavevmode
-    \color{structure}
-    \Large\insertframetitle\par}%
-  }
 
-                                % Sections in headline
-\usesectionsidetemplate
-{%
-  {\tiny
-  \setbox\beamer@tempbox=\hbox{%
-    \color{black!10}\lower0.375ex\hbox{\vrule width\beamer@sidebarwidth height 2.4375ex}%
-    \hskip-\beamer@sidebarwidth%
-    \color{structure}{\kern3pt\insertsectionhead}}%
-  \ht\beamer@tempbox=3ex%
-  \dp\beamer@tempbox=0.75ex%
-  \wd\beamer@tempbox=\beamer@sidebarwidth%
-  \box\beamer@tempbox}%
-}
-{%
-  {\tiny
-  \setbox\beamer@tempbox=\hbox{\color{structure}\tiny{\kern3pt\insertsectionhead}}%
-  \ht\beamer@tempbox=3ex%
-  \dp\beamer@tempbox=0.75ex%
-  \wd\beamer@tempbox=\beamer@sidebarwidth%
-  \box\beamer@tempbox}%
-}
-
-\usesubsectionsidetemplate
-{%
-  {\tiny\setbox\beamer@tempbox=\hbox{%
-    \color{black!10}\lower0.375ex\hbox{\vrule width\beamer@sidebarwidth height 2.4375ex}%
-    \hskip-\beamer@sidebarwidth%
-    \color{black}{\kern6pt\insertsubsectionhead}}%
-  \ht\beamer@tempbox=1.6875ex%
-  \dp\beamer@tempbox=0.75ex%
-  \wd\beamer@tempbox=\beamer@sidebarwidth%
-  \box\beamer@tempbox}%
-}
-{%
-  {\tiny\setbox\beamer@tempbox=\hbox{\color{black}{\kern6pt\insertsubsectionhead}}%
-  \ht\beamer@tempbox=1.6875ex%
-  \dp\beamer@tempbox=0.75ex%
-  \wd\beamer@tempbox=\beamer@sidebarwidth%
-  \box\beamer@tempbox}%
-}
-
-                                % Head
-\useheadtemplate{}
-
-                                % Foot
-\usefoottemplate{}
-
-                                % Sidebar
-\userightsidebartemplate{\beamer@sidebarwidth}{%
-  \vskip1em
-  \beamer@tempdim=\beamer@sidebarwidth%
-  \advance\beamer@tempdim by -3pt%
-  \hbox{%
-    \hskip 3pt%
-    \begin{minipage}{\beamer@tempdim}
-      \leftskip0pt plus1fill%
-      \rightskip0pt plus1fill%
-      \tiny\color{structure}\insertshorttitle%
-      \vskip.5em
-      \color{black}\insertshortauthor
-    \end{minipage}}%
-  \vskip1em
-  \insertverticalnavigation{\beamer@sidebarwidth}%
-  \vfill
-  \hbox to \beamer@sidebarwidth{\hfil\insertnavigationsymbols\hskip3pt}
-  \vskip3pt
-  \hbox to \beamer@sidebarwidth{\hfil\insertlogo\hskip3pt}
-  \vskip3pt
-}
-
-                                % Side bar background
-\userightsidebarverticalshadingtemplate{structure}{white}
-
-
-                                % Blocks
-\useblocktemplate{\medskip{\color{structure}\large{\insertblockname}}\par}{\medskip}
-\usealertblocktemplate{\medskip{\alert{\large{\insertblockname}}}\par}{\medskip}
-\useexampleblocktemplate{\medskip\begingroup{\color{structure!50!green}\large{\insertblockname}}\par%
-\color{black!50!green}}{\endgroup\medskip}
-
-                                % Margins
-\beamersetleftmargin{0.5cm}
-\beamersetrightmargin{0.5cm}
-
-                                % Navigation symbols
-\usenavigationsymbolstemplate{\vbox{%
-  \hbox{\insertslidenavigationsymbol}
-  \hbox{\insertframenavigationsymbol}
-  \hbox{\insertsubsectionnavigationsymbol}
-  \hbox{\insertsectionnavigationsymbol}
-  \hbox{\insertdocnavigationsymbol}
-  \hbox{\insertbackfindforwardnavigationsymbol}}}
-
-\def\beamernavigationcolorlight{structure!65!white}
-\def\beamernavigationcolorstrong{structure!50!white}
-  
+\endinput

File themes/beamerthemesplit.sty

 % archives in directory macros/latex/base/lppl.txt.
 
 \beamertemplatelargetitlepage
+\beamertemplatelargepartpage
 \beamertemplatelargeframetitle
+\beamertemplatelightsectionheads
+\beamertemplateplaintoc
+\beamertemplatelargeblocks
+\beamertemplaterightsidebarlogonavigation
 
-                                % Sections in headline
-\usesectionheadtemplate
-  {\hfill\color{white}\tiny\textbf{\insertsectionhead}}
-  {\hfill\color{white!50!black}\tiny\textbf{\insertsectionhead}}
 
-\usesubsectionheadtemplate
-  {\color{white}\tiny\textbf{\insertsubsectionhead}}
-  {\color{white!50!structure}\tiny\textbf{\insertsubsectionhead}}
-
-                                % Entries in table of contents
-\usetemplatetocsection[50!averagebackgroundcolor]
-{{\large\color{structure}\inserttocsection}}
-
-                                % Entries in table of contents