Skip to content

Commit f6a3010

Browse files
Beta version.
1 parent e6a589c commit f6a3010

File tree

4 files changed

+169
-56
lines changed

4 files changed

+169
-56
lines changed

beamerthemeimise2.sty

+66-52
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% New version of the IMISE beamer theme, does not require Futura anymore.
22
% Replaced the old one theme in November 2018.
3-
\usetheme{CambridgeUS}
3+
%\usetheme{CambridgeUS}
44
\usecolortheme{dolphin}
55
\setbeamertemplate{headline}{}
66
\usepackage[export]{adjustbox}
@@ -10,12 +10,19 @@
1010
\usepackage{amssymb}
1111
\usepackage{tikz}
1212

13+
\newlength\leftsidebar
14+
\newlength\rightsidebar
15+
\makeatletter
16+
\setlength\leftsidebar{\beamer@leftsidebar}
17+
\setlength\rightsidebar{\beamer@rightsidebar}
18+
\makeatother
19+
1320
\setbeamertemplate{navigation symbols}{}
1421

1522
%\definecolor{imiseblue}{HTML}{005FB9}
1623
\definecolor{mediblue}{RGB}{0,138,201}
1724
\definecolor{mixblue}{RGB}{0,167,214}
18-
\definecolor{aquamarin}{RGB}{138,194,209}
25+
\definecolor{aquamarine}{RGB}{138,194,209}
1926
\definecolor{lowertriangle}{RGB}{9,65,81}
2027
%\setbeamercolor{footer}{fg=white, bg=imiseblue}
2128
\setbeamercolor{title}{fg=black, bg=white}
@@ -37,15 +44,37 @@
3744
}
3845
}
3946

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+
4075
\defbeamertemplate*{title page}{customized}[1][]
4176
{
4277
\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-
~\\
4978
\vspace{0.25\textheight}
5079
{\usebeamerfont{subtitle}\insertsubtitle\par}
5180
\vspace{0.05\textheight}
@@ -57,42 +86,36 @@
5786
\vspace{0.05\textheight}
5887
\resizebox{0.2\textwidth}{!}% huger than huge
5988
{\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{}
7491
}
7592

7693
\makeatother
7794
\setbeamertemplate{footline}
7895
{
79-
\vspace{1.5em} % put footnotes higher, unfortunately also
96+
97+
% \vspace{1.5em} % put footnotes higher, unfortunately also
8098
\ifnum\insertframenumber>1%
8199
\vspace{-5em} %ifnum somehow moves it too far below, workaround
82100
\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}
83105
\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}%
89107
Institut für Medizinische Informatik, Statistik und Epidemiologie (IMISE)
90108
\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
93111
\hspace*{1ex}
94112
\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+
%
96119
\fi%
97120
}
98121
\makeatletter
@@ -101,32 +124,23 @@
101124

102125
\AtEndDocument{
103126
\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!\\~\\}
108133
\textbf{\insertauthor{}}\\
109134
Institut für Medizinische Informatik, Statistik und Epidemiologie (IMISE)\\
110135
~\\
111-
TODO: Address\\
112-
TODO: Telephone number\\
136+
\address{}\\
137+
~\\
138+
T \telephone{}\\
113139
~\\
114-
TODO: EMail Adress\\
140+
\url{\email}\\
115141
\url{www.imise.uni-leipzig.de}
116142

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+
131144
\end{frame}
132145
}
146+

img/unileipzig-text.pdf

2.27 KB
Binary file not shown.

