Skip to content
Snippets Groups Projects
Commit b6a9dadb authored by Laros's avatar Laros
Browse files

Changed to the beamer template.

beamerthemelumc.sty:
- The LUMC style sheet, it handles all layout and provides two commands:
  - \bodytemplate makes the title sheet and switches to the body layout.
  - \lastpagetemplate alters the head line with two more logos.

presentation.tex:
- Example presentation.

Makefile:
- Added more clean up functionality.
parent 39304dc1
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,8 @@ release: $(SRC) clean ...@@ -28,7 +28,8 @@ release: $(SRC) clean
rm -f $(SRC).ps rm -f $(SRC).ps
clean: clean:
rm -f *.aux $(SRC).blg $(SRC).dvi $(SRC).log rm -f *.aux $(SRC).blg $(SRC).dvi $(SRC).log $(SRC).nav $(SRC).out \
$(SRC).toc $(SRC).snm
distclean: clean distclean: clean
rm -f $(SRC).ps $(SRC).pdf rm -f $(SRC).ps $(SRC).pdf
% Copyright 2011 by Jeroen F. J. Laros
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
%
% See the file doc/licenses/LICENSE for more details.
\ProvidesPackageRCS $Header: /svnroot/presentation/trunk/beamerthemelumc.sty,v 1.0 2011/03/02 $
\mode<presentation>
% For the footer.
\usepackage{tabularx}
% Select a nicer font.
\usepackage{newcent}
\renewcommand{\sfdefault}{pnc}
% Custom colours (use the gimp colour picker and divide by 255).
\definecolor{LUMCBlue}{rgb}{0, 0.10980, 0.37647}
\definecolor{ULBlue}{rgb}{0.06274, 0.07843, 0.38823}
% Disable the navigation bar.
\usenavigationsymbolstemplate{}
% Set default colours.
\setbeamercolor{structure}{fg = white}
\setbeamercolor{normal text}{fg = white}
\setbeamercolor{frametitle}{fg = black}
\setbeamertemplate{items}[circle]
%
% Settings for the title page.
%
% The header of the title page.
\providecommand{\titletemplate}{
\setbeamertemplate{headline}{
\colorbox{LUMCBlue}{
\begin{tabularx}{0.98\textwidth}{X}
\vspace{-0.3cm} % Space above the logo.
\hfill
\includegraphics[scale = 0.25, angle = 270]{lumc_logo}
\hfill \phantom{.}
\vspace{0.1cm} % Space above the logo.
\end{tabularx}
}
}
}
% The footer of the title page.
\setbeamertemplate{footline}{
\colorbox{ULBlue}{
\begin{tabularx}{0.98\textwidth}{X}
\vspace{0.05cm} % Space above the logo.
\hfill
\includegraphics[scale = 0.25]{ul_logo}
\hfill \phantom{.}
\vspace{0.1cm} % Space below the logo.
\end{tabularx}
}
}
%
% Settings for the body.
%
% The header of the body.
\setbeamertemplate{headline}{
\colorbox{white}{\color{LUMCBlue}
\begin{tabularx}{0.98\textwidth}{ll}
\includegraphics[scale = 0.25]{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}
}
}
% Switch to the normal layout.
\providecommand{\bodytemplate}{
% The title page.
{
\titletemplate
\begin{frame}
\vspace{1.5cm}
\begin{center}
\color{black} {\Large {\bf \inserttitle}}
\vspace{2.3cm}
{\bf
{\scriptsize
\color{LUMCBlue}
\insertauthor
\smallskip
\myGroup
\smallskip
\myDepartment
\vspace{-0.1cm}
\myCenter
}
}
\end{center}
\end{frame}
}
% Set the background colour.
\beamersetaveragebackground{LUMCBlue}
% Reset the frame counter.
\setcounter{framenumber}{0}
% The footer of the body.
\setbeamertemplate{footline}{
\colorbox{white}{\color{LUMCBlue}
\begin{tabularx}{0.98\textwidth}{XXX}
\\ [-3ex] % Space above the footer line.
\myConference &
\hfill \insertframenumber/\inserttotalframenumber
\hfill \phantom{.} &
\hfill \myDate
\\ [-1ex] % Space below the footer line.
\end{tabularx}
}
}
}
\providecommand{\lastpagetemplate}{
% The header of the body.
\setbeamertemplate{headline}{
\colorbox{white}{\color{LUMCBlue}
\begin{tabularx}{0.98\textwidth}{llXX}
\includegraphics[scale = 0.25]{lumc_logo_small} &
\hspace{0.8cm} % Space between the logo and the title of the section.
{\normalsize {\bf \insertsection}} &
\hfill
\lastCenterLogo
\hfill \phantom{.} &
\hfill
\lastRightLogo
\hfill
\end{tabularx}
}
}
}
\mode
<all>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
% LUMC presentation template by J. F. J. Laros. \documentclass[slidestop]{beamer}
% Last alteration on 20-02-2011.
%
% The packages texlive-latex-recommended, texlive-latex-base and
% texlive-latex-extra should be installed.
%
% Alter these four lines for a new presentation. \title{\LaTeX\ Presentation Template}
\providecommand{\me}{Jeroen F. J. Laros} \providecommand{\myConference}{Work discussion}
\providecommand{\myDate}{Thursday, 24 February 2011}
\author{Jeroen F. J. Laros}
\providecommand{\myGroup}{Leiden Genome Technology Center} \providecommand{\myGroup}{Leiden Genome Technology Center}
\providecommand{\myDepartment}{Department of Human Genetics} \providecommand{\myDepartment}{Department of Human Genetics}
\providecommand{\myCenter}{Center for Human and Clinical Genetics} \providecommand{\myCenter}{Center for Human and Clinical Genetics}
\providecommand{\myTitle}{\LaTeX \ Presentation Template} \providecommand{\lastCenterLogo}{
\providecommand{\myConference}{Work discussion} \raisebox{-0.1cm}{
\providecommand{\myDate}{Thursday, 24 February 2011} \includegraphics[scale = 0.055]{lgtc_logo}
% Now go to %%% BEGIN PRESENTATION %%%
\documentclass[a4, portrait]{seminar}
\usepackage{semcolor} % For coloured text.
\usepackage{slidesec} % For section headings.
\usepackage{newcent} % This is a better font for presentations.
\usepackage{listings}
\input{seminar.bug}
\usepackage{graphicx} % For pictures.
\usepackage{fancybox} % For the background picture.
\usepackage[labelfont={color=white}, textfont={color=white}]{caption}
\definecolor{Blue}{rgb}{0.,0.11372,0.37647} % Custom LUMC color
\renewcommand{\labelitemi}{\textcolor{white}{$\bullet$}} % Make the bullets for
\renewcommand{\labelitemii}{\textcolor{white}{--}} % itemising white.
\renewcommand{\labelitemiii}{\textcolor{white}{$\ast$}}
\renewcommand{\labelitemiv}{\textcolor{white}{$\circ$}}
\renewcommand{\labelenumi}{\textcolor{white}{\arabic{enumi}.}}
\newcommand{\bt}[1]{\texttt{\textbf{#1}}}
\lstdefinelanguage{BNF}{
sensitive = true,
otherkeywords = {-,>,|,',`,?,(,)},
morestring = [b][keywordstyle]',
morecomment = [l]{\#},
}
\lstset{
language = Python,
basicstyle = \footnotesize,
lineskip = -0.5ex,
frame = shadowbox,
rulesepcolor = \color{black},
captionpos = b,
numbers = left,
numbersep = -1em,
numberstyle = \tiny
}
\newslideframe{TITLE}{ % Template for the title.
\boxput{
\rput(0, 0){\includegraphics[angle=90, scale=.485]{bg}}
}{#1}
}
\newslideframe{PRES}{ % Template for the body.
\boxput{
\rput(0, 0){\includegraphics[angle=90, scale=.485]{bg2}}
}{
\textcolor{Blue}{
\rput[l]{90}(8.57, -1.5){\scriptsize{\myConference}}
\rput[c]{90}(8.57, 5.35){\scriptsize{\theslide/\pageref{LastPage}}}
\rput[r]{90}(8.57, 12.2){\scriptsize{\myDate}}
}
\white #1
} }
} }
\providecommand{\lastRightLogo}{
\renewcommand{\makeslideheading}[1]{ % Put the slide headings on top. \includegraphics[scale = 0.1]{nbic_logo}
\rput[l](0.2, .40){
\textbf{
\textcolor{Blue}{#1}
}
}
\newline
} }
\pagestyle{empty} \usetheme{lumc}
\begin{document} \begin{document}
\slideframe{TITLE} % Use the title template. \bodytemplate
\begin{slide} % First page of the presentation.
\setcounter{slide}{0} \section{Introduction}
\vspace*{1.5cm} \begin{frame}
First line.
\pause
Second line.
\hfill
\end{frame}
\section{Topic2}
\begin{frame}
\begin{itemize}
\item Item 1.
\item Item 2.
\pause
\item Item 3.
\pause
\begin{itemize}
\item Subitem 1.
\end{itemize}
\end{itemize}
\end{frame}
\section{Questions?}
\lastpagetemplate
\begin{frame}
\begin{center} \begin{center}
{\bf\Large{\myTitle}}\\ Acknowledgements..
\vfill
\textcolor{Blue}{
{\bf
\small{\me}\\
\small{\myGroup}\\
\small{\myDepartment}\\
\small{\myCenter}
}
}
\vspace{1.1cm}
\end{center}
\end{slide}
\slideframe{PRES} % Use the body template.
%%% BEGIN PRESENTATION %%%
\begin{slide}
\slideheading{Topic 1}
Text goes here...
\vfill
\end{slide}
\begin{slide}
\slideheading{Topic 1}
And more text..
\vfill
\end{slide}
\begin{slide}
\slideheading{Topic 2}
And yet more text..
\vfill
\end{slide}
\begin{slide}
%\rput(11.4,0.6){\includegraphics[scale=0.1]{Gen2Phen}}
\rput(5.4,0.7){\includegraphics[scale=0.07]{lgtc_logo}}
\rput(10.6,0.6){\includegraphics[scale=0.1]{nbic_logo}}
\slideheading{Questions?}
\begin{center}
Acknowledgements
\bigskip
\bigskip
Some people here.
\bigskip
\bt{https://www.mutalyzer.nl/svn/presentation}
\end{center} \end{center}
\vfill \end{frame}
\label{LastPage}
\end{slide}
\end{document} \end{document}
ul_logo.eps 0 → 100644
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment