summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/stex/beamerthemeJacobs.sty
blob: 7a64c6cc0b80389ce6bdd5fd735c01b6dc70c238 (plain)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
% Beamer Jacobs slide theme; some hints from CXL's DFKI theme included
%
% (C) 2009 Michael Kohlhase <m.kohlhase@jacobs-university.de.

\ProvidesPackage{beamerthemeJacobs}
\typeout{Beamer KWARC theme}
\author[Kohlhase]{Michael Kohlhase}
\institute{\texttt{m.kohlhase@jacobs-university.de}\\Computer Science\\ Jacobs University\\Bremen, Germany}

\mode<presentation>

%% Shadings and logo images
\pgfdeclareimage[height=.5ex,width=113mm]{shade-l2r}{shading-l2r}
\pgfdeclareimage[height=2ex]{jacobslogo}{jacobs-logo}
\pgfdeclareimage[height=2ex]{cclogo}{cc_somerights}

%% Headers flushed to the left.
\setbeamertemplate{frametitle}[default][left]


%% Add the line below the header
\addtobeamertemplate{frametitle}{}{\hspace*{-1cm} %
  \begin{pgfpicture}{0cm}{0cm}{128mm}{2mm}
    \pgfputat{\pgforigin}{\pgfbox[left,bottom]{\pgfuseimage{shade-l2r}}}
  \end{pgfpicture}
 }

\setbeamertemplate{footline}[text line]{%
  \usebeamercolor[fg]{titlelike}
  \strut\hspace*{2cm}\insertshortauthor: \insertshorttitle\hfill{}%
  \insertframenumber\hfill\insertshortdate\hspace*{3cm}%
  }
 \addtobeamertemplate{footline}{ %
   \begin{pgfpicture}{0cm}{0cm}{128mm}{0mm} %
     \pgfputat{\pgfpoint{126mm}{1mm}}{\pgfbox[right,top]{\pgfuseimage{jacobslogo}}} %
     \pgfputat{\pgfpoint{10mm}{1mm}}{\pgfbox[right,top]{\pgfuseimage{cclogo}}} %
   \end{pgfpicture}}{}

%% Turn off the navigation symbols
\setbeamertemplate{navigation symbols}{}

%% Inner theme
\useinnertheme{default}

%% Big logo for the title page.
%\pgfdeclareimage[height=1cm]{biglogo}{beamer/img/DFKI-SKS}
%\titlegraphic{\pgfuseimage{biglogo}}


\mode
<all>

%% Redefine various margin sizes 
\setbeamersize{text margin left=3mm}
\setbeamersize{text margin right=3mm}
\setlength\leftmargini{1em}
\setlength\leftmarginii{1em}
\setlength\leftmarginiii{1em}
\newcommand{\vstretch}[1]{\vspace*{\stretch{#1}}}
\beamer@descriptionwidth=1cm