imisetest.tex

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
%\documentclass[aspectratio=43]{beamer}
2+
%\documentclass[aspectratio=169]{beamer}
3+
\documentclass[aspectratio=1610]{beamer}
4+
5+
\usepackage[english]{babel}
6+
%\usepackage[ngerman]{babel} %use this for German presentations
7+
\usepackage{booktabs} % fancy tables
8+
\usepackage{tabulary} % tables with auto column length
9+
\usepackage{hyperref}
10+
11+
\usetheme{imise2}
12+
\author{Konrad Höffner}
13+
\date{Leipzig, November 2018}
14+
\title{IMISE Student \LaTeX{} Beamer Theme Version 2.\\Der Titel kann auch dreizeilig sein,\\muss aber nicht.}
15+
\subtitle{Subtitle. Report issues and suggestions at \url{https://github.com/IMISE/imise-beamertheme/issues}.}
16+
17+
\begin{document}
18+
\begin{frame}
19+
\titlepage
20+
\end{frame}
21+
22+
\begin{frame}
23+
\frametitle{How to use this Template}
24+
\begin{enumerate}
25+
\item Clone or download the complete directory from \url{https://github.com/IMISE/imise-beamertheme}
26+
\item Rename imisetest.tex, modify title, author and date.
27+
\item If you know that your target display has an aspect ratio other than 16:10, uncomment a different line at the top of imisetest.tex.
28+
\item Fill with your presentation.
29+
\item Compile with pdflatex.
30+
\end{enumerate}
31+
\end{frame}
32+
33+
\begin{frame}{Example Slide}
34+
\begin{itemize}
35+
\item this is a bullet point
36+
\item this is a footnote\footnote{footnote text}
37+
\item this is a clickable link: \url{http://www.imise.de}
38+
\end{itemize}
39+
\end{frame}
40+
41+
\begin{frame}{Tables}
42+
\begin{tabulary}{\textwidth}{lL}
43+
\toprule
44+
advice number &advice\\
45+
\midrule
46+
1 &Use the booktabs package to get nice horizontal lines.\\
47+
2 &Never use vertical lines in tables.\\
48+
3 &Use tabulary if your content is so long that it fills the whole width and maybe even needs line breaks.\\
49+
\bottomrule
50+
\end{tabulary}
51+
\end{frame}
52+
53+
\begin{frame}{IMISE Presentation Rules}
54+
\begin{itemize}
55+
\item you can usually choose between English and German
56+
\item don't go over the allotted time
57+
\begin{itemize}
58+
\item practise beforehand to estimate your presentation duration
59+
\item advice: use a stopwatch or have someone signal you when you have 10, 5, 1 minutes left
60+
\end{itemize}
61+
\end{itemize}
62+
\end{frame}
63+
64+
65+
\begin{frame}{IMISE Presentation Rules}
66+
\begin{itemize}
67+
\item you can usually choose between English and German
68+
\item don't go over the allotted time
69+
\begin{itemize}
70+
\item practise beforehand to estimate your presentation duration
71+
\item advice: use a stopwatch or have someone signal you when you have 10, 5, 1 minutes left
72+
\end{itemize}
73+
\end{itemize}
74+
\end{frame}
75+
76+
\end{document}

template.tex

+27-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
%\documentclass[aspectratio=43]{beamer}
22
%\documentclass[aspectratio=169]{beamer}
3-
\documentclass[aspectratio=1610]{beamer}
3+
\documentclass[aspectratio=1610,12pt]{beamer}
44

55
\usepackage[english]{babel}
66
%\usepackage[ngerman]{babel} %use this for German presentations
@@ -11,8 +11,11 @@
1111
\usetheme{imise2}
1212
\author{Konrad Höffner}
1313
\date{Leipzig, November 2018}
14-
\title{IMISE Student \LaTeX{} Beamer Theme Version 2.\\Der Titel kann auch dreizeilig sein,\\muss aber nicht.}
14+
\title{IMISE Student \LaTeX{} Beamer Theme Version 2. The title can use three lines but doesn't have to.}
1515
\subtitle{Subtitle. Report issues and suggestions at \url{https://github.com/IMISE/imise-beamertheme/issues}.}
16+
\def\address{Härtelstraße 16-18, 04107 Leipzig, Raum 227}
17+
\def\email{[email protected]}
18+
\def\telephone{+49 341 97 16322}
1619

1720
\begin{document}
1821
\begin{frame}
@@ -23,7 +26,7 @@
2326
\frametitle{How to use this Template}
2427
\begin{enumerate}
2528
\item Clone or download the complete directory from \url{https://github.com/IMISE/imise-beamertheme}
26-
\item Rename imisetest.tex, modify title, author and date.
29+
\item Rename template.tex, replace title, subtitle, author, date, address, email address and telephone number.
2730
\item If you know that your target display has an aspect ratio other than 16:10, uncomment a different line at the top of imisetest.tex.
2831
\item Fill with your presentation.
2932
\item Compile with pdflatex.
@@ -33,7 +36,6 @@
3336
\begin{frame}{Example Slide}
3437
\begin{itemize}
3538
\item this is a bullet point
36-
\item this is a footnote\footnote{footnote text}
3739
\item this is a clickable link: \url{http://www.imise.de}
3840
\end{itemize}
3941
\end{frame}
@@ -50,6 +52,27 @@
5052
\end{tabulary}
5153
\end{frame}
5254

55+
\begin{frame}{Colors}
56+
The following colors can be used for diagrams, tables and emphasis.
57+
You may use shades of the colors in $20 \%$ steps for purposes like diagrams.\\
58+
~\\
59+
\centering
60+
\scalebox{1.5}
61+
{
62+
\begin{tabulary}{\textwidth}{llll}
63+
\toprule
64+
Identifier &Color &Shades &RGB\\
65+
\midrule
66+
mediblue &\Huge\color{mediblue}$\blacksquare$ &\Huge\color{mediblue!80}$\blacksquare$\color{mediblue!60}$\blacksquare$\color{mediblue!40}$\blacksquare$\color{mediblue!20}$\blacksquare$ &$(0,138,201)$\\
67+
mixblue &\Huge\color{mixblue}$\blacksquare$ &\Huge\color{mixblue!80}$\blacksquare$\color{mixblue!60}$\blacksquare$\color{mixblue!40}$\blacksquare$\color{mixblue!20}$\blacksquare$ &$(0,167,214)$\\
68+
aquamarine &\Huge\color{aquamarine}$\blacksquare$ &\Huge\color{aquamarine!80}$\blacksquare$\color{aquamarine!60}$\blacksquare$\color{aquamarine!40}$\blacksquare$\color{aquamarine!20}$\blacksquare$ &$(0,194,209)$\\
69+
black &\Huge\color{black}$\blacksquare$ &\Huge\color{black!80}$\blacksquare$\color{black!60}$\blacksquare$\color{black!40}$\blacksquare$\color{black!20}$\blacksquare$ &$(0,0,0)$\\
70+
\bottomrule
71+
\end{tabulary}
72+
}
73+
\end{frame}
74+
75+
5376
\begin{frame}{IMISE Presentation Rules}
5477
\begin{itemize}
5578
\item you can usually choose between English and German

0 commit comments

Comments
 (0)