Skip to content
Snippets Groups Projects
Commit f11becfc authored by Jeroen F.J. Laros's avatar Jeroen F.J. Laros
Browse files

Work in progress: first colour changes.

parent 3186a8e4
No related branches found
No related tags found
No related merge requests found
% Copyright 2011 by Jeroen F. J. Laros % Copyright 2015 by Jeroen F. J. Laros
% %
% This file may be distributed and/or modified % This file may be distributed and/or modified
% %
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
% %
% See the file doc/licenses/LICENSE for more details. % See the file doc/licenses/LICENSE for more details.
\ProvidesPackageRCS $Header: /svnroot/presentation/trunk/beamerthemelumc.sty,v 1.0 2011/03/02 $ \ProvidesPackageRCS $Header: /svnroot/presentation/trunk/beamerthemelumc.sty,v 1.0 2015/11/12 $
\mode<presentation> \mode<presentation>
...@@ -25,15 +25,16 @@ ...@@ -25,15 +25,16 @@
\setbeamertemplate{bibliography item}[triangle] \setbeamertemplate{bibliography item}[triangle]
\bibliographystyle{plain} \bibliographystyle{plain}
% Select a nicer font. %% Select a nicer font.
\usepackage{newcent} %\usepackage{newcent}
\renewcommand{\sfdefault}{pnc} %\renewcommand{\sfdefault}{pnc}
\usepackage{eurosym} \usepackage{eurosym}
% Package for making graphs and automata. % Package for making graphs and automata.
\usepackage{gastex} \usepackage{gastex}
% Spaces around `=' break functionality. % Spaces around `=' break functionality.
\gasset{linecolor=white, linewidth=0.5, AHLength=3} %\gasset{linecolor=white, linewidth=0.5, AHLength=3}
\gasset{linewidth=0.5, AHLength=3}
% Custom colours (use the gimp colour picker and divide by 255). % Custom colours (use the gimp colour picker and divide by 255).
\definecolor{LUMCBlue}{rgb}{0, 0.11372, 0.38039} \definecolor{LUMCBlue}{rgb}{0, 0.11372, 0.38039}
...@@ -43,14 +44,15 @@ ...@@ -43,14 +44,15 @@
\usenavigationsymbolstemplate{} \usenavigationsymbolstemplate{}
% Set default colours. % Set default colours.
\alt<handout>{}{ %\alt<handout>{}{
\setbeamercolor{structure}{fg=white} % \setbeamercolor{structure}{fg=white}
\setbeamercolor{normal text}{fg=white} % \setbeamercolor{normal text}{fg=white}
\setbeamercolor{frametitle}{fg=white} % \setbeamercolor{frametitle}{fg=white}
} %}
% Change the bullets in the itemize environment. % Change the bullets in the itemize environment.
\setbeamertemplate{itemize items}[circle] \setbeamertemplate{itemize items}[circle]
\setbeamercolor{itemize item}{fg=black}
\newcommand{\fakeitem}{\,\ \ \ $\bullet$\ \,} \newcommand{\fakeitem}{\,\ \ \ $\bullet$\ \,}
% Macros for bold text. % Macros for bold text.
...@@ -61,13 +63,13 @@ ...@@ -61,13 +63,13 @@
\newcommand{\permfoot}[1]{\onslide<1->\bs{#1}} \newcommand{\permfoot}[1]{\onslide<1->\bs{#1}}
% Macro for highlighting. % Macro for highlighting.
\alt<handout>{ %\alt<handout>{
\newcommand{\hlColour}{\color{red}} \newcommand{\hlColour}{\color{red}}
\newcommand{\defaultColour}{\color{black}} \newcommand{\defaultColour}{\color{black}}
}{ %}{
\newcommand{\hlColour}{\color{yellow}} % \newcommand{\hlColour}{\color{yellow}}
\newcommand{\defaultColour}{\color{white}} % \newcommand{\defaultColour}{\color{white}}
} %}
\newcommand{\hl}[1]{\hlColour#1\defaultColour} \newcommand{\hl}[1]{\hlColour#1\defaultColour}
% Enable numbering of figures and tables. % Enable numbering of figures and tables.
...@@ -218,7 +220,7 @@ ...@@ -218,7 +220,7 @@
% The header of the body. % The header of the body.
\setbeamertemplate{headline}{ \setbeamertemplate{headline}{
\colorbox{white}{\color{LUMCBlue} \colorbox{LUMCBlue}{\color{white}
\begin{tabularx}{0.98\textwidth}{ll} \begin{tabularx}{0.98\textwidth}{ll}
\includegraphics[scale=0.25]{logos/lumc_logo_small} & \includegraphics[scale=0.25]{logos/lumc_logo_small} &
\hspace{0.8cm} % Space between the logo and the title of the section. \hspace{0.8cm} % Space between the logo and the title of the section.
...@@ -262,20 +264,29 @@ ...@@ -262,20 +264,29 @@
} }
% Set the background colour. % Set the background colour.
\alt<handout>{}{\beamersetaveragebackground{LUMCBlue}} %\alt<handout>{}{\beamersetaveragebackground{LUMCBlue}}
% Reset the frame counter. % Reset the frame counter.
\setcounter{framenumber}{0} \setcounter{framenumber}{0}
% The footer of the body. % The footer of the body.
\setbeamertemplate{footline}{ \setbeamertemplate{footline}{
\colorbox{white}{\color{LUMCBlue} \colorbox{white}{\color{white}
\begin{tabularx}{0.98\textwidth}{XXX} \begin{tabularx}{0.98\textwidth}{p{3cm}lX}
\\ [-3ex] % Space above the footer line. \\ [-3ex] % Space above the footer line.
\myConference & \colorbox{LUMCBlue}{
\hfill \insertframenumber/\inserttotalframenumber \phantom{.} \hfill
\insertframenumber/\inserttotalframenumber
\hfill \phantom{.}
} &
\colorbox{blue}{
\myConference
}
\hfill \phantom{.} & \hfill \phantom{.} &
\hfill \myDate \hfill
\colorbox{gray}{
\myDate
}
\\ [-1ex] % Space below the footer line. \\ [-1ex] % Space below the footer line.
\end{tabularx} \end{tabularx}
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
\title{\LaTeX\ Presentation Template} \title{\LaTeX\ Presentation Template}
\providecommand{\myConference}{Work discussion} \providecommand{\myConference}{Work discussion}
\providecommand{\myDate}{Thursday, 24 February 2011} \providecommand{\myDate}{12-nov-2015}
\author{Jeroen F.J. Laros} \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}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment