<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">% 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&lt;presentation&gt;

% For the footer.
\usepackage{tabularx}

% Always nice to have.
\usepackage{multirow}
\usepackage{multicol}
\usepackage{ifthen}

% Some defaults for using a bibliography.
\usepackage{bibentry}
\setbeamertemplate{bibliography item}[triangle]
\bibliographystyle{plain}

% 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}

% Custom colours (use the gimp colour picker and divide by 255).
\definecolor{LUMCBlue}{rgb}{0, 0.11372, 0.38039}
\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 = white}

% Change the bullets in the itemize environment.
\setbeamertemplate{itemize items}[circle]
\newcommand{\fakeitem}{\,\ \ \ $\bullet$\ \,}

% Macros for bold text.
\newcommand{\bt}[1]{\texttt{\textbf{#1}}} % Bold truetype.
\newcommand{\bs}[1]{\bf{\scriptsize{#1}}} % Bold small.
\newcommand{\bi}[1]{\textit{\textbf{#1}}} % Bold italic.
\newcommand{\bsi}[1]{\textit{\textbf{\scriptsize{#1}}}} % Bold italic small.
\newcommand{\permfoot}[1]{\onslide&lt;1-&gt;\bs{#1}}

% Enable numbering of figures and tables.
\setbeamertemplate{caption}[numbered]

% Put a frame title on the slide.
\renewcommand{\frametitle}[1]{
  {\it{\textbf{#1}}}
  \bigskip

}

% A filled frame, use this to make use of the \vfill command.
\newenvironment{fframe}{
  \begin{frame}
    \vspace{.15cm}
    \vbox to 1.15\textheight \bgroup
}{
    \egroup
  \end{frame}
}

%
% Settings for displaying code.
%

% This is for code listing in a presentation and to use references in captions.
\usepackage{listings}
\usepackage{cleveref}

% Prevent an overlay to increase the listing counter.
\resetcounteronoverlays{lstlisting}

% Make a nice layout for code.
\lstset{
  language = Python,
  basicstyle = \footnotesize,
  lineskip = -0.40ex,
  frame = shadowbox,
  rulesepcolor = \color{black},
  showstringspaces = false,
  captionpos = b,
  numbers = left,
  numbersep = -1em,
  numberstyle = \tiny
}

% Define an empty language to use only for typesetting.
\lstdefinelanguage{none}{}

% Trick to get out of math mode highlighting.
\newcommand{\rmath}[1]{\phantom{\lstinline!#1!}}

%
% 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} &amp; 
      \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}
      \begin{minipage}[b][6cm][c]{0.98\textwidth}
        \begin{center}
          \vspace{1.5cm}

          \color{black} {\Large {\bf \inserttitle}}

          \vfill
          {\bf 
            {\scriptsize
              \color{LUMCBlue} 
              \insertauthor
              \smallskip

              \myGroup
              \smallskip

              \myDepartment

              \vspace{-0.1cm}
              \myCenter
            }
          }
        \end{center}
      \end{minipage}
    \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 &amp; 
        \hfill \insertframenumber/\inserttotalframenumber 
          \hfill \phantom{.} &amp; 
        \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} &amp; 
        \hspace{0.8cm}    % Space between the logo and the title of the section.
        {\normalsize {\bf \insertsection}} &amp; 
        \hfill
        \lastCenterLogo
        \hfill \phantom{.} &amp;
        \hfill
        \lastRightLogo
        \hfill \phantom{.}
      \end{tabularx}
    }
  }
}

\mode
&lt;all&gt;
</pre></body></html>