← All templates

UCL presentation (ucl Beamer theme)

The Beamer theme in UCL's GitHub organisation by Simon Byrne (after Maurizio Filippone), approximating the UCL corporate identity with coloured UCL banners; the sample demonstrates its options, blocks and colour choices.

Create an account to use this
Category
Presentation
Document class
beamer (beamer.cls) — ships with TeX Live
Workflow
Presentation — no revision rounds
Author
University College London
Source
University College London
Licence
beamer.cls: LaTeX Project Public License (installed with TeX). The sample text is University College London's, provided for authors preparing a submission.

These are the publisher’s own files. This project starts from University College London’s package for this publication — their manuscript, their beamer.cls, their bibliography style — so what compiles here is what they would have given you.

University College London serves this exact file to University College London. Check University College London’s author pages for the current instructions.

Where this differs from the publisher’s download.

  • Note: Published in University College London's own GitHub organisation (MIT, copyright UCL), but its README calls the theme unofficial and it follows UCL's earlier brand.

What you get

  • banners/uclbannerblack.pdf · 9 KB
  • banners/uclbannerbrightblue.pdf · 7 KB
  • banners/uclbannerbrightgreen.pdf · 7 KB
  • banners/uclbannerdarkblue.pdf · 7 KB
  • banners/uclbannerdarkbrown.pdf · 7 KB
  • banners/uclbannerdarkgreen.pdf · 7 KB
  • banners/uclbannerdarkgrey.pdf · 7 KB
  • banners/uclbannerdarkpurple.pdf · 7 KB
  • banners/uclbannerdarkred.pdf · 7 KB
  • banners/uclbannerlightblue.pdf · 7 KB
  • banners/uclbannerlightgreen.pdf · 7 KB
  • banners/uclbannerlightgrey.pdf · 7 KB
  • banners/uclbannerlightpurple.pdf · 7 KB
  • banners/uclbannermidgreen.pdf · 7 KB
  • banners/uclbannermidred.pdf · 7 KB
  • banners/uclbannernavyblue.pdf · 7 KB
  • banners/uclbannerorange.pdf · 7 KB
  • banners/uclbannerrichred.pdf · 7 KB
  • banners/uclbannerstone.pdf · 7 KB
  • banners/uclbanneryellow.pdf · 7 KB
  • beamercolorthemeucl.sty · 2 KB
  • beamerinnerthemeblockborder.sty · 2 KB
  • beamerouterthemeucltitlebanner.sty · 2 KB
  • beamerthemeucl.sty · 5 KB
  • beamerthemeuclposter.sty · 991 B
  • csml_logo.pdf · 18 KB
  • sample-poster.tex · 2 KB
  • sample.tex — the file that is compiled · 6 KB
  • uclcolors.sty · 1 KB

These become your files. Editing them afterwards changes your project and nothing else — a project owns its files from the moment it is made.

Source

banners/uclbannerblack.pdf — binary, 9 KB

banners/uclbannerbrightblue.pdf — binary, 7 KB

banners/uclbannerbrightgreen.pdf — binary, 7 KB

banners/uclbannerdarkblue.pdf — binary, 7 KB

banners/uclbannerdarkbrown.pdf — binary, 7 KB

banners/uclbannerdarkgreen.pdf — binary, 7 KB

banners/uclbannerdarkgrey.pdf — binary, 7 KB

banners/uclbannerdarkpurple.pdf — binary, 7 KB

banners/uclbannerdarkred.pdf — binary, 7 KB

banners/uclbannerlightblue.pdf — binary, 7 KB

banners/uclbannerlightgreen.pdf — binary, 7 KB

banners/uclbannerlightgrey.pdf — binary, 7 KB

banners/uclbannerlightpurple.pdf — binary, 7 KB

banners/uclbannermidgreen.pdf — binary, 7 KB

banners/uclbannermidred.pdf — binary, 7 KB

banners/uclbannernavyblue.pdf — binary, 7 KB

