|
1 | 1 | % New version of the IMISE beamer theme, does not require Futura anymore.
|
2 | 2 | % Replaced the old one theme in November 2018.
|
3 |
| -\usetheme{CambridgeUS} |
| 3 | +%\usetheme{CambridgeUS} |
4 | 4 | \usecolortheme{dolphin}
|
5 | 5 | \setbeamertemplate{headline}{}
|
6 | 6 | \usepackage[export]{adjustbox}
|
|
10 | 10 | \usepackage{amssymb}
|
11 | 11 | \usepackage{tikz}
|
12 | 12 |
|
| 13 | +\newlength\leftsidebar |
| 14 | +\newlength\rightsidebar |
| 15 | +\makeatletter |
| 16 | +\setlength\leftsidebar{\beamer@leftsidebar} |
| 17 | +\setlength\rightsidebar{\beamer@rightsidebar} |
| 18 | +\makeatother |
| 19 | + |
13 | 20 | \setbeamertemplate{navigation symbols}{}
|
14 | 21 |
|
15 | 22 | %\definecolor{imiseblue}{HTML}{005FB9}
|
16 | 23 | \definecolor{mediblue}{RGB}{0,138,201}
|
17 | 24 | \definecolor{mixblue}{RGB}{0,167,214}
|
18 |
| -\definecolor{aquamarin}{RGB}{138,194,209} |
| 25 | +\definecolor{aquamarine}{RGB}{138,194,209} |
19 | 26 | \definecolor{lowertriangle}{RGB}{9,65,81}
|
20 | 27 | %\setbeamercolor{footer}{fg=white, bg=imiseblue}
|
21 | 28 | \setbeamercolor{title}{fg=black, bg=white}
|
|
37 | 44 | }
|
38 | 45 | }
|
39 | 46 |
|
| 47 | +\renewcommand\footnoterule{} % we have our own line in all the slides |
| 48 | + |
| 49 | +\newcommand{\triangles}{ |
| 50 | +% upper triangle |
| 51 | +\begin{tikzpicture}[overlay, remember picture] |
| 52 | +\tikzset{shift={(current page.south east)}} |
| 53 | +\coordinate (s0) at (0,0); |
| 54 | +\coordinate (s1) at (0,\paperheight);% for unknown reasons, paperheight isn't enough |
| 55 | +\coordinate (s2) at (-0.1\paperwidth,0); |
| 56 | +\fill[mediblue] (s0) -- (s1) -- (s2) -- cycle; |
| 57 | +\end{tikzpicture} |
| 58 | +% lower triangle |
| 59 | +\begin{tikzpicture}[overlay, remember picture] |
| 60 | +\tikzset{shift={(current page.south east),yshift=0.1cm}} |
| 61 | +\coordinate (s0) at (0,0); |
| 62 | +\coordinate (s1) at (0,0.35\textheight); |
| 63 | +\coordinate (s2) at (-0.35\paperwidth,0); |
| 64 | +\fill[fill=lowertriangle,opacity=0.5] (s0) -- (s1) -- (s2) -- (s0); |
| 65 | +\end{tikzpicture} |
| 66 | +} |
| 67 | + |
| 68 | +\newcommand{\medfak}{ |
| 69 | +\begin{tikzpicture}[overlay, remember picture] |
| 70 | + \node [anchor=north west, inner sep=0pt] at (current page.north west) |
| 71 | + {\includegraphics[width=0.45\textwidth]{img/medfak.pdf}}; |
| 72 | +\end{tikzpicture} |
| 73 | +} |
| 74 | + |
40 | 75 | \defbeamertemplate*{title page}{customized}[1][]
|
41 | 76 | {
|
42 | 77 | \setbeamertemplate{footline}{}
|
43 |
| - |
44 |
| -\begin{tikzpicture}[remember picture,overlay] |
45 |
| - \node [anchor=north west, inner sep=0pt] at (current page.north west) % for unknown reasons, the x and y shift is necessary for perfect alignment |
46 |
| - {\includegraphics[width=0.4\textwidth]{img/medfak.pdf}}; |
47 |
| - \end{tikzpicture} |
48 |
| - ~\\ |
49 | 78 | \vspace{0.25\textheight}
|
50 | 79 | {\usebeamerfont{subtitle}\insertsubtitle\par}
|
51 | 80 | \vspace{0.05\textheight}
|
|
57 | 86 | \vspace{0.05\textheight}
|
58 | 87 | \resizebox{0.2\textwidth}{!}% huger than huge
|
59 | 88 | {\Huge\bfseries \color{mixblue} imise \hspace{-0.3em}\tiny\color{orange}~{$\blacksquare$}}\\
|
60 |
| -% upper triangle |
61 |
| -\begin{tikzpicture}[overlay] |
62 |
| -\coordinate (s0) at (\paperwidth,0); |
63 |
| -\coordinate (s1) at (\paperwidth,1.315\paperheight);% for unknown reasons, paperheight isn't enough |
64 |
| -\coordinate (s2) at (0.9\paperwidth,0); |
65 |
| -\filldraw[draw=mediblue, fill=mediblue] (s0) -- (s1) -- (s2) -- (s0); |
66 |
| -\end{tikzpicture} |
67 |
| -% lower triangle |
68 |
| -\begin{tikzpicture}[overlay] |
69 |
| -\coordinate (s0) at (\paperwidth,0); |
70 |
| -\coordinate (s1) at (\paperwidth,0.35\textheight); |
71 |
| -\coordinate (s2) at (0.65\paperwidth,0); |
72 |
| -\filldraw[draw=lowertriangle, fill=lowertriangle,opacity=0.5] (s0) -- (s1) -- (s2) -- (s0); |
73 |
| -\end{tikzpicture} |
| 89 | +\medfak{} |
| 90 | +\triangles{} |
74 | 91 | }
|
75 | 92 |
|
76 | 93 | \makeatother
|
77 | 94 | \setbeamertemplate{footline}
|
78 | 95 | {
|
79 |
| - \vspace{1.5em} % put footnotes higher, unfortunately also |
| 96 | + |
| 97 | +% \vspace{1.5em} % put footnotes higher, unfortunately also |
80 | 98 | \ifnum\insertframenumber>1%
|
81 | 99 | \vspace{-5em} %ifnum somehow moves it too far below, workaround
|
82 | 100 | \leavevmode%
|
| 101 | + \begin{center} |
| 102 | + \color{aquamarine}\rule{0.9\textwidth}{0.2pt}\\[0.9pt] |
| 103 | + \color{lightgray}\rule{0.9\textwidth}{0.2pt} |
| 104 | + \end{center} |
83 | 105 | \hbox{%
|
84 |
| - \begin{beamercolorbox}[wd=.1\paperwidth,ht=2.9ex,dp=1ex,colsep=0pt,left]{footer}%colsep and extra width to hopefully prevent white vertical lines in between color boxes |
85 |
| -{\normalsize imise \hspace{-0.3em}\huge\color{orange}.} |
86 |
| - \end{beamercolorbox}% |
87 |
| - \begin{beamercolorbox}[wd=.8\paperwidth,ht=2.9ex,dp=1ex,colsep=0pt,center]{footer}% |
88 |
| - \usebeamerfont{title in head/foot}\insertshorttitle---\insertshortauthor---\insertshortdate |
| 106 | + \begin{beamercolorbox}[wd=.8\paperwidth,ht=1.9ex,dp=2ex,colsep=0pt,center]{footer}% |
89 | 107 | Institut für Medizinische Informatik, Statistik und Epidemiologie (IMISE)
|
90 | 108 | \end{beamercolorbox}%
|
91 |
| - \begin{beamercolorbox}[wd=.1\paperwidth,ht=2.9ex,dp=1ex,colsep=0pt,right]{footer}% |
92 |
| - \usebeamerfont{title in head/foot}\insertframenumber{} %/ \inserttotalframenumber |
| 109 | + \begin{beamercolorbox}[wd=.1\paperwidth,ht=1.9ex,dp=2ex,colsep=0pt,right]{footer}% |
| 110 | + \usebeamerfont{title in head/foot}\color{red}\insertframenumber{} %/ \inserttotalframenumber |
93 | 111 | \hspace*{1ex}
|
94 | 112 | \end{beamercolorbox}
|
95 |
| -}% |
| 113 | +} |
| 114 | +\begin{tikzpicture}[overlay, remember picture] |
| 115 | + \node [anchor=south west, inner sep=0pt,xshift=0.05\textwidth,yshift=0.01\textheight] at (current page.south west) |
| 116 | + {\includegraphics[width=0.08\textwidth]{img/unileipzig-text.pdf}}; |
| 117 | +\end{tikzpicture} |
| 118 | +% |
96 | 119 | \fi%
|
97 | 120 | }
|
98 | 121 | \makeatletter
|
|
101 | 124 |
|
102 | 125 | \AtEndDocument{
|
103 | 126 | \setbeamertemplate{footline}{}
|
104 |
| -\begin{frame}[plain]{}{} |
105 |
| -\large |
106 |
| -{\Huge\bfseries VIELEN DANK!\\} |
107 |
| -\vspace{0.1\textheight} |
| 127 | + |
| 128 | +\begin{frame}[plain] |
| 129 | +\medfak{} |
| 130 | +\triangles{} |
| 131 | +~\\~\\~\\~\\~\\~\\%vspace destroys the tikz drawing positions |
| 132 | +{\Large\bfseries VIELEN DANK!\\~\\} |
108 | 133 | \textbf{\insertauthor{}}\\
|
109 | 134 | Institut für Medizinische Informatik, Statistik und Epidemiologie (IMISE)\\
|
110 | 135 | ~\\
|
111 |
| -TODO: Address\\ |
112 |
| -TODO: Telephone number\\ |
| 136 | +\address{}\\ |
| 137 | +~\\ |
| 138 | +T \telephone{}\\ |
113 | 139 | ~\\
|
114 |
| -TODO: EMail Adress\\ |
| 140 | +\url{\email}\\ |
115 | 141 | \url{www.imise.uni-leipzig.de}
|
116 | 142 |
|
117 |
| -% upper triangle |
118 |
| -\begin{tikzpicture}[overlay, remember picture] |
119 |
| -\coordinate (s0) at (\paperwidth,0); |
120 |
| -\coordinate (s1) at (\paperwidth,1.315\paperheight);% for unknown reasons, paperheight isn't enough |
121 |
| -\coordinate (s2) at (0.9\paperwidth,0); |
122 |
| -\filldraw[draw=mediblue, fill=mediblue] (s0) -- (s1) -- (s2) -- (s0); |
123 |
| -\end{tikzpicture} |
124 |
| -% lower triangle |
125 |
| -\begin{tikzpicture}[overlay, remember picture] |
126 |
| -\coordinate (s0) at (\paperwidth,0); |
127 |
| -\coordinate (s1) at (\paperwidth,0.35\textheight); |
128 |
| -\coordinate (s2) at (0.65\paperwidth,0); |
129 |
| -\filldraw[draw=lowertriangle, fill=lowertriangle,opacity=0.5] (s0) -- (s1) -- (s2) -- (s0); |
130 |
| -\end{tikzpicture} |
| 143 | + |
131 | 144 | \end{frame}
|
132 | 145 | }
|
| 146 | + |
0 commit comments