From f11becfca117f5135007a1ffc1f3a249d5b24a7c Mon Sep 17 00:00:00 2001 From: "Jeroen F.J. Laros" <jlaros@fixedpoint.nl> Date: Thu, 12 Nov 2015 21:56:43 +0100 Subject: [PATCH] Work in progress: first colour changes. --- beamerthemelumc.sty | 57 +++++++++++++++++++++++++++------------------ presentation.tex | 2 +- 2 files changed, 35 insertions(+), 24 deletions(-) diff --git a/beamerthemelumc.sty b/beamerthemelumc.sty index 6c4d73e..c14d438 100644 --- a/beamerthemelumc.sty +++ b/beamerthemelumc.sty @@ -1,4 +1,4 @@ -% Copyright 2011 by Jeroen F. J. Laros +% Copyright 2015 by Jeroen F. J. Laros % % This file may be distributed and/or modified % @@ -7,7 +7,7 @@ % % 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> @@ -25,15 +25,16 @@ \setbeamertemplate{bibliography item}[triangle] \bibliographystyle{plain} -% Select a nicer font. -\usepackage{newcent} -\renewcommand{\sfdefault}{pnc} +%% Select a nicer font. +%\usepackage{newcent} +%\renewcommand{\sfdefault}{pnc} \usepackage{eurosym} % Package for making graphs and automata. \usepackage{gastex} % 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). \definecolor{LUMCBlue}{rgb}{0, 0.11372, 0.38039} @@ -43,14 +44,15 @@ \usenavigationsymbolstemplate{} % Set default colours. -\alt<handout>{}{ - \setbeamercolor{structure}{fg=white} - \setbeamercolor{normal text}{fg=white} - \setbeamercolor{frametitle}{fg=white} -} +%\alt<handout>{}{ +% \setbeamercolor{structure}{fg=white} +% \setbeamercolor{normal text}{fg=white} +% \setbeamercolor{frametitle}{fg=white} +%} % Change the bullets in the itemize environment. \setbeamertemplate{itemize items}[circle] +\setbeamercolor{itemize item}{fg=black} \newcommand{\fakeitem}{\,\ \ \ $\bullet$\ \,} % Macros for bold text. @@ -61,13 +63,13 @@ \newcommand{\permfoot}[1]{\onslide<1->\bs{#1}} % Macro for highlighting. -\alt<handout>{ +%\alt<handout>{ \newcommand{\hlColour}{\color{red}} \newcommand{\defaultColour}{\color{black}} -}{ - \newcommand{\hlColour}{\color{yellow}} - \newcommand{\defaultColour}{\color{white}} -} +%}{ +% \newcommand{\hlColour}{\color{yellow}} +% \newcommand{\defaultColour}{\color{white}} +%} \newcommand{\hl}[1]{\hlColour#1\defaultColour} % Enable numbering of figures and tables. @@ -218,7 +220,7 @@ % The header of the body. \setbeamertemplate{headline}{ - \colorbox{white}{\color{LUMCBlue} + \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. @@ -262,20 +264,29 @@ } % Set the background colour. - \alt<handout>{}{\beamersetaveragebackground{LUMCBlue}} + %\alt<handout>{}{\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} + \colorbox{white}{\color{white} + \begin{tabularx}{0.98\textwidth}{p{3cm}lX} \\ [-3ex] % Space above the footer line. - \myConference & - \hfill \insertframenumber/\inserttotalframenumber + \colorbox{LUMCBlue}{ + \phantom{.} \hfill + \insertframenumber/\inserttotalframenumber + \hfill \phantom{.} + } & + \colorbox{blue}{ + \myConference + } \hfill \phantom{.} & - \hfill \myDate + \hfill + \colorbox{gray}{ + \myDate + } \\ [-1ex] % Space below the footer line. \end{tabularx} } diff --git a/presentation.tex b/presentation.tex index 80951f8..d2182ca 100644 --- a/presentation.tex +++ b/presentation.tex @@ -2,7 +2,7 @@ \title{\LaTeX\ Presentation Template} \providecommand{\myConference}{Work discussion} -\providecommand{\myDate}{Thursday, 24 February 2011} +\providecommand{\myDate}{12-nov-2015} \author{Jeroen F.J. Laros} \providecommand{\myGroup}{Leiden Genome Technology Center} \providecommand{\myDepartment}{Department of Human Genetics} -- GitLab