%%
%% This is file `beamerthemeuantwerpen.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% uantwerpendocs.dtx  (with options: `bmr')
%% 
%% This is a generated file.
%% 
%% Copyright (C) 2013-2021  by Walter Daems <walter.daems@uantwerpen.be>
%% 
%% This work may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.3 of this license
%% or (at your option) any later version.  The latest version of this
%% license is in:
%% 
%%    http://www.latex-project.org/lppl.txt
%% 
%% and version 1.3 or later is part of all distributions of LaTeX version
%% 2005/12/01 or later.
%% 
%% This work has the LPPL maintenance status `maintained'.
%% 
%% The Current Maintainer of this work is Walter Daems.
%% 
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{beamerthemeuantwerpen}
\def\fileversion{3.2}
\def\filedate{2021/03/23}


\newif\if@nofonts
\@nofontsfalse
\DeclareOption{nofonts}{\@nofontstrue}
\newif\if@neutralcolors
\@neutralcolorsfalse
\DeclareOption{neutralcolors}{\@neutralcolorstrue}

\newcommand\colormodel{rgb}
\newif\if@cmyk
\@cmykfalse
\DeclareOption{cmyk}{\renewcommand\colormodel{cmyk}\@cmyktrue}
\DeclareOption{rgb}{\renewcommand\colormodel{rgb}\@cmykfalse}

\newcommand\fselector{ua}
\newcommand\lselector{en}
\newlength\logounitheight
\setlength\logounitheight{0.8cm}
\DeclareOption{be}{
  \renewcommand\fselector{be}
  \setlength\logounitheight{1cm}
}
\DeclareOption{fbd}{
  \renewcommand\fselector{fbd}
  \setlength\logounitheight{1cm}
}
\DeclareOption{ggw}{
  \renewcommand\fselector{ggw}
  \setlength\logounitheight{1cm}
}
\DeclareOption{lw}{
  \renewcommand\fselector{lw}
  \setlength\logounitheight{1cm}
}
\DeclareOption{ow}{
  \renewcommand\fselector{ow}
  \setlength\logounitheight{1cm}
}
\DeclareOption{re}{
  \renewcommand\fselector{re}
  \setlength\logounitheight{1cm}
}
\DeclareOption{sw}{
  \renewcommand\fselector{sw}
  \setlength\logounitheight{1cm}
}
\DeclareOption{ti}{
  \renewcommand\fselector{ti}
  \setlength\logounitheight{1cm}
}
\DeclareOption{we}{
  \renewcommand\fselector{we}
  \setlength\logounitheight{1cm}
}
\DeclareOption{iob}{
  \renewcommand\fselector{iob}
  \setlength\logounitheight{1cm}
}

\AtBeginDocument{
  \makeatother
  \@ifpackageloaded{babel}{
    \addto\captionsdutch{
      \renewcommand\lselector{nl}
    }
  }
  \makeatletter

  \newcommand\logopos{Logos/logo-uantwerpen-\fselector-\lselector-\colormodel-pos}
  \newcommand\logoneg{Logos/logo-uantwerpen-\fselector-\lselector-\colormodel-neg}
  \newcommand\logomonowhite{Logos/logo-uantwerpen-\fselector-\lselector-\colormodel-mono-white}
  \newcommand\iconfile{Logos/icon-uantwerpen-\fselector-\colormodel}
  \def\appropriatelogo{\logopos}
  \def\appropriateslidenumber{%
    \usebeamercolor{pageno in head/foot}%
    \insertframenumber/\inserttotalframenumber}%
}

\ProcessOptions

\if@neutralcolors
\newcommand\maincolor{uauaside}
\newcommand\sidecolor{uauamain}
\newcommand\basecolor{uauaside}
\else
\newcommand\maincolor{ua\fselector main}
\newcommand\sidecolor{ua\fselector side}
\newcommand\basecolor{uauaside}
\fi

\mode<presentation>

\RequirePackage{tikz}
\RequirePackage{graphicx}
\RequirePackage[export]{adjustbox}
\RequirePackage{environ}

\setbeamersize{
  text margin left=.8cm,
  text margin right=.8cm
}

\usecolortheme{uantwerpen}
\usefonttheme{uantwerpen}
\useinnertheme{uantwerpen}
\useoutertheme{uantwerpen}

\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{blocks}[rounded][shadow=true]

\mode
<all>
\endinput
%%
%% End of file `beamerthemeuantwerpen.sty'.
