forked from exporl/kuleuven-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
poster-latex.tex
263 lines (197 loc) · 7.54 KB
/
poster-latex.tex
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
% KU Leuven latex poster template
%
% © 2017 Benjamin Dieudonné
%
% This work is licensed under the Creative Commons Attribution 3.0 Unported License.
% To view a copy of this license, visit
% http://creativecommons.org/licenses/by/3.0/ or send a letter to Creative
% Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.
\documentclass[english,xcolor=table,t
]{beamer}
\usepackage[size=custom,width=100,height=100
]{templates/beamerposter}
% PACKAGES
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage[nolist,nohyperlinks]{acronym}
\usepackage{babel,lmodern,graphicx,mathptmx,xspace,wasysym,microtype,booktabs,tabularx,relsize,textcomp,longtable,lipsum,colortbl,eurosym,url,multicol,etoolbox,multimedia,pdfpages,fixltx2e,ifluatex,epstopdf}
\usepackage[olditem,oldenum]{paralist}
\usepackage[babel=true]{csquotes}
\usepackage[thinqspace,amssymb,textstyle]{SIunits}
\usepackage[textsize=tiny]{todonotes}
\usepackage[symbol]{footmisc}
\usepackage[notquote]{hanging}
\usepackage[normalem]{ulem}
\usepackage{changepage}
\pdfstringdefDisableCommands{\renewcommand{\sout}{}}
\graphicspath{{figures/}}
% Fix sort order in case the same file exists with multiple extensions
\DeclareGraphicsExtensions{.pdf,.png,.jpeg,.jpg,.eps}
\frenchspacing
\input{templates/definitions.tex}
% blocks
\newcommand\ncol{2} % for margins
\newcommand\marginfactor{1} % for larger/smaller margin (default: 1, 0 means no margins between blocks)
\newcommand\paddingfactor{1} % for larger/smaller padding (default: 1, 0 means no padding within)
% font sizes: large, Large, LARGE, huge, Huge, veryHuge, VeryHuge, VERYHuge
\setbeamerfont{title in headline}{size=\VERYHuge,series=\bfseries}
\setbeamerfont{author in headline}{size=\veryHuge}
\setbeamerfont{institute in headline}{size=\huge}
\setbeamerfont{block title}{size=\huge,series=\bfseries}
\setbeamerfont{block body}{size=\normalsize}
\setbeamerfont{structure}{size=\LARGE} % subtitles
\setbeamerfont*{item}{parent=normal text}
\setbeamerfont{caption}{size=\normalsize}
\setbeamerfont{itemize/enumerate subbody}{size=\normalsize} %to set the body size
% POSTER INFO
\title{Title}
\author{Author 1 \and Author 2}
\institute{institute name}
\newcommand\posterurl{university.edu}
\newcommand\posterlonginstitute{long institute name}
\newcommand\posteremail{[email protected]}
\pdfstringdefDisableCommands{\renewcommand{\sout}{}}
\graphicspath{{figures/}}
% Fix sort order in case the same file exists with multiple extensions
\DeclareGraphicsExtensions{.pdf,.png,.jpeg,.jpg,.eps}
\frenchspacing
% beamer
\mode<presentation>
% POSTER DIMENSIONS
% header
\newlength{\headerheight}
\setlength\headerheight{15cm}
\deflen{titlemargin}{1.5cm} % margin under title
\deflen{authormargin}{1cm} % margin under authors
% derived dimensions (logo size, margins, ...)
\newbox{\layoutbox}
\deflen{logowidth}{\headerheight}
\deflen{logoheight}{\logowidth*\ratio{236px}{661px}}
\deflen{margin}{\marginfactor\logoheight*\ratio{1px}{2px}}
\deflen{keyheight}{0.9\headerheight}
\deflen{keywidth}{\keyheight*\ratio{269px}{576px}}
\deflen{colwidth}{\paperwidth*\ratio{1px}{\ncol px}-\margin-\margin*\ratio{1px}{\ncol px}}
\deflen{padding}{\paddingfactor\logoheight*\ratio{1px}{3px}}
% some useful commands
\newcommand{\blocksubtitle}[1]{ \structure{ \textbf{#1} } \\}
\newcommand{\blockhrule}{ \vskip -1.3cm \rule{\textwidth-2\padding}{1pt} \vskip -0.8cm}
\newenvironment{vfillcolumn}[1]{%
\begin{column}{#1}
\minipage[c][\textheight][s]{#1}
\vskip \margin
}{%
\endminipage
\end{column}
}
% beamer colors
\setbeamercolor{background canvas}{bg=kulbg}
\setbeamercolor{headline}{fg=white,bg=kulbg}
\setbeamercolor{whitespace}{fg=white,bg=white}
\setbeamercolor{footline}{fg=white,bg=kulbg}
\setbeamerfont{footline}{size=\normalsize}
\setbeamercolor*{normal text}{fg=kullight}
\setbeamercolor*{block body}{bg=kullight,fg=kuldark}
\setbeamercolor*{block title}{bg=kullight,fg=kuldark}
\setbeamercolor*{block title example}{bg=kullight,fg=kuldark}
\setbeamercolor*{block body example}{bg=kullight,fg=kuldark}
\setbeamercolor{structure}{fg=kuldark}
\setbeamercolor*{item}{fg=kuldark}
\setbeamercolor{caption}{fg=kuldark}
\setbeamercolor{}{fg=kuldark} % e.g. figure caption
% beamer templates
\setbeamertemplate{navigation symbols}{} % no navigation on a poster
\setbeamertemplate{headline}{%
\begin{beamercolorbox}[ht=0.9\logoheight,wd=\paperwidth]{whitespace}%
\end{beamercolorbox}
\vskip-0.4\logoheight
\leftskip0.5\logoheight
\begin{beamercolorbox}[ht=\logoheight,wd=\logowidth]{whitespace}%
\includegraphics[height=\logoheight]{templates/kuleuven}
\end{beamercolorbox}
\leftskip0ex
\begin{beamercolorbox}[wd=\paperwidth]{headline}%
\begin{columns}[T,totalwidth=\paperwidth]
\begin{column}{0.9\logoheight} \end{column} % margin
\begin{column}{\paperwidth-1.4\logoheight-\keywidth}
\vskip0.5\logoheight
{\usebeamerfont{title in headline}\inserttitle \\[\titlemargin]}
{\usebeamerfont{author in headline}\insertauthor \\[\authormargin]}
{\usebeamerfont{institute in headline}\insertinstitute }
\end{column}
\begin{column}{\keywidth}
\vskip-0.3\logoheight
\raggedleft\includegraphics[height=\keyheight]{templates/key}
\end{column}
\begin{column}{0.5\logoheight} \end{column} % margin
\end{columns}
\end{beamercolorbox}
}
\setbeamertemplate{footline}{
\begin{beamercolorbox}[ht=0.6\logoheight,leftskip=1.6\margin,rightskip=1.6\margin]{footline}%
\url{\posterurl} \hfill \posterlonginstitute \hfill \texttt{\posteremail}
\vskip 0.25\logoheight
\end{beamercolorbox}
}
\setbeamertemplate{block begin}{%
\begin{beamercolorbox}[rounded=false,shadow=false]{block body}%
\begin{beamercolorbox}[ht=0.5\logoheight,dp=0.9ex,rounded=false,shadow=false]{block title}%
\begin{adjustwidth}{\padding}{\padding}
\usebeamerfont*{block title}\insertblocktitle
\end{adjustwidth}
\end{beamercolorbox}%
\begin{beamercolorbox}[ht=6pt,rounded=false,shadow=false]{block title}%
\leftskip0.3\padding \rule{\textwidth-0.6\padding}{6pt}
\end{beamercolorbox}%
\usebeamerfont{block body}%
\begin{beamercolorbox}[rounded=false,shadow=false,leftskip=0cm,vmode,rightskip=0cm]{block body}%
\begin{adjustwidth}{\padding}{\padding}
\parskip1em
}
\setbeamertemplate{block end}{
\vskip0.1em
\end{adjustwidth}
\end{beamercolorbox}
\end{beamercolorbox}
\vskip\margin
}
\setbeamertemplate{block example begin}{%
\usebeamerfont{block body}%
\begin{beamercolorbox}[rounded=false,shadow=false,leftskip=0cm,vmode,rightskip=0cm]{block body example}%
\begin{adjustwidth}{\padding}{\padding}
\parskip1em
}
\setbeamertemplate{block example end}{
\vskip0.1em
\end{adjustwidth}
\end{beamercolorbox}
\vskip\margin
}
%\setbeamertemplate{structure text begin}{\vskip.4em}
\setbeamertemplate{itemize/enumerate body begin}{
\begin{minipage}{\dimexpr\textwidth-0.3\logoheight}
\begin{adjustwidth}{0px}{0.3\logoheight}
}
\setbeamertemplate{itemize/enumerate body end}{
\end{adjustwidth}
\end{minipage}
}
\setbeamertemplate{itemize items}[square]
\setbeamertemplate{bibliography item}{\hskip\dimexpr0.5em+0.8cm\relax}
\setbeamertemplate{caption}{%
\usebeamercolor[fg]{caption name}%
\usebeamerfont*{caption name}%
\insertcaptionname~\insertcaptionnumber:~%
\insertcaption\par
}
\begin{document}
\begin{frame}
\begin{columns}
\column{(\linewidth-1cm)*\real{0.500000}}
\begin{block}{First block}
\end{block}
\column{(\linewidth-1cm)*\real{0.500000}}
\end{columns}
\end{frame}
\end{document}
%\begin{vfillcolumn}{\colwidth}