summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hobete/beamerouterthemehohenheim.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/hobete/beamerouterthemehohenheim.sty')
-rw-r--r--Master/texmf-dist/tex/latex/hobete/beamerouterthemehohenheim.sty91
1 files changed, 91 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/hobete/beamerouterthemehohenheim.sty b/Master/texmf-dist/tex/latex/hobete/beamerouterthemehohenheim.sty
new file mode 100644
index 00000000000..115aeb99c3b
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/hobete/beamerouterthemehohenheim.sty
@@ -0,0 +1,91 @@
+% Copyright 2010 by tgoerlach tobias.goerlach@uni-hohenheim.de
+% some marked locs are taken from beamerouterthemeinfolines.sty as distributed under LPPL/GNU
+%in the beamer bundle and copyrighted by Till Tantau 2007
+% which now can be found at: https://bitbucket.org/rivanvx/beamer/overview
+% locs taken form this file are marked as follows: %BEGIN infolines (begin of parts form infolines) ; %END infolines (end of parts form infolines)
+%
+%
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Public License.
+%
+% See the file doc/licenses/LICENSE for more details.
+% Theme Version 0003
+
+\mode<presentation>
+
+\setbeamercolor*{author in head/foot}{parent=palette primary}
+\setbeamercolor*{title in head/foot}{parent=palette quaternary}
+\setbeamercolor*{date in head/foot}{parent=palette secondary}
+
+\setbeamercolor*{section in head/foot}{parent=palette tertiary}
+\setbeamercolor*{subsection in head/foot}{parent=palette primary}
+\setbeamercolor*{frametitle in title}{parent=palette secondary}
+
+
+\defbeamertemplate*{footline}{hohenheim theme}
+{%BEGIN infolines
+ \leavevmode%
+ \hbox{%
+ \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
+ \usebeamerfont{author in head/foot}\insertshortauthor~~\beamer@ifempty{\insertshortinstitute}{}{(\insertshortinstitute)}
+ \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]{date in head/foot}%
+ \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
+ \insertframenumber{} / \inserttotalframenumber\hspace*{2ex}
+ \end{beamercolorbox}}%
+ \vskip0pt%
+}%END infolines
+\defbeamertemplate*{headline}{hohenheim theme}
+{%BEGIN infolines
+ \leavevmode%
+ \hbox{%
+ \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,right]{section in head/foot}%
+ \usebeamerfont{section in head/foot}\insertsectionhead\hspace*{2ex}
+ \end{beamercolorbox}%
+ \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,left]{subsection in head/foot}%
+ \usebeamerfont{subsection in head/foot}\hspace*{2ex}\insertsubsectionhead
+ \end{beamercolorbox}}%
+ \vskip0pt%
+}
+
+\setbeamersize{text margin left=1em,text margin right=1em}
+%END infolines
+
+
+%
+% Oki now werde getting close..
+% We redefine the Frametitle to place our own logo there. remark: this is considered as a hack.
+
+\setbeamerfont{frametitle}{series=\bfseries} % Shouldnt be in this file, should be in the fontheme
+
+% Two possible solutions i prefer the second so far
+%\setbeamertemplate{frametitle}
+%{%
+ % \nointerlineskip
+%
+%\begin{beamercolorbox}[wd=\paperwidth,dp=1ex, ht=4.5ex, sep=0.5ex, colsep*=0pt]{frametitle in title}%
+ % \usebeamerfont{frametitle} \begin{tikzpicture}[remember picture, overlay]%
+ %\draw[very thick, black] ([yshift=-4ex]current page.north west) -- ([yshift=-3ex]current page.north) -- ([yshift=-4ex]current page.north east);
+ %\node[yshift=-4ex, xshift=4ex] [left= of current page.north east] { \insertmylogo};
+ %\end{tikzpicture}\insertframetitle
+ %\end{beamercolorbox}%
+ % \nointerlineskip
+%\begin{beamercolorbox}[wd=\paperwidth,dp=.5ex, ht=.5ex, sep=0.5ex, colsep*=0pt]{subsection in head/foot}%
+ % \end{beamercolorbox}
+ %}%
+
+\setbeamertemplate{frametitle}
+{%
+ \nointerlineskip
+\begin{beamercolorbox}[wd=\paperwidth,dp=1ex, ht=4.5ex, sep=0.5ex, colsep*=0pt]{frametitle in title}%
+ \usebeamerfont{frametitle} \strut \insertframetitle \hfill \raisebox{-2ex}[0pt][-\ht\strutbox ]{ \insertmylogo}
+ \end{beamercolorbox}%
+ }%%
+
+
+\mode<all>