Commit 870f2413 authored by Laros's avatar Laros
Browse files

Header.

parent 4e73d614
......@@ -14,6 +14,10 @@
\newlength{\LUMCCell}
\setlength{\LUMCCell}{1.17cm}
% For the header.
\usepackage{tikz}
\usetikzlibrary{patterns}
% For the footer.
\usepackage{tabularx}
\usepackage{colortbl}
......@@ -42,10 +46,15 @@
% Custom colours (use the gimp colour picker and divide by 255).
\definecolor{LUMCBlue}{rgb}{0, 0.11372, 0.38039}
\definecolor{LUMCDarkBlue}{rgb}{0, 0.235294, 0.490196}
\definecolor{LUMCLightBlue}{rgb}{0, 0.486275, 0.760784}
\definecolor{LUMCGreenBlue}{rgb}{0, 0.623529, 0.741176}
\definecolor{LUMCGray}{rgb}{0.431373, 0.564706, 0.650980}
% Custom colours.
% https://www.lumc.nl/over-het-lumc/leveranciers/huisstijl/kleuren/
\definecolor{LUMCDonkerblauw}{HTML}{003C7D}
\definecolor{LUMCKobaltblauw}{HTML}{007CC2}
\definecolor{LUMCAquablauw}{HTML}{009FBD}
\definecolor{LUMCGrijsblauw}{HTML}{6E90A6}
\definecolor{LUMCRood}{HTML}{E3004F}
\definecolor{LUMCBruin}{HTML}{C0965C}
\definecolor{ULBlue}{rgb}{0.06274, 0.07843, 0.38823}
......@@ -227,16 +236,24 @@
% Settings for the body.
%
\pgfdeclarepatternformonly{custom north east lines}{
\pgfqpoint{-1pt}{-1pt}}{\pgfqpoint{4pt}{4pt}}{\pgfqpoint{1.4pt}{1.4pt}}{
\pgfsetlinewidth{0.4pt}
\pgfpathmoveto{\pgfqpoint{0pt}{0pt}}
\pgfpathlineto{\pgfqpoint{3.1pt}{3.1pt}}
\pgfusepath{stroke}
}
% The header of the body.
\setbeamertemplate{headline}{
\colorbox{LUMCBlue}{\color{white}
\begin{tabularx}{0.98\textwidth}{ll}
\includegraphics[scale=0.25]{logos/lumc_logo_small} &
\hspace{0.8cm} % Space between the logo and the title of the section.
{\normalsize {\bf \insertsection}}
\raisebox{0.9cm}{\phantom{.}}
\end{tabularx}
}
\begin{tikzpicture}
\fill[LUMCDonkerblauw]
(0,0) -- (10.03,0) -- +(\LUMCCell,\LUMCCell) -- (0,\LUMCCell) -- (0,0);
\fill[pattern=custom north east lines, pattern color=LUMCKobaltblauw]
(0,0) -- (10.45,0) -- +(\LUMCCell,\LUMCCell) -- (0,\LUMCCell) -- (0,0);
\node [white, right] at (1,0.3)
{\color{white} \normalsize \bf \insertsection};
\end{tikzpicture}
}
% Switch to the normal layout.
......@@ -284,10 +301,10 @@
\renewcommand{\arraystretch}{1.65}
\begin{tabularx}{\textwidth}{p{\LUMCCell}Xp{\LUMCCell}p{\LUMCCell}}
\centering
\cellcolor{LUMCDarkBlue} \insertframenumber/\inserttotalframenumber &
\cellcolor{LUMCLightBlue} \myConference &
\cellcolor{LUMCGreenBlue} &
\cellcolor{LUMCGray} \myDate
\cellcolor{LUMCDonkerblauw} \insertframenumber/\inserttotalframenumber &
\cellcolor{LUMCKobaltblauw} \myConference &
\cellcolor{LUMCAquablauw} &
\cellcolor{LUMCGrijsblauw} \myDate
\end{tabularx}
}
}
......
......@@ -54,6 +54,7 @@
\permfoot{https://git.lumc.nl/j.f.j.laros/presentation/tree/master}
\end{pframe}
\section{New section title which is rather long}
\subsection{Code}
\begin{pframe}
A \emph{pframe} does not need to be declared fragile.
......
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