-
Notifications
You must be signed in to change notification settings - Fork 1
/
beamerthemeiiasaposter_2019.sty
83 lines (65 loc) · 2.43 KB
/
beamerthemeiiasaposter_2019.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
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
\ProvidesPackage{beamerthemeiiasaposter}[2019/12/02 v0.3 IIASA poster theme]
\usecolortheme{iiasa}
\PassOptionsToPackage{orientation=portrait,size=A0,scale=1.4}{beamerposter}
\RequirePackage{beamerposter}
\mode<presentation>
% headline colors and fonts
\setbeamercolor{headline}{fg=white,bg=IIASAblue}
\setbeamercolor{separation line}{bg=IIASAteal}
\setbeamerfont{headline}{size=\large}
\setbeamerfont{title in headline}{size=\huge,series=\bfseries}
\setbeamerfont{author in headline}{series=\bfseries}
% footline colors and fonts
\setbeamercolor{footline}{fg=white,bg=IIASAblue}
\setbeamerfont{footline}{size=\normalsize}
\setbeamertemplate{navigation symbols}{}
% block enviroment
\setbeamercolor{block title}{fg=white,bg=IIASAblue}
\setbeamercolor{block body}{bg=white}
\setbeamerfont{block title}{size=\large,series=\bfseries}
\setbeamercolor{block title alerted}{fg=white,bg=IIASAred}
\setbeamercolor{block body alerted}{bg=white}
\addtobeamertemplate{block end}{}{\vspace*{1cm}}
\addtobeamertemplate{block alerted end}{}{\vspace*{1cm}}
% structure text
\setbeamercolor{structure}{fg=IIASAblue}
\setbeamerfont{structure}{size=\large}
\setbeamertemplate{structure end}{\color{fg}\hrule}
\setbeamertemplate{headline}{
\leavevmode
\begin{beamercolorbox}[wd=\paperwidth]{headline}
\begin{columns}[T]
\begin{column}{.02\paperwidth}\end{column}
\begin{column}{.81\paperwidth}
\raggedleft
\usebeamerfont{headline}
\vspace{4ex} % keep the following blank line
{\usebeamercolor{title in headline}\usebeamerfont{title in headline}%
\inserttitle\\[1ex]}
{\usebeamercolor{author in headline} \insertauthor\\[1ex]}
{\usebeamercolor{institute in headline} \insertinstitute\\[1ex]}
\end{column}
\begin{column}{.02\paperwidth}\end{column}
\begin{column}{.13\paperwidth}
\vspace{5ex} % keep the following blank line
\includegraphics[width=.1\paperwidth]{logo-short_white}
\end{column}
\begin{column}{.02\paperwidth}\end{column}
\end{columns}
\end{beamercolorbox}
\begin{beamercolorbox}[wd=\paperwidth]{lower separation line head}
\rule{0pt}{1ex}
\end{beamercolorbox}
}
\setbeamertemplate{footline}{
\begin{beamercolorbox}[wd=\paperwidth]{upper separation line foot}
\rule{0pt}{0.5ex}
\end{beamercolorbox}
\begin{beamercolorbox}[ht=7ex,leftskip=1cm,rightskip=1cm]{footline}%
\insertfootlinetext
\vskip1ex
\end{beamercolorbox}
\begin{beamercolorbox}[wd=\paperwidth]{lower separation line foot}
\rule{0pt}{0.5ex}
\end{beamercolorbox}
}