banners/uclbannerorange.pdf — binary, 7 KB

banners/uclbannerrichred.pdf — binary, 7 KB

banners/uclbannerstone.pdf — binary, 7 KB

banners/uclbanneryellow.pdf — binary, 7 KB

beamercolorthemeucl.sty · 2 KB
%\mode<presentation>
\RequirePackage{uclcolors}
\RequirePackage{etoolbox}


% Determines the UCL colour name of the template in the 1st argument, and
% stores it in the 2nd argument. This is used to determine which banner image
% should be included
%
% Should probably change to raise a \@latex@error if non-UCL colour is used,
% but currently will just leave black
\newcommand\uclcolorname[2]{%
  \extractcolorspec{#1}{\ucl@colorspec@current}%
  \forcsvlist{\ucl@colorcheck{#2}}{black,white,darkpurple,darkred,darkblue,%
    darkgreen,darkbrown,richred,midred,navyblue,midgreen,darkgrey,pink,%
    orange,brightblue,brightgreen,lightgrey,lightpurple,yellow,lightblue,%
    lightgreen,stone}%
}
% a utility function called by \uclcolorname
\newcommand\ucl@colorcheck[2]{%
  \extractcolorspec{#2}{\ucl@colorspec@check}%
  \ifdefequal{\ucl@colorspec@check}{\ucl@colorspec@current}{\gdef#1{#2}}{}%
}

% this is the main variable to customise
\setbeamercolor{banner}{bg=black,fg=white}

% title on title page
\setbeamercolor{title}{parent=banner}
% used for structural elements
\setbeamercolor{structure}{use=banner,fg=banner.bg}

\setbeamercolor{frametitle}{fg=black}

% used for \alert
\setbeamercolor{alerted text}{fg=richred}
% used in the example environment
\setbeamercolor{example text}{fg=darkgreen}

\setbeamercolor{block title}{parent=banner}
%%% can use the following for a striped
% \setbeamercolor{block title}{parent=banner stripe}
\setbeamercolor{block body}{use=block title,bg=block title.bg!30, fg=black}

\setbeamercolor{block title alerted}{use=alerted text,%
  bg=alerted text.fg,fg=white}
\setbeamercolor{block body alerted}{use=block title alerted,%
  bg=block title alerted.bg!30,fg=black}

\setbeamercolor{block title example}{use=example text,%
  bg=example text.fg,fg=white}
\setbeamercolor{block body example}{use=block title example,%
  bg=block title example.bg!30,fg=black}

% used for section and miniframes headline templates
\setbeamercolor*{section in head/foot}{use=banner,%
  fg=banner.fg!70!banner.bg,bg=banner.fg!20!banner.bg}
\setbeamercolor*{subsection in head/foot}{use=banner,%
  fg=banner.fg!50!banner.bg,bg=banner.fg!20!banner.bg}

% used for footline template
\setbeamercolor*{footline}{parent={banner,banner stripe}}
\setbeamercolor*{author in head/foot}{parent=footline}
\setbeamercolor*{title in head/foot}{parent=footline}
\setbeamercolor*{date in head/foot}{parent=footline}

%\mode<all>
beamerinnerthemeblockborder.sty · 2 KB
% sets the block environment to have borders
% this modifies the default definition in beamerinnerthemedefault.sty
% the effect is achieved using nested beamercolorboxes
% it may be possible to do this in a simpler manner using the 
% tcolorbox package

\defbeamertemplateparent{blocks}[bordered]{block begin,block end,%
  block alerted begin,block alerted end,%
  block example begin,block example end}{}

% Standard block
\defbeamertemplate*{block begin}{bordered}{%
  \par\vskip\medskipamount%
  % border box
  \begin{beamercolorbox}[colsep*=1.25ex]{block title}%
    % title box
    \vskip-1ex
    \begin{beamercolorbox}[colsep*=0.75ex,dp=0ex]{block title}%
      \usebeamerfont*{block title}\insertblocktitle\par%
    \end{beamercolorbox}%
    {\parskip0pt\par}%
    % body box
    \usebeamerfont{block body}%
    \begin{beamercolorbox}[colsep*=0.75ex]{block body}
      {\parskip0pt\par}%
    }
\defbeamertemplate*{block end}{bordered}{%
  \end{beamercolorbox}%
  \vskip-0.75ex%
  \end{beamercolorbox}%
  \vskip\smallskipamount%
}

% Alerted block
\defbeamertemplate*{block alerted begin}{bordered}{%
  \par\vskip\medskipamount%
  % border box
  \begin{beamercolorbox}[colsep*=1.25ex]{block title alerted}%
    % title box
    \vskip-1ex
    \begin{beamercolorbox}[colsep*=0.75ex,dp=0ex]{block title alerted}%
      \usebeamerfont*{block title alerted}\insertblocktitle\par%
    \end{beamercolorbox}%
    {\parskip0pt\par}%
    % body box
    \usebeamerfont{block body alerted}%
    \begin{beamercolorbox}[colsep*=0.75ex]{block body alerted}
      {\parskip0pt\par}%
    }
\defbeamertemplate*{block alerted end}{bordered}{%
  \end{beamercolorbox}%
  \vskip-0.75ex%
  \end{beamercolorbox}%
  \vskip\smallskipamount%
}

% Example block
\defbeamertemplate*{block example begin}{bordered}{%
  \par\vskip\medskipamount%
  % border box
  \begin{beamercolorbox}[colsep*=1.25ex]{block title example}%
    % title box
    \vskip-1ex
    \begin{beamercolorbox}[colsep*=0.75ex,dp=0ex]{block title example}%
      \usebeamerfont*{block title example}\insertblocktitle\par%
    \end{beamercolorbox}%
    {\parskip0pt\par}%
    % body box
    \usebeamerfont{block body example}%
    \begin{beamercolorbox}[colsep*=0.75ex]{block body example}
      {\parskip0pt\par}%
    }
\defbeamertemplate*{block example end}{bordered}{%
  \end{beamercolorbox}%
  \vskip-0.75ex%
  \end{beamercolorbox}%
  \vskip\smallskipamount%
}
beamerouterthemeucltitlebanner.sty · 2 KB
% Puts the frame title in the banner
% TODO:
% title page

\DeclareOptionBeamer{small}{%
  \setbeamertemplate{banner}[ucl][1]%
  \setbeamertemplate{frametitle}[one line]%
}
\DeclareOptionBeamer{large}{%
  \setbeamertemplate{banner}[ucl][1.5]%
  \setbeamertemplate{frametitle}[two lines]%
}

% reset headline to default
\setbeamertemplate{headline}[default]

% set the colours from banner
\setbeamercolor*{frametitle}{use=banner,fg=banner.fg}

% puts the title on one line, and subtitle below
\defbeamertemplate{frametitle}{two lines}{%
  \begin{beamercolorbox}[ignorebg,ht=\bannerheight]{frametitle}%
    \vbox to\bannerheight{ % chktex 1
      \vspace{1ex}%
      \usebeamerfont{frametitle}\usebeamercolor[fg]{frametitle}%
      \strut\insertframetitle\strut\par%
      {%
        \ifx\insertframesubtitle\@empty%
        \else%
        {\usebeamerfont{framesubtitle}\usebeamercolor[fg]{framesubtitle}\insertframesubtitle\strut\par}%
        \fi
      }%
      \vfil%
    }
    \end{beamercolorbox}
    \ifbeamercolorempty[bg]{banner stripe}{}{\vspace{\stripeheight}}%
  }

% puts the title and subtitle on the same line
\defbeamertemplate{frametitle}{one line}{%
  \begin{beamercolorbox}[ignorebg,ht=\bannerheight]{frametitle}%
    \vbox to\bannerheight{ % chktex 1
      \vspace{1ex}%
      \usebeamerfont{frametitle}\usebeamercolor[fg]{frametitle}%
      \strut\insertframetitle\strut%
      {%
        \ifx\insertframesubtitle\@empty%
        \else%
        {\hspace{0.6em}\usebeamerfont{framesubtitle}\usebeamercolor[fg]{framesubtitle}\insertframesubtitle\strut}%
        \fi
      }%
      \par%
      \vfil%
    }
  \end{beamercolorbox}
  \ifbeamercolorempty[bg]{banner stripe}{}{\vspace{\stripeheight}}%
  }


% this ensures the title page doesn't overlap the banner
\addtobeamertemplate{title page}{%
  \vspace{\bannerheight}%
  \ifbeamercolorempty[bg]{banner stripe}{}{\vspace{\stripeheight}}%
}{}


\ExecuteOptionsBeamer{large}
\ProcessOptionsBeamer%
beamerthemeucl.sty · 5 KB
\usetheme{default}
\usecolortheme{ucl}
\RequirePackage{calc}

% the height of the banner (after scaling)
\newlength\bannerheight%
% the height of the banner stripe: according to UCL style this should be the
% height of the tower
\newlength\stripeheight%
% the amount to trim off the banner (before scaling)
\newlength\bannerimagetrim%

% UCL banner template
\defbeamertemplate*{banner}{ucl}[1][1]{%
  \uclcolorname{banner.bg}{\ucl@bannercolorname}%
  \includegraphics[width=\paperwidth,trim=\bannerimagetrim{} 0 0 0]% 
  {banners/uclbanner\ucl@bannercolorname}%
}
[action]{% set lengths when loading template
  \setlength\bannerimagetrim{363bp-363bp/\real{#1}}
  \settoheight\bannerheight{\usebeamertemplate*{banner}}  
  \setlength\stripeheight{0.1875\bannerheight}
}

% blank banner, for when you don't want UCL banner on every page
\defbeamertemplate{banner}{blank}{%
  \hspace{\beamer@leftmargin}%
  \begin{beamercolorbox}[wd=\paperwidth,ht=\bannerheight]{banner}%
  \end{beamercolorbox}
}

% if you don't want a banner at all.
\defbeamertemplate{banner}{empty}{%
}



% draw the banner on the background
\defbeamertemplate*{background}{ucl}{% for everything else
  \hspace{\beamer@leftmargin}%
  \begin{beamercolorbox}[wd=\paperwidth]{banner stripe}%
    \usebeamertemplate*{banner}\par%
    \ifbeamercolorempty[bg]{banner stripe}{}{\vspace{\stripeheight}}%
  \end{beamercolorbox}%
}


% The default headline is just empty space.
% this ensures content doesn't overlap
\defbeamertemplate*{headline}{ucl}{%
  \vspace{\bannerheight}%
  \ifbeamercolorempty[bg]{banner stripe}{}{\vspace{\stripeheight}}%
}  


% Section / Subsection
\defbeamertemplate{headline}{section}{%
  \begin{beamercolorbox}[ignorebg,ht=\bannerheight]{section in head/foot}%
    \vbox to\bannerheight{ % chktex 1
      \usebeamerfont{section in head/foot}%
      \vspace{1em}%
      \hspace{1em}\insertsectionhead%
      \ifx\insertsubsectionhead\@empty%
      \else%
      {\usebeamerfont{subsection in head/foot}%
        \usebeamercolor[fg]{subsection in head/foot}%
        \,/\,\insertsubsectionhead}%
      \fi%      
      \par%
      \vfil}%
  \end{beamercolorbox}%
  \ifbeamercolorempty[bg]{banner stripe}{}{\vspace{\stripeheight}}%
}  

% Miniframes
\defbeamertemplate{headline}{miniframes}[1][0.6\paperwidth]{% 
  \begin{beamercolorbox}[ignorebg,ht=\bannerheight]{section in head/foot}%
    \vbox to\bannerheight{ % chktex 1
      \vspace{1ex}%
      \insertnavigation{#1}%
      \par%
      \vfil}%
  \end{beamercolorbox}%
  \ifbeamercolorempty[bg]{banner stripe}{}{\vspace{\stripeheight}}%
}
% use boxes instead of circles
\setbeamertemplate{mini frames}[box]

% Department and subdepartment/slogan in the headline
\defbeamertemplate{headline}{department}{%
  \begin{beamercolorbox}[ignorebg,ht=\bannerheight]{section in head/foot}%
    \vbox to\bannerheight{ % chktex 1
      \vfil%
      \usebeamerfont*{section in head/foot}%
      \usebeamercolor[fg]{section in head/foot}%
      \hspace{1em}%
      \usebeamertemplate{department}%
      \par%
      \usebeamerfont*{subsection in head/foot}%
      \usebeamercolor[fg]{subsection in head/foot}%
      \vspace*{.5ex}%
      \hspace{1em}%
      \usebeamertemplate{subdepartment}%
      \par%
      \vfil}%
  \end{beamercolorbox}%
  \ifbeamercolorempty[bg]{banner stripe}{}{\vspace{\stripeheight}}%
}

\patchcmd{\beamer@calculateheadfoot}{\advance\footheight by 4pt}{\advance\footheight by 1em}{}{} % chktex 1

\defbeamertemplate{footline}{author title date}
{
  \leavevmode%
  \hbox{%
  \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
    \usebeamerfont{author in head/foot}\insertshortauthor\expandafter\beamer@ifempty\expandafter{\beamer@shortinstitute}{}{~~(\insertshortinstitute)}
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
    \usebeamerfont{title in head/foot}\insertshorttitle%
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
    \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
    \usebeamertemplate*{slide counter}\hspace*{2ex}
  \end{beamercolorbox}}%
  \vskip0pt%
}

% Slide counter
\defbeamertemplate*{slide counter}{frametotal}[1][]{%
  \usebeamercolor[fg]{date in head/foot}%
  #1~\insertframenumber\ \vrule width0.3pt height5pt\ \inserttotalframenumber%
}
\defbeamertemplate{slide counter}{frameonly}[1][]{%
  \usebeamercolor[fg]{date in head/foot}%
  #1~\insertframenumber%
}
\defbeamertemplate{slide counter}{empty}{%
}

% Reduce margins
\setbeamersize{text margin left=1.4em,text margin right=1.4em}

% make everything rectangle-y
\useinnertheme{rectangles}

% use the Helvetica font
\usepackage[scaled]{helvet}
\usepackage{eulervm}

%%% the UCL font is actually Arial, if you want to use it, you should install
%%% the font using the getnonfreefonts script, then it can be loaded by the
%%% following:
% \usepackage[T1]{fontenc}
% \usepackage{uarial}
% \renewcommand{\familydefault}{\sfdefault}

beamerthemeuclposter.sty · 991 B
\usetheme{ucl}

% disable nav symbols
\setbeamertemplate{navigation symbols}{} 

% puts the title on one line, and subtitle below
\defbeamertemplate*{headline}{poster}{%
  \hspace{2em}
  \begin{beamercolorbox}[ignorebg,ht=\bannerheight,sep=1em]{headline}%
    % \vbox to\bannerheight{
    %   \vspace{0.1\bannerheight}%
      \usebeamerfont{title}\usebeamercolor[fg]{title}%
      \strut\inserttitle\strut\par%
      \usebeamerfont{author}\usebeamercolor[fg]{author}%
      \strut\insertauthor\strut\par%
      \usebeamerfont{institute}\usebeamercolor[fg]{institute}%
      \strut\insertinstitute\strut\par%
    %   \vfil%
    % }
    \end{beamercolorbox}
    \ifbeamercolorempty[bg]{banner stripe}{}{\vspace{\stripeheight}}%
  }


\setbeamercolor*{headline}{parent=banner}
\setbeamercolor*{author}{parent=banner}
\setbeamercolor*{institute}{parent=banner}

\setbeamerfont{title}{size=\huge}
\setbeamerfont{author}{size=\Large}
\setbeamerfont{institute}{size=\normalsize}


% Reduce margins

csml_logo.pdf — binary, 18 KB

sample-poster.tex · 2 KB
\documentclass{beamer}
\usepackage[orientation=landscape,size=a1]{beamerposter}

\usetheme{uclposter}


\useinnertheme{blockborder}
\setbeamercolor{block body}{bg=white,fg=black}


\title{Title of the Poster}
\author{Author 1 and Author 2}
\institute{%
  Department of Statistical Science,
  University College London
}

% \beamertemplategridbackground[1cm]

\setbeamersize{text margin left=2cm,text margin right=2cm}

\newlength\blockcolsep%
\setlength\blockcolsep{2ex}
\newlength\postercolumnsep%
\setlength\postercolumnsep{2cm}

\newlength\postercolumnwidth%
\setlength\postercolumnwidth{0.3333\textwidth-0.66666\postercolumnsep}

\newlength\totalwidth%
\setlength\totalwidth{\textwidth+3ex}

\begin{document}
\begin{frame}[t]{}
\centering
\begin{columns}[totalwidth=\totalwidth]
  \begin{column}[t]{\postercolumnwidth}
    \centering
    \begin{block}{Step 1}
      Some content
    \end{block}
    %
    \begin{block}{Step 2}
      \begin{itemize}
      \item Item 1
      \item Item 2
      \end{itemize}
    \end{block}
    %
    \begin{block}{Step 3}
      Sample
    \end{block}
  \end{column}
  %
  \begin{column}[t]{\postercolumnwidth}
    \centering
    \begin{block}{Step 1}
      Some content
    \end{block}
    %
    \begin{block}{Step 2}
      \begin{itemize}
      \item Item 1
      \item Item 2
      \end{itemize}
    \end{block}
    %
    \begin{block}{Step 3}
      Sample
    \end{block}
  \end{column}
  %
  \begin{column}[t]{\postercolumnwidth}
    \centering
    \begin{block}{Step 1}
      Some content
    \end{block}

    \begin{block}{Step 2}
      \begin{itemize}
      \item Item 1
      \item Item 2
      \end{itemize}
    \end{block}

    \begin{block}{Step 3}
      Sample
    \end{block}
  \end{column}
 \end{columns}

\end{frame}



\end{document}
sample.tex — the file that is compiled · 6 KB
\documentclass{beamer}
\usetheme{ucl}

%%% Increase the height of the banner: the argument is a scale factor >=1.0
% \setbeamertemplate{banner}[ucl][1.5]

%%% Change the colour of the main banner
%%% The background should be one of the UCL colours (except pink or white):
%%%   black,darkpurple,darkred,darkblue,darkgreen,darkbrown,richred,midred,
%%%   navyblue,midgreen,darkgrey,orange,brightblue,brightgreen,lightgrey,
%%%   lightpurple,yellow,lightblue,lightgreen,stone
% \setbeamercolor{banner}{bg=darkpurple}
% \setbeamercolor{banner}{bg=yellow,fg=black}

%%% Add a stripe behind the banner
% \setbeamercolor{banner stripe}{bg=brightblue,fg=black}

%%% The main structural elements
% \setbeamercolor{structure}{fg=black}

%%% Author/Title/Date and slide number in the footline
% \setbeamertemplate{footline}[author title date]

%%% Puts the section/subsection in the headline
% \setbeamertemplate{headline}[section]

%%% Puts a navigation bar on top of the banner
%%% For this to work correctly, the each \section command needs to be
%%% followed by a \subsection. Requires one extra compile.
% \setbeamertemplate{headline}[miniframes]
%%% Accepts an optional argument determining the width
% \setbeamertemplate{headline}[miniframes][0.3\paperwidth]


%%% Puts the frame title in the banner
%%% Won't work correctly with the above headline templates
% \useoutertheme{ucltitlebanner}
%%% Similar to above, but smaller (and puts subtitle on same line as title)
% \useoutertheme[small]{ucltitlebanner}

%%% Gives block elements (theorems, examples) a border
% \useinnertheme{blockborder}
%%% Sets the body of block elements to be clear
% \setbeamercolor{block body}{bg=white,fg=black}

%%% Include CSML logo on title slide
% \titlegraphic{\includegraphics[width=0.16\paperwidth]{csml_logo}}

%%% Include CSML logo in bottom right corner of all slides
% \logo{\includegraphics[width=0.12\paperwidth]{csml_logo}}

%%% Set a background colour
% \setbeamercolor{background canvas}{bg=lightgrey}

%%% Set a background image
%%% Some sample images are available from the UCL image store:
%%%   https://www.imagestore.ucl.ac.uk/home/start
% \setbeamertemplate{background canvas}{%
%   \includegraphics[width=\paperwidth]{imagename}}



%%%%%% Some other settings that can make things look nicer
%%% Set a smaller indent for description environment
\setbeamersize{description width=2em}
%%% Remove nav symbols (and shift any logo down to corner)
\setbeamertemplate{navigation symbols}{\vspace{-2ex}}



\title[Short Title]{Your paper}
\author[Auth. 1 \and Auth.2]{Author 1 \and Author 2}
\institute[UCL]{%
  Department of Sample Science \\ %
  University College London
}
\date{28th January 2011}

\begin{document}


\begin{frame}
  \titlepage%
\end{frame}

\section{Section 1}
\subsection{First subsection}

\begin{frame}
  \frametitle{First Slide}
  \begin{itemize}
  \item 1
  \item 2
    \pause%
  \item \alert{Alert!!}
  \end{itemize}
\end{frame}

\begin{frame}
  \frametitle{Second Slide}
  \framesubtitle{with a subtitle}
  \begin{alertblock}{Help!}
    text here
    \begin{itemize}
    \item point 1
    \end{itemize}
  \end{alertblock}

  \begin{example}
    \begin{itemize}
    \item 3
    \item 4
    \end{itemize}
  \end{example}
\end{frame}

%%% Can be a bit much UCL
%%% from here on, remove branding from banners
\setbeamertemplate{banner}[blank]

\section{Section 2}
\subsection{Second subsection}

\frame{
  \frametitle{Third Slide}
  \begin{enumerate}
  \item 1
  \item 2
  \end{enumerate}
  \begin{theorem}
    This is a result.
  \end{theorem}

  \[
  x_i = y_i + \varepsilon_i
  \]
}


\frame{
  \frametitle{Conclusions}
  \begin{block}{A block}
    An environment inside the block
    \begin{description}
    \item[The first step:] This is a very long description, and will wrap onto
      the next line
    \item[Step B:] text
    \end{description}

    \begin{itemize}
    \item a
    \item b
    \end{itemize}
  \end{block}
  \begin{itemize}
  \item
  \item
  \item
  \item
  \item
  \item
  \item
  \end{itemize}
}



%%% Customise the banner using a department headline slogan

\section{Headline customisation}

%%% use department headline template
\setbeamertemplate{headline}[department]

%%% set department and subdepartment
\setbeamertemplate{department}{Department of Sample Science}
\setbeamertemplate{subdepartment}{Subdepartment slogan}

%%% customise the fonts
\setbeamerfont{section in head/foot}{shape=\scshape,size=\scriptsize,series=\bfseries}
\setbeamerfont{subsection in head/foot}{shape=\scshape,size=\tiny,series=\bfseries}

%%% customise the colors
\setbeamercolor{section in head/foot}{fg=white}
\setbeamercolor{subsection in head/foot}{fg=banner.fg!80!banner.bg}

%%% UCL logo can also be customised
\setbeamertemplate{banner}[ucl]
\setbeamercolor{banner}{bg=black}
\setbeamercolor{banner stripe}{bg=brightblue,fg=black}

\begin{frame}
  \frametitle{Slide with custom headline}
\end{frame}



%%% Customise the slide counter in the footline

\section{Slide counters}

%%% use footline template
\setbeamertemplate{footline}[author title date]
\setbeamercolor{footline}{use=banner, bg=black, fg=banner.fg!80!banner.bg}

%%% frame/total: show frame number and total number of frames
\begin{frame}{Slide counters}
  \framesubtitle{\texttt{frametotal} is the default}
  Three templates for the slide counter in the footline are available:
  \begin{itemize}
    \item \texttt{frametotal} prints the current frame number and the total number (default)
    \item \texttt{frameonly} prints the current frame number only
    \item \texttt{empty} does not print a slide counter
  \end{itemize}
\end{frame}

\setbeamertemplate{slide counter}[frameonly]
\begin{frame}{Slide counters}
  \framesubtitle{A slide with \texttt{frameonly} slide counter}
\end{frame}

\setbeamertemplate{slide counter}[empty]
\begin{frame}{Slide counters}
  \framesubtitle{A slide with \texttt{empty} slide counter}
\end{frame}

\setbeamertemplate{slide counter}[frameonly][Slide]
\begin{frame}{Slide counters}
  \framesubtitle{Optional argument can be printed in front of the current number}
  \texttt{frametotal} and \texttt{frameonly} take an optional argument
  to be printed in front of the current number (e.g. `Slide').
\end{frame}

\setbeamertemplate{slide counter}[frametotal][Slide]
\begin{frame}{Slide counters}
  \framesubtitle{Optional argument with \texttt{frametotal}}
\end{frame}

%%% switch back to plain headline/footline
\setbeamertemplate{banner}[blank]
\setbeamertemplate{headline}[ucl]
\setbeamertemplate{slide counter}[frametotal]

\frame{%
  \frametitle{Acknowledgements}
}

\end{document}
uclcolors.sty · 1 KB
\ProvidesPackage{uclcolors}
\RequirePackage{xcolor}

% All UCL colors are defined in terms of cmyk
\selectcolormodel{cmyk}

% Define UCL colours (in addition to black and white)
%% dark colours: use white text
\definecolor{darkpurple}{cmyk}{0.32,0.42,0,0.55}
\definecolor{darkred}{cmyk}{0,1,0.30,0.61}
\definecolor{darkblue}{cmyk}{1,0.24,0,0.64}
\definecolor{darkgreen}{cmyk}{0,0,0.91,0.79}
\definecolor{darkbrown}{cmyk}{0.57,0.80,1,0.45}
\definecolor{richred}{cmyk}{0,1,0.62,0}
\definecolor{midred}{cmyk}{0,0.79,1,0}
\definecolor{navyblue}{cmyk}{1,0.57,0,0.40}
\definecolor{midgreen}{cmyk}{0.25,0,0.80,0.30}
\definecolor{darkgrey}{cmyk}{0,0.09,0.16,0.43}
\definecolor{pink}{cmyk}{0,1,0.35,0.27} % no banner image
\definecolor{orange}{cmyk}{0,0.45,0.91,0} 
\definecolor{brightblue}{cmyk}{0.92,0,0.15,0.05}
\definecolor{brightgreen}{cmyk}{0.12,0,0.79,0.06}
\definecolor{lightgrey}{cmyk}{0,0.04,0.09,0.24}
%% light colours: use black text
\definecolor{lightpurple}{cmyk}{0.17,0.25,0.15,0}
\definecolor{yellow}{cmyk}{0,0.25,0.95,0}
\definecolor{lightblue}{cmyk}{0.27,0.03,0,0.13}
\definecolor{lightgreen}{cmyk}{0.14,0,0.36,0.10}
\definecolor{stone}{cmyk}{0,0.02,0.06,0.07}

The first page, as this template compiles today. Click it to enlarge, and again to shrink. Open the file ↗