forked from UCL/ucl-beamer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
beamerthemeuclposter.sty
34 lines (27 loc) · 991 Bytes
/
beamerthemeuclposter.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
\usetheme{ucl}
% disable nav symbols
\setbeamertemplate{navigation symbols}{}
% puts the title on one line, and subtitle below
\defbeamertemplate*{headline}{poster}{%
\hspace{2em}
\begin{beamercolorbox}[ignorebg,ht=\bannerheight,sep=1em]{headline}%
% \vbox to\bannerheight{
% \vspace{0.1\bannerheight}%
\usebeamerfont{title}\usebeamercolor[fg]{title}%
\strut\inserttitle\strut\par%
\usebeamerfont{author}\usebeamercolor[fg]{author}%
\strut\insertauthor\strut\par%
\usebeamerfont{institute}\usebeamercolor[fg]{institute}%
\strut\insertinstitute\strut\par%
% \vfil%
% }
\end{beamercolorbox}
\ifbeamercolorempty[bg]{banner stripe}{}{\vspace{\stripeheight}}%
}
\setbeamercolor*{headline}{parent=banner}
\setbeamercolor*{author}{parent=banner}
\setbeamercolor*{institute}{parent=banner}
\setbeamerfont{title}{size=\huge}
\setbeamerfont{author}{size=\Large}
\setbeamerfont{institute}{size=\normalsize}
% Reduce margins