Commit 66882641 authored by Jeroen F.J. Laros's avatar Jeroen F.J. Laros

Implemented correct multi column behaviour.

parent 0d39cd7e
......@@ -14,6 +14,10 @@
% For the footer.
\usepackage{tabularx}
% For multi column minipages.
\usepackage{multicol}
\setlength{\columnsep}{3cm}
% Select a nicer font.
\usepackage{newcent}
\renewcommand{\sfdefault}{pnc}
......@@ -31,35 +35,6 @@
\definecolor{YellowBg}{rgb}{0.99215, 0.98431, 0.50980}
\definecolor{BlueBg}{rgb}{0.69411, 0.85098, 0.98823}
\newcommand{\colorBlock}[3] {
\vspace{0.2cm}
\colorbox{#1}{
\begin{minipage}{\textwidth}
{\textbf {\LARGE #2}}
\bigskip
{\large #3}
\end{minipage}
}
\vspace{0.2cm}
}
\newenvironment{myPoster}{
\begin{minipage}{0.32\textwidth}
\begin{center}
}{
\end{center}
\end{minipage}
}
\newcommand{\nextColumn}{
\end{center}
\end{minipage}
\hspace{1cm}
\begin{minipage}{0.65\textwidth}
\begin{center}
}
% Disable the navigation bar.
\usenavigationsymbolstemplate{}
......@@ -102,15 +77,12 @@
numberstyle = \tiny
}
%
% Settings for the title page.
%
% The header of the poster
\setbeamertemplate{headline}{
\colorbox{LUMCBlue}{
\begin{tabularx}{\textwidth}{ll}
\raisebox{2cm}{\phantom{.}}\\
\hspace{2cm} \includegraphics[scale = 4.5]{lumc_logo} &
\hspace{2cm} \includegraphics[scale = 5]{lumc_logo} &
\hspace{2cm}
\raisebox{5cm}{
\begin{minipage}{0.8\textwidth}
......@@ -130,7 +102,7 @@
}
}
% The footer of the title page.
% The footer of the poster.
\setbeamertemplate{footline}{
\colorbox{ULBlue}{
\begin{tabularx}{\textwidth}{XXX}
......@@ -147,5 +119,67 @@
}
}
% A new poster environment that uses minipages for unbalanced columns.
\newenvironment{myPoster}{
\begin{minipage}{0.32\textwidth}
\begin{center}
}{
\end{center}
\end{minipage}
}
% This command is to switch to the next column.
\newcommand{\nextColumn}{
\end{center}
\end{minipage}
\hspace{1cm}
\begin{minipage}{0.65\textwidth}
\begin{center}
}
% Add a box with a background colour and a minipage in it.
\newcommand{\colorBlockOne}[3] {
\vspace{0.2cm}
\colorbox{#1}{
\begin{minipage}{\textwidth}
\vspace{1cm}
\begin{center}
\begin{minipage}{0.95\textwidth}
{\textbf {\LARGE #2}}
\bigskip
\bigskip
{\large #3}
\end{minipage}
\end{center}
\vspace{1cm}
\end{minipage}
}
\vspace{0.2cm}
}
% Add a box with a background colour and a two column minipage in it.
\newcommand{\colorBlockTwo}[3] {
\vspace{0.2cm}
\colorbox{#1}{
\begin{minipage}{\textwidth}
\vspace{1cm}
\begin{center}
\begin{minipage}{0.95\textwidth}
\begin{multicols}{2}
{\textbf {\LARGE #2}}
\bigskip
\bigskip
{\large #3}
\end{multicols}
\end{minipage}
\end{center}
\vspace{1cm}
\end{minipage}
}
\vspace{0.2cm}
}
\mode
<all>
\documentclass[final]{beamer}
\documentclass[final, slidestop]{beamer}
\title{\LaTeX\ poster template}
\author{Jeroen F. J. Laros}
......@@ -14,10 +14,10 @@
\usetheme{lumc}
\begin{document}
\begin{frame}{}
\begin{myPoster}
\colorBlock{Background}{Introduction}{
\colorBlockOne{Background}{Introduction}{
Introduction text.
bla
......@@ -27,7 +27,7 @@
bla
}
\colorBlock{YellowBg}{Setup}{
\colorBlockOne{YellowBg}{Setup}{
Explanation of the experiment.
\begin{itemize}
\item bla
......@@ -41,22 +41,44 @@
\end{itemize}
}
\colorBlock{WhiteBg}{Conclusions}{
\colorBlockOne{WhiteBg}{Conclusions}{
Bla bla.
\begin{figure}
\includegraphics[width = \columnwidth]{nbic_logo}
\caption{An example picture}
\end{figure}
}
\nextColumn
\colorBlock{BlueBg}{Results}{
Bla bla.
\colorBlockTwo{BlueBg}{Results}{
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
}
\colorBlock{GreenBg}{Other section}{
Bla bla.\cite{AC}
\colorBlockTwo{GreenBg}{Other section}{
Bla bla.
\begin{figure}
\includegraphics[width = \columnwidth]{nbic_logo}
\caption{An example picture}
\end{figure}
}
\colorBlock{Background}{References}{
\colorBlockTwo{Background}{References}{
\bibliography{$HOME/projects/bibliography}{}
\bibliographystyle{plain}
}
\end{myPoster}
\end{frame}
\end{document}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment