1 % Copyright 2009, 2020 Stefan Huber <shuber@sthu.org>
3 \DeclareOptionBeamer{compress}{\beamer@compresstrue}
8 \usecolortheme{SHblue3}
10 %\useoutertheme{infolines}
11 %\useoutertheme{shadow}
12 %\useoutertheme{split}
13 %\useinnertheme[shadow=true]{rounded}
16 %\useroutertheme{} % No outer theme
17 \useinnertheme{rectangles}
18 \setbeamertemplate{itemize items}[triangle]
20 \setbeamerfont{frametitle}{parent=structure,size=\Large}
21 \setbeamerfont{author}{size=\small}
22 \setbeamerfont{date}{size=\normalsize}
23 %\setbeamerfont{title}{series=\bfseries}
26 \defbeamertemplate*{footline}{SHblue theme}
30 \begin{beamercolorbox}[wd=\textwidth,ht=2.25ex,dp=1ex]{footline}%
31 \hspace{1ex}\insertshortauthor:\hspace{2ex}\bf\insertshorttitle\normalfont
32 \hfill \insertsectionhead%
33 \ifnum\value{subsection}=0\relax%
36 {\ /\ \insertsubsectionhead}%
38 \hspace*{4ex} \bf \insertframenumber{} of \inserttotalframenumber\hspace{2ex}
44 \setbeamertemplate{footnote}
46 \parindent 1em\noindent%
48 \insertfootnotemark\enspace\tiny\insertfootnotetext\par%
52 \setbeamersize{text margin left=1em,text margin right=1em}
55 \newcommand{\framenumbersave}{%
56 \ifcsname c@tmpframenumber\endcsname%
58 \newcounter{tmpframenumber}%
59 \newcounter{tmpframenumberstored}%
60 \setcounter{tmpframenumberstored}{0}
63 \ifnum \value{tmpframenumberstored}=0
64 \setcounter{tmpframenumber}{\value{framenumber}}
66 \addtocounter{tmpframenumberstored}{1}
68 \newcommand{\framenumberrestore}{%
69 \addtocounter{tmpframenumberstored}{-1}
70 \ifnum \value{tmpframenumberstored}=0
71 \setcounter{framenumber}{\value{tmpframenumber}}
74 \newenvironment{skipframecount}{\framenumbersave}{\framenumberrestore}
78 \renewcommand{\part}[1]{\framenumbersave\fcntpart{#1}\framenumberrestore}
79 \let\fcntsection\section
80 \renewcommand{\section}[1]{\framenumbersave\fcntsection{#1}\framenumberrestore}
81 \let\fcntsubsection\subsection
82 \renewcommand{\subsection}[1]{\framenumbersave\fcntsubsection{#1}\framenumberrestore}