diff options
author | Karl Berry <karl@freefriends.org> | 2021-03-23 22:30:47 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-03-23 22:30:47 +0000 |
commit | 8a5a56ae627dd9c0432428c9dab05562f9b86e1d (patch) | |
tree | 4091dab025f8c8759b0f384803f1ade7be6e86c7 /Master/texmf-dist/source/latex/uantwerpendocs/uantwerpendocs.dtx | |
parent | 44cc8f42f6e31b2244589be3cc435df903faf11b (diff) |
uantwerpendocs (23mar21)
git-svn-id: svn://tug.org/texlive/trunk@58669 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/uantwerpendocs/uantwerpendocs.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/uantwerpendocs/uantwerpendocs.dtx | 2729 |
1 files changed, 2351 insertions, 378 deletions
diff --git a/Master/texmf-dist/source/latex/uantwerpendocs/uantwerpendocs.dtx b/Master/texmf-dist/source/latex/uantwerpendocs/uantwerpendocs.dtx index afccf57a96f..264e1a73072 100644 --- a/Master/texmf-dist/source/latex/uantwerpendocs/uantwerpendocs.dtx +++ b/Master/texmf-dist/source/latex/uantwerpendocs/uantwerpendocs.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2013-2019 by Walter Daems <walter.daems@uantwerpen.be> +% 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 @@ -24,20 +24,21 @@ %<*driver> \ProvidesFile{uantwerpendocs.dtx} %</driver> -%<ct|bmt|mt|le|ex>\NeedsTeXFormat{LaTeX2e}[1999/12/01] +%<ct|bmt|mt|le|ex|bmr>\NeedsTeXFormat{LaTeX2e}[1999/12/01] %<ct>\ProvidesClass{uantwerpencoursetext} %<mt>\ProvidesClass{uantwerpenmasterthesis} %<bmt>\ProvidesClass{uantwerpenbamathesis} %<pt>\ProvidesClass{uantwerpenphdthesis} %<le>\ProvidesClass{uantwerpenletter} %<ex>\ProvidesClass{uantwerpenexam} -%<ct|bmt|mt|pt|le|ex> [2019/04/10 v2.4 .dtx skeleton file] +%<bmr>\ProvidesPackage{beamerthemeuantwerpen} +%<ct|bmt|mt|pt|le|ex|brm> [2021/03/23 v3.2 .dtx skeleton file] % %<mt>\errmessage{This class is obsolete, use the uantwerpenbamathesis class instead !} -\def\fileversion{2.4} -\def\filedate{2019/04/10} +\def\fileversion{3.2} +\def\filedate{2021/03/23} %<*driver> -\documentclass{ltxdoc} +\documentclass[a4paper]{ltxdoc} \usepackage{makeidx} \usepackage{alltt} \usepackage{booktabs} @@ -99,9 +100,15 @@ % by adding a white outline} % \changes{v2.3}{2019/03/27}{\@ Reworked masterthesis to bamathesis and minor bug fixes} % \changes{v2.4}{2019/04/10}{\@ Added option for diploma without specialization for EM} +% \changes{v3.0}{2021/02/05}{\@ Adapted to the new house style of +% UAntwerpen and added a beamer template} +% \changes{v3.1}{2021/03/21}{\@ Renamed generic images to be unique +% for TexLive distribution} +% \changes{v3.2}{2021/03/21}{\@ Small bugfixes (e.g., frame numbering +% instead of page numbering)} % % -% \DoNotIndex{\newcommand,\newenvironment} +% \DoNotIndex{\newcommand,\newenvironment,\begin,\bfseries,\draw,\clip,\else,\fi,\if,\fill,\filldraw,\ifthenelse,\ifx,\textwidth,\node,\\} % \setlength{\parindent}{0em} % \addtolength{\parskip}{0.5\baselineskip} % @@ -116,18 +123,26 @@ % \section{Introduction} % % This package implements the house style of Universiteit Antwerpen -% for letters, course texts and master/PhD theses. It also implements a -% class to format exams (which is for efficiency reasons and ease of -% copying not fully UAntwerpen house style compliant). +% (version 2021) for letters, course texts, master/PhD theses and +% slides (beamer). It also implements a class to format exams (which +% is for efficiency reasons and ease of copying not fully UAntwerpen +% house style compliant). % Using these class files will make it easy for you to make and keep % your course texts and theses compliant to this version and future % versions of the UAntwerpen house style. % +% Unfortunately, this version is a transitional package, because the +% house style renewal is introduced gradually. This means that the +% letter class and slide theme have been renewed, while the course +% texts and theses have not. Why are the latter not ready? Because +% the house style makeover team has not yet come up with a +% specification. This puts the message of the next paragraph against +% the correct background. +% % If you think (1) there's an error in compliancy w.r.t. the house -% style, (2) there's a feature missing in this class file, or -% (3)there's a bug in this class file, -% please, contact me through e-mail (|walter.daems@uantwerpen.be|) -% about the issue. +% style, (2) there's a feature missing in this class or theme file, or +% (3) there's a bug in this package, please, contact me through e-mail +% (|walter.daems@uantwerpen.be|) about the issue. % I'll provide you with an answer and if (and as soon as) possible % with a solution to the problem you spotted. % @@ -142,7 +157,7 @@ % intended to be used for writing course texts and master's or PhD % theses. They provides a title page that is compliant to the % UAntwerpen house style, and they also typeset the rest of your -% document appropriately. +% document appropriately. % % The |letter| class is derived from the standard \LaTeX{} % |letter| class. It is intended to be used for writing business @@ -153,18 +168,40 @@ % |article| class and is for efficiency reasons not fully UAntwerpen % house style compliant. % -% They require (and use) the following packages: +% The slides come under the form of a custom beamer theme. +% +% \begin{center} +% \framebox[0.95\textwidth]{ +% \begin{minipage}{0.92\textwidth} +% The documentation of the class files for letters, course texts +% theses, and exams can be found in this document. +% +% The documentation for the beamer theme is embedded in the +% demo/user-guide presentation +% |beamerthemeuantwerpenuserguide.pdf|. +% +% Template files for all of the formats can be found below in +% section~\ref{sec:basicusage}. +% \end{minipage} +% } +% \end{center} +% +% Using this package, requires the following packages: % \begin{itemize} -% \item teh |atbegshi| package +% \item the |adjustbox| package +% \item the |atbegshi| package % \item the |auto-pst-pdf| package +% \item the |babel| package % \item the |background| package % \item the |color| package +% \item the |environ| package % \item the |eso-pic| package % \item the |etooblox| package % \item the |fancyhdr| package % \item the |geometry| package % \item the |graphicx| package % \item the |hyperref| package +% \item the |iftex| package % \item the |ifthen| package % \item the |pst-barcode| package % \item the |tikz| package @@ -186,11 +223,14 @@ % \section{Usage} % % \subsection{Basic Usage} -% +% \label{sec:basicusage} % Use the templates provided below. Remember to \LaTeX{} your source % file twice in order to have the title and final page correctly % aligned. % +% Especially in the beamer theme some features require to run \LaTeX{} +% twice in order to get the position of some elements correct. +% % \subsubsection{\texttt{uantwerpencoursetext} class} % Use the following harness for your \LaTeX{} course text: % \begin{verbatim} @@ -361,6 +401,38 @@ % \end{document} % \end{verbatim} % +% \subsubsection{\texttt{uantwerpenbeamer} theme} +% +% +% \begin{verbatim} +% \documentclass[aspectratio=1610]{beamer} +% % options that select the proper faculty in the beamertheme: +% % be, fbd, ggw, lw, ow, re, sw, ti, we, iob (no option = mother +% % theme) +% \usetheme[ti]{uantwerpen} +% \usepackage[dutch]{babel} +% +% \title{This is your title} +% \subtitle{This is your subtitle - omit if you don't need this} +% \date{This is the date - will be today if omitted} +% \author{This is your name - omit if you don't need this} +% +% \begin{document} +% +% \begin{frame}[negativefill] +% \maketitle +% \end{frame} +% +% \begin{frame} +% {Advice} +% {\ldots is cheap} +% Search for the \texttt{beamerthemeuantwerpenuserguide.pdf} for +% more info (or the corresponding \texttt{.tex} file! +% \end{frame} +% +% \end{document} +% \end{verbatim} +% % \subsection{The class options explained} % % The classes have several options. They are listed below. @@ -443,7 +515,9 @@ % author to complete the list. % % The available acronyms are: -% \changes{v1.9}{2018/03/02}{\@ Added ASoE (Antwerp School of Education)} +% \changes{v1.9}{2018/03/02}{Added ASoE (Antwerp School of Education)} +% \changes{v3.0}{2021/02/05}{Changed REC in RE, TEW in BE and WET in WE +% (according to official naming scheme)} % \label{acronyms} % \begin{center} % \begin{tabular}{cl} @@ -460,21 +534,19 @@ % & Faculteit Geneeskunde en Gezondheidswetenschappen\\ % IOB % & Instituut voor Ontwikkelingsbeleid- en beheer\\ -% IOIW -% & Instituut voor Onderwijs- en Informatiewetenschappen\\ % LW % & Faculteit Letteren en Wijsbegeerte\\ % OW % & Faculteit Ontwerpwetenschappen\\ % SW % & Faculteit Sociale Wetenschappen\\ -% REC +% RE % & Faculteit Rechten\\ -% TEW -% & Faculteit Toegepaste Economische Wetenschappen\\ +% BE +% & Faculteit Bedrijfswetenschappen en Economie\\ % TI % & Faculteit Toegepaste Ingenieurswetenschappen\\ -% WET +% WE % & Faculteit Wetenschappen\\ % \bottomrule % \end{tabular} @@ -612,23 +684,21 @@ % |PHD-TI-CH| % & Doctor in de Toegepaste Ingenieurwetenschappen: chemie\\ % |PHD-TI-EI| -% & Doctor in de Toegepaste Ingenieurwetenschappen: elektronica-ICT\\ +% & doctor in de Toegepaste Ingenieurwetenschappen: elektronica-ICT\\ % |PHD-TI-EM| % & Doctor in de Toegepaste Ingenieurwetenschappen: elektromechanica\\ % \midrule % \multicolumn{2}{c}{Faculteit Toegepaste Economische % Wetenschappen}\\ % \midrule -% |MA-TEW-HI| +% |MA-BE-HI| +% & Master of Science handelsingenieur\\ +% |MA-BE-HIBI| +% & Master of Science handelsingenieur in de beleidsinformatica\\ +% |MA-BE-EB| % & Master of Science in de toegepaste economische wetenschappen: -% handelsingenieur\\ -% |MA-TEW-HIBI| -% & Master of Science in de toegepaste economische wetenschappen: -% handelsingenieur in de beleidsinformatica\\ -% |MA-TEW-EB| -% & Master of Science in de toegepaste economische wetenschappen: -% economische beleid\\ -% |MA-TEW-BK| +% economisch beleid\\ +% |MA-BE-BK| % & Master of Science in de toegepaste economische wetenschappen: % bedrijfskunde\\ % \bottomrule @@ -742,7 +812,8 @@ % \DescribeMacro{\logo} [letter] (optional)\\ % file name of an alternative logo to use. The file name must be the % name of a file in the search path of type PDF. -% If this macro is not used, The default logo of the university will +% If this macro is not used, The default logo of the university or +% your faculty/institute will % be used. % % \DescribeMacro{\mobile} [letter] (optional)\\ @@ -869,6 +940,8 @@ % package) so enable 'write18' or 'shell-escape' for your \LaTeX{} % compiler. % +% \changes{v2.5}{}{changed publisher to universitas in example} +% % \begin{verbatim} %<*ct-example> \documentclass[a4paper,11pt,oneside,openright,english,qr,copyright]{uantwerpencoursetext} @@ -899,14 +972,11 @@ \academicyear{2015-2016} -\publisher{Universiteit Antwerpen\\ - Cursusdienst en reprografie\\ - Campus Groenenborger, G.U.027\\ - Groenenborgerlaan 171\\ - 2020 Antwerpen\\ - T +32 3 265 32 15\\ - F + 32 3 233 32 27\\ - E cursusdienst.cgb@uantwerpen.be} +\publisher{Universitas Cursusdienst\\ + Prinsesstraat 16\\ + 2000 Antwerpen\\ + T +32 3 233 23 73\\ + E info@cursusdienst.be} \publishercode{C11111102} @@ -1044,8 +1114,12 @@ % You may want to use common fonts \usepackage{mathptmx} +\iftutex \usepackage{fontspec} \setsansfont{Calibri} +\else +\usepackage{cmbright} +\fi \usepackage[dutch]{babel} % or dutch if your text is in Dutch \usepackage{lipsum} % this is just for some dummy text, please remove @@ -1077,10 +1151,10 @@ \phddegree{doctor in de toegepaste ingenieurswetenschappen} \defenselocation{Antwerpen} \defensedate{2018} -\titlepageimage{keyboard.jpg} +\titlepageimage{Images/uantwerpen-keyboard.jpg} -\isbn{987-90-57285-34-7} -\depot{D/2018/12.293/03} +\isbn{987-90-57285-34-7} % don't specify thisif you don't want one +\depot{D/2018/12.293/03} % idem \begin{document} @@ -1172,7 +1246,7 @@ \phddegree{doctor in applied engineering} \defenselocation{Antwerpen} \defensedate{2018} -\titlepageimage{keyboard.jpg} +\titlepageimage{Images/uantwerpen-keyboard.jpg} \isbn{987-90-57285-34-7} \depot{D/2018/12.293/03} @@ -1240,11 +1314,13 @@ %% As a good UAntwerpen citizen, you would use the calibri font. %% As this only works for XeLaTeX or LuaLaTeX, we chose to include -%% cmbright instead. So for ease of use, we include: +%% cmbright in any other case. +\iftutex +\usepackage{fontspec} +\setmainfont{Calibri} +\else \usepackage{cmbright} -%% But if you have XeLaTeX or LuaLaTeX, use the following instead: -%%\usepackage{fontspec} -%%\setmainfont{Calibri} +\fi \usepackage[english]{babel} \usepackage{lipsum} % this is just for some dummy text, please remove @@ -1318,10 +1394,15 @@ % \begin{verbatim} %<*le-cfg> %% configuration file for uantwerpenletter class -\usepackage{fontspec} % XeLaTeX/LuaTeX specific, replace by e.g. -\setmainfont{Calibri} % \usepackage{cmbright} +\iftutex +\usepackage{fontspec} +\setmainfont{Calibri} +\else +\usepackage{cmbright} +\fi + \sender{Prof. Walter Daems}{Senior Lecturer} -\facultyacronym{TI} +%\facultyacronym{TI} TEMP \unit{CoSys-Lab} \address{ Campus Groenenborger\\ @@ -1643,7 +1724,7 @@ Welk van de onderstaande ingredi\"enten hoort niet thuis in % % \StopEventually{\clearpage\PrintChanges\clearpage\PrintIndex} % -% \section{Implementation} +% \section{Implementation of the classes} % % \subsection{Class inheritance} % @@ -1692,7 +1773,7 @@ Welk van de onderstaande ingredi\"enten hoort niet thuis in % \begin{macrocode} %<*ct|bmt|pt> \ExecuteOptions{a4paper,11pt,final,oneside,openright} -\ProcessOptions +\ProcessOptions\relax \LoadClassWithOptions{book} %</ct|bmt|pt> % We load the |letter| class for letters @@ -1764,9 +1845,12 @@ Welk van de onderstaande ingredi\"enten hoort niet thuis in % \changes{v1.81}{2017/01/09}{Apparently shellesc is still missing from % quite a number of installations, therefore, conditional loading} % \changes{v1.9}{2018/03/02}{Added etoolbox for convenience reasons} -% \changes{v2.0}{2018/03/14}{Removed package ifmtarg because unreliable} +% \changes{v2.0}{2018/03/14}{Removed package ifmtarg because +% unreliable} +% \changes{v3.0}{2021/02/05}{Added iftex} % \begin{macrocode} %<*ct|bmt|pt|le|ex> +\RequirePackage{iftex} \RequirePackage{xstring} \RequirePackage{etoolbox} \RequirePackage{ifthen} @@ -1792,7 +1876,8 @@ Welk van de onderstaande ingredi\"enten hoort niet thuis in %</ct|bmt|pt|le|ex> %<*ct> \if@copyright -\RequirePackage[firstpage=false,contents={Copyright University of Antwerp, All Rights Reserved},color=lightgray,scale=3]{background} +\RequirePackage[firstpage=false,contents={Copyright University of + Antwerp, All Rights Reserved},color=lightgray,scale=3]{background} \fi %</ct> %<*pt> @@ -1846,8 +1931,6 @@ Welk van de onderstaande ingredi\"enten hoort niet thuis in % \begin{macrocode} %<*ct|bmt|pt|le|ex> \newcommand\uaname{University of Antwerp} -\newcommand\logoname{UA_HOR_ENG_CMYK} -\newcommand\footername{4E_PMS302_BR_ENG_RGB} \newcommand\arrname{All rights reserved} \newcommand\orname{of} \newcommand\domainname{uantwerp.be} @@ -1864,41 +1947,50 @@ Welk van de onderstaande ingredi\"enten hoort niet thuis in \newcommand\pthesisnamei{Thesis submitted in fulfilment of the requirements for the degree of} \newcommand\pthesisnameii{at University of Antwerp} -\newcommand\@faculty{< Specify faculty using \textbackslash{}facultyacronym\{ABC\} >} +\newcommand\@faculty{~} +\newcommand\@logo{Logos/logo-uantwerpen-ua-en-cmyk-pos} \newcommand\faccpg{ - \renewcommand\@faculty{Centre Pieter Gillis}} + \renewcommand\@faculty{Centre Pieter Gillis} + \renewcommand\@logo{Logos/logo-uantwerpen-ua-en-cmyk-pos}} \newcommand\facfbd{ - \renewcommand\@faculty{ - Faculty of Pharmaceutical, Biomedical and Veterinary Sciences}} + \renewcommand\@faculty{Faculty of Pharmaceutical, Biomedical and + Veterinary Sciences} + \renewcommand\@logo{Logos/logo-uantwerpen-fbd-en-cmyk-pos}} \newcommand\facggw{ - \renewcommand\@faculty{Faculty of Medicine and Health Sciences}} + \renewcommand\@faculty{Faculty of Medicine and Health Sciences} + \renewcommand\@logo{Logos/logo-uantwerpen-ggw-en-cmyk-pos}} \newcommand\insiob{ - \renewcommand\@faculty{Insitute of Development Policy}} -\newcommand\insoiw{ - \renewcommand\@faculty{Institute of Educations and Information Sciences}} + \renewcommand\@faculty{Insitute of Development Policy} + \renewcommand\@logo{Logos/logo-uantwerpen-iob-en-cmyk-pos}} \newcommand\asoe{ - \renewcommand\@faculty{Antwerp School of Education}} + \renewcommand\@faculty{Antwerp School of Education} + \renewcommand\@logo{Logos/logo-uantwerpen-ua-en-cmyk-pos}} \newcommand\faclw{ - \renewcommand\@faculty{Faculty of Arts}} + \renewcommand\@faculty{Faculty of Arts} + \renewcommand\@logo{Logos/logo-uantwerpen-lw-en-cmyk-pos}} \newcommand\facow{ - \renewcommand\@faculty{Faculty of Design Sciences}} + \renewcommand\@faculty{Faculty of Design Sciences} + \renewcommand\@logo{Logos/logo-uantwerpen-ow-en-cmyk-pos}} \newcommand\facsw{ - \renewcommand\@faculty{Faculty of Social Sciences}} -\newcommand\facrec{ - \renewcommand\@faculty{Faculty of Law}} -\newcommand\factew{ - \renewcommand\@faculty{Faculty of Applied Economics}} + \renewcommand\@faculty{Faculty of Social Sciences} + \renewcommand\@logo{Logos/logo-uantwerpen-sw-en-cmyk-pos}} +\newcommand\facre{ + \renewcommand\@faculty{Faculty of Law} + \renewcommand\@logo{Logos/logo-uantwerpen-re-en-cmyk-pos}} +\newcommand\facbe{ + \renewcommand\@faculty{Faculty of Business and Economics} + \renewcommand\@logo{Logos/logo-uantwerpen-be-en-cmyk-pos}} \newcommand\facti{ - \renewcommand\@faculty{Faculty of Applied Engineering}} -\newcommand\facwet{ - \renewcommand\@faculty{Faculty of Science}} + \renewcommand\@faculty{Faculty of Applied Engineering} + \renewcommand\@logo{Logos/logo-uantwerpen-ti-en-cmyk-pos}} +\newcommand\facwe{ + \renewcommand\@faculty{Faculty of Science} + \renewcommand\@logo{Logos/logo-uantwerpen-we-en-cmyk-pos}} \newcommand\weightname{Weight} \AtBeginDocument{ \@ifpackageloaded{babel}{ \addto\captionsdutch{% \renewcommand\uaname{Universiteit Antwerpen} - \renewcommand\logoname{UA_HOR_NED_CMYK} - \renewcommand\footername{4E_PMS302_BR_NED_RGB} \renewcommand\arrname{Alle rechten voorbehouden} \renewcommand\orname{van} \renewcommand\domainname{uantwerpen.be} @@ -1918,207 +2010,48 @@ Welk van de onderstaande ingredi\"enten hoort niet thuis in \renewcommand\pthesisnameii{aan de \uaname{} te verdedigen door} \renewcommand\faccpg{ - \renewcommand\@faculty{Centrum Pieter Gillis}} + \renewcommand\@faculty{Centrum Pieter Gillis} + \renewcommand\@logo{Logos/logo-uantwerpen-ua-nl-cmyk-pos}} \renewcommand\facfbd{ \renewcommand\@faculty{ Faculteit Farmaceutische, Biomedische en Diergeneeskundige - Wetenschappen}} + Wetenschappen} + \renewcommand\@logo{Logos/logo-uantwerpen-fbd-nl-cmyk-pos}} \renewcommand\facggw{ \renewcommand\@faculty{Faculteit Geneeskunde en - Gezondheidswetenschappen}} + Gezondheidswetenschappen} + \renewcommand\@logo{Logos/logo-uantwerpen-ggw-nl-cmyk-pos}} \renewcommand\insiob{ \renewcommand\@faculty{Instituut voor Ontwikkelingsbeleid- en - beheer}} - \renewcommand\insoiw{ - \renewcommand\@faculty{Instituut voor Onderwijs- en - Informatiewetenschappen}} + beheer} + \renewcommand\@logo{Logos/logo-uantwerpen-iob-nl-cmyk-pos}} \renewcommand\asoe{ - \renewcommand\@faculty{Antwerp School of Education}} + \renewcommand\@faculty{Antwerp School of Education} + \renewcommand\@logo{Logos/logo-uantwerpen-ua-nl-cmyk-pos}} \renewcommand\faclw{\renewcommand\@faculty{Faculteit - Letteren en Wijsbegeerte}} + Letteren en Wijsbegeerte} + \renewcommand\@logo{Logos/logo-uantwerpen-lw-nl-cmyk-pos}} \renewcommand\facow{ - \renewcommand\@faculty{Faculteit Ontwerpwetenschappen}} + \renewcommand\@faculty{Faculteit Ontwerpwetenschappen} + \renewcommand\@logo{Logos/logo-uantwerpen-ow-nl-cmyk-pos}} \renewcommand\facsw{ - \renewcommand\@faculty{Faculteit Sociale Wetenschappen}} - \renewcommand\facrec{ - \renewcommand\@faculty{Faculteit Rechten}} - \renewcommand\factew{ - \renewcommand\@faculty{Faculteit Toegepaste Economische - Wetenschappen}} + \renewcommand\@faculty{Faculteit Sociale Wetenschappen} + \renewcommand\@logo{Logos/logo-uantwerpen-sw-nl-cmyk-pos}} + \renewcommand\facre{ + \renewcommand\@faculty{Faculteit Rechten} + \renewcommand\@logo{Logos/logo-uantwerpen-re-nl-cmyk-pos}} + \renewcommand\facbe{ + \renewcommand\@faculty{Faculteit Bedrijfswetenschappen en Economie} + \renewcommand\@logo{Logos/logo-uantwerpen-be-nl-cmyk-pos}} \renewcommand\facti{ \renewcommand\@faculty{Faculteit Toegepaste - Ingenieurswetenschappen}} - \renewcommand\facwet{ - \renewcommand\@faculty{Faculteit Wetenschappen}} + Ingenieurswetenschappen} + \renewcommand\@logo{Logos/logo-uantwerpen-ti-nl-cmyk-pos}} + \renewcommand\facwe{ + \renewcommand\@faculty{Faculteit Wetenschappen} + \renewcommand\@logo{Logos/logo-uantwerpen-we-nl-cmyk-pos}} \renewcommand\weightname{Gewicht} } - \addto\captionsgerman{% - \renewcommand\uaname{Universit\"at Antwerpen} - \renewcommand\logoname{UA_HOR_DUI_CMYK} - \renewcommand\footername{4E_PMS302_BR_NED_RGB} - \renewcommand\arrname{Alle Rechte vorbehalten} - \renewcommand\orname{von} - \renewcommand\domainname{uantwerpen.be} - \renewcommand\subjectname{Betreff}% - \renewcommand\datename{Datum}% - \renewcommand\academicyearname{Akademisches Jahr} - \renewcommand\masterthesisname{Masterdissertation} - \renewcommand\bachelorthesisname{Bachelordissertation} - \renewcommand\supervisorsname{Veranstalter} - \renewcommand\juryname{Jury} - \renewcommand\jurymembersname{Mitglieder} - \renewcommand\jurychairmanname{Vorsitzender} - \renewcommand\bmthesisname{Dissertation zur Erreichung des - Grades der} - \renewcommand\pthesisnamei{Dissertation zur Erreiching des - Grades der} - \renewcommand\pthesisnameii{an die \uaname} - \renewcommand\faccpg{ - \renewcommand\@faculty{Centrum Pieter Gillis}} - \renewcommand\facfbd{ - \renewcommand\@faculty{ - Faculteit Farmaceutische, Biomedische en Diergeneeskundige - Wetenschappen}} - \renewcommand\facggw{ - \renewcommand\@faculty{Faculteit Geneeskunde en - Gezondheidswetenschappen}} - \renewcommand\insiob{ - \renewcommand\@faculty{Instituut voor Ontwikkelingsbeleid- en - beheer}} - \renewcommand\insoiw{ - \renewcommand\@faculty{Instituut voor Onderwijs- en - Informatiewetenschappen}} - \renewcommand\asoe{ - \renewcommand\@faculty{Antwerp School of Education}} - \renewcommand\faclw{\renewcommand\@faculty{Faculteit - Letteren en Wijsbegeerte}} - \renewcommand\facow{ - \renewcommand\@faculty{Faculteit Ontwerpwetenschappen}} - \renewcommand\facsw{ - \renewcommand\@faculty{Faculteit Sociale Wetenschappen}} - \renewcommand\facrec{ - \renewcommand\@faculty{Faculteit Rechten}} - \renewcommand\factew{ - \renewcommand\@faculty{Faculteit Toegepaste Economische - Wetenschappen}} - \renewcommand\facti{ - \renewcommand\@faculty{Faculteit Toegepaste - Ingenieurswetenschappen}} - \renewcommand\facwet{ - \renewcommand\@faculty{Faculteit Wetenschappen}} - \renewcommand\weightname{Gewicht} - } - \addto\captionsfrench{% - \renewcommand\uaname{Universit\'e d'Anvers} - \renewcommand\logoname{UA_HOR_FRA_CMYK} - \renewcommand\footername{4E_PMS302_BR_ENG_RGB} - \renewcommand\arrname{Tous les droits sont r\'eserv\'es} - \renewcommand\orname{de} - \renewcommand\domainname{uanvers.be} - \renewcommand\subjectname{Objet}% - \renewcommand\datename{Date}% - \renewcommand\academicyearname{Ann\'ee acad\'emique} - \renewcommand\masterthesisname{Th\`ese de master} - \renewcommand\bachelorthesisname{Th\`ese de baccalaur\'eat} - \renewcommand\supervisorsname{Promoteurs} - \renewcommand\juryname{Jury} - \renewcommand\jurymembersname{Membres} - \renewcommand\jurychairmanname{Pr\'esident} - \renewcommand\bmthesisname{Th\`ese \`a l'atteinte du degr\'e de} - \renewcommand\pthesisnamei{Th\`ese Doctorale \`a l'atteinte du - degr\'e de} - \renewcommand\pthesisnameii{\`a l'\uaname} - \renewcommand\faccpg{ - \renewcommand\@faculty{Centrum Pieter Gillis}} - \renewcommand\facfbd{ - \renewcommand\@faculty{ - Faculteit Farmaceutische, Biomedische en Diergeneeskundige - Wetenschappen}} - \renewcommand\facggw{ - \renewcommand\@faculty{Faculteit Geneeskunde en - Gezondheidswetenschappen}} - \renewcommand\insiob{ - \renewcommand\@faculty{Instituut voor Ontwikkelingsbeleid- en - beheer}} - \renewcommand\insoiw{ - \renewcommand\@faculty{Instituut voor Onderwijs- en - Informatiewetenschappen}} - \renewcommand\asoe{ - \renewcommand\@faculty{Antwerp School of Education}} - \renewcommand\faclw{\renewcommand\@faculty{Faculteit - Letteren en Wijsbegeerte}} - \renewcommand\facow{ - \renewcommand\@faculty{Faculteit Ontwerpwetenschappen}} - \renewcommand\facsw{ - \renewcommand\@faculty{Faculteit Sociale Wetenschappen}} - \renewcommand\facrec{ - \renewcommand\@faculty{Faculteit Rechten}} - \renewcommand\factew{ - \renewcommand\@faculty{Faculteit Toegepaste Economische - Wetenschappen}} - \renewcommand\facti{ - \renewcommand\@faculty{Faculteit Toegepaste - Ingenieurswetenschappen}} - \renewcommand\facwet{ - \renewcommand\@faculty{Faculteit Wetenschappen}} - \renewcommand\weightname{Poids} - } - \addto\captionsspanish{% - \renewcommand\uaname{Universidad de Amberes} - \renewcommand\logoname{UA_HOR_SPA_CMYK} - \renewcommand\footername{4E_PMS302_BR_ENG_RGB} - \renewcommand\arrname{Todos los derechos reservados} - \renewcommand\orname{de} - \renewcommand\domainname{uantwerp.be} - \renewcommand\subjectname{Asunto}% - \renewcommand\datename{Fecha}% - \renewcommand\academicyearname{A\~no acad\'emico} - \renewcommand\masterthesisname{Tesis de maestr\'\i{}a} - \renewcommand\bachelorthesisname{Tesis de bachiller} - \renewcommand\supervisorsname{Promotores} - \renewcommand\juryname{Jurado} - \renewcommand\jurymembersname{Miembros} - \renewcommand\jurychairmanname{Presidente} - \renewcommand\bmthesisname{Disertaci\'on a la consecuci\'on del - grado de} - \renewcommand\pthesisnamei{Disertaici\'on a la consecuci\'on del - grado de} - \renewcommand\pthesisnameii{a l'\uaname} - \renewcommand\faccpg{ - \renewcommand\@faculty{Centrum Pieter Gillis}} - \renewcommand\facfbd{ - \renewcommand\@faculty{ - Faculteit Farmaceutische, Biomedische en Diergeneeskundige - Wetenschappen}} - \renewcommand\facggw{ - \renewcommand\@faculty{Faculteit Geneeskunde en - Gezondheidswetenschappen}} - \renewcommand\insiob{ - \renewcommand\@faculty{Instituut voor Ontwikkelingsbeleid- en - beheer}} - \renewcommand\insoiw{ - \renewcommand\@faculty{Instituut voor Onderwijs- en - Informatiewetenschappen}} - \renewcommand\asoe{ - \renewcommand\@faculty{Antwerp School of Education}} - \renewcommand\faclw{\renewcommand\@faculty{Faculteit - Letteren en Wijsbegeerte}} - \renewcommand\facow{ - \renewcommand\@faculty{Faculteit Ontwerpwetenschappen}} - \renewcommand\facsw{ - \renewcommand\@faculty{Faculteit Sociale Wetenschappen}} - \renewcommand\facrec{ - \renewcommand\@faculty{Faculteit Rechten}} - \renewcommand\factew{ - \renewcommand\@faculty{Faculteit Toegepaste Economische - Wetenschappen}} - \renewcommand\facti{ - \renewcommand\@faculty{Faculteit Toegepaste - Ingenieurswetenschappen}} - \renewcommand\facwet{ - \renewcommand\@faculty{Faculteit Wetenschappen}} - \renewcommand\weightname{Peso} - } } {} } @@ -2133,9 +2066,11 @@ Welk van de onderstaande ingredi\"enten hoort niet thuis in % information. The correct acronym also sets the faculty's name % correctly. % +% \changes{v3.0}{2021/02/05}{Changed REC in RE, TEW in BE and WET in WE +% (according to official naming scheme)} % \begin{macrocode} %<*ct|bmt|pt|le|ex> -\newcommand{\@facultyacronym}{} +\newcommand{\@facultyacronym}{~} \newcommand{\facultyacronym}[1]{ \renewcommand{\@facultyacronym}{#1} \AtBeginDocument{ @@ -2143,19 +2078,18 @@ Welk van de onderstaande ingredi\"enten hoort niet thuis in \ifthenelse{\equal{#1}{FBD}}{\facfbd}{ \ifthenelse{\equal{#1}{GGW}}{\facggw}{ \ifthenelse{\equal{#1}{IOB}}{\insiob}{ - \ifthenelse{\equal{#1}{IOIW}}{\insoiw}{ \ifthenelse{\equal{#1}{ASoE}}{\asoe}{ \ifthenelse{\equal{#1}{LW}}{\faclw}{ \ifthenelse{\equal{#1}{OW}}{\facow}{ \ifthenelse{\equal{#1}{SW}}{\facsw}{ - \ifthenelse{\equal{#1}{REC}}{\facrec}{ - \ifthenelse{\equal{#1}{TEW}}{\factew}{ + \ifthenelse{\equal{#1}{RE}}{\facre}{ + \ifthenelse{\equal{#1}{BE}}{\facbe}{ \ifthenelse{\equal{#1}{TI}}{\facti}{ - \ifthenelse{\equal{#1}{WET}}{\facwet}{ + \ifthenelse{\equal{#1}{WE}}{\facwe}{ \errmessage{Error: wrong faculty acronym; choose one of CPG, FBD, GGW, - IOB, IOIW, ASoE, LW, OW, SW, REC, TEW, TI, WET}}}}}}}}}}}}}}} + IOB, ASoE, LW, OW, SW, RE, BE, TI, WE}}}}}}}}}}}}}} } -%</ct|bmt|pt|le|ex> +%</ct|bmt|pt|le|ex> % \end{macrocode} % \end{macro} % @@ -2273,16 +2207,14 @@ Welk van de onderstaande ingredi\"enten hoort niet thuis in % \begin{macro}{\publisher} % This macro sets the |\@publisher| tag that later will be used on % the title page. +% \changes{v2.5}{}{changed publisher to universitas in default} % \begin{macrocode} %<*ct> -\newcommand{\@publisher}{\uaname\\ -Cursusdienst en reprografie\\ -Campus Groenenborger, G.U.027\\ -Groenenborgerlaan 171\\ -2020 Antwerpen\\ -T +32 3 265 32 15\\ -F + 32 3 233 32 27\\ -E cursusdienst.cgb@uantwerpen.be} +\newcommand{\@publisher}{Universitas Cursusdienst\\ + Prinsesstraat 16\\ + 2000 Antwerpen\\ + T +32 3 233 23 73\\ + E info@cursusdienst.be} \newcommand{\publisher}[1]{\renewcommand{\@publisher}{#1}} %</ct> % \end{macrocode} @@ -2393,10 +2325,14 @@ E cursusdienst.cgb@uantwerpen.be} \newcommand\@supervisoriiiaff{} \newcommand\@supervisoriv{} \newcommand\@supervisorivaff{} -\newcommand{\supervisori}[2]{\renewcommand\@supervisori{#1}\renewcommand\@supervisoriaff{#2}} -\newcommand{\supervisorii}[2]{\renewcommand\@supervisorii{#1}\renewcommand\@supervisoriiaff{#2}} -\newcommand{\supervisoriii}[2]{\renewcommand\@supervisoriii{#1}\renewcommand\@supervisoriiiaff{#2}} -\newcommand{\supervisoriv}[2]{\renewcommand\@supervisoriv{#1}\renewcommand\@supervisorivaff{#2}} +\newcommand{\supervisori}[2]{ + \renewcommand\@supervisori{#1}\renewcommand\@supervisoriaff{#2}} +\newcommand{\supervisorii}[2]{ + \renewcommand\@supervisorii{#1}\renewcommand\@supervisoriiaff{#2}} +\newcommand{\supervisoriii}[2]{ + \renewcommand\@supervisoriii{#1}\renewcommand\@supervisoriiiaff{#2}} +\newcommand{\supervisoriv}[2]{ + \renewcommand\@supervisoriv{#1}\renewcommand\@supervisorivaff{#2}} %</bmt|pt> % \end{macrocode} % \end{macro} @@ -2407,9 +2343,11 @@ E cursusdienst.cgb@uantwerpen.be} % \begin{macrocode} %<*pt> \newcommand{\@jurychairman}{\errmessage{Please define a chairman of the jurya - using the \textbackslash{}jurychairman command in the preamble of your document.}} + using the \textbackslash{}jurychairman command in the preamble of + your document.}} \newcommand{\@jurychairmanaff}{} -\newcommand{\jurychairman}[2]{\renewcommand{\@jurychairman}{#1}\renewcommand{\@jurychairmanaff}{#2}} +\newcommand{\jurychairman}[2]{ + \renewcommand{\@jurychairman}{#1}\renewcommand{\@jurychairmanaff}{#2}} %</pt> % \end{macrocode} % \end{macro} @@ -2420,7 +2358,8 @@ E cursusdienst.cgb@uantwerpen.be} % \begin{macrocode} %<*pt> \newcommand{\@jurymemberi}{\errmessage{Please define jury members - using the \textbackslash{}jurymemberi to vi commands in the preamble of your document.}} + using the \textbackslash{}jurymemberi to vi commands in the + preamble of your document.}} \newcommand\@jurymemberiaff{} \newcommand\@jurymemberii{} \newcommand\@jurymemberiiaff{} @@ -2432,12 +2371,18 @@ E cursusdienst.cgb@uantwerpen.be} \newcommand\@jurymembervaff{} \newcommand\@jurymembervi{} \newcommand\@jurymemberviaff{} -\newcommand{\jurymemberi}[2]{\renewcommand\@jurymemberi{#1}\renewcommand\@jurymemberiaff{#2}} -\newcommand{\jurymemberii}[2]{\renewcommand\@jurymemberii{#1}\renewcommand\@jurymemberiiaff{#2}} -\newcommand{\jurymemberiii}[2]{\renewcommand\@jurymemberiii{#1}\renewcommand\@jurymemberiiiaff{#2}} -\newcommand{\jurymemberiv}[2]{\renewcommand\@jurymemberiv{#1}\renewcommand\@jurymemberivaff{#2}} -\newcommand{\jurymemberv}[2]{\renewcommand\@jurymemberv{#1}\renewcommand\@jurymembervaff{#2}} -\newcommand{\jurymembervi}[2]{\renewcommand\@jurymembervi{#1}\renewcommand\@jurymemberviaff{#2}} +\newcommand{\jurymemberi}[2]{ + \renewcommand\@jurymemberi{#1}\renewcommand\@jurymemberiaff{#2}} +\newcommand{\jurymemberii}[2]{ + \renewcommand\@jurymemberii{#1}\renewcommand\@jurymemberiiaff{#2}} +\newcommand{\jurymemberiii}[2]{ + \renewcommand\@jurymemberiii{#1}\renewcommand\@jurymemberiiiaff{#2}} +\newcommand{\jurymemberiv}[2]{ + \renewcommand\@jurymemberiv{#1}\renewcommand\@jurymemberivaff{#2}} +\newcommand{\jurymemberv}[2]{ + \renewcommand\@jurymemberv{#1}\renewcommand\@jurymembervaff{#2}} +\newcommand{\jurymembervi}[2]{ + \renewcommand\@jurymembervi{#1}\renewcommand\@jurymemberviaff{#2}} %</pt> % \end{macrocode} % \end{macro} @@ -2463,6 +2408,7 @@ E cursusdienst.cgb@uantwerpen.be} % the renewcommand to set the tags is required for inclusion of the % data as QR data. % +% \changes{v2.5}{}{Shortened 'voorbereidingsprogramma' and 'schakelprogramma' tags} % \begin{macrocode} %<*ct|pt|ex> \newcommand{\@programmet}{} % type @@ -2478,9 +2424,9 @@ E cursusdienst.cgb@uantwerpen.be} \ifthenelse{\equal{#1}{PHD}}% {\renewcommand{\@programmet}{Doctor in de }}{% \ifthenelse{\equal{#1}{VP}}% - {\renewcommand{\@programmet}{Voorbereidingsprogramma voor Master of Science in de }}{% + {\renewcommand{\@programmet}{Voorbereidingsprogramma in de }}{% \ifthenelse{\equal{#1}{SP}}% - {\renewcommand{\@programmet}{Schakelprogramma voor Master of Science in de }}{% + {\renewcommand{\@programmet}{Schakelprogramma in de }}{% \ifthenelse{\equal{#1}{FREE}}% {}{ \errmessage{Error in 1st arg of macro programme[3]: invalid @@ -2618,6 +2564,7 @@ E cursusdienst.cgb@uantwerpen.be} \newcommand{\@diplomalevel}{ERROR} \newcommand{\@diploma}{ERROR} \newcommand{\diploma}[1]{ + \newcommand{\MoS}{Master of Science} \newcommand{\MoSIW}{Master of Science in de industri\"ele wetenschappen} \newcommand{\BoSIW}{Bachelor of Science in de industri\"ele wetenschappen} \newcommand{\MoSTEW}{Master of Science in de toegepaste economische wetenschappen} @@ -2640,30 +2587,40 @@ E cursusdienst.cgb@uantwerpen.be} {\MoSIW: chemie}{ \ifthenelse{\equal{#1}{MA-IW-EI}} {\MoSIW: elektronica-ICT}{ - \ifthenelse{\equal{#1}{MA-IW-EI-AE}} - {\MoSIW:\\elektronica-ICT, afstudeerrichting automotive engineering}{ - \ifthenelse{\equal{#1}{MA-IW-EI-ICT}} - {\MoSIW:\\elektronica-ICT, afstudeerrichting ICT}{ - \ifthenelse{\equal{#1}{MA-IW-EM-AE}} - {\MoSIW:\\elektromechanica, afstudeerrichting automotive engineering}{ - \ifthenelse{\equal{#1}{MA-IW-EM-AU}} - {\MoSIW:\\elektromechanica, afstudeerrichting automatisering}{ - \ifthenelse{\equal{#1}{MA-IW-EM-EM}} - {\MoSIW:\\elektromechanica, afstudeerrichting elektromechanica}{ + \ifthenelse{\equal{#1}{MA-IW-EI-CPS}} + {\MoSIW:\\elektronica-ICT, optie + Cyber-Physical Systems}{ + \ifthenelse{\equal{#1}{MA-IW-EI-IOT}} + {\MoSIW:\\elektronica-IOT, optie Internet of + Things}{ + \ifthenelse{\equal{#1}{MA-IW-EI-DAI}} + {\MoSIW:\\elektronica-IOT, optie Distributed + Artificial Intelligence}{ + \ifthenelse{\equal{#1}{MA-IW-EM-OE}} + {\MoSIW:\\elektromechanica, optie Offshore + Engineering}{ \ifthenelse{\equal{#1}{MA-IW-EM-EN}} - {\MoSIW:\\elektromechanica, afstudeerrichting energie}{ + {\MoSIW:\\elektromechanica, optie Energie}{ + \ifthenelse{\equal{#1}{MA-IW-EM-OP}} + {\MoSIW:\\elektromechanica, optie Ontwerp en + Productie}{ + \ifthenelse{\equal{#1}{MA-IW-EM-AU}} + {\MoSIW:\\elektromechanica, optie Automatisering}{ \ifthenelse{\equal{#1}{MA-IW-EM}} {\MoSIW:\\elektromechanica}{ - \ifthenelse{\equal{#1}{MA-TEW-HI}} - {\MoSTEW: handelsingenieur}{ - \ifthenelse{\equal{#1}{MA-TEW-HIBI}} - {\MoSTEW:\\handelsingenieur in de beleidsinformatica}{ - \ifthenelse{\equal{#1}{MA-TEW-EB}} + \ifthenelse{\equal{#1}{MA-BE-HI}} + {\MoS handelsingenieur}{ + \ifthenelse{\equal{#1}{MA-BE-HIBI}} + {\MoS handelsingenieur in de beleidsinformatica}{ + \ifthenelse{\equal{#1}{MA-BE-EB}} {\MoSTEW: economisch beleid}{ - \ifthenelse{\equal{#1}{MA-TEW-BK}} + \ifthenelse{\equal{#1}{MA-BE-BK}} {\MoSTEW: bedrijfskunde} {\errmessage{Error in argument to macro diploma: must be one of - BA-IW-XXX with XXX one of BK, BCH, CH, EI or EM, or MA-IW-XXX with XXX one of BK, BCH, CH, EI, EI-AE, EI-ICT, EM-AE, EM-AU, EM-EM, EM-EN, MA-TEW-YYY with YYY one of HI, HIBI, EB, BK! <<}}}}}}}}}}}}}}}}}}}}} + BA-IW-XXX with XXX one of BK, BCH, CH, EI or EM, or MA-IW-XXX + with XXX one of BK, BCH, CH, EI, EI-CPS, EI-IOT, EI-DAI, + EM-OE, EM-AU, EM-OP, EM-EN, MA-BE-YYY with YYY one of HI, + HIBI, EB, BK! <<}}}}}}}}}}}}}}}}}}}}}} } \newcommand\thesisname{ERROR} \IfSubStr{#1}{MA-}{\renewcommand\thesisname{\masterthesisname}}{} @@ -2721,12 +2678,14 @@ E cursusdienst.cgb@uantwerpen.be} % \end{macro} % % \begin{macro}{\depot} +% \changes{v2.5}{2019/10/18}{Made the specification of a depot +% number optional} % This macro sets the |\@depot| tags that later will -% be used on the data page. +% be used on the data page. If you don't have a depot number, just +% don't specify one (i.e. don't use this macro). % \begin{macrocode} %<*pt> -\newcommand{\@depot}{\errmessage{Please, specify a depot number using - the \textbackslash{}depot command in your preamble.}} +\newcommand{\@depot}{} \newcommand{\depot}[1]{\renewcommand{\@depot}{#1}} %</pt> % \end{macrocode} @@ -2772,10 +2731,9 @@ E cursusdienst.cgb@uantwerpen.be} % This macro sets the |\@logo| tag that will be used to load a % graphics file with that name. % \begin{macrocode} -%<*le|ex> -\newcommand{\@logo}{\logoname} -\newcommand{\logo}[1]{\renewcommand{\@unit}{#1}} -%</le|ex> +%<*le|ex> +\newcommand{\logo}[1]{\renewcommand{\@logo}{#1}} +%</le|ex> % \end{macrocode} % \end{macro} % @@ -2879,7 +2837,8 @@ E cursusdienst.cgb@uantwerpen.be} % the letter's heading text (in the area of the envelope's window). % \begin{macrocode} %<*le> -\newcommand{\@toaddress}{<Specify (multiline) destination address\\using \textbackslash{}toaddress\{\}>} +\newcommand{\@toaddress}{<Specify (multiline) destination + address\\using \textbackslash{}toaddress\{\}>} \newcommand{\toaddress}[1]{\renewcommand{\@toaddress}{#1}} %</le> % \end{macrocode} @@ -2911,7 +2870,8 @@ E cursusdienst.cgb@uantwerpen.be} % the letter. % \begin{macrocode} %<*le> -\newcommand{\@closing}{<specify a closing formula using \textbackslash{}closing\{\}>} +\newcommand{\@closing}{<specify a closing formula using + \textbackslash{}closing\{\}>} \renewcommand*{\closing}[1]{\renewcommand{\@closing}{#1}} %</le> % \end{macrocode} @@ -2920,7 +2880,8 @@ E cursusdienst.cgb@uantwerpen.be} % \begin{macro}{\signature} % \changes{v1.8}{2017/01/08}{Added signature} % This macro sets the |\@signature| tag that will be used to finish -% the letter. By default this corresponds to a decent amount of vertical white space +% the letter. By default this corresponds to a decent amount of +% vertical white space % \begin{macrocode} %<*le> \newcommand{\@signature}{\vspace*{8ex}} @@ -3146,7 +3107,8 @@ E cursusdienst.cgb@uantwerpen.be} \rhead[]{} \lfoot[\small\textcolor{gray}{\@date}]{\textcolor{gray}{\@date}} \cfoot[]{} -\rfoot[\small\textcolor{gray}{\pagename~\thepage~\orname~\pageref{lastpage}}]{\small\textcolor{gray}{\pagename~\thepage~\orname~\pageref{lastpage}}} +\rfoot[\small\textcolor{gray}{\pagename~\thepage~\orname~\pageref{lastpage}}] + {\small\textcolor{gray}{\pagename~\thepage~\orname~\pageref{lastpage}}} %</le> % \end{macrocode} % @@ -3160,7 +3122,8 @@ E cursusdienst.cgb@uantwerpen.be} \rhead[\small EXAMINER VERSION]{\small EXAMINER VERSION} \AddToShipoutPicture{ \put(60,40){\rotatebox{60}{\textcolor{watermark}{ - \fontfamily{phv}\fontsize{105}{130}\fontseries{m}\fontshape{n}\selectfont Examiner Version}}}} + \fontfamily{phv}\fontsize{105}{130}\fontseries{m}\fontshape{n}% + \selectfont Examiner Version}}}} \else \rhead[\small Student nr. \@studentnr]{\small Student nr. \@studentnr} \fi @@ -3237,14 +3200,16 @@ E cursusdienst.cgb@uantwerpen.be} \def\@makechapterhead#1{% \vspace*{1ex}% \begin{flushright} - \makebox[0pt][l]{\rule[-0.4em]{10cm}{1.8em}}\textcolor{white}{\bf\LARGE~\chaptername~} + \makebox[0pt][l]{\rule[-0.4em]{10cm}{1.8em}}\textcolor{white} + {\bf\LARGE~\chaptername~} \raisebox{-24pt}{ \begin{tikzpicture} \foreach \theta in {0,5,...,355} { \node[color=white] at (\theta:0.025) {\bf\fontsize{72}{12}\selectfont\thechapter}; } - \node[color=uacorpblue] at (0,0) {\bf\fontsize{72}{12}\selectfont\thechapter}; + \node[color=uacorpblue] at (0,0) + {\bf\fontsize{72}{12}\selectfont\thechapter}; \end{tikzpicture} }\hspace*{-8pt} \par\nobreak @@ -3301,8 +3266,10 @@ E cursusdienst.cgb@uantwerpen.be} % Q &=& R - X % \end{eqnarray} % We labeled the variables in the code below with a prefix -% |ua@| and a suffix h (from 'header'). We also took the paperheight into account (the page's -% coordinate system origins at the left bottom. +% |ua@| and a suffix h (from 'header'). We also took the paperheight +% into account (the page's coordinate system origins at the left +% bottom. +% % Therefore: % \begin{macrocode} %<*ct|bmt> @@ -3420,7 +3387,9 @@ L: \@qrlectureri \if@qr \savebox{\myqrcode}[2.7in][t]{ \begin{pspicture}(2.7in,2.7in) - \psbarcode{\myqrdata}{width=1.0 height=1.0 encoding=byte eclevel=M}{qrcode} + \psbarcode{\myqrdata} + {width=1.0 height=1.0 encoding=byte eclevel=M} + {qrcode} \end{pspicture} } \fi @@ -3471,7 +3440,7 @@ L: \@qrlectureri \path (0.95\paperwidth,0.1\paperheight) node [anchor=north east] { - \includegraphics[width=0.25\paperwidth]{\logoname}}; + \includegraphics[width=0.25\paperwidth]{\@logo}}; \fi \path (\ua@l pt -\ua@d pt,0.77\paperheight) @@ -3589,13 +3558,14 @@ L: \@qrlectureri \begin{tikzpicture}[inner sep=0pt] \clip (0,0) rectangle(\paperwidth,\paperheight); \if@titlepagenoartwork\else - \filldraw [lightgray] (0.55\paperwidth,\ua@Qba pt) circle (\ua@Rba pt); + \filldraw [lightgray] + (0.55\paperwidth,\ua@Qba pt) circle (\ua@Rba pt); \filldraw [white] (0.35\paperwidth,\ua@Qbb pt) circle (\ua@Rbb pt); \filldraw [lightgray] (0,\ua@Qh pt) circle (\ua@Rh pt); \path (0.95\paperwidth,0.1\paperheight) node [anchor=north east] { - \includegraphics[width=0.25\paperwidth]{\logoname}}; + \includegraphics[width=0.25\paperwidth]{\@logo}}; \fi \path (\ua@ll pt,0.77\paperheight) @@ -3616,7 +3586,8 @@ L: \@qrlectureri & \@supervisoriv \end{tabular} } - (\ua@ll pt,0.3\paperheight) node [anchor=north west, text width = 0.7\paperwidth]{% + (\ua@ll pt,0.3\paperheight) + node [anchor=north west, text width = 0.7\paperwidth]{% \bmthesisname\\ \@diploma\\ \@defenselocation, \@defensedate @@ -3694,7 +3665,10 @@ L: \@qrlectureri % Below, one can find the code for the title page of the % |uantwerpenphdthesis| class: % \changes{v2.0}{2018/03/14}{Implemented title page} -% \changes{v2.1}{2018/06/20}{Corrected information page (p4) jury spacing} +% \changes{v2.1}{2018/06/20}{Corrected information page (p4) jury +% spacing} +% \changes{v2.5}{2019/10/18}{Corrected formatting in case of absent +% ISBN or depot number} % \begin{macrocode} %<*pt> \renewcommand\maketitle{% @@ -3713,7 +3687,7 @@ L: \@qrlectureri (\ua@X pt, 0.25*\ua@Y+\ua@R pt) circle (\ua@R pt); \node[anchor=south east] at (\ua@X-3*\ua@Z pt,\ua@h pt) - {\includegraphics[width=\ua@L pt]{\logoname}}; + {\includegraphics[width=\ua@L pt]{\@logo}}; \begin{scope} \clip @@ -3755,7 +3729,8 @@ L: \@qrlectureri at (3*\ua@Z pt,\ua@Y-4*\ua@Z pt) { \textsf{\textbf{\@title}} }; - \node[anchor=north west,below=2.5ex of title,text width=\ua@X-6*\ua@Z,align=left,font=\large] + \node[anchor=north west,below=2.5ex of title, + text width=\ua@X-6*\ua@Z,align=left,font=\large] { \textsf{\textbf{\@subtitle}} }; \node[anchor=north west,text width=\ua@X-6*\ua@Z,align=left] @@ -3772,7 +3747,7 @@ L: \@qrlectureri \end{titlepage}% \cleardoublepage \begin{center} - \includegraphics[width=\ua@L pt]{\logoname} + \includegraphics[width=\ua@L pt]{\@logo} \vfill \@faculty\\ \@programmeq\par @@ -3839,13 +3814,15 @@ L: \@qrlectureri \arrname. \vfill \begin{minipage}[b]{.5\linewidth} - ISBN \@isbn\\ - Wettelijk depot \@depot + \ifdefempty{\@isbn}{}{ISBN \@isbn}~\\ + \ifdefempty{\@depot}{}{Wettelijk depot \@depot}~\\ \end{minipage} \hfill - \begin{minipage}[b]{.5\linewidth} - \expandafter\EAN \@isbn - \end{minipage} + \ifdefempty{\@isbn}{}{ + \begin{minipage}[b]{.5\linewidth} + \expandafter\EAN \@isbn + \end{minipage} + } \setcounter{footnote}{0}% \global\let\thanks\relax \global\let\maketitle\relax @@ -3882,7 +3859,8 @@ L: \@qrlectureri \clip (0,0) rectangle(\paperwidth,\paperheight); \fill[uacorpblue] (0,0) rectangle(\ua@X pt,\ua@Y pt); \filldraw [white] (1.2*\ua@X pt,\ua@R+0.125*\ua@Y pt) circle (\ua@R pt); - \filldraw [uacorpbord] (1.375*\ua@X pt,\ua@R+0.666*\ua@Y pt) circle (\ua@R pt); + \filldraw [uacorpbord] (1.375*\ua@X pt,\ua@R+0.666*\ua@Y pt) + circle (\ua@R pt); \end{tikzpicture} }; \end{tikzpicture} @@ -3930,11 +3908,6 @@ L: \@qrlectureri \@toaddress }; \end{tikzpicture} - \begin{tikzpicture}[overlay,remember picture] - \path (current page.south west) +(0,-0.7cm) - node[anchor=south west,inner sep=0pt, outer sep=0pt] - {\includegraphics{\footername}}; - \end{tikzpicture} ~\\[3ex] \textcolor{uacorpblue}{\bf \@sender} \ifx\@senderrole\@emptymacro\\[1.75ex]\else \\*\@senderrole\\[1.75ex]\fi @@ -4038,11 +4011,13 @@ L: \@qrlectureri } (3.3,23) node[anchor=north west] { \parbox{16cm}{ - \fontfamily{phv}\fontsize{18}{22}\fontseries{b}\fontshape{n}\selectfont + \fontfamily{phv}\fontsize{18}{22}\fontseries{b} + \fontshape{n}\selectfont \raggedright \@coursei{} \ifx\@exampart\@emptymacro \else --- \@exampart\fi - \fontfamily{phv}\fontsize{12}{18}\fontseries{m}\fontshape{n}\selectfont\\ + \fontfamily{phv}\fontsize{12}{18}\fontseries{m} + \fontshape{n}\selectfont\\ Reeks \@examgroupnumber{} \hfill \@examdate{} } } (3.3,20.1) node[anchor=north west] { @@ -4053,49 +4028,63 @@ L: \@qrlectureri } (3.3,18.6) node[anchor=north west] { \parbox{14cm}{ - \fontfamily{phv}\fontsize{12}{18}\fontseries{m}\fontshape{n}\selectfont - \raggedright \ifdef{\dateenglish}{Professor(s) --- }{}Titularis(sen):\\ - \fontfamily{phv}\fontsize{14}{20}\fontseries{m}\fontshape{n}\selectfont + \fontfamily{phv}\fontsize{12}{18}\fontseries{m} + \fontshape{n}\selectfont + \raggedright \ifdef{\dateenglish}{Professor(s) --- } + {}Titularis(sen):\\ + \fontfamily{phv}\fontsize{14}{20}\fontseries{m} + \fontshape{n}\selectfont \raggedright \@author{} } } (3.3,16.7) node[anchor=north west] { \parbox{10cm}{ - \fontfamily{phv}\fontsize{12}{15}\fontseries{m}\fontshape{n}\selectfont + \fontfamily{phv}\fontsize{12}{15}\fontseries{m} + \fontshape{n}\selectfont \raggedright \ifdef{\dateenglish}{Last name --- }{} Naam:} } (3.3,15.25) node[anchor=north west] { \parbox{10cm}{ - \fontfamily{phv}\fontsize{12}{15}\fontseries{m}\fontshape{n}\selectfont + \fontfamily{phv}\fontsize{12}{15}\fontseries{m} + \fontshape{n}\selectfont \raggedright \ifdef{\dateenglish}{First name --- }{} Voornaam:} } (16.3,15.25) node[anchor=north west] { \parbox{5cm}{ - \fontfamily{phv}\fontsize{12}{15}\fontseries{m}\fontshape{n}\selectfont - \raggedright \ifdef{\dateenglish}{Docket No. --- }{}Rolnr.:} + \fontfamily{phv}\fontsize{12}{15}\fontseries{m} + \fontshape{n}\selectfont + \raggedright \ifdef{\dateenglish}{Docket No. --- } + {}Rolnr.:} } (3.3,11.5) node[anchor=north west] { \parbox{14cm}{ - \fontfamily{phv}\fontsize{12}{21}\fontseries{m}\fontshape{n}\selectfont - \raggedright \ifdef{\dateenglish}{Exam duration --- }{}Duur van het examen: \@examlength\\ + \fontfamily{phv}\fontsize{12}{21}\fontseries{m} + \fontshape{n}\selectfont + \raggedright \ifdef{\dateenglish}{Exam duration --- } + {}Duur van het examen: \@examlength\\ } } (14.3,11.5) node[anchor=north west] { \parbox{5cm}{ - \fontfamily{phv}\fontsize{12}{15}\fontseries{m}\fontshape{n}\selectfont - \raggedright \ifdef{\dateenglish}{Start --- }{}Begin: \@tstart \\[1ex] - \raggedright \ifdef{\dateenglish}{End --- }{}Einde~: \@tend + \fontfamily{phv}\fontsize{12}{15}\fontseries{m} + \fontshape{n}\selectfont + \raggedright \ifdef{\dateenglish}{Start --- } + {}Begin: \@tstart \\[1ex] + \raggedright \ifdef{\dateenglish}{End --- } + {}Einde~: \@tend } } (3.3,13.5) node[anchor=north west] { \parbox{14cm}{ - \fontfamily{phv}\fontsize{12}{21}\fontseries{m}\fontshape{n}\selectfont - \raggedright \ifdef{\dateenglish}{Room --- }{}Lokaal: \@rooms + \fontfamily{phv}\fontsize{12}{21}\fontseries{m} + \fontshape{n}\selectfont + \raggedright \ifdef{\dateenglish}{Room --- } + {}Lokaal: \@rooms } } @@ -4248,9 +4237,12 @@ L: \@qrlectureri % not easiy, one has to provide the number of centimeters below the % bottom of the page, one wants to start the fill-out squares. % +% \changes{v2.5}{}{Corrected for 'one page too early' in solutionspagepartial} +% % \begin{macrocode} %<*ex> \newcommand\insertsolutionspagepartial[1]{ + ~\relax \AddToShipoutPicture*{% \put(0,0){% \begin{tikzpicture} @@ -4326,18 +4318,14 @@ L: \@qrlectureri % %<*ct> \IfFileExists{hyperref.sty}{ - \RequirePackage{hyperref} + \RequirePackage[backref,hyperindex=true,pagebackref=true]{hyperref} \hypersetup{ - backref=true, breaklinks=true, colorlinks=true, citecolor=black, filecolor=black, - hyperindex=true, linkcolor=black, pageanchor=true, - pagebackref=true, - pagecolor=black, pdfpagemode=UseOutlines, urlcolor=black } @@ -4354,18 +4342,14 @@ L: \@qrlectureri % %<*bmt|pt> \IfFileExists{hyperref.sty}{ - \RequirePackage{hyperref} + \RequirePackage[backref,hyperindex=true,pagebackref=true]{hyperref} \hypersetup{ - backref=true, breaklinks=true, colorlinks=true, citecolor=black, filecolor=black, - hyperindex=true, linkcolor=black, pageanchor=true, - pagebackref=true, - pagecolor=black, pdfpagemode=UseOutlines, urlcolor=black } @@ -4379,6 +4363,1995 @@ L: \@qrlectureri }{} %</bmt|pt> % \end{macrocode} +% \section{The beamer theme} +% \subsection{User guide} +% +% \begin{verbatim} +%<*bmrug> +\documentclass[aspectratio=1610]{beamer} +\usetheme[ti]{uantwerpen} +\usepackage[english]{babel} + +% The packages below are for demonstration purpose only. +% They are not required for the template to work +\usepackage{metalogo} +\usepackage{lipsum} +\usepackage{pgfplots} +\usepackage{booktabs} + +% some stuff to typeset code +\newcommand\command[1]{{\tt \textbackslash #1}} +\NewEnviron{codesnippet}[1][0.8\textwidth]{ + \scriptsize + \qquad\framebox[#1][l]{\texttt{ + \setlength\textwidth{#1} + \begin{minipage}{0.9\textwidth} + \BODY + \end{minipage} + } + } +} +\newcommand\ind[1][2ex]{\hspace*{#1}} +\newcommand\bframe[1][]{\command{begin}\{#1frame\}} +\newcommand\eframe[1][]{\command{end}\{#1frame\}} + +\title{This is your \texttt{\textbackslash{}title{}}} +\subtitle[my short title]{This is your \texttt{\textbackslash{}subtitle{}}} +\date[my short date]{This is your \texttt{\textbackslash{}date{}}} +\author[my short author]{This is your \texttt{\textbackslash{}author{}}} + +\begin{document} + +\begin{frame}[negativefill] + \maketitle +\end{frame} + +\begin{frame} + \maketitle +\end{frame} + +\begin{frame}[negative] + \maketitle +\end{frame} + +\begin{frame} + {What's on the menu?} + {Bon app\'etit!} + ~\\ + \tableofcontents +\end{frame} + +\section{Loading the theme and theme options} + +\begin{frame}[negative] + \sectionpage +\end{frame} + +\begin{frame} + {Using our beamer theme} + + The \texttt{uantwerpen} beamer theme is distributed by CTAN. It + should be installed with your \TeX{} distribution by default. + + You can load the package in your preamble as: + + \begin{codesnippet} + \command{documentclass}[aspectratio=1610]\{beamer\}\\ + \command{usetheme}[theme-options-go-here]\{uantwerpen\}\\ + \command{usepackage}[english]\{babel\} + \end{codesnippet} + + \heading{Remarks} + \begin{itemize} + \item The theme behaves well for all supported beamer aspect + ratios. + \item $16\times 10$ is currently your best option to maximize your + slide size given a modern LCD-projector! + \item Only \texttt{dutch} and \texttt{english} are supported. + The correct logoware is selected using the babel language option! + \end{itemize} +\end{frame} + +\begin{l3qframe}[t,rqgraphic={ + \begin{minipage}{0.35\textwidth} + \footnotesize + \begin{center} + \begin{tabular}{c} + \toprule + \bfseries option\\ + \midrule + \tt be \\ + \tt fbd \\ + \tt ggw \\ + \tt lw \\ + \tt ow \\ + \tt re \\ + \tt sw \\ + \tt ti \\ + \tt we \\ + \tt iob \\ + \bottomrule + \end{tabular} + \end{center} + \end{minipage} + }] + {Theme options}{} + The following theme options may come in handy: + \begin{description} + \item[\tt X] to invoke your own faculty's colors and logos, + with X one of the options in the table on the right\\ + (I assume you know your faculty abbreviation) + \item[\tt nofonts] disables font loading, so you can load your own fonts + \item[\tt rgb] to select RGB color encoding (best for projecting, default) + \item[\tt cmyk] to select CMYK color encoding (best for printing) + \item[\tt neutralcolors] to disable your faculty colors and use the + standard UAntwerpen colors + \end{description} + \medskip + + The defaults of the theme are: + \begin{itemize} + \item no faculty option ($\Rightarrow$ standard UAntwerpen logos) + \item \texttt{rgb} + \end{itemize} + +\end{l3qframe} + +\begin{frame}[t] + {A note on the compiler you are using} + {Fonts galore} + + Depending on the type of compiler you use, a different font scheme + is loaded: + \begin{description} + \item[\LaTeX] --- ancient compiler - no support\\ + Don't use! + \item[pdf\LaTeX] --- very old school compiler - no OTF/TTF support\\ + Computer Modern Sans Serif is used as font + \item[\XeLaTeX] --- old school compiler - the first to have OTF/TTF + support\\ + Calibri is used as font (with cmbright math fonts) + \item[\LuaLaTeX] --- current compiler - your best option\\ + Calibri is used as font (with cmbright math fonts) + \end{description} + +\end{frame} + +\section{Title slides} + +\begin{frame}[negative] + \sectionpage +\end{frame} + +\begin{frame}[t] + {Title slides} + \heading{Contents} --- + The contents of the title slide can be set in your preamble + using the classical \LaTeX{} commands: + \begin{itemize} + \item \command{title\{\}} + \item \command{subtitle}\{\} + \item \command{author\{\}} + \item \command{date\{\}} + \end{itemize} + We don't specify an institute, as the logos do so. + + \heading{Code} --- The titleslide is easily typeset as:\\ + \begin{codesnippet} + \bframe[][option]\\ + \ind\command{maketitle}\\ + \eframe + \end{codesnippet} + + with no option, or one of: \texttt{normal}, \texttt{negative}, + \texttt{negativefill}. +\end{frame} + +\section{Regular slides} + +\subsection{Bare} + +\begin{frame}[negative] + \sectionpage +\end{frame} + +\begin{frame}[negative] + \subsectionpage +\end{frame} + +\begin{frame}[t] + {Frame titles} + {And subtitles} + \heading{How to specify them!}\\ + Titles are specified using \command{frametitle\{\}} or + \command{framesubtitle\{\}} or even easier as first and second argument + to the \texttt{frame} environment (or their derived versions). + + \begin{codesnippet} + \bframe[][options go here, comma separated]\\ + \ind\{first argument\}\\ + \ind\{second argument\}\\ + \ind frame contents \\ + \eframe + \end{codesnippet} + \bigskip + + \heading{Don't need them?}\\ + If you need a slide without titles: just don't specify them! + + \heading{Want to get rid of the footer as well?}\\ + Specify the \texttt{plain} option to the frame. + +\end{frame} + +\begin{frame}[t] + {The canvas} + + \heading{Flavors} --- The canvas of the slide has four flavors: + \begin{description} + \item[normal] + the ordinary white background slide + \item[negativefill] + a reverse video slide on a background (in maincolor) without white + margins + \item[negative] + a reverse video slide on a bakcground (in maincolor) with white + margins + \item[graphicfill] + a graphic canvas without white margins (graphic can be photo, + graph, \ldots) + \item[graphic] a graphic canvas with white margins (graphic can be + anything) + \end{description} + They are specified as options to the frame environment (or its + derivatives). + + \heading{Remarks} + \begin{itemize} + \item You don't need to specify the normal canvas, it is the + default. + \item In handout mode the negative and negativefill canvas will be + typeset as normal canvas (to allow for easy printing). + \item The graphic option has many variants that we will discuss later. + \end{itemize} +\end{frame} + +\begin{frame}[negativefill] + {A negativefill slide} + {with a subtle subtitle} + \lipsum[1] +\end{frame} + +\begin{frame}[negative,t] + {A negative slide} + {with a subtle subtitle} + Don't do this! Don't use a title and subtitle, nor straight text + but put material on this slide that does not touch or cross the + edges of the background!\\ + E.g., the graph on the bottom right + \place[anchor=south east] at (0.9,0.1) { + \begin{tikzpicture}[white] + \begin{axis} + [width=4cm,height=5cm,grid=both,font=\footnotesize] + \addplot[white] {x^2}; + \end{axis} + \end{tikzpicture} + } + The best advice is not to reserve this canvas for title frames and + intermission slides. +\end{frame} + +\begin{frame}[t] + {Vertical alignment} + + You can easily specify the vertical alignment of your frame + contents, using the options + \begin{description} + \item[\texttt{t}] for top + \item[\texttt{c}] for center + \item[\texttt{b}] for bottom + \end{description} + + Example:\\[1ex] + \begin{codesnippet} + \bframe[][t]\\ + \ind\{Title\}\\ + \ind\{Subtitle\}\\ + \ind frame contents\\ + \eframe + \end{codesnippet} + +\end{frame} + +\begin{frame}[t] + {Colors} + {What a wonderful world} + + \heading{Standard colors}\\ + You can select the theme colors using:\\ + \textcolor{maincolor}{Main color}: + can be specified as \LaTeX-color \emph{maincolor}\\ + \textcolor{sidecolor}{Side color}: + can be specified as \LaTeX-color \emph{sidecolor}\\ + \textcolor{basecolor}{Base color}: + can be specified as \LaTeX-color + \emph{basecolor} + + \heading{Advice}\\ + \begin{itemize} + \item Stick to the standard colors or use grayscale tints! + \item Only use color when functional (e.g. in graphs) + \end{itemize} + + \heading{Alert} + You can use \alert{\command{alert{}}} to grab the attention of the + user. It will typeset your content in \alert{red}. + + \heading{Not taking any advice?}\\ + You can fiddle with the colors, but do so in smart way. + Use \command{setbeamercolor}. You can see how it is used in the + \texttt{beamercolorthemeuantwerpen.sty} file. +\end{frame} + +\begin{frame}[t] + {Logo demo} + + The logo's can be used as follows (but you should not need them): + \begin{itemize} + \item \command{includegraphics[width=3cm]\{\command{logopos}\}}\\ + \begin{center} + \begin{tikzpicture} + \draw[fill,white] (0,0) rectangle node + {\includegraphics[width=3cm]{\logopos}} (4,1.25); + \end{tikzpicture} + \end{center} + \item \command{includegraphics[width=3cm]\{\command{logoneg}\}}\\ + \begin{center} + \begin{tikzpicture} + \draw[fill] (0,0) rectangle node + {\includegraphics[width=3cm]{\logoneg}} (4,1.25); + \end{tikzpicture} + \end{center} + \item \command{includegraphics[width=3cm]\{\command{logomonowhite}\}}\\ + \begin{center} + \begin{tikzpicture} + \draw[fill] (0,0) rectangle node + {\includegraphics[width=3cm]{\logomonowhite}} (4,1.25); + \end{tikzpicture} + \end{center} + \end{itemize} +\end{frame} + +\subsection{With graphic eye candy} + +\begin{frame}[negative] + \subsectionpage +\end{frame} + +\begin{frame}[t] + {Basic idea} + + \heading{The idea} --- put support material (photo or graph) on the + slide next to the frame content. + This is done by + \begin{itemize} + \item specifying an appropriate canvas + \item using an appropriate frame derivative + \end{itemize} + + \heading{Good combinations} + \begin{center}\small + \begin{tabular}{ccc} + \toprule + \bf frame option & \bf graphic on frame + & \bf corresponding frame derivative\\ + \midrule + lqgraphic & left quarter & r3qframe \\ + rqgraphic & right quarter & l3qframe \\ + lhgraphic & left half & rhframe \\ + rhgraphic & right half & lhframe \\ + thgraphic & top half & bhframe \\ + bhgraphic & bottom half & thframe\\ + \bottomrule + \end{tabular} + \end{center} + +\end{frame} + +\begin{l3qframe}[rqgraphic] + {Some Random Title} + {Please, adapt!} + + \small + The slide has been typeset as:\\ + \begin{codesnippet}[\textwidth] + \bframe[l3q][rqgraphic=\{<load photo here>\}]\\ + \ind\{Title\}\\ + \ind\{Subtitle\}\\ + \ind frame contents\\ + \eframe[l3q] + \end{codesnippet} + \smallskip + + \subheading{Remarks} + \begin{itemize} + \item Load photo as:\\ + \command{includegraphics[width=0.25\command{paperwidth}, min height=\command{textheight}] + \{image.jpg\}} + \item If \texttt{rqgraphic} is specified without argument, a standard photo + is loaded. + \item Note: you can avoid rounding the corner using the + frame option \texttt{noround} (may be useful when not using a photo) + \end{itemize} +\end{l3qframe} + +\begin{r3qframe}[lqgraphic,t] + {Some Random Title} + {Please, adapt!} + + \small + The slide has been typeset as:\\ + \begin{codesnippet}[\textwidth] + \bframe[r3q][lqgraphic=\{<load photo here>\}]\\ + \ind\{Title\}\\ + \ind\{Subtitle\}\\ + \ind frame contents\\ + \eframe[r3q] + \end{codesnippet} + \smallskip + + \subheading{Remarks} + \begin{itemize} + \item Load photo as:\\ + \command{includegraphics[width=0.25\command{paperwidth}, min height=\command{textheight}] + \{image.jpg\}} + \item If \texttt{rqgraphic} is specified without argument, a standard photo + is loaded. + \item Note: you can avoid rounding the corner using the + frame option \texttt{noround} (may be useful when not using a photo) + \end{itemize} +\end{r3qframe} + +\begin{lhframe}[rhgraphic] + {Some Random Title} + + \small + The slide has been typeset as:\\ + \begin{codesnippet}[\textwidth] + \bframe[lh][rhgraphic=\{<load photo here>\}]\\ + \ind\{Title\}\\ + \ind\{Subtitle\}\\ + \ind frame contents\\ + \eframe[lh] + \end{codesnippet} + \smallskip + + \subheading{Remarks} + \begin{itemize} + \item Load photo as:\\ + \command{includegraphics[min + width=0.5\command{paperwidth}, min height=\command{textheight}] + \{image.jpg\}} + \item If \texttt{rqgraphic} is specified without argument, a standard photo + is loaded. + \item Note: avoid rounding the corner using \texttt{noround} + \end{itemize} +\end{lhframe} + +\begin{rhframe}[lhgraphic,t] + {Some Random Title} + + \small + The slide has been typeset as:\\ + \begin{codesnippet}[\textwidth] + \bframe[rh][lhgraphic=\{<load photo here>\}]\\ + \ind\{Title\}\\ + \ind\{Subtitle\}\\ + \ind frame contents\\ + \eframe[rh] + \end{codesnippet} + \smallskip + + \subheading{Remarks} + \begin{itemize} + \item Load photo as:\\ + \command{includegraphics[min + width=0.5\command{paperwidth}, min height=\command{textheight}] + \{image.jpg\}} + \item If \texttt{rqgraphic} is specified without argument, a standard photo + is loaded. + \item Note: avoid rounding the corner using \texttt{noround} + \end{itemize} +\end{rhframe} + +\begin{bhframe}[thgraphic,t] + {Some Random Title}{Please, adapt!} + \small + The slide has been typeset as: + \begin{codesnippet}[\textwidth] + \bframe[bh][thgraphic=\{<load photo here>\}]\\ + \ind\{Title\}\\ + \ind\{Subtitle\}\\ + \ind frame contents\\ + \eframe[bh] + \end{codesnippet} +\end{bhframe} + +\begin{thframe}[bhgraphic,t] + {Some Random Title} + {Please, adapt!} + \small + The slide has been typeset as: + \begin{codesnippet}[\textwidth] + \bframe[th][bhgraphic=\{<load photo here>\}]\\ + \ind\{Title\}\\ + \ind\{Subtitle\}\\ + \ind frame contents\\ + \eframe[th] + \end{codesnippet} +\end{thframe} + +\section{Intermission slides} + +\begin{frame}[negative] + \sectionpage +\end{frame} + +\subsection{Standard section slides} + +\begin{frame}[negative] + \subsectionpage +\end{frame} + +\begin{frame}[t] + {Basic idea} + + You can select any of the canvas templates: negative, negativefill, + graphic, graphicfill and normal, and combine it with: + \begin{description} + \item[\command{sectionpage}] + \item[\command{subsectionpage}] + \end{description} + + Example:\\[1ex] + \begin{codesnippet}[0.8\textwidth] + \bframe[][negative]\\ + \ind \command{sectionpage}\\ + \eframe\\~\\ + \bframe[][negative]\\ + \ind \command{subsectionpage}\\ + \eframe + \end{codesnippet}\\[1ex] + (this how the previous two slide were generated) +\end{frame} + +\subsection{Custom intermission slides} + +\begin{frame}[negative] + \subsectionpage +\end{frame} + +\begin{frame}[t] + {Basic idea} + + If you are a fan of graphic material in slideware, you can use a + \texttt{graphic} or \texttt{graphicfill} canvas in combination with + small snippets you put on the slide using\\[1ex] + \qquad\command{place[node options] at (x,y) \{<material>\}}\\[1ex] + with + \begin{itemize} + \item $(x,y)=(0,0)$ the bottom left of the slide and $(1,1)$ the top + right of the slide + \item \texttt{node options} any options you want to hand over to the + tikz node that is used to position the material. + \end{itemize} + \medskip + + E.g., the next slide was created using:\\[1ex] + \begin{codesnippet}[0.8\textwidth] + \bframe[][graphic,t]\\ + \ind\command{place} at (0.5,0.5) \{\command{uantwerpenicon[scale=0.8]}\}\\ + \eframe + \end{codesnippet} + \medskip + + You will have to run \LaTeX{} twice in order for the position to be correct! +\end{frame} + +\begin{frame}[graphic,t] + \place at (0.5,0.5) {\uantwerpenicon[scale=0.8]} +\end{frame} + +\begin{frame}[t] + {Shading photographs} + + Often you need make a photograph a little bit more opaque in order + for the (white) text to readable. + + To this end you can use the following command\\[1ex] + \qquad\command{darken[s]\{<material>\}}\\[1ex] + with $s$ a value between 0 and 1 to specify the level of darkening. + + E.g., the next slide was created using: + \begin{codesnippet}[0.9\textwidth] + \bframe[][graphicfill=\{\command{darken}% + [0.25]\{\command{includegraphics}% + [scale=0.1,min width=\command{paperwidth},min height=\command{paperheight}]% + \{Images/uantwerpen-09.jpg\}\},t]\\ + \command{place} [anchor=north east] at (0.95,0.5) \{\\ + \ind\command{uantwerpencallout}\{3\}\{2.5\}\{\\ + \ind\ind\command{bfseries} You cannot be serious!\textbackslash\textbackslash[1ex]\\ + \ind\ind John McEnroe\}\\ + \}\\ + \eframe + \end{codesnippet} +\end{frame} + +\begin{frame}[graphicfill={\darken[0.25]% + {\includegraphics[scale=0.1,min width=\paperwidth,min height=\paperheight]% + {Images/uantwerpen-09.jpg}}},t] + \place [anchor=north east] at (0.95,0.5) { + \uantwerpencallout{3}{2.5}{ + \bfseries You cannot be serious!\\[1ex] + John McEnroe} + } +\end{frame} + +\begin{frame}[t] + {Shading photographs locally} + + You can also choose to shade the local backdrop of the material + you put on the side. If you like the \command{uantwerpencallout} + command of the previous slide, you can give it an optional argument + to set the fill opacity of the backdrop behind the text. + + E.g., the next slide was created using: + \begin{codesnippet}[0.9\textwidth] + \bframe[][graphic,t]\\ + \ind\command{place} [anchor=north west] at (0.1,0.9) \{\\ + \ind\ind\command{uantwerpencallout}[fill opacity=0.5]\{4.5\}\{2.5\}\{\\ + \ind\ind\ind\command{bfseries} I'll be back!\textbackslash\textbackslash[1ex]\\ + \ind\ind\ind Arnold Schwarzenegger\}\\ + \} + \eframe + \end{codesnippet} + \medskip + + The \command{uantwerpencallout} command has te following syntax:\\[1ex] + \qquad\command{uantwerpencallout[options]\{width\}\{height\}\{contents\}} + \medskip + + Remember to run \LaTeX{} twice in order for the position of the + callout to be correct! +\end{frame} + +\begin{frame}[graphic,t] + \place [anchor=north west] at (0.1,0.9) { + \uantwerpencallout[fill opacity=0.5]{4.5}{2.5}{ + \bfseries I'll be back!\\[1ex] + Arnold Schwarzenegger} + } +\end{frame} + +\section{Demo of some inner theme parts} + +\begin{frame}[negative] + \sectionpage +\end{frame} + + +\begin{frame}[t] + {Headings} + {on two levels} + You can set headings on two levels, by using + \begin{itemize} + \item\command{heading\{\}} + \item\command{subheading\{\}} + \end{itemize} + \heading{Main subject}~\\ + blabla + \subheading{Subtopic 1}~\\ + blabla + \subheading{Subtopic 2}~\\ + blabla + \heading{Next main subject}~\\ + blabla +\end{frame} + +\newcommand\listdemo[1][itemize]{ + \begin{#1} + \item First level + \begin{#1} + \item Second level + \begin{#1} + \item Third level + \end{#1} + \end{#1} + \end{#1} +} + +\begin{frame}[t] + {Itemize / enumerations} + {Different styles} + Usage:\\ + Set them (in your preamble) using: \command{setbeamertemplate\{itemize items\}[triangle]}\\ + The default of the uantwerpen beamer template is set to \texttt{square} to be + similar to our logo. + \medskip + + \begin{columns} + \column[T]{0.3\textwidth} + \alert{default} + \setbeamertemplate{itemize items}[default] + \listdemo + \column[T]{0.3\textwidth} + \alert{triangle} + \setbeamertemplate{itemize items}[triangle] + \listdemo + \column[T]{0.3\textwidth} + \alert{circle} + \setbeamertemplate{itemize items}[circle] + \listdemo + \end{columns}~\\ + \bigskip + + \begin{columns} + \column[T]{0.3\textwidth} + \alert{ball} + \setbeamertemplate{itemize items}[ball] + \listdemo + \column[T]{0.3\textwidth} + \alert{square} + \setbeamertemplate{itemize items}[square] + \listdemo + \column[T]{0.3\textwidth} + \alert{enumeration} + \setbeamertemplate{itemize items}[circle] + \listdemo[enumerate] + \end{columns} +\end{frame} + +\section{Advanced material} + +\begin{frame}[negative] + \sectionpage +\end{frame} + +\begin{frame}[t] + {Customizing the template} + + If you want to override logos/colors to create a template for your + own research group or department: + renew the commands below. The redefinitions must be put just after + the \command{begin\{document\}} statement.\\ + The construction below allows you to put the stuff in a style file + that you must load after (!) the \command{usetheme} command.\\[1ex] + \begin{codesnippet}[0.95\textwidth] + \command{AtBeginDocument\{}\\ + \ind\command{renewcommand}\command{logopos\{your-pos-logo-filename-here\}}\\ + \ind\command{renewcommand}\command{logoneg\{your-negative-logo-filename-here\}}\\ + \ind\command{renewcommand}\command{logomonowhite\{your-mono-logo-filename-here\}}\\ + \ind\command{renewcommand}\command{iconfile\{your-icon-filename-here\}}\\ + \ind\command{colorlet\{maincolor\}\{your-favorite-color\}}\\ + \ind\command{colorlet\{sidecolor\}\{your-secondfavorite-color\}}\\ + \ind\command{colorlet\{basecolor\}\{some-solid-color\}}\\ + \} + \end{codesnippet}~\\[1ex] +\end{frame} + +\begin{frame} + {Some genuine advice} + \small + + Dear user, + + Candy slides are nice for PR, but bad for conveying a message. + + Beamer is a tool to typeset technical presentations. Need more + animation and eye candy? Use other tools. They are much easier in + ruining your audiences' day. + + Effective slides are simple slides.\\ + Go by cognitive consonance, flirt with cognitive dissonance, but + stay away from cognitive cacophony. + This presentation is i.m.ho. a bad one, as it shows the + cacophony of possibilities. But hey, you were the one asking for it. + + A lot of effort has gone into this template. I hope you like it. + If you have good suggestions, e-mail me. If you have questions, I + might even help you. + + Cheers! + + Walter Daems\\ + (March 2021) + +\end{frame} + +\end{document} +%</bmrug> +% \end{verbatim} +% +% \subsection{Implementation} +% +% \subsubsection{Main beamer theme} +% +% \begin{macrocode} +%<*bmr> +% Copyright 2021 by Walter Daems <walter.daems@uantwerpen.be> +% +% 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. + +\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> +%</bmr> +% \end{macrocode} +% +% \subsubsection{Beamer color theme} +% \begin{macrocode} +%<*bmrcolor> +% Copyright 2021 by Walter Daems <walter.daems@uantwerpen.be> +% +% 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. + +\mode<presentation> + +\if@cmyk + +%% UAntwerpen +\definecolor{uauamain}{cmyk}{0.00,0.96,0.82,0.01} +\definecolor{uauaside}{cmyk}{1.00,0.71,0.00,0.51} +%% Faculteit Bedrijfswetenschappen en Economie +\definecolor{uabemain}{cmyk}{0.58,0.00,1.00,0.04} +\definecolor{uabeside}{cmyk}{0.29,0.04,0.41,0.00} +%% Faculteit Farmaceutische, Biomedische en Diergeneeskundige Wetenschappen +\definecolor{uafbdmain}{cmyk}{0.65,0.03,0.00,0.00} +\definecolor{uafbdside}{cmyk}{0.33,0.03,0.00,0.00} +%% Faculteit Geneeskunde en Gezondheidswetenschappen +\definecolor{uaggwmain}{cmyk}{0.61,0.55,0.00,0.00} +\definecolor{uaggwside}{cmyk}{0.21,0.27,0.03,0.00} +%% Faculteit Letteren en Wijsbegeerte +\definecolor{ualwmain}{cmyk}{0.00,0.27,0.85,0.00} +\definecolor{ualwside}{cmyk}{0.00,0.16,0.51,0.00} +%% Faculteit Ontwerpwetenschappen +\definecolor{uaowmain}{cmyk}{0.53,0.25,0.26,0.05} +\definecolor{uaowside}{cmyk}{0.25,0.08,0.16,0.00} +%% Faculteit Rechten +\definecolor{uaremain}{cmyk}{0.10,1.00,0.90,0.05} +\definecolor{uareside}{cmyk}{0.04,0.45,0.36,0.00} +%% Faculteit Sociale Wetenschappen +\definecolor{uaswmain}{cmyk}{0.08,0.00,1.00,0.26} +\definecolor{uaswside}{cmyk}{0.20,0.11,0.50,0.00} +%% Faculteit Toegepaste Ingenieurswetenschappen +\definecolor{uatimain}{cmyk}{0.31,1.00,0.00,0.01} +\definecolor{uatiside}{cmyk}{0.11,0.30,0.02,0.00} +%% Faculteit Wetenschappen +\definecolor{uawemain}{cmyk}{1.00,0.20,0.00,0.25} +\definecolor{uaweside}{cmyk}{0.40,0.08,0.00,0.10} +%% IOB +\definecolor{uaiobmain}{cmyk}{0.05,0.75,1.00,0.00} +\definecolor{uaiobside}{cmyk}{0.40,0.08,0.00,0.10} + +\else + +%% UAntwerpen +\definecolor{uauamain}{RGB}{234,44,56} +\definecolor{uauaside}{RGB}{0,46,101} +%% Faculteit Bedrijfswetenschappen en Economie +\definecolor{uabemain}{RGB}{101,168,18} +\definecolor{uabeside}{RGB}{185,213,169} +%% Faculteit Farmaceutische, Biomedische en Diergeneeskundige Wetenschappen +\definecolor{uafbdmain}{RGB}{68,184,243} +\definecolor{uafbdside}{RGB}{181,221,247} +%% Faculteit Geneeskunde en Gezondheidswetenschappen +\definecolor{uaggwmain}{RGB}{117,117,203} +\definecolor{uaggwside}{RGB}{198,182,210} +%% Faculteit Letteren en Wijsbegeerte +\definecolor{ualwmain}{RGB}{241,181,61} +\definecolor{ualwside}{RGB}{255,218,145} +%% Faculteit Ontwerpwetenschappen +\definecolor{uaowmain}{RGB}{130,161,173} +\definecolor{uaowside}{RGB}{200,217,216} +%% Faculteit Rechten +\definecolor{uaremain}{RGB}{210,8,36} +\definecolor{uareside}{RGB}{237,157,144} +%% Faculteit Sociale Wetenschappen +\definecolor{uaswmain}{RGB}{173,165,0} +\definecolor{uaswside}{RGB}{215,211,148} +%% Faculteit Toegepaste Ingenieurswetenschappen +\definecolor{uatimain}{RGB}{177,0,151} +\definecolor{uatiside}{RGB}{221,184,210} +%% Faculteit Wetenschappen +\definecolor{uawemain}{RGB}{0,108,169} +\definecolor{uaweside}{RGB}{151,192,223} +%% IOB +\definecolor{uaiobmain}{RGB}{230,98,8} +\definecolor{uaiobside}{RGB}{151,192,223} + +\fi + +%% define main color +\colorlet{maincolor}{\maincolor} +\colorlet{sidecolor}{\sidecolor} +\colorlet{basecolor}{\basecolor} + +\setbeamercolor{palette primary}{fg=maincolor} +\setbeamercolor{palette secondary}{fg=sidecolor} +\setbeamercolor{palette tertiary}{fg=uauaside} +\setbeamercolor{palette quaternary}{fg=uauamain} + +\setbeamercolor{normal text}{fg=basecolor} +\setbeamercolor{inverse normal text}{fg=white!95!maincolor} +\setbeamercolor{alerted text}{fg=uauamain} +\setbeamercolor{example text}{} + +\setbeamercolor{heading}{fg=basecolor} +\setbeamercolor{subheading}{fg=basecolor} +\setbeamercolor{inverse heading}{fg=white} +\setbeamercolor{inverse subheading}{fg=white!75!maincolor} + +\setbeamercolor{block body}{bg=black!4} +\setbeamercolor{block title}{bg=black!8} + +\setbeamercolor{itemize item}{parent=normal text} +\setbeamercolor{enumerate item}{parent=normal text} +\setbeamercolor{itemize subitem}{parent=normal text} +\setbeamercolor{enumerate subitem}{parent=normal text} +\setbeamercolor{itemize subsubitem}{parent=normal text} +\setbeamercolor{enumerate subsubitem}{parent=normal text} + +\setbeamercolor{frametitle}{fg=maincolor} +\setbeamercolor{framesubtitle}{fg=sidecolor} +\setbeamercolor{inverse frametitle}{fg=white} +\setbeamercolor{inverse framesubtitle}{fg=white!80!maincolor} + +\setbeamercolor{title in title page}{fg=maincolor} +\setbeamercolor{subtitle in title page}{fg=sidecolor} +\setbeamercolor{author in title page}{fg=maincolor} +\setbeamercolor{date in title page}{fg=sidecolor} +\setbeamercolor{inverse title in title page}{fg=white} +\setbeamercolor{inverse subtitle in title page}{fg=white!75!maincolor} +\setbeamercolor{inverse author in title page}{fg=white} +\setbeamercolor{inverse date in title page}{fg=white!75!maincolor} + +\setbeamercolor{pageno in head/foot}{fg=basecolor} +\setbeamercolor{inverse pageno in head/foot}{fg=white} + +\setbeamercolor{section in toc}{fg=basecolor} +\setbeamercolor{subsection in toc}{fg=basecolor} +\setbeamercolor{section number projected}{fg=white,bg=basecolor} +\setbeamercolor{subsection number projected}{fg=white,bg=basecolor} + +\setbeamercolor{section title}{fg=maincolor} +\setbeamercolor{section name}{fg=maincolor} +\setbeamercolor{inverse section title}{fg=white} +\setbeamercolor{inverse section name}{fg=white} + +\setbeamercolor{subsection title}{fg=sidecolor} +\setbeamercolor{subsection name}{fg=sidecolor} +\setbeamercolor{inverse subsection title}{fg=white!75!maincolor} +\setbeamercolor{inverse subsection name}{fg=white!75!maincolor} +\mode +<all> +%</bmrcolor> +% \end{macrocode} +% +% \subsubsection{Beamer font theme} +% +% \begin{macrocode} +%<*bmrfont> +% Copyright 2021 by Walter Daems +% +% 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. + +\usetikzlibrary{calc} + +\if@nofonts +\else + \RequirePackage{iftex} + % Uncomment the following line if in MiKTeX you get the error + % message that \ifluatex is already defined. + % You first option is to update all your packages both in user as in + % admin mode to fix your setup. + % Your second option is to avoid the warning uncommenting the + % following line: + % \let\ifluatex\relax + \iftutex + \usepackage{cmbright} + \usefonttheme{serif} + \usepackage{fontspec} + \setmainfont{Calibri} + \usepackage{sansmathaccent} + \fi +\fi +\usepackage{bm} + +\mode<presentation> + +\setbeamerfont{normal text}{} % ignored currently +\setbeamerfont{alerted text}{} +\setbeamerfont{example text}{} + +\setbeamerfont{structure}{} +\setbeamerfont{tiny structure}{size=\tiny} + +\setbeamerfont{title}{size=\large,parent=structure} +\setbeamerfont{title in head/foot}{} +\setbeamerfont{title in sidebar}{size=\tiny} + +\setbeamerfont{pageno in head/foot}{size=\tiny} + +\setbeamerfont{subtitle}{size=\small,parent=title} + +\setbeamerfont{author}{} +\setbeamerfont{author in head/foot}{} +\setbeamerfont{author in sidebar}{size=\tiny} + +\setbeamerfont{date}{} +\setbeamerfont{date in head/foot}{} +\setbeamerfont{date in sidebar}{} + +\setbeamerfont{part name}{size=\LARGE} +\setbeamerfont{part title}{size=\LARGE,parent=title} + +\setbeamerfont{section name}{size=\Large} +\setbeamerfont{section title}{size=\Large,parent=title} + +\setbeamerfont{section in toc}{parent=structure} +\setbeamerfont{section in toc shaded}{parent=section in toc} +\setbeamerfont{section in head/foot}{} +\setbeamerfont{section in sidebar}{size=\tiny} +\setbeamerfont{section number projected} + {size=\small,parent={section in toc,projected text}} + +\setbeamerfont{subsection name}{size=\large} +\setbeamerfont{subsection title}{size=\large,parent=title} + +\setbeamerfont{subsection in toc}{} +\setbeamerfont{subsection in toc shaded}{parent=subsection in toc} +\setbeamerfont{subsection in head/foot}{} +\setbeamerfont{subsection in sidebar}{} + +\setbeamerfont{subsubsection in toc}{size=\footnotesize} +\setbeamerfont{subsubsection in toc shaded}{parent=subsubsection in toc} +\setbeamerfont{subsubsection in head/foot}{} +\setbeamerfont{subsubsection in sidebar}{} + +\setbeamerfont{headline}{parent={tiny structure}} +\setbeamerfont{footline}{parent={tiny structure}} + +\setbeamerfont{frametitle} + {parent=structure,size=\renewcommand{\baselinestretch}{0.85}\LARGE\bfseries} +\setbeamerfont{framesubtitle}{parent=frametitle,size=\normalsize\bfseries} + +\setbeamerfont{caption}{size=\small} +\setbeamerfont{caption name}{parent={structure,caption}} + +\setbeamerfont{button}{size=\tiny} + +\setbeamerfont{block body}{size=\scriptsize} +\setbeamerfont{block body alerted}{parent={block body}} +\setbeamerfont{block body example}{parent={block body}} +\setbeamerfont{block title}{size=\small,parent={structure,block body}} +\setbeamerfont{block title alerted}{parent={block title,alerted text}} +\setbeamerfont{block title example}{parent={block title,example text}} + +\setbeamerfont{item}{parent=structure} +\setbeamerfont{subitem}{parent=item} +\setbeamerfont{subsubitem}{parent=subitem} + +\setbeamerfont{item projected}{size=\tiny,parent={item,projected text}} +\setbeamerfont{subitem projected}{parent=item projected} +\setbeamerfont{subsubitem projected}{parent=subitem projected} + +\setbeamerfont{itemize item}{parent=item} +\setbeamerfont{itemize subitem}{parent=subitem} +\setbeamerfont{itemize subsubitem}{parent=subsubitem} + +\setbeamerfont{enumerate item}{parent=item} +\setbeamerfont{enumerate subitem}{parent=subitem} +\setbeamerfont{enumerate subsubitem}{parent=subsubitem} + +\setbeamerfont{itemize/enumerate body}{} +\setbeamerfont{itemize/enumerate subbody}{size=\small} +\setbeamerfont{itemize/enumerate subsubbody}{size=\footnotesize} + +\setbeamerfont{description item}{parent=item} + +\setbeamerfont{projected text}{parent={tiny structure}} + +\setbeamerfont{abstract}{size=\small} +\setbeamerfont{abstract title}{parent={abstract,structure},size=\normalsize} + +\setbeamerfont{verse}{family=\rmfamily,shape=\itshape} + +\setbeamerfont{quotation}{shape=\itshape} +\setbeamerfont{quote}{parent=quotation} + +\setbeamerfont{note page}{size=\small} + +\mode +<all> +%</bmrfont> +% \end{macrocode} +% +% \subsubsection{Beamer inner theme} +% +% \begin{macrocode} +%<*bmrinner> +% Copyright 2021 by Walter Daems <walter.daems@uantwerpen.be> +% +% 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. + +\mode<presentation> + +\setlength\parskip{0.5\baselineskip} +\setlength\parindent{0em} + +% use square (can also be circle or ball +\setbeamertemplate{sections/subsections in toc}[square] +\setbeamertemplate{itemize items}[square] + +%\setbeamertemplate{description item}[align left] + +\newif\if@noround +\@noroundfalse + +\newcommand\uantwerpenleftshape[3][]{ + \newcommand\mycradius{0.05*(\getlength{\paperheight}-1.6)}% + \coordinate (bl) at #2; + \coordinate (tr) at #3; + \if@noround + \path[#1] (bl) rectangle (tr); + \else + \path[#1] (bl|-tr) -- (tr) -- (bl-|tr) -- ($(bl)+({\mycradius},0)$) + arc(-90:-180:{\mycradius}) -- cycle; + \fi +} +\newcommand\uantwerpenrightshape[3][]{ + \newcommand\mycradius{0.05*(\getlength{\paperheight}-1.6)}% + \coordinate (bl) at #2; + \coordinate (tr) at #3; + \if@noround + \path[#1] (bl) rectangle (tr); + \else + \path[#1] (bl|-tr) -- (tr) -- ($(bl-|tr)+(0,{\mycradius})$) + arc(0:-90:{\mycradius}) -- (bl) -- cycle; + \fi +} + +\newcommand\darken[2][0.5]{% + \begin{tikzpicture}[inner sep=0pt,outer sep=0pt] + \node (a) {#2}; + \fill[fill=black,opacity=#1] (a.south west) rectangle (a.north east); + \end{tikzpicture} +} + +\newcommand\uantwerpencallout[4][]{ + \begin{tikzpicture} + \uantwerpenleftshape[fill=black,fill opacity=0.0,text opacity=1,text=white,#1]{({-#2/2},-{#3/2})}{({#2/2},{#3/2})} + \node[align=left,anchor=center] at (0,0) { \callout\\ #4 }; + \end{tikzpicture} +} + +\newcommand\callout[1][scale=0.70711]{ + \begin{tikzpicture}[#1] + \fill[maincolor] (0.4,0) -- (0.5,0) -- (0.75,-0.15) -- (0.75,0) -- + (0.9,0) arc(-90:0:0.1) -- (1,0.65) arc(0:90:0.1) -- (0.1,0.75) arc + (90:180:0.1) -- (0,0.1) arc(-180:-90:0.1) -- cycle; + \foreach \x in {0.35,0.7} { + \begin{scope}[shift={(\x,0.425)},scale=0.25] + \fill[white] (0,0) circle[radius=0.5]; + \fill[white] (0.5,0) arc(0:-90:1) -- + (-0.5,-0.725) arc(-90:0:0.725) -- cycle; + \end{scope} + } + \end{tikzpicture} +} + +\newcommand\uantwerpenicon[1][scale=1]{ + \includegraphics[#1]{\iconfile} +} + +\newcommand\heading[1]{\par{\usebeamercolor{\maybeinverse heading}\color{fg}{\small\bfseries #1~}}} +\newcommand\subheading[1]{\par{ + \usebeamercolor{\maybeinverse + subheading}\color{fg}{\footnotesize\it\bfseries #1~}}} + +\mode +<all> +%</bmrinner> +% \end{macrocode} +% +% \subsubsection{Beamer outer theme} +% +% \begin{macrocode} +%<*bmrouter> +% Copyright 2021 by Walter Daems <walter.daems@uantwerpen.be> +% +% 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. + +\mode<presentation> + +\newcommand*\getlength[1]{\strip@pt#1/28.45274} +\newcommand\pw{\getlength{\paperwidth}}% +\newcommand\ph{\getlength{\paperheight}}% + +\newif\if@rhtext +\@rhtextfalse +\newif\if@lhtext +\@lhtextfalse +\newif\if@rqtext +\@rqtextfalse +\newif\if@lqtext +\@lqtextfalse +\newif\if@bhtext +\@bhtextfalse +\gdef\maybeinverse{} + +\define@key{beamerframe}{noround}[true]{ + \expandafter\csname @noround#1\endcsname +} + +\define@key{beamerframe}{normal}[true]{ + \setbeamertemplate{title page}[main] + \setbeamertemplate{section page}[main]% + \setbeamertemplate{subsection page}[main]% + \setbeamertemplate{background canvas}[normal] + \gdef\maybeinverse{} +} + +\mode<handout|trans> + +\define@key{beamerframe}{negativefill}[true]{ +} + +\define@key{beamerframe}{negative}[true]{ +} + +\mode +<all> + +\mode<beamer|second> + +\define@key{beamerframe}{negativefill}[true]{ + \gdef\maybeinverse{inverse }% + \usebeamercolor[fg]{\maybeinverse normal text}% + \setbeamertemplate{title page}[negativefill] + \setbeamertemplate{section page}[negative]% + \setbeamertemplate{subsection page}[negative]% + \setbeamertemplate{background canvas}[negativefill]% +} + +\define@key{beamerframe}{negative}[true]{ + \gdef\maybeinverse{inverse }% + \usebeamercolor[fg]{\maybeinverse normal text}% + \setbeamertemplate{title page}[negative] + \setbeamertemplate{section page}[negative]% + \setbeamertemplate{subsection page}[negative]% + \setbeamertemplate{background canvas}[negative]% +} + +\mode +<all> + +\define@key{beamerframe}{graphicfill}[{\includegraphics[scale=0.1,min + width=\paperwidth,min height=\paperheight]{Images/uantwerpen-01.jpg}}]{ + \gdef\maybeinverse{inverse }% + \usebeamercolor[fg]{\maybeinverse normal text}% + \setbeamertemplate{background canvas}[graphicfill]{#1} +} + +\define@key{beamerframe}{graphic}[{\includegraphics[scale=0.1,min + width=\textwidth,min height=\textheight]{Images/uantwerpen-02.jpg}}]{ + \gdef\maybeinverse{inverse }% + \usebeamercolor[fg]{\maybeinverse normal text}% + \setbeamertemplate{background canvas}[graphic]{#1} +} + +\define@key{beamerframe}{lhgraphic} + [{\includegraphics[scale=0.1,min width=0.5\paperwidth,min + height=\textheight]{Images/uantwerpen-03.jpg}}]{ + \gdef\maybeinverse{}% + \setbeamertemplate{background canvas}[lhgraphic]{#1} + \@rhtexttrue +} + +\define@key{beamerframe}{lqgraphic} + [{\includegraphics[scale=0.1,min width=0.5\paperwidth,min + height=\textheight]{Images/uantwerpen-04.jpg}}]{ + \gdef\maybeinverse{}% + \setbeamertemplate{background canvas}[lqgraphic]{#1} + \@rqtexttrue +} + +\define@key{beamerframe}{rhgraphic} + [{\includegraphics[scale=0.1,min width=0.5\paperwidth,min + height=\textheight]{Images/uantwerpen-05.jpg}}]{ + \gdef\maybeinverse{}% + \setbeamertemplate{background canvas}[rhgraphic]{#1} + \@lhtexttrue +} + +\define@key{beamerframe}{rqgraphic} + [{\includegraphics[scale=0.5,min width=0.5\paperwidth,min + height=\textheight]{Images/uantwerpen-05.jpg}}]{ + \gdef\maybeinverse{}% + \setbeamertemplate{background canvas}[rqgraphic]{#1} + \@lqtexttrue +} + +\define@key{beamerframe}{thgraphic} + [{\includegraphics[scale=0.5,min width=\paperwidth,min + height=0.5\textheight]{Images/uantwerpen-06.jpg}}]{ + \gdef\maybeinverse{}% + \setbeamertemplate{background canvas}[thgraphic]{#1} + \@bhtexttrue +} + +\define@key{beamerframe}{bhgraphic} + [{\includegraphics[scale=0.5,min width=\paperwidth,min + height=0.5\textheight]{Images/uantwerpen-07.jpg}}]{ + \gdef\maybeinverse{}% + \setbeamertemplate{background canvas}[bhgraphic]{#1} +} + +\BeforeBeginEnvironment{frame}{% + \gdef\maybeinverse{}% + \setbeamertemplate{title page}[main]% + \setbeamertemplate{section page}[main]% + \setbeamertemplate{subsection page}[main]% + \setbeamertemplate{background canvas}[normal]% + \usebeamercolor[fg]{normal text}% +} + +% The following does not work as \end{frame} is never executed by +% beamer! +% \AtEndEnvironment{frame}{\gdef\maybeinverse{}} + +\NewEnviron{rhframe}[3][]{% + \begin{frame}[#1]{#2}{#3} + \begin{minipage}[t]{0.525\textwidth} + ~ + \end{minipage} + \begin{minipage}[t]{0.465\textwidth} + \BODY + \end{minipage} + \end{frame} +} + +\NewEnviron{r3qframe}[3][]{% + \begin{frame}[#1]{#2}{#3} + \begin{minipage}[t]{0.23\textwidth} + ~ + \end{minipage} + \begin{minipage}[t]{0.76\textwidth} + \BODY + \end{minipage} + \end{frame} +} + +\NewEnviron{lhframe}[3][]{% + \begin{frame}[#1]{#2}{#3} + \begin{minipage}[t]{0.465\textwidth} + \BODY + \end{minipage} + \begin{minipage}[t]{0.525\textwidth} + ~ + \end{minipage} + \end{frame} +} + +\NewEnviron{l3qframe}[3][]{% + \begin{frame}[#1]{#2}{#3} + \begin{minipage}[t]{0.77\textwidth} + \BODY + \end{minipage} + \begin{minipage}[t]{0.22\textwidth} + ~ + \end{minipage} + \end{frame} +} + +\NewEnviron{bhframe}[3][]{% + \begin{frame}[#1]{#2}{#3} + \BODY + \end{frame} +} + +\NewEnviron{thframe}[3][]{% + \begin{frame}[#1]{#2}{#3} + \BODY + \end{frame} +} + +%%%%%%%%%%%% +% Order: +% 1. option is executed +% 2. frametitle is typeset +% 3. canvas is typeset +% 4. frame is typeset +%%%%%%%%%%%% + +\def\ps@uantwerpen@titlepage{% + \setbeamercolor{title in title page}{parent=palette primary} + \setbeamertemplate{footline}[empty] + \@nameuse{ps@uantwerpen} +} + +\defbeamertemplate*{background canvas}{negativefill}[1] +{% + \gdef\appropriatelogo{\logomonowhite}% + \gdef\appropriateslidenumber{\usebeamercolor{pageno in head/foot}% + \insertframenumber/\inserttotalframenumber}% + \color{maincolor}\vrule width\paperwidth height\paperheight +} + +\defbeamertemplate*{background canvas}{negative}[1] +{% + \gdef\appropriatelogo{\logopos}% + \gdef\appropriateslidenumber{}% + \begin{tikzpicture} + \clip (0,0) rectangle (\pw,\ph); + \uantwerpenleftshape[fill=maincolor]{(0.8,0.8)}{(\pw-0.8,\ph-0.8)} + \end{tikzpicture} +} + +\defbeamertemplate*{background canvas}{graphicfill}[1] +{% + \gdef\appropriatelogo{\logoneg}% + \gdef\appropriateslidenumber{}% + \begin{tikzpicture} + \clip (0,0) rectangle (\pw,\ph); + \node[align=center] at (0.5*\pw,0.5*\ph) {#1}; + \end{tikzpicture}% +} + +\defbeamertemplate*{background canvas}{graphic}[1] +{% + \gdef\appropriatelogo{\logopos}% + \gdef\appropriateslidenumber{}% + \begin{tikzpicture} + \clip (0,0) rectangle (\pw,\ph); + \begin{scope} + \uantwerpenleftshape[clip]{(0.8,0.8)}{(\pw-0.8,\ph-0.8)} + \node[align=center] at (0.5*\pw,0.5*\ph) {#1}; + \end{scope} + \end{tikzpicture}% +} + +\defbeamertemplate*{background canvas}{lhgraphic}[1] +{% + \gdef\maybeinverse{}% + \gdef\appropriatelogo{\logopos}% + \gdef\appropriateslidenumber{\usebeamercolor{pageno in head/foot}% + \insertframenumber/\inserttotalframenumber}% + \pgfmathsetmacro\dx{0.5*\pw-1.2}% + \pgfmathsetmacro\dy{\ph-1.6}% + \begin{tikzpicture} + \clip (0,0) rectangle (\pw,\ph); + \begin{scope} + \uantwerpenleftshape[clip]{(0.8,0.8)}{(0.8+\dx,0.8+\dy)} + \node[align=center] at (0.8+0.5*\dx,0.8+0.5*\dy) {#1}; + \end{scope} + \end{tikzpicture} + \@tempswatrue +} + +\defbeamertemplate*{background canvas}{lqgraphic}[1] +{% + \gdef\maybeinverse{}% + \gdef\appropriatelogo{\logopos}% + \gdef\appropriateslidenumber{\usebeamercolor{pageno in head/foot}% + \insertframenumber/\inserttotalframenumber}% + \pgfmathsetmacro\dx{0.25*\pw-1.2}% + \pgfmathsetmacro\dy{\ph-1.6}% + \begin{tikzpicture} + \clip (0,0) rectangle (\pw,\ph); + \begin{scope} + \uantwerpenleftshape[clip]{(0.8,0.8)}{(0.8+\dx,0.8+\dy)} + \node[align=center] at (0.8+0.5*\dx,0.8+0.5*\dy) + {#1}; + \end{scope} + \end{tikzpicture} + \@tempswatrue +} + +\defbeamertemplate*{background canvas}{rhgraphic}[1] +{% + \gdef\maybeinverse{}% + \gdef\appropriatelogo{\logopos}% + \gdef\appropriateslidenumber{\usebeamercolor{pageno in head/foot}% + \insertframenumber/\inserttotalframenumber}% + \pgfmathsetmacro\dx{0.5*\pw-1.2}% + \pgfmathsetmacro\dy{\ph-1.6}% + \begin{tikzpicture} + \clip (0,0) rectangle (\pw,\ph); + \begin{scope}[shift={(0.5*\pw,0)}] + \uantwerpenrightshape[clip]{(0.4,0.8)}{(0.4+\dx,0.8+\dy)} + \node[align=center] at (0.8+0.5*\dx,0.8+0.5*\dy) {#1}; + \end{scope} + \end{tikzpicture} + \@tempswatrue +} + +\defbeamertemplate*{background canvas}{rqgraphic}[1] +{% + \gdef\maybeinverse{}% + \gdef\appropriatelogo{\logopos}% + \gdef\appropriateslidenumber{\usebeamercolor{pageno in head/foot}% + \insertframenumber/\inserttotalframenumber}% + \pgfmathsetmacro\dx{0.25*\pw-1.2}% + \pgfmathsetmacro\dy{\ph-1.6}% + \begin{tikzpicture} + \clip (0,0) rectangle (\pw,\ph); + \begin{scope}[shift={(0.75*\pw,0)}] + \uantwerpenrightshape[clip]{(0.4,0.8)}{(0.4+\dx,0.8+\dy)} + \node[align=center] at (0.8+0.5*\dx,0.8+0.5*\dy) {#1}; + \end{scope} + \end{tikzpicture} + \@tempswatrue +} + +\defbeamertemplate*{background canvas}{thgraphic}[1] +{% + \gdef\maybeinverse{}% + \gdef\appropriatelogo{\logopos}% + \gdef\appropriateslidenumber{\usebeamercolor{pageno in head/foot}% + \insertframenumber/\inserttotalframenumber}% + \pgfmathsetmacro\dx{\pw-1.6}% + \pgfmathsetmacro\dy{0.5*\ph-0.8}% + \begin{tikzpicture} + \clip (0,0) rectangle (\pw,\ph); + \begin{scope}[shift={(0,0.5*\ph)}] + \uantwerpenleftshape[clip] {(0.8,0)}{(0.8+\dx,\dy)} + \node[align=center] at (0.8+0.5*\dx,0.5*\dy) {#1}; + \end{scope} + \end{tikzpicture} + \@tempswatrue +} + +\defbeamertemplate*{background canvas}{bhgraphic}[1] +{% + \gdef\maybeinverse{}% + \gdef\appropriatelogo{\logopos}% + \gdef\appropriateslidenumber{\usebeamercolor{pageno in head/foot}% + \insertframenumber/\inserttotalframenumber}% + \pgfmathsetmacro\dx{\pw-1.6}% + \pgfmathsetmacro\dy{0.5*\ph-0.8}% + \begin{tikzpicture} + \clip (0,0) rectangle (\pw,\ph); + \begin{scope}[shift={(0,0.8)}] + \uantwerpenleftshape[clip] {(0.8,0)}{(0.8+\dx,\dy)} + \node[align=center] at (0.8+0.5*\dx,0.5*\dy) {#1}; + \end{scope} + \end{tikzpicture} + \@tempswatrue +} + + +\defbeamertemplate*{background canvas}{normal} +{% + \gdef\maybeinverse{}% + \gdef\appropriatelogo{\logopos}% + \gdef\appropriateslidenumber{\usebeamercolor{pageno in + head/foot}\insertframenumber/\inserttotalframenumber}% +} + + +\defbeamertemplate*{title page}{main}[1][] +{% + \thispagestyle{uantwerpen@titlepage}% + \begin{tikzpicture} + \clip (0,0) rectangle (\textwidth,\paperheight-0.075cm); + \node[anchor=center] at (0.5*\textwidth,0.75*\ph) + {\includegraphics[height=.9\logounitheight]{\logopos}}; + \node[ + text width=0.98\textwidth, + text=basecolor, + align=center] at (0.5*\textwidth,0.5*\ph) { + \begin{beamercolorbox}[wd=\textwidth,center]{title in title page} + \LARGE\bfseries\inserttitle\\[1ex] + \usebeamercolor[fg]{subtitle in title page} + \color{fg}\large\bfseries\insertsubtitle + \end{beamercolorbox} + }; + \node[ + text width=0.98\textwidth, + color=basecolor, + align=center] at (0.5*\textwidth,0.25*\ph) { + \begin{beamercolorbox}[wd=\textwidth,center]{author in title page} + \large\bfseries\insertauthor + \end{beamercolorbox} + }; + \node[ + text width=0.98\textwidth, + color=basecolor, + align=center] at (0.5*\textwidth,0.15*\ph) { + \begin{beamercolorbox}[wd=\textwidth,center]{date in title page} + \normalsize\bfseries\insertdate + \end{beamercolorbox} + }; + \end{tikzpicture} +} + +\defbeamertemplate*{title page}{negative}[1][] +{ + \begin{tikzpicture} + \clip (0,0) rectangle (\textwidth,\paperheight-0.075cm); + \node[ + text width=0.98\textwidth, + align=center] at (0.5*\textwidth,0.5*\ph) { + \begin{beamercolorbox}[wd=\textwidth,center]{inverse title in title page} + \LARGE\bfseries\inserttitle\\[1ex] + \usebeamercolor[fg]{\maybeinverse subtitle in title page} + \color{fg}\large\bfseries\insertsubtitle + \end{beamercolorbox} + }; + \node[ + text width=0.98\textwidth, + align=center,] at (0.5*\textwidth,0.25*\ph) { + \begin{beamercolorbox}[wd=\textwidth,center]{inverse author in title page} + \large\bfseries\insertauthor + \end{beamercolorbox} + }; + \node[ + text width=0.98\textwidth, + color=basecolor, + align=center] at (0.5*\textwidth,0.15*\ph) { + \begin{beamercolorbox}[wd=\textwidth,center]{inverse date in title page} + \normalsize\bfseries\insertdate + \end{beamercolorbox} + }; + \end{tikzpicture} +} + +\defbeamertemplate*{title page}{negativefill}[1][] +{ + \thispagestyle{uantwerpen@titlepage} + \begin{tikzpicture} + \clip (0,0) rectangle (\textwidth,\paperheight-0.075cm); + \node[anchor=center] at (0.5*\textwidth,0.75*\ph) + {\includegraphics[height=.9\logounitheight]{\logomonowhite}}; + \node[ + draw,rectangle, + text width=0.98\textwidth, + color=maincolor, + align=center] at (0.5*\textwidth,0.5*\ph) { + \begin{beamercolorbox}[wd=\textwidth,center]{inverse title in title page} + \LARGE\bfseries\inserttitle\\[1ex] + \usebeamercolor[fg]{inverse subtitle in title page} + \color{fg}\large\bfseries\insertsubtitle + \end{beamercolorbox} + }; + \node[ + text width=0.98\textwidth, + color=maincolor, + align=center] at (0.5*\textwidth,0.25*\ph) { + \begin{beamercolorbox}[wd=\textwidth,center]{inverse author in title page} + \large\bfseries\insertauthor + \end{beamercolorbox} + }; + \node[ + text width=0.98\textwidth, + color=basecolor, + align=center] at (0.5*\textwidth,0.15*\ph) { + \begin{beamercolorbox}[wd=\textwidth,center]{inverse date in title page} + \normalsize\bfseries\insertdate + \end{beamercolorbox} + }; + \end{tikzpicture} +} + +\defbeamertemplate*{section page}{main}[1][] +{% + \begin{tikzpicture} + \clip (0,0) rectangle (\textwidth,\paperheight-0.075cm); + \node[ + text width=0.98\textwidth, + text=basecolor, + align=center] at (0.5*\textwidth,0.55*\ph) { + \begin{beamercolorbox}[wd=\textwidth,center]{section title} + \Large\bfseries\insertsectionnumber.~\insertsection + \end{beamercolorbox} + }; + \end{tikzpicture} +} + +\defbeamertemplate*{subsection page}{main}[1][] +{% + \begin{tikzpicture} + \clip (0,0) rectangle (\textwidth,\paperheight-0.075cm); + \node[ + text width=0.98\textwidth, + text=basecolor, + align=center] at (0.5*\textwidth,0.55*\ph) { + \begin{beamercolorbox}[wd=\textwidth,center]{section title} + \Large\bfseries\insertsectionnumber.~\insertsection + \end{beamercolorbox} + }; + \node[ + text width=0.98\textwidth, + text=basecolor, + align=center] at (0.5*\textwidth,0.45*\ph) { + \begin{beamercolorbox}[wd=\textwidth,center]{subsection title} + \large\bfseries\insertsubsection + \end{beamercolorbox} + }; + \end{tikzpicture} +} + +\defbeamertemplate*{section page}{negative}[1][] +{ + \begin{tikzpicture} + \clip (0,0) rectangle (\textwidth,\paperheight-0.075cm); + \node[ + text width=0.98\textwidth, + text=basecolor, + align=center] at (0.5*\textwidth,0.55*\ph) { + \begin{beamercolorbox}[wd=\textwidth,center]{inverse section title} + \Large\bfseries\insertsectionnumber.~\insertsection + \end{beamercolorbox} + }; + \end{tikzpicture} +} + +\defbeamertemplate*{subsection page}{negative}[1][] +{ + \begin{tikzpicture} + \clip (0,0) rectangle (\textwidth,\paperheight-0.075cm); + \node[ + text width=0.98\textwidth, + text=basecolor, + align=center] at (0.5*\textwidth,0.55*\ph) { + \begin{beamercolorbox}[wd=\textwidth,center]{inverse section title} + \Large\bfseries\insertsectionnumber.~\insertsection + \end{beamercolorbox} + }; + \node[ + text width=0.98\textwidth, + text=basecolor, + align=center] at (0.5*\textwidth,0.45*\ph) { + \begin{beamercolorbox}[wd=\textwidth,center]{inverse subsection title} + \large\bfseries\insertsubsection + \end{beamercolorbox} + }; + \end{tikzpicture} +} + +\defbeamertemplate*{footline}{empty} +{ +} + +\defbeamertemplate*{footline}{normal} +{% + \leavevmode% + \hbox{\begin{beamercolorbox} + [wd=.5\paperwidth,ht=0.55cm,dp=0.25cm,left,leftskip=.8cm + plus1fill]{author in head/foot}% + \includegraphics[height=0.35\logounitheight]{\appropriatelogo} + \hskip0pt plus 1filll ~ + \end{beamercolorbox}% + \begin{beamercolorbox}[wd=.5\paperwidth,ht=0.55cm,dp=0.25cm, + right,rightskip=.8cm plus1fill]{\maybeinverse pageno in head/foot}% + \usebeamerfont{pageno in head/foot}~\hskip0pt plus 1filll + \appropriateslidenumber + \end{beamercolorbox}}% + \vskip0pt% +} + +\defbeamertemplate*{frametitle}{empty} +{ +} + +\defbeamertemplate*{frametitle}{normal} +{% + \vskip0.75cm% + \if@rhtext% + \@tempdima=0.5\textwidth% + \@tempdimb=0.5\textwidth% + \advance\@tempdima by0.5\beamer@leftmargin% + \advance\@tempdimb by-0.5\beamer@leftmargin% + \else% + \if@rqtext% + \@tempdima=0.23\textwidth% + \@tempdimb=0.77\textwidth% + \else% + \if@lhtext% + \@tempdima=0em% + \@tempdimb=0.5\textwidth% + \advance\@tempdimb by-0.5\beamer@leftmargin% + \else% + \if@lqtext% + \@tempdima=0em% + \@tempdimb=0.77\textwidth% + \else% + \if@bhtext% + \@tempdima=0em% + \@tempdimb=\textwidth% + \vskip0.5\textheight% + \else% + \@tempdima=0em% + \@tempdimb=\textwidth% + \fi% + \fi% + \fi% + \fi% + \fi% + \hskip\@tempdima% + \begin{beamercolorbox}[wd=\@tempdimb]{\maybeinverse frametitle}% + \usebeamerfont{frametitle}\insertframetitle\\[0.5ex]% + \ifx\insertframesubtitle\@empty% + {\usebeamerfont{framesubtitle}% + \usebeamercolor[fg]{\maybeinverse framesubtitle}~\strut\par}% + \vskip-1ex% + \else% + {\usebeamerfont{framesubtitle}% + \usebeamercolor[fg]{\maybeinverse framesubtitle}% + \insertframesubtitle\strut\par}% + \fi% + \if@tempswa\else\vskip-.3cm\fi% set inside beamercolorbox... evil here... + \end{beamercolorbox}% +} + +\newdimen\xloleft +\newdimen\yloleft +\newdimen\xupright +\newdimen\yupright +\newdimen\xcurrent +\newdimen\ycurrent +\newcommand\extractloleft[1]{\path (#1);\pgfgetlastxy{\xloleft}{\yloleft};} +\newcommand\extractupright[1]{\path (#1);\pgfgetlastxy{\xupright}{\yupright};} +\newcommand\extractcurrent[1]{\path (#1);\pgfgetlastxy{\xcurrent}{\ycurrent};} + +\DeclareRobustCommand\place{\@ifnextchar[{\@place}{\@place[align=left] }} +\def\@place[#1] at (#2,#3)#4{ + \begin{tikzpicture}[overlay,remember picture] + \extractloleft{$(current page.south west)$} + \extractupright{$(current page.north east)$} + \node[#1] at + ({\xloleft*(1-#2)+\xupright*#2},{\yloleft*(1-#3)+\yupright*#3}) {#4}; + \end{tikzpicture} +} + +\mode +<all> +%</bmrouter> +% \end{macrocode} % % \Finale \endinput |