summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/themes/outer/beamerouterthemesplit.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/themes/outer/beamerouterthemesplit.sty')
-rw-r--r--Master/texmf-dist/tex/latex/beamer/themes/outer/beamerouterthemesplit.sty75
1 files changed, 75 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/themes/outer/beamerouterthemesplit.sty b/Master/texmf-dist/tex/latex/beamer/themes/outer/beamerouterthemesplit.sty
new file mode 100644
index 00000000000..869c6938320
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/beamer/themes/outer/beamerouterthemesplit.sty
@@ -0,0 +1,75 @@
+\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/themes/outer/beamerouterthemesplit.sty,v 1.4 2004/10/07 22:21:16 tantau Exp $
+
+% Copyright 2003 by Till Tantau <tantau@users.sourceforge.net>
+%
+% This program can be redistributed and/or modified under the terms
+% of the GNU Public License, version 2.
+
+\mode<presentation>
+
+\setbeamercolor{section in head/foot}{parent=palette quaternary}
+\setbeamercolor{subsection in head/foot}{parent=palette primary}
+
+\setbeamercolor{author in head/foot}{parent=section in head/foot}
+\setbeamercolor{title in head/foot}{parent=subsection in head/foot}
+
+
+
+\usesectionheadtemplate
+ {\hfill\insertsectionhead}
+ {\hfill\color{fg!50!bg}\insertsectionhead}
+
+ % Head
+\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
+
+
+\defbeamertemplate*{footline}{split theme}
+{%
+ \leavevmode%
+ \hbox{\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm plus1fill,rightskip=.3cm]{author in head/foot}%
+ \usebeamerfont{author in head/foot}\insertshortauthor
+ \end{beamercolorbox}%
+ \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}%
+ \usebeamerfont{title in head/foot}\insertshorttitle
+ \end{beamercolorbox}}%
+ \vskip0pt%
+}
+
+
+\mode
+<all>