-
Notifications
You must be signed in to change notification settings - Fork 0
/
beamerouterthemeuniS.sty
35 lines (30 loc) · 1.3 KB
/
beamerouterthemeuniS.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
% Copyright 2017 by Christian Senger <senger@inue.uni-stuttgart.de>
% Copyright 2021 by Marcel Breyer <marcel.breyer@ipvs.uni-stuttgart.de>
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
\mode<presentation>
\setbeamercolor{title in head/foot}{parent=palette quaternary}
\setbeamercolor{framenumber in head/foot}{parent=palette quaternary}
\usesectionheadtemplate
{\hfill\insertsectionhead}
{\hfill\color{fg!50!bg}\insertsectionhead}
\makeatletter
\defbeamertemplate*{footline}{altsplit theme}
{%
\def\university{\iflanguage{ngerman}{Universität Stuttgart}{University of Stuttgart}}
\leavevmode%
\hbox{
\begin{beamercolorbox}[wd=.89\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=2ex, rightskip=10ex]{title in head/foot}%
\usebeamerfont{title in head/foot}\insertshortauthor, \university\ifdef{\@institute@short}{, \@institute@short}{}\ifdef{\@department@short}{ - \@department@short}{} : \insertshorttitle
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.1\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=2ex,rightskip=2ex]{framenumber in head/foot}%
\usebeamerfont{title in head/foot}\hfill\insertframenumber\iftheme@totalframenumber\ / \inserttotalframenumber\fi
\end{beamercolorbox}%
}%
\vskip0pt%
}
\makeatother
\mode<all>