Commit 85190313 authored by Vandenplas, Jeremie's avatar Vandenplas, Jeremie
Browse files

initial commit

parents
*.aux
*.log
*.nav
*.out
*.pdf
*.snm
*.toc
#WUR beamer template
Empty template for WUR beamer presentations, based on www.petervanberen.eu/latex/.
\def\beamer@wurbeamer@version{0.3.0bart}
\ProvidesPackage{beamerthemewurnew}
\RequirePackage{beamerbasethemes}[2004/10/07]
\RequirePackage{pgf}
%-------------------------------------------------------------------------------
% detect PDF-LaTeX
\newif\ifpdf
\ifx\pdfoutput\undefined\pdffalse\else\pdftrue\fi
%-------------------------------------------------------------------------------
% font options
\RequirePackage[onlymath]{beamerfontthemeserif}
\RequirePackage[T1]{fontenc}
\RequirePackage{lmodern}
%\renewcommand{\encodingdefault}{T1}
\setbeamerfont{title}{size=\Large}
\setbeamerfont{subtitle}{size=\large}
\setbeamerfont{author}{}
\setbeamerfont{institution}{size=\small}
\setbeamerfont{section in toc}{size=\normalsize}
\setbeamerfont{subsection in toc}{size=\small}
%\def\sfdefault{verdana}
\RequirePackage{microtype}
\DisableLigatures{encoding = *, family = * }
\ProcessOptionsBeamer
%-------------------------------------------------------------------------------
% basic layout stuff
% bar height
\newlength\barheight\setlength\barheight{\paperheight}
\divide\barheight by 12
% logobar height
\newlength\logobarheight\setlength\logobarheight{\barheight}
\newlength\logosep\setlength\logosep{0.5\logobarheight}
% pictsize
\newlength\pictsize\setlength\pictsize{\textwidth}
\divide\pictsize by 3
%-------------------------------------------------------------------------------
% color options
\definecolor{wurlightblue}{HTML}{6AADE4}
\definecolor{wurgreen}{HTML}{34B233}
\definecolor{wuryellow}{HTML}{EAB200}
\definecolor{wurdarkgray}{HTML}{A59D95}
\definecolor{wurlightgray}{HTML}{D5D2CA}
\definecolor{wurazure}{HTML}{005172}
\definecolor{wurorange}{HTML}{FF7900}
\definecolor{wursignblue}{HTML}{00549F}
\definecolor{wurwhite}{HTML}{FFFFFF}
\definecolor{wurblack}{HTML}{000000}
\definecolor{wurlogobarcolor}{HTML}{FFFFFF}
\definecolor{lightgray}{HTML}{EEEEEE}
\setbeamercolor*{normal text}{fg=wurazure,bg=wurwhite} % All text text
\setbeamercolor*{alerted text}{fg=wurgreen} % Alerted text
\setbeamercolor*{structure}{parent=normal text} % bullets in itemize
\setbeamercolor*{block title}{bg=wurazure,fg=wurwhite} % colors in the title of a block
\setbeamercolor*{block body}{bg=wurlightgray,fg=wurazure} % colors in the body of a block
\setbeamercolor*{section in head/foot}{parent=normal text} % Current section in navigation bar
\setbeamercolor*{section in head/foot shaded}{parent=normal text} % Non active section in navigation bar
\setbeamercolor*{section number projected}{bg=wurazure,fg=wurazure} % toc section color
\setbeamercolor*{subsection number projected}{bg=wurazure,fg=wurazure} % toc subsection color
\setbeamercolor*{headline}{parent=normal text}
\pgfdeclareimage[height=.7\logobarheight]{WU-logo}{wu}
\pgfdeclareimage[height=.9\logobarheight]{NWO-logo}{nwo}
\pgfdeclareimage[height=1.2\logobarheight]{STW-logo}{STW}
\pgfdeclareimage[height=.9\logobarheight]{Lek-logo}{lekhabo}
\pgfdeclareimage[height=.9\logobarheight]{Hortimax-logo}{hortimax}
\pgfdeclareimage[height=0.9\logobarheight]{Boonekamp-logo}{boonekamp}
% white sheet colors
\def\whitesheets{
\setbeamercolor*{normal text}{fg=wurazure,bg=wurwhite} % All text text
\setbeamercolor*{alerted text}{fg=wurgreen} % Alerted text
\setbeamercolor*{block title}{bg=wurazure,fg=wurwhite} % colors in the title of a block
\setbeamercolor*{block body}{bg=wurlightgray,fg=wurazure} % colors in the body of a block
\setbeamercolor*{section number projected}{bg=wurazure,fg=wurazure} % toc section color
\setbeamercolor*{subsection number projected}{bg=wurazure,fg=wurazure} % toc subsection color
\pgfdeclareimage[height=.7\logobarheight]{WU-logo}{wu}
\usebeamercolor[fg]{normal text}
}
% blue sheet colors
\def\bluesheets{
\mode<presentation>{
\setbeamercolor*{normal text}{fg=wurwhite,bg=wurlightblue}
\setbeamercolor*{alerted text}{fg=wurazure}
\setbeamercolor*{block title}{bg=wurazure,fg=wurwhite}
\setbeamercolor*{block body}{bg=wurwhite,fg=wurazure}
\setbeamercolor*{section number projected}{bg=wurwhite,fg=wurwhite}
\setbeamercolor*{subsection number projected}{bg=wurwhite,fg=wurwhite}
\pgfdeclareimage[height=.7\logobarheight]{WU-logo}{WU_Engels_wit}
\usebeamercolor[fg]{normal text}
}
\mode<handout>{
\whitesheets
}
}
% green sheet colors
\def\greensheets{
\mode<presentation>{
\setbeamercolor*{normal text}{fg=wurwhite,bg=wurgreen}
\setbeamercolor*{alerted text}{fg=wurazure}
\setbeamercolor*{block title}{bg=wurlightblue,fg=wurwhite}
\setbeamercolor*{block body}{bg=wurwhite,fg=wurazure}
\setbeamercolor*{section number projected}{bg=wurwhite,fg=wurwhite}
\setbeamercolor*{subsection number projected}{bg=wurwhite,fg=wurwhite}
\pgfdeclareimage[height=.7\logobarheight]{WU-logo}{WU_Engels_wit}
\usebeamercolor[fg]{normal text}
}
\mode<handout>{
\whitesheets
}
}
% gray sheet colors
\def\graysheets{
\mode<presentation>{
\setbeamercolor*{normal text}{fg=wurwhite,bg=wurdarkgray}
\setbeamercolor*{alerted text}{fg=wurazure}
\setbeamercolor*{block title}{bg=wurlightblue,fg=wurwhite}
\setbeamercolor*{block body}{bg=wurwhite,fg=wurazure}
\setbeamercolor*{section number projected}{bg=wurwhite,fg=wurwhite}
\setbeamercolor*{subsection number projected}{bg=wurwhite,fg=wurwhite}
\pgfdeclareimage[height=.7\logobarheight]{WU-logo}{WU_Engels_wit}
\usebeamercolor[fg]{normal text}
}
\mode<handout>{
\whitesheets
}
}
% white sheet option
\DeclareOptionBeamer{white}[]{\whitesheets}
% blue sheet option
\DeclareOptionBeamer{blue}[]{\bluesheets}
% green sheet option
\DeclareOptionBeamer{green}[]{\greensheets}
% gray sheet option
\DeclareOptionBeamer{gray}[]{\graysheets}
\mode<handout>{
\setbeamercolor{background canvas}{bg=lightgray}
}
\ProcessOptionsBeamer
%-------------------------------------------------------------------------------
% itemization
\setbeamertemplate{itemize item}{\scriptsize\raise1.25pt\hbox{$\blacksquare$}}
\setbeamertemplate{itemize subitem}{\hbox{\donotcoloroutermaths$\bullet$}}
\setbeamertemplate{itemize subsubitem}{\hbox{\donotcoloroutermaths$\bullet$}}
%-------------------------------------------------------------------------------
% table of contents
\setbeamertemplate{subsection in toc}{
\hbox{
\hspace*{\leftmargini}
\usebeamercolor[bg]{subsection number projected}\hbox{\donotcoloroutermaths$\bullet$}
\usebeamercolor[fg]{subsection number projected}\usebeamerfont{subsection in toc}\inserttocsubsection
}
}
\setbeamertemplate{section in toc}{
\hbox{
\usebeamercolor[bg]{section number projected}\scriptsize\raise1.25pt\hbox{$\blacksquare$}
\usebeamercolor[fg]{section number projected}\usebeamerfont{section in toc}\inserttocsection
}
}
%-------------------------------------------------------------------------------
% blocks
\setbeamertemplate{blocks}[default]
\setbeamercovered{transparent}
%-------------------------------------------------------------------------------
% handouts
\mode<handout>{
\RequirePackage{pgfpages}
\pgfpagesuselayout{4 on 1}[a4paper,landscape, border shrink=5mm]
}
%
%-------------------------------------------------------------------------------
% picture bar
% user-command to change the picture bar used:
\pgfdeclareimage[height=\pictsize,width=\pictsize,interpolate=true]{health}{Picture1.png}
\pgfdeclareimage[height=\pictsize,width=\pictsize,interpolate=true]{environ}{Picture2.png}
\pgfdeclareimage[height=\pictsize,width=\pictsize,interpolate=true]{food}{Picture3.png}
\def\custompic#1{\pgfdeclareimage[height=\pictsize,width=\pictsize,interpolate=true]{custom}{#1}}
\pgfdeclareimage[height=\pictsize,width=\pictsize,interpolate=true]{custom}{Picture4.png}
\titlegraphic{
\hskip2.2\pictsize\pgfuseimage{food}
\hskip-1.6\pictsize\pgfuseimage{environ}
\hskip-1.6\pictsize\pgfuseimage{health}
\hskip-2\pictsize\pgfuseimage{custom}
}
%-------------------------------------------------------------------------------
% title page
\setbeamertemplate{title page}
{
\frametitle{\inserttitle}
\vskip1pc
\makebox[\textwidth][l]{\ifx\insertsubtitle\@empty\else{\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}\fi}
\vskip1pc
\makebox[\textwidth][l]{\usebeamerfont{author}\usebeamercolor[fg]{author}\ifx\insertdate\@empty\else{\insertdate }\fi \insertauthor}
% Institution
\makebox[\textwidth][l]{\usebeamerfont{institute}\usebeamercolor[fg]{institute}\insertinstitute}
\vfill
% WUR picture bar. Defined above.
\inserttitlegraphic
}
%-------------------------------------------------------------------------------
% section page
%\def\sectionpic#1{\pgfdeclareimage[height=2\pictsize,width=2\pictsize,interpolate=true]{sectpic}{#1}}
%
\setbeamertemplate{section page}{
\vskip-1pc
\hskip1.2\pictsize\hbox to 0pt{\vbox to 0pt{\pgfuseimage{sectpic}}}
\vskip-2pc
\raisebox{-.8pc}{\rule{1.2\pictsize}{.4pt}}\par
\begin{minipage}[t]{1.2\pictsize}
\flushleft
\usebeamerfont{title}\usebeamercolor[fg]{title}\insertsection
\end{minipage}
\vskip1pc
\rule{1.2\pictsize}{.4pt}
\vskip0pt plus 1filll
}
%-------------------------------------------------------------------------------
% frame title
\setbeamertemplate{frametitle}{%
\vskip-1.4pc
\rule{\textwidth}{.4pt}\par
\makebox[\textwidth][l]{\usebeamerfont{title}\usebeamercolor[fg]{title}\insertframetitle}
\rule{\textwidth}{.4pt}
}
%-------------------------------------------------------------------------------
% headline
\defbeamertemplate{headline}{navigation}{
\usebeamercolor[bg]{headline}
\vskip2pt\tiny\insertsectionnavigationhorizontal{\textwidth}{\hskip0pt plus1filll}{\hskip5pt}
}
\defbeamertemplate{headline}{nonavigation}{
\usebeamercolor[bg]{headline}
\vskip10pt
}
\def\navon{\setbeamertemplate{headline}[navigation]}
\def\navoff{\setbeamertemplate{headline}[nonavigation]}
%-------------------------------------------------------------------------------
% logo bar
\setbeamerfont{logobar}{}
% these are availabe to users for constructing their logo
\def\wulogo{\hbox{\vbox to \logobarheight{\vfill\hbox{\pgfuseimage{WU-logo}}\vfill}}}
\def\nwologo{\hbox{\vbox to \logobarheight{\vfill\hbox{\pgfuseimage{NWO-logo}}\vfill}}}
\def\stwlogo{\hbox{\vbox to \logobarheight{\vfill\hbox{\pgfuseimage{STW-logo}}\vfill}}}
\def\leklogo{\hbox{\vbox to \logobarheight{\vfill\hbox{\pgfuseimage{Lek-logo}}\vfill}}}
\def\hortimaxlogo{\hbox{\vbox to \logobarheight{\vfill\hbox{\pgfuseimage{Hortimax-logo}}\vfill}}}
\def\boonekamplogo{\hbox{\vbox to \logobarheight{\vfill\hbox{\pgfuseimage{Boonekamp-logo}}\vfill}}}
% Initially, have an empty logo bar
\let\logobarlogo=\relax
% routine to add a logo
\def\addlogo#1{%
\ifx\logobarlogo\relax
\def\logobarlogo{#1}
\else
\g@addto@macro{\logobarlogo}{\hspace{\logosep}}
\g@addto@macro{\logobarlogo}{#1}
\fi
}
% routine to reset the logo bar (i.e. for using the Alterra logo instead
\def\resetlogo{\let\logobarlogo=\relax}
\def\logobartext#1{\gdef\@logobartext{#1}}
\def\@logobartext{}
\def\buildlogobar{%
\noindent\makebox[0.95\paperwidth]{%
\hspace*{\logosep}
\logobarlogo
\ifx\logobarlogo\relax\else\hspace{\logosep}\fi
\hfill
\hbox{\vbox to \logobarheight{\vfill\hbox{{\usebeamerfont{logobar}\usebeamercolor[fg]{logobar}\@logobartext}}\vfill}}%
\hspace*{\logosep}
\hfill
\usebeamercolor[fg]{page number in head/foot}}} %\insertframenumber/\inserttotalframenumber
\setbeamertemplate{footline}{
\buildlogobar
}
%-------------------------------------------------------------------------------
% setup
% Disable the navigation buttons
\setbeamertemplate{navigation symbols}{}
\navon
\setbeamersize{text margin right=1pc}
\setbeamersize{text margin left=2pc}
% Use the Wageningen University logo by default
\addlogo{\wulogo}
%\addlogo{\leklogo}
%\addlogo{\hortimaxlogo}
%\addlogo{\stwlogo}
\endinput
\documentclass{beamer}
\usepackage{amsmath}
\usepackage{multicol}
%\usepackage{movie15} %should be replaced by media9
\usepackage{array}
\usepackage[absolute,overlay]{textpos}
\usepackage[noload=addn]{siunitx}
\usepackage{xcolor}
\usepackage{tabto}
\usepackage{tikz}
\usetikzlibrary{shapes}
\DeclareSIUnit\FluxE{\si{W.m^{-2}}}
\usetheme[white]{wurnew} %blue, green, white, gray
\definecolor{DarkViolet}{rgb}{0.5781,0,0.8242}
\definecolor{MediumBlue}{rgb}{0,0,0.8008}
\definecolor{ForestGreen}{rgb}{0.1328,0.5430,0.1328}
\definecolor{DarkOrange}{rgb}{1.0000,0.5469,0}
\definecolor{Red}{rgb}{1,0,0}
\definecolor{Gray}{rgb}{0.5000, 0.5000, 0.5000}
%WUR colors
\definecolor{Green}{rgb}{52, 178, 51}
\definecolor{Blue}{rgb}{106, 173, 228}
\definecolor{BlueDark}{rgb}{0, 81, 114}
\definecolor{BlueSignal}{rgb}{0, 84, 159}
\definecolor{Orange}{rgb}{255, 121, 0}
\definecolor{WarmGrey6}{rgb}{165, 157, 149}
\definecolor{WarmGrey2}{rgb}{213, 210, 202}
\title{\large{Empty template}}
%\author{Jeremie Vandenplas}
%\date{\today}
%Datum: \date{August 14, 2012}
%\institute{}
%navon en navoff
\navoff
\begin{document}
\makeatletter
\begin{frame}
\maketitle
\begin{textblock*}{\linewidth}(8.3mm,20mm)
Jeremie Vandenplas\\
%\vspace{0.5cm}
%\footnotesize{Wageningen UR}
\end{textblock*}
\begin{textblock*}{30mm}(8.3mm,40mm)
\tiny{\date{\today}}
\end{textblock*}
\end{frame}
%-------
%\section[]{}
%\begin{frame}
% \frametitle{Table of contents}
% \tableofcontents
%\end{frame}
%-------
\section{Background}
\begin{frame}
\frametitle{Background}
\begin{itemize}
\item First item
\begin{itemize}
\item Second item
\end{itemize}
\end{itemize}
\end{frame}
%-------
\section{Aim}
\begin{frame}
\frametitle{Aim}
\begin{center}
Aim
\end{center}
\end{frame}
%-------
\section{To be defined}
\begin{frame}
\frametitle{To be defined}
\end{frame}
%-------
\section{Conclusions}
\begin{frame}
\frametitle{Conclusions}
\end{frame}
\end{document}
wu.png

14.8 KB

Supports Markdown
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