diff options
author | Karl Berry <karl@freefriends.org> | 2021-10-04 20:28:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-10-04 20:28:54 +0000 |
commit | 0a50feb91cf2dd22fe5d98be0ab085b4262c656e (patch) | |
tree | c29b7e1050afea92282b352c08623e021107e033 /Master/texmf-dist/tex/latex/uantwerpendocs | |
parent | 0b1a953c4329c6015ac59aa773775496f8e6c5d2 (diff) |
uantwerpendocs (4oct21)
git-svn-id: svn://tug.org/texlive/trunk@60696 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/uantwerpendocs')
17 files changed, 633 insertions, 312 deletions
diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/beamercolorthemeuantwerpen.sty b/Master/texmf-dist/tex/latex/uantwerpendocs/beamercolorthemeuantwerpen.sty index 93068224efa..53b9c5dbd11 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/beamercolorthemeuantwerpen.sty +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/beamercolorthemeuantwerpen.sty @@ -24,9 +24,6 @@ %% %% The Current Maintainer of this work is Walter Daems. %% -\def\fileversion{4.1} -\def\filedate{2021/08/03} - @@ -51,7 +48,11 @@ \setbeamercolor{inverse subheading}{fg=white!75!maincolor} \setbeamercolor{block body}{bg=black!4} -\setbeamercolor{block title}{bg=black!8} +\setbeamercolor{block title}{bg=black!8,fg=maincolor} +\setbeamercolor{block body example}{bg=black!4} +\setbeamercolor{block title example}{bg=black!8} +\setbeamercolor{block body alerted}{bg=black!4} +\setbeamercolor{block title alerted}{bg=black!8} \setbeamercolor{itemize item}{parent=normal text} \setbeamercolor{enumerate item}{parent=normal text} diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/beamerfontthemeuantwerpen.sty b/Master/texmf-dist/tex/latex/uantwerpendocs/beamerfontthemeuantwerpen.sty index ad1d28033c0..06c12163d7d 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/beamerfontthemeuantwerpen.sty +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/beamerfontthemeuantwerpen.sty @@ -24,9 +24,6 @@ %% %% The Current Maintainer of this work is Walter Daems. %% -\def\fileversion{4.1} -\def\filedate{2021/08/03} - @@ -118,7 +115,7 @@ \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}{size=\small,series=\bfseries,parent={structure,block body}} \setbeamerfont{block title alerted}{parent={block title,alerted text}} \setbeamerfont{block title example}{parent={block title,example text}} diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/beamerinnerthemeuantwerpen.sty b/Master/texmf-dist/tex/latex/uantwerpendocs/beamerinnerthemeuantwerpen.sty index 30bf56b957b..9841dee7f87 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/beamerinnerthemeuantwerpen.sty +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/beamerinnerthemeuantwerpen.sty @@ -24,9 +24,6 @@ %% %% The Current Maintainer of this work is Walter Daems. %% -\def\fileversion{4.1} -\def\filedate{2021/08/03} - diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/beamerouterthemeuantwerpen.sty b/Master/texmf-dist/tex/latex/uantwerpendocs/beamerouterthemeuantwerpen.sty index 8cd0bc7fdb7..d3a0ff39f85 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/beamerouterthemeuantwerpen.sty +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/beamerouterthemeuantwerpen.sty @@ -24,9 +24,6 @@ %% %% The Current Maintainer of this work is Walter Daems. %% -\def\fileversion{4.1} -\def\filedate{2021/08/03} - diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/beamerthemeuantwerpen.sty b/Master/texmf-dist/tex/latex/uantwerpendocs/beamerthemeuantwerpen.sty index 278a309b8f2..b7bad38cd0a 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/beamerthemeuantwerpen.sty +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/beamerthemeuantwerpen.sty @@ -26,10 +26,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{beamerthemeuantwerpen} - [2021/08/03 v4.1 .dtx skeleton file] -\def\fileversion{4.1} -\def\filedate{2021/08/03} - + [2021/10/04 v4.2 .dtx skeleton file] diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenbamathesis.cls b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenbamathesis.cls index 4a7a5523694..841534140a8 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenbamathesis.cls +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenbamathesis.cls @@ -26,20 +26,18 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{uantwerpenbamathesis} - [2021/08/03 v4.1 .dtx skeleton file] -\def\fileversion{4.1} -\def\filedate{2021/08/03} + [2021/10/04 v4.2 .dtx skeleton file] \newif\if@filled \DeclareOption{filled}{\@filledtrue} \input{uantwerpencommonoptions.clo} \ExecuteOptions{a4paper,11pt,final,oneside,openright} \ProcessOptions\relax -\LoadClassWithOptions{book} +\LoadClassWithOptions{scrbook} \setlength{\parindent}{0pt} \addtolength{\parskip}{0.75\baselineskip} \setcounter{secnumdepth}{3} -\RequirePackage[top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry} -\RequirePackage{expl3} +\RequirePackage[top=2.6cm, bottom=2.5cm, left=3.5cm, right=1.6cm]{geometry} +\RequirePackage[check-declarations]{expl3} % I use this during debug phase \RequirePackage{xparse} \RequirePackage{iftex} \RequirePackage{xstring} @@ -48,23 +46,52 @@ \IfFileExists{shellesc.sty}{\RequirePackage{shellesc}}{} \newcommand{\@emptymacro}{} \RequirePackage{graphicx} +\RequirePackage{soul} \RequirePackage[export]{adjustbox} \RequirePackage{color} \RequirePackage{tikz} -\usetikzlibrary{positioning} +\usetikzlibrary{positioning,calc} \RequirePackage{eso-pic} \RequirePackage{uantwerpencolorlogoscheme} \RequirePackage{fancyhdr} -\definecolor{uacorpbord}{cmyk} {0.00,1.00,0.60,0.37} -\definecolor{uacorpblue}{cmyk} {1.00,0.25,0.00,0.50} -\definecolor{uacorplightblue}{cmyk}{1.00,0.00,0.08,0.13} -\definecolor{uacorporange}{cmyk} {0.00,0.32,1.00,0.09} -\definecolor{uaftifresh}{cmyk} {0.34,1.00,0.00,0.00} -\definecolor{uaftisober}{cmyk} {0.10,1.00,0.00,0.49} \definecolor{lightgray}{cmyk} {0.00,0.00,0.00,0.05} \definecolor{darkgray}{cmyk} {0.00,0.00,0.00,0.80} \definecolor{watermark}{cmyk} {0.00,0.00,0.00,0.05} +\newcommand\@uantwerpendocshl[1]{\begin{lrbox}{\@tempboxa}#1\end{lrbox}\@uantwerpendocshlbox{\@tempboxa}} +\newcommand{\@uantwerpendocshlbox}[1]{% + \tikz{% + \pgfpathrectangle{\pgfpoint{1pt}{0pt}}{\pgfpoint{\wd #1}{\ht #1}}% + \pgfusepath{use as bounding box}% + \node[anchor=base + west,align=center,fill=maincolor,text=white,outer sep=0pt,inner + xsep=5pt, inner ysep=0pt,minimum height=\ht\strutbox+1pt]{\raisebox{1pt}{\strut}\strut\usebox{#1}}; + }% +} +\newcommand\insettext[1]{ + \textcolor{basecolor}{ + \begin{tabular}{@{\hskip3ex\textcolor{maincolor}{\vrule width 2.5pt}\hskip3ex\large\bfseries}p{0.88\textwidth}} + \strut #1 + \end{tabular} + } +} +\newcommand\insetquote[1]{ + \insettext{ + \begin{tikzpicture}[scale=0.65] + \fill[green!60!black] (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}\\ + #1 + } +} \ExplSyntaxOn \prop_new:N \g__uantwerpendocs_data_prop \NewDocumentCommand{\uantwerpendocsprop}{m}{ @@ -111,9 +138,68 @@ } } {} + \uantwerpendocspropread{degree} + \uantwerpendocspropread{doctype} \makeatletter } - +\ExplSyntaxOn +\cs_generate_variant:Nn \prop_item:Nn{ Nx } +\NewDocumentCommand{\uantwerpendocsdoctype}{m}{ + \prop_item:Nx \g__uantwerpendocs_data_prop { #1 } +} +\ExplSyntaxOff +\newcommand\disclaimer[1]{ + Disclaimer #1\newline\newline + This document is an examination document that has not been + corrected for any errors identified. Without prior written + permission of both the supervisor(s) and the author(s), any copying, + copying, using or realizing this publication or parts thereof + is prohibited. For requests for information regarding the copying + and/or use and/or realisation of parts of this publication, please + contact to the university at which the author is registered. + \newline\newline + Prior written permission from the supervisor(s) is also + required for the use for industrial or commercial utility of the + (original) methods, products, circuits and programs described in this + thesis, and for the submission of this publication for participation + in scientific prizes or competitions. + \newline\newline + This document is in accordance with the master thesis regulations and the + Code of Conduct. It has been reviewed by the supervisor and the attendant. +} +\AtBeginDocument{ + \makeatother + \@ifpackageloaded{babel}{ + \addto\captionsdutch{% + \renewcommand\disclaimer[1]{ + Disclaimer #1\newline\newline + Dit document is een examendocument dat niet werd gecorrigeerd voor + eventueel vastgestelde fouten. Zonder voorafgaande schriftelijke + toestemming van zowel de promotor(en) als de auteur(s) is overnemen, + kopiëren, gebruiken of realiseren van deze uitgave of gedeelten ervan + verboden. Voor aanvragen tot of informatie i.v.m. het overnemen en/of + gebruik en/of realisatie van gedeelten uit deze publicatie, wendt u + tot de universiteit waaraan de auteur is ingeschreven. + \newline\newline + Voorafgaande schriftelijke toestemming van de promotor(en) is eveneens + vereist voor het aanwenden van de in dit afstudeerwerk beschreven + (originele) methoden, producten, schakelingen en programma's voor + industrieel of commercieel nut en voor de inzending van deze + publicatie ter deelname aan wetenschappelijke prijzen of wedstrijden. + \newline\newline + Dit document is in overeenstemming met het masterproefreglement en de + gedragscode en nagekeken door promotor en begeleider. + } + } + }{} + \makeatletter +} +\ExplSyntaxOn +\NewDocumentCommand{\uantwerpendocsdegree}{m}{ + \typeout{#1} + \prop_item:Nx \g__uantwerpendocs_data_prop { #1 } +} +\ExplSyntaxOff \newcommand*{\facultyacronym}[1]{ \PackageError{uantwerpendocs} {The '\protect\facultyacronym{}' macro is no longer available. Use @@ -121,17 +207,9 @@ {The interface of uantwerpendocs 4.0 has been changed. See the uantwerpendocs manual under section '5.2 The class options explained'} } +\newcommand*{\@companylogo}{} +\newcommand*{\companylogo}[1]{\renewcommand*{\@companylogo}{#1}} \ExplSyntaxOn -\NewDocumentCommand{\@subtitle}{m}{ - \tl_new:N \l__uantwerpendocs_degree - \tl_set:Nx \l__uantwerpendocs_degree { \tl_head:N \@degree } - \tl_if_eq:NnTF \l__uantwerpendocs_degree { B } {\uantwerpendocsprop{bthesisname}} { - \tl_if_eq:NnTF \l__uantwerpendocs_degree { M } {\uantwerpendocsprop{mthesisname}} - {\uantwerpendocsprop{thesisname}}} -} -\ExplSyntaxOff -\ExplSyntaxOn - \seq_new:N \g__uantwerpendocs_supervisors \seq_new:N \g__uantwerpendocs_supervisorswithaffiliation \cs_new:Nn \__uantwerpendocs_addsupervisor:nn { @@ -141,25 +219,85 @@ \NewDocumentCommand{\supervisor}{mm}{ \__uantwerpendocs_addsupervisor:nn { #1 } { #2 } } -\NewDocumentCommand{\jointsupervisors}{m}{ - \seq_use:Nn \g__uantwerpendocs_supervisors { #1 } +\NewDocumentCommand{\jointsupervisors}{mm}{ + \seq_use:Nnnn \g__uantwerpendocs_supervisors { #2 } { #1 } { #2 } } -\NewDocumentCommand{\jointsupervisorswithaffiliation}{m}{ - \seq_use:Nn \g__uantwerpendocs_supervisorswithaffiliation { #1 } +\NewDocumentCommand{\jointsupervisorswithaffiliation}{mm}{ + \seq_use:Nnnn \g__uantwerpendocs_supervisorswithaffiliation { #2 } { #1 } { #2 } } -\NewDocumentCommand{\supervisorsname}{}{ - \if_int_compare:w \seq_count:N \g__uantwerpendocs_supervisors > 1 - \uantwerpendocsprop{supervisorsname} +\NewDocumentCommand{\supervisorsname}{m}{ + \if_int_compare:w \seq_count:N \g__uantwerpendocs_supervisors > 2 + \uantwerpendocsprop{supervisorsname} #1 \else: - \if_int_compare:w \seq_count:N \g__uantwerpendocs_supervisors = 1 - \uantwerpendocsprop{supervisorname} + \if_int_compare:w \seq_count:N \g__uantwerpendocs_supervisors = 2 + \uantwerpendocsprop{supervisorname} #1 + \else: + \fi: + \fi: +} +\seq_new:N \g__uantwerpendocs_cosupervisors +\seq_new:N \g__uantwerpendocs_cosupervisorswithaffiliation +\cs_new:Nn \__uantwerpendocs_addcosupervisor:nn { + \seq_gpush:Nn \g__uantwerpendocs_cosupervisors { #1 } + \seq_gpush:Nn \g__uantwerpendocs_cosupervisorswithaffiliation { #1,~#2 } +} +\NewDocumentCommand{\cosupervisor}{mm}{ + \__uantwerpendocs_addcosupervisor:nn { #1 } { #2 } +} +\NewDocumentCommand{\jointcosupervisors}{mm}{ + \seq_use:Nnnn \g__uantwerpendocs_cosupervisors { #2 } { #1 } { #2 } +} +\NewDocumentCommand{\jointcosupervisorswithaffiliation}{mm}{ + \seq_use:Nnnn \g__uantwerpendocs_cosupervisorswithaffiliation { #2 } { #1 } { #2 } +} +\NewDocumentCommand{\cosupervisorsname}{m}{ + \if_int_compare:w \seq_count:N \g__uantwerpendocs_cosupervisors > 2 + \uantwerpendocsprop{cosupervisorsname} #1 + \else: + \if_int_compare:w \seq_count:N \g__uantwerpendocs_cosupervisors = 2 + \uantwerpendocsprop{cosupervisorname} #1 + \else: + \fi: + \fi: +} +\seq_new:N \g__uantwerpendocs_extsupervisors +\seq_new:N \g__uantwerpendocs_extsupervisorswithaffiliation +\cs_new:Nn \__uantwerpendocs_addextsupervisor:nn { + \seq_gpush:Nn \g__uantwerpendocs_extsupervisors { #1 } + \seq_gpush:Nn \g__uantwerpendocs_extsupervisorswithaffiliation { #1,~#2 } +} +\NewDocumentCommand{\extsupervisor}{mm}{ + \__uantwerpendocs_addextsupervisor:nn { #1 } { #2 } +} +\NewDocumentCommand{\jointextsupervisors}{mm}{ + \seq_use:Nnnn \g__uantwerpendocs_extsupervisors { #2 } { #1 } { #2 } +} +\NewDocumentCommand{\jointextsupervisorswithaffiliation}{mm}{ + \seq_use:Nnnn \g__uantwerpendocs_extsupervisorswithaffiliation { #2 } { #1 } { #2 } +} +\NewDocumentCommand{\extsupervisorsname}{m}{ + \if_int_compare:w \seq_count:N \g__uantwerpendocs_extsupervisors > 2 + \uantwerpendocsprop{extsupervisorsname} #1 + \else: + \if_int_compare:w \seq_count:N \g__uantwerpendocs_extsupervisors = 2 + \uantwerpendocsprop{extsupervisorname} #1 \else: \fi: \fi: } \AtBeginDocument{ + \seq_gpush:Nn \g__uantwerpendocs_supervisors {} \seq_greverse:N \g__uantwerpendocs_supervisors + \seq_gpush:Nn \g__uantwerpendocs_supervisorswithaffiliation {} \seq_greverse:N \g__uantwerpendocs_supervisorswithaffiliation + \seq_gpush:Nn \g__uantwerpendocs_cosupervisors {} + \seq_greverse:N \g__uantwerpendocs_cosupervisors + \seq_gpush:Nn \g__uantwerpendocs_cosupervisorswithaffiliation {} + \seq_greverse:N \g__uantwerpendocs_cosupervisorswithaffiliation + \seq_gpush:Nn \g__uantwerpendocs_extsupervisors {} + \seq_greverse:N \g__uantwerpendocs_extsupervisors + \seq_gpush:Nn \g__uantwerpendocs_extsupervisorswithaffiliation {} + \seq_greverse:N \g__uantwerpendocs_extsupervisorswithaffiliation } \ExplSyntaxOff \newcommand*\@degree{ @@ -169,6 +307,27 @@ {See the uantwerpendocs manual} } \newcommand*\degree[1]{\renewcommand*\@degree{#1}} +\newcommand*\@bamadoctype{ + \PackageError{uantwerpendocs} + {Please, specify the offical document type, either using + the '\protect\bamadoctype{}' macro or the '\protect\bamadegree{}' + macro in the preamble of your document.} + {See the uantwerpendocs manual}} +\newcommand*\bamadoctype[1]{ + \renewcommand*\@bamadoctype{\uantwerpendocsdoctype{#1}} +} +\ExplSyntaxOn +\NewDocumentCommand{\bamadegree}{m}{ + \seq_new:N \l__uantwerpendocs_degreechunks + \regex_extract_all:nnN { [^-]+ } { #1 } \l__uantwerpendocs_degreechunks + \bamadoctype{\seq_item:Nn\l__uantwerpendocs_degreechunks {2} - \seq_item:Nn\l__uantwerpendocs_degreechunks {3}} + \degree{\uantwerpendocsdegree{ + \seq_item:Nn\l__uantwerpendocs_degreechunks {1} - + \seq_item:Nn\l__uantwerpendocs_degreechunks {2} - + \seq_item:Nn\l__uantwerpendocs_degreechunks {3} - + \seq_item:Nn\l__uantwerpendocs_degreechunks {4} }} +} +\ExplSyntaxOff \newcommand*{\diploma}[1]{ \PackageError{uantwerpendocs} {The '\protect\diploma{}' macro is no longer available. Use @@ -177,28 +336,52 @@ '\protect\degree' macro to specify your degree in full text (see the uantwerpendocs manual)'} } -\newcommand*\@defensedate{ERROR} -\newcommand*{\defensedate}[1]{\renewcommand*\@defensedate{#1}} -\newcommand*\@defenselocation{Antwerpen} -\newcommand*{\defenselocation}[1]{\renewcommand*\@defenselocation{#1}} \newcommand*{\@academicyear}{XXX-YYYY} \newcommand*{\academicyear}[1]{\renewcommand*{\@academicyear}{#1}} -\if@twoside - \lhead[\thepage]{\slshape\rightmark} +\newcommand{\@copyrightnotices}{\disclaimer{\@bamadoctype}} +\ExplSyntaxOn +\seq_new:N \l_title_seq +\cs_generate_variant:Nn \seq_set_split:Nnn { Nnf } +\cs_new_nopar:Npn \__uantwerpendocs_reversevideo:f #1 +{ + \seq_set_split:Nnf \l_title_seq {~} { #1 } + \seq_set_map:NNn \l_title_seq \l_title_seq {\@uantwerpendocshl{##1}} + \seq_use:Nnnn \l_title_seq { ~ } { ~ } { ~ } +} +\NewDocumentCommand{\reversevideo}{m}{ + \__uantwerpendocs_reversevideo:f { #1 } +} +\ExplSyntaxOff +\AtBeginDocument{ + \setlength{\headheight}{13.7pt} + \renewcommand*{\headrulewidth}{0pt} + \renewcommand*{\footrulewidth}{0pt} + \newsavebox\smallogo + \savebox\smallogo{\raisebox{-1ex}{\includegraphics[width=2.5cm]{\logopos}}} + \if@twoside + \lhead[]{\footnotesize\slshape\rightmark} \chead[]{} - \rhead[\slshape\leftmark]{\thepage} - \lfoot[]{} - \cfoot[]{} - \rfoot[]{} -\else - \lhead[]{\leftmark} + \rhead[\footnotesize\slshape\leftmark]{} + \lfoot[\footnotesize\thepage~\textcolor{maincolor}{\textbf{|}}]{\usebox\smallogo} + \cfoot[\footnotesize\@bamadoctype]{\footnotesize\@bamadoctype} + \rfoot[\usebox\smallogo]{\footnotesize\textcolor{maincolor}{\textbf{|}}~\thepage} + \else + \lhead[]{\footnotesize\slshape\leftmark} \chead[]{} - \rhead[]{\thepage} - \lfoot[]{} - \cfoot[]{} - \rfoot[]{} -\fi + \rhead[]{} + \lfoot[]{\usebox\smallogo} + \cfoot[]{\footnotesize\@bamadoctype} + \rfoot[]{\footnotesize\textcolor{maincolor}{\textbf{|}}~\thepage} + \fi + \fancypagestyle{plain}{\pagestyle{fancy}} + % \patchcmd{\chapter}{\thispagestyle{plain}}{\thispagestyle{fancy}}{}{} +} +\newcommand{\@crnotice}{ + \@copyrightnotices +} +\addtokomafont{section}{\color{basecolor}} +\addtokomafont{chapter}{\color{basecolor}} \renewcommand\maketitle{% \pagestyle{empty} \begin{titlepage} @@ -206,61 +389,65 @@ \put(0,0){% \begin{tikzpicture}[inner sep=0pt,outer sep=0pt] \clip (0,0) rectangle(\paperwidth,\paperheight); - \fill[lightgray] - (2.125,{\paperheight-7.5cm}) rectangle (\paperwidth,6); - \node - [anchor=west,text width={\paperwidth-5cm},align=left,font=\Huge,uauaside] - at (2.125,{\paperheight-3cm}) - { - \textsf{\textbf{\@title}} + [anchor=north east,align=right] + at (\paperwidth-1.6cm,\paperheight-2.6cm) + {\bfseries\large + \uantwerpendocsprop{acyearname}\\[.75ex]\Large\@academicyear}; + \node (title) + [anchor=north west,align=left, + text width={\paperwidth-5.1cm},font=\Huge,text=white, + xshift=1pt] + at (3.5cm,\paperheight-6.4cm) + {\sethlcolor{maincolor}% + \textsf{\textbf{\reversevideo{\@title}}}\\ + \textsf{\reversevideo{\@subtitle}}}; + \node + [anchor=north west,font=\LARGE,yshift=-1cm,xshift=-1pt] + at (title.south west) + {% + \textsf{\textbf{\@author}} }; \node - [anchor=west,text width={\paperwidth-5cm},align=left,font=\Large,uauaside] - at (2.125,{\paperheight-5cm}) - { - \textsf{\textbf{\@subtitle}} + [anchor=west,align=left, + text width={\paperwidth-5.1cm},font=\normalsize] + at (3.5cm,12cm) + {\textsf{\@bamadoctype}\\% + \textsf{\textbf{\@degree}} }; \node - [anchor=base west,uauamain, - text width={\paperwidth-5cm},align=left,font=\LARGE] - at (2.125,{\paperheight-6.5cm}) - {\textsf{\textbf{\@author}}}; - - \fill[gray] (2.125,6) - -- (\paperwidth,6) - -- (\paperwidth,2.625) - -- (2.55,2.625) - arc (-90:-180:0.425) - -- cycle; - - \node[white,anchor=west,align=left,font=\large] - (SN) at (2.55,4.9) - { - \begin{tabular}{@{}l@{~\,}p{14.5cm}} - \textsf{\supervisorsname} - & \textsf{\textbf{\jointsupervisors{ | }}} - \end{tabular} + [anchor=west,align=left, + text width={\paperwidth-5.1cm},font=\normalsize] + at (3.5cm,7.5cm) + {\supervisorsname{\\} + \textbf{\jointsupervisorswithaffiliation{\\}{~\\~\\}}% + \cosupervisorsname{\\} + \textbf{\jointcosupervisorswithaffiliation{\\}{~\\~\\}}% + \extsupervisorsname{\\} + \textbf{\jointextsupervisorswithaffiliation{\\}{}} }; - \node[white,anchor=west,text width=17.5cm,align=left,font=\small] - at (2.55,3.7) - {\textsf{\uantwerpendocsprop{bmthesisname} - \@degree{}}\\ - \textsf{\textbf{\@faculty{} - | \@defenselocation, \@defensedate}}}; + \ifx\@companylogo\@empty + \else + \node[anchor=south east] at + (\pagewidth-1.6cm,1.5cm) + {\@companylogo}; + \fi - \node[anchor=west] at - (2.125,1.313) - {\includegraphics[width=4.75cm]{\logoposua}}; + \node[anchor=south west] at + (1.6cm,1.5cm) + {\includegraphics[width=6.2cm]{\logopos}}; \end{tikzpicture} } } \end{titlepage}% ~\par\relax \clearpage + \vspace*{\stretch{1}} + \@crnotice + \clearpage \setcounter{footnote}{0}% \global\let\thanks\relax \global\let\maketitle\relax @@ -273,19 +460,6 @@ \thispagestyle{empty} } \newcommand\makefinalpage{ - \cleardoublepage - \thispagestyle{empty} - ~% intentionally blank page - \clearpage - \thispagestyle{empty} - \begin{tikzpicture}[remember picture,overlay] - \node at (current page.center) { - \begin{tikzpicture}[inner sep=0pt] - \clip (0,0) rectangle(\paperwidth,\paperheight); - \fill[lightgray] (0,0) rectangle (2.125cm,2.625cm); - \end{tikzpicture} - }; - \end{tikzpicture} } \AtBeginDocument{ \@ifpackageloaded{hyperref}{ diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencolorlogoscheme.sty b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencolorlogoscheme.sty index 9f651a774e5..27bfa0fae89 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencolorlogoscheme.sty +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencolorlogoscheme.sty @@ -25,9 +25,7 @@ %% The Current Maintainer of this work is Walter Daems. %% \ProvidesPackage{uantwerpencolorlogoscheme} - [2021/08/03 v4.1 .dtx skeleton file] -\def\fileversion{4.1} -\def\filedate{2021/08/03} + [2021/10/04 v4.2 .dtx skeleton file] \if@cmyk %% UAntwerpen \definecolor{uauamain}{cmyk}{0.00,0.96,0.82,0.01} @@ -109,7 +107,6 @@ \fi - \endinput %% %% End of file `uantwerpencolorlogoscheme.sty'. diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencommonoptions.clo b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencommonoptions.clo index 0e61b9536df..facc845dc71 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencommonoptions.clo +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencommonoptions.clo @@ -25,8 +25,6 @@ %% The Current Maintainer of this work is Walter Daems. %% \ProvidesFile{uantwerpencommonoptions.clo} -\def\fileversion{4.1} -\def\filedate{2021/08/03} \newif\if@neutralcolors \@neutralcolorsfalse \DeclareOption{neutralcolors}{\@neutralcolorstrue} @@ -137,7 +135,6 @@ } - \endinput %% %% End of file `uantwerpencommonoptions.clo'. diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencoursetext.cls b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencoursetext.cls index 15717027e3d..153d4f6ebfc 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencoursetext.cls +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencoursetext.cls @@ -26,9 +26,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{uantwerpencoursetext} - [2021/08/03 v4.1 .dtx skeleton file] -\def\fileversion{4.1} -\def\filedate{2021/08/03} + [2021/10/04 v4.2 .dtx skeleton file] \newif\if@modern \@modernfalse \DeclareOption{modern}{\@moderntrue} @@ -46,7 +44,7 @@ \addtolength{\parskip}{0.75\baselineskip} \setcounter{secnumdepth}{3} \RequirePackage[top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry} -\RequirePackage{expl3} +\RequirePackage[check-declarations]{expl3} % I use this during debug phase \RequirePackage{xparse} \RequirePackage{iftex} \RequirePackage{xstring} @@ -55,10 +53,11 @@ \IfFileExists{shellesc.sty}{\RequirePackage{shellesc}}{} \newcommand{\@emptymacro}{} \RequirePackage{graphicx} +\RequirePackage{soul} \RequirePackage[export]{adjustbox} \RequirePackage{color} \RequirePackage{tikz} -\usetikzlibrary{positioning} +\usetikzlibrary{positioning,calc} \RequirePackage{eso-pic} \if@copyright \RequirePackage[contents={},color=lightgray,scale=3]{background} @@ -66,15 +65,33 @@ \RequirePackage{uantwerpencolorlogoscheme} \RequirePackage{fancyhdr} -\definecolor{uacorpbord}{cmyk} {0.00,1.00,0.60,0.37} -\definecolor{uacorpblue}{cmyk} {1.00,0.25,0.00,0.50} -\definecolor{uacorplightblue}{cmyk}{1.00,0.00,0.08,0.13} -\definecolor{uacorporange}{cmyk} {0.00,0.32,1.00,0.09} -\definecolor{uaftifresh}{cmyk} {0.34,1.00,0.00,0.00} -\definecolor{uaftisober}{cmyk} {0.10,1.00,0.00,0.49} \definecolor{lightgray}{cmyk} {0.00,0.00,0.00,0.05} \definecolor{darkgray}{cmyk} {0.00,0.00,0.00,0.80} \definecolor{watermark}{cmyk} {0.00,0.00,0.00,0.05} +\newcommand\insettext[1]{ + \textcolor{basecolor}{ + \begin{tabular}{@{\hskip3ex\textcolor{maincolor}{\vrule width 2.5pt}\hskip3ex\large\bfseries}p{0.88\textwidth}} + \strut #1 + \end{tabular} + } +} +\newcommand\insetquote[1]{ + \insettext{ + \begin{tikzpicture}[scale=0.65] + \fill[green!60!black] (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}\\ + #1 + } +} \ExplSyntaxOn \prop_new:N \g__uantwerpendocs_data_prop \NewDocumentCommand{\uantwerpendocsprop}{m}{ @@ -121,9 +138,10 @@ } } {} + \uantwerpendocspropread{degree} + \uantwerpendocspropread{doctype} \makeatletter } - \newcommand*{\facultyacronym}[1]{ \PackageError{uantwerpendocs} {The '\protect\facultyacronym{}' macro is no longer available. Use @@ -162,7 +180,9 @@ \if_int_compare:w \seq_count:N \g__uantwerpendocs_lecturers > 1 \uantwerpendocsprop{lecturersname} \else: + \if_int_compare:w \seq_count:N \g__uantwerpendocs_lecturers > 0 \uantwerpendocsprop{lecturername} + \fi \fi: } \AtBeginDocument{ @@ -177,6 +197,27 @@ {See the uantwerpendocs manual} } \newcommand*\degree[1]{\renewcommand*\@degree{#1}} +\newcommand*\@bamadoctype{ + \PackageError{uantwerpendocs} + {Please, specify the offical document type, either using + the '\protect\bamadoctype{}' macro or the '\protect\bamadegree{}' + macro in the preamble of your document.} + {See the uantwerpendocs manual}} +\newcommand*\bamadoctype[1]{ + \renewcommand*\@bamadoctype{\uantwerpendocsdoctype{#1}} +} +\ExplSyntaxOn +\NewDocumentCommand{\bamadegree}{m}{ + \seq_new:N \l__uantwerpendocs_degreechunks + \regex_extract_all:nnN { [^-]+ } { #1 } \l__uantwerpendocs_degreechunks + \bamadoctype{\seq_item:Nn\l__uantwerpendocs_degreechunks {2} - \seq_item:Nn\l__uantwerpendocs_degreechunks {3}} + \degree{\uantwerpendocsdegree{ + \seq_item:Nn\l__uantwerpendocs_degreechunks {1} - + \seq_item:Nn\l__uantwerpendocs_degreechunks {2} - + \seq_item:Nn\l__uantwerpendocs_degreechunks {3} - + \seq_item:Nn\l__uantwerpendocs_degreechunks {4} }} +} +\ExplSyntaxOff \newcommand*{\programme}[3]{ \PackageError{uantwerpendocs} {The '\protect\programme{}{}{}' macro is no longer available. Use diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpendocs-degree.data b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpendocs-degree.data new file mode 100644 index 00000000000..eed1ec09c90 --- /dev/null +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpendocs-degree.data @@ -0,0 +1,44 @@ + +ti-nl-ba-bk = Bachelor of Science in de industriële wetenschappen: bouwkunde +ti-nl-ba-ch = Bachelor of Science in de industriële wetenschappen: chemie +ti-nl-ba-em = Bachelor of Science in de industriële wetenschappen: elektromechanica +ti-nl-ba-ei = Bachelor of Science in de industriële wetenschappen: elektronica-ICT +ti-nl-ma-bk = Master of Science in de industriële wetenschappen: bouwkunde +ti-nl-ma-bch = Master of Science in de industriële wetenschappen: biochemie +ti-nl-ma-ch = Master of Science in de industriële wetenschappen: chemie +ti-nl-ma-em = Master of Science in de industriële wetenschappen: elektromechanica +ti-nl-ma-ei = Master of Science in de industriële wetenschappen: elektronica-ICT +ti-en-ma-ei = Master of Science in Electronics and ICT Engineering Technology +ti-nl-eduma-wtstem = Educatieve master of Science in de wetenschappen en technologie: STEM +we-nl-eduma-wtstem = Educatieve master of Science in de wetenschappen en technologie: STEM +we-nl-eduma-wtbchbt = Educatieve master of Science in de wetenschappen en technologie: biochemie en biotechnologie +we-nl-eduma-wtbio = Educatieve master of Science in de wetenschappen en technologie: biologie +we-nl-eduma-wtch = Educatieve master of Science in de wetenschappen en technologie: chemie +we-nl-eduma-wtfy = Educatieve master of Science in de wetenschappen en technologie: fysica +we-nl-eduma-wtinf = Educatieve master of Science in de wetenschappen en technologie: informatica +we-nl-eduma-wtwi = Educatieve master of Science in de wetenschappen en technologie: wiskunde +we-nl-ba-bircg = Bachelor of Science in de bio-ingenieurswetenschappen: cel- en genbiotechnologie +we-nl-ba-birvt = Bachelor of Science in de bio-ingenieurswetenschappen: chemie en voedingstechnologie +we-nl-ba-birlb = Bachelor of Science in de bio-ingenieurswetenschappen: land- en bosbeheer +we-nl-ba-birmt = Bachelor of Science in de bio-ingenieurswetenschappen: milieutechnologie +we-nl-ba-bio = Bachelor of Science in de biologie +we-nl-ma-bioeg = Master of Science in de biologie: evolutie en gedragsbiologie +we-en-ma-biocr = Master of Science in biology: biodiversity, conservation and restoration +we-en-ma-biogcb = Master of Science in biology: global change biology +we-en-ma-biomb = Master of Science in molecular biology +we-nl-ba-ch = Bachelor of Science in de chemie +we-en-ma-ch = Master of Science in chemistry +we-nl-ba-inf = Bachelor of Science in de informatica +we-en-ma-infcn = Master of Science in computer science: computer networks +we-en-ma-infdsai = Master of Science in computer science: data science and artificial intelligence +we-en-ma-infse = Master of Science in computer science: software engineering +we-nl-ma-infcn = Master of Science in de informatica: computernetwerken +we-nl-ma-infdsai = Master of Science in de informatica: data science en artificiële intelligentie +we-nl-ma-infse = Master of Science in de informatica: software engineering +we-nl-ba-fy = Bachelor of Science in de fysica +we-nl-ma-fy = Master of Science in de fysica +we-en-ma-fy = Master of Science in physics +we-nl-ba-wi = Master of Science in wiskunde +we-nl-ma-wifw = Master of Science in wiskunde: fundamentele wiskunde +we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskunde + diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpendocs-doctype.data b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpendocs-doctype.data new file mode 100644 index 00000000000..f92d2b6069a --- /dev/null +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpendocs-doctype.data @@ -0,0 +1,8 @@ + +nl-ba = Bachelorproef +nl-ma = Masterproef +nl-pr = Projectverslag +en-ba = Bachelor's thesis +en-ma = Master's thesis +en-pr = Project report + diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpendocs-en.data b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpendocs-en.data index 777ddb2d6d8..024eb68df0f 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpendocs-en.data +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpendocs-en.data @@ -1,51 +1,52 @@ -\def\fileversion{4.1} -\def\filedate{2021/08/03} - -org-be = Faculty of Business and Economics -org-fbd = Faculty of Pharmaceutical, Biomedical and Veterinary Sciences -org-ggw = Medicine and Health Sciences -org-lw = Faculty of Arts -org-ow = Faculty of Design Sciences -org-re = Faculty of Law -org-sw = Faculty of Social Sciences -org-ti = Faculty of Applied Engineering -org-we = Faculty of Science -org-iob = Institute of Development Policy -org-ua = University of Antwerp -arr = All rights reserved -of = of -domainname = uantwerp.be -datename = Date -subjectname = Subject -acyearname = Academic year -baname = Bachelor of Science -spname = Switching Programme -vpname = Preparatory Programme -maname = Master of Science -phdname = PhD -thesisname = Thesis -mthesisname = Master's thesis -bthesisname = Bachelor's thesis -lecturername = Lecturer -lecturersname = Lecturers -supervisorname = Supervisor -supervisorsname = Supervisors -examname = Exam --- Examen -seriesname = Series -lastname = Last name --- Naam -firstname = First name --- Voornaam -docketname = Docket No. --- Rolnr. -roomname = Room --- Lokaal -roomsname = Rooms --- Lokalen -examstartname = Start --- Begin -examendname = End --- Einde -examdurationname = Exam duration --- Duur van het examen -juryname = Jury -jurymembersname = Members -jurychairmanname = Chairman -bmthesisname = Thesis to obtain the degree of -pthesisnamei = Thesis submitted in fulfilment of the requirements for the degree of -pthesisnameii = at University of Antwerp -weightname = Weight +org-be = Faculty of Business and Economics +org-fbd = Faculty of Pharmaceutical, Biomedical and Veterinary Sciences +org-ggw = Medicine and Health Sciences +org-lw = Faculty of Arts +org-ow = Faculty of Design Sciences +org-re = Faculty of Law +org-sw = Faculty of Social Sciences +org-ti = Faculty of Applied Engineering +org-we = Faculty of Science +org-iob = Institute of Development Policy +org-ua = University of Antwerp +arr = All rights reserved +of = of +domainname = uantwerp.be +datename = Date +subjectname = Subject +acyearname = Academic year +baname = Bachelor of Science +spname = Switching Programme +vpname = Preparatory Programme +maname = Master of Science +phdname = PhD +thesisname = Thesis +mthesisname = Master's thesis +bthesisname = Bachelor's thesis +lecturername = Lecturer +lecturersname = Lecturers +supervisorname = Supervisor +supervisorsname = Supervisors +cosupervisorname = Cosupervisor +cosupervisorsname = Cosupervisors +extsupervisorname = External supervisor +extsupervisorsname = External supervisors +examname = Exam --- Examen +seriesname = Series +lastname = Last name --- Naam +firstname = First name --- Voornaam +docketname = Docket No. --- Rolnr. +roomname = Room --- Lokaal +roomsname = Rooms --- Lokalen +examstartname = Start --- Begin +examendname = End --- Einde +examdurationname = Exam duration --- Duur van het examen +juryname = Jury +jurymembersname = Members +jurychairmanname = Chairman +bmthesisname = Thesis to obtain the degree of +pthesisnamei = Thesis submitted in fulfilment of the requirements for the degree of +pthesisnameii = at University of Antwerp +weightname = Weight diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpendocs-nl.data b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpendocs-nl.data index 2cf8e9e0a4d..58772d70900 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpendocs-nl.data +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpendocs-nl.data @@ -1,51 +1,52 @@ -\def\fileversion{4.1} -\def\filedate{2021/08/03} - -org-be = Faculteit Bedrijfswetenschappen en Economie -org-fbd = Faculteit Farmaceutische, Biomedische en Diergeneeskundige Wetenschappen -org-ggw = Faculteit Geneeskunde en Gezondheidswetenschappen -org-lw = Faculteit Letteren en Wijsbegeerte -org-ow = Faculteit Ontwerpwetenschappen -org-re = Faculteit Rechten -org-sw = Faculteit Sociale Wetenschappen -org-ti = Faculteit Toegepaste Ingenieurswetenschappen -org-we = Faculteit Wetenschappen -org=iob = Instituut voor Ontwikkelingsbeleid- en beheer -org-ua = Universiteit Antwerpen -arr = Alle rechten voorbehouden -of = van -domainname = uantwerpen.be -datename = Onderwerp -subjectname = Datum -acyearname = Academiejaar -baname = Bachelor of Science -spname = Schakelprogramma -vpname = Voorbereidingsprogramma -maname = Master of Science -phdname = Doctoraat -thesisname = Afstudeerproef -mthesisname = Masterproef -bthesisname = Bachelorproef -lecturername = Titularis -lecturersname = Titularissen -supervisorname = Promotor -supervisorsname = Promotoren -examname = Examen -seriesname = Reeks -lastname = Naam -firstname = Voornaam -docketname = Rolnr. -roomname = Lokaal -roomsname = Lokalen -examstartname = Begin -examendname = Einde -examdurationname = Duur van het examen -juryname = Jury -jurymembersname = Leden -jurychairmanname = Voorzitter -bmthesisname = Proefschrift tot het behalen van de graad van -pthesisnamei = Proefschrift voorgelegd tot het behalen van de graad van -pthesisnameii = aan de Universiteit Antwerpen te verdedigen door -weightname = Gewicht +org-be = Faculteit Bedrijfswetenschappen en Economie +org-fbd = Faculteit Farmaceutische, Biomedische en Diergeneeskundige Wetenschappen +org-ggw = Faculteit Geneeskunde en Gezondheidswetenschappen +org-lw = Faculteit Letteren en Wijsbegeerte +org-ow = Faculteit Ontwerpwetenschappen +org-re = Faculteit Rechten +org-sw = Faculteit Sociale Wetenschappen +org-ti = Faculteit Toegepaste Ingenieurswetenschappen +org-we = Faculteit Wetenschappen +org=iob = Instituut voor Ontwikkelingsbeleid- en beheer +org-ua = Universiteit Antwerpen +arr = Alle rechten voorbehouden +of = van +domainname = uantwerpen.be +datename = Onderwerp +subjectname = Datum +acyearname = Academiejaar +baname = Bachelor of Science +spname = Schakelprogramma +vpname = Voorbereidingsprogramma +maname = Master of Science +phdname = Doctoraat +thesisname = Afstudeerproef +mthesisname = Masterproef +bthesisname = Bachelorproef +lecturername = Titularis +lecturersname = Titularissen +supervisorname = Promotor +supervisorsname = Promotoren +cosupervisorname = Copromotor +cosupervisorsname = Copromotoren +extsupervisorname = Externe Promotor +extsupervisorsname = Externe Promotoren +examname = Examen +seriesname = Reeks +lastname = Naam +firstname = Voornaam +docketname = Rolnr. +roomname = Lokaal +roomsname = Lokalen +examstartname = Begin +examendname = Einde +examdurationname = Duur van het examen +juryname = Jury +jurymembersname = Leden +jurychairmanname = Voorzitter +bmthesisname = Proefschrift tot het behalen van de graad van +pthesisnamei = Proefschrift voorgelegd tot het behalen van de graad van +pthesisnameii = aan de Universiteit Antwerpen te verdedigen door +weightname = Gewicht diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenexam.cls b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenexam.cls index 4172a414c01..827087e2a99 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenexam.cls +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenexam.cls @@ -26,9 +26,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{uantwerpenexam} - [2021/08/03 v4.1 .dtx skeleton file] -\def\fileversion{4.1} -\def\filedate{2021/08/03} + [2021/10/04 v4.2 .dtx skeleton file] \newif\if@examiner \DeclareOption{examiner}{\@examinertrue} \input{uantwerpencommonoptions.clo} @@ -39,7 +37,7 @@ \addtolength{\parskip}{0.75\baselineskip} \setcounter{secnumdepth}{3} \RequirePackage[top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry} -\RequirePackage{expl3} +\RequirePackage[check-declarations]{expl3} % I use this during debug phase \RequirePackage{xparse} \RequirePackage{iftex} \RequirePackage{xstring} @@ -48,20 +46,15 @@ \IfFileExists{shellesc.sty}{\RequirePackage{shellesc}}{} \newcommand{\@emptymacro}{} \RequirePackage{graphicx} +\RequirePackage{soul} \RequirePackage[export]{adjustbox} \RequirePackage{color} \RequirePackage{tikz} -\usetikzlibrary{positioning} +\usetikzlibrary{positioning,calc} \RequirePackage{eso-pic} \RequirePackage{uantwerpencolorlogoscheme} \RequirePackage{fancyhdr} -\definecolor{uacorpbord}{cmyk} {0.00,1.00,0.60,0.37} -\definecolor{uacorpblue}{cmyk} {1.00,0.25,0.00,0.50} -\definecolor{uacorplightblue}{cmyk}{1.00,0.00,0.08,0.13} -\definecolor{uacorporange}{cmyk} {0.00,0.32,1.00,0.09} -\definecolor{uaftifresh}{cmyk} {0.34,1.00,0.00,0.00} -\definecolor{uaftisober}{cmyk} {0.10,1.00,0.00,0.49} \definecolor{lightgray}{cmyk} {0.00,0.00,0.00,0.05} \definecolor{darkgray}{cmyk} {0.00,0.00,0.00,0.80} \definecolor{watermark}{cmyk} {0.00,0.00,0.00,0.05} @@ -111,9 +104,10 @@ } } {} + \uantwerpendocspropread{degree} + \uantwerpendocspropread{doctype} \makeatletter } - \newcommand*{\facultyacronym}[1]{ \PackageError{uantwerpendocs} {The '\protect\facultyacronym{}' macro is no longer available. Use @@ -140,7 +134,9 @@ \if_int_compare:w \seq_count:N \g__uantwerpendocs_lecturers > 1 \uantwerpendocsprop{lecturersname} \else: + \if_int_compare:w \seq_count:N \g__uantwerpendocs_lecturers > 0 \uantwerpendocsprop{lecturername} + \fi \fi: } \AtBeginDocument{ @@ -155,6 +151,27 @@ {See the uantwerpendocs manual} } \newcommand*\degree[1]{\renewcommand*\@degree{#1}} +\newcommand*\@bamadoctype{ + \PackageError{uantwerpendocs} + {Please, specify the offical document type, either using + the '\protect\bamadoctype{}' macro or the '\protect\bamadegree{}' + macro in the preamble of your document.} + {See the uantwerpendocs manual}} +\newcommand*\bamadoctype[1]{ + \renewcommand*\@bamadoctype{\uantwerpendocsdoctype{#1}} +} +\ExplSyntaxOn +\NewDocumentCommand{\bamadegree}{m}{ + \seq_new:N \l__uantwerpendocs_degreechunks + \regex_extract_all:nnN { [^-]+ } { #1 } \l__uantwerpendocs_degreechunks + \bamadoctype{\seq_item:Nn\l__uantwerpendocs_degreechunks {2} - \seq_item:Nn\l__uantwerpendocs_degreechunks {3}} + \degree{\uantwerpendocsdegree{ + \seq_item:Nn\l__uantwerpendocs_degreechunks {1} - + \seq_item:Nn\l__uantwerpendocs_degreechunks {2} - + \seq_item:Nn\l__uantwerpendocs_degreechunks {3} - + \seq_item:Nn\l__uantwerpendocs_degreechunks {4} }} +} +\ExplSyntaxOff \newcommand*{\programme}[3]{ \PackageError{uantwerpendocs} {The '\protect\programme{}{}{}' macro is no longer available. Use diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenletter.cls b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenletter.cls index f4f748f37b1..7db3920346e 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenletter.cls +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenletter.cls @@ -26,9 +26,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{uantwerpenletter} - [2021/08/03 v4.1 .dtx skeleton file] -\def\fileversion{4.1} -\def\filedate{2021/08/03} + [2021/10/04 v4.2 .dtx skeleton file] \newif\if@filled \DeclareOption{filled}{\@filledtrue} \input{uantwerpencommonoptions.clo} @@ -41,7 +39,7 @@ \setcounter{secnumdepth}{3} \RequirePackage[top=1in, bottom=1in, left=1.34in, right=1in]{geometry} \RequirePackage[normalem]{ulem} -\RequirePackage{expl3} +\RequirePackage[check-declarations]{expl3} % I use this during debug phase \RequirePackage{xparse} \RequirePackage{iftex} \RequirePackage{xstring} @@ -50,20 +48,15 @@ \IfFileExists{shellesc.sty}{\RequirePackage{shellesc}}{} \newcommand{\@emptymacro}{} \RequirePackage{graphicx} +\RequirePackage{soul} \RequirePackage[export]{adjustbox} \RequirePackage{color} \RequirePackage{tikz} -\usetikzlibrary{positioning} +\usetikzlibrary{positioning,calc} \RequirePackage{eso-pic} \RequirePackage{uantwerpencolorlogoscheme} \RequirePackage{fancyhdr} -\definecolor{uacorpbord}{cmyk} {0.00,1.00,0.60,0.37} -\definecolor{uacorpblue}{cmyk} {1.00,0.25,0.00,0.50} -\definecolor{uacorplightblue}{cmyk}{1.00,0.00,0.08,0.13} -\definecolor{uacorporange}{cmyk} {0.00,0.32,1.00,0.09} -\definecolor{uaftifresh}{cmyk} {0.34,1.00,0.00,0.00} -\definecolor{uaftisober}{cmyk} {0.10,1.00,0.00,0.49} \definecolor{lightgray}{cmyk} {0.00,0.00,0.00,0.05} \definecolor{darkgray}{cmyk} {0.00,0.00,0.00,0.80} \definecolor{watermark}{cmyk} {0.00,0.00,0.00,0.05} @@ -113,9 +106,10 @@ } } {} + \uantwerpendocspropread{degree} + \uantwerpendocspropread{doctype} \makeatletter } - \newcommand*{\facultyacronym}[1]{ \PackageError{uantwerpendocs} {The '\protect\facultyacronym{}' macro is no longer available. Use @@ -205,7 +199,7 @@ }; \end{tikzpicture} ~\\[3ex] - \textcolor{uacorpblue}{\bf \@sender} + \textcolor{uauaside}{\textbf{\@sender}} \ifx\@senderrole\@emptymacro\\[1.75ex]\else \\*\@senderrole\\[1.75ex]\fi \@faculty \ifx\@unit\@emptymacro\else\\* \@unit\fi~\\[1.75ex] diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenphdthesis.cls b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenphdthesis.cls index b8571e27b00..3aa93735a2c 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenphdthesis.cls +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenphdthesis.cls @@ -26,9 +26,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{uantwerpenphdthesis} - [2021/08/03 v4.1 .dtx skeleton file] -\def\fileversion{4.1} -\def\filedate{2021/08/03} + [2021/10/04 v4.2 .dtx skeleton file] \newif\if@filled \DeclareOption{filled}{\@filledtrue} \newif\if@cameraready @@ -43,7 +41,7 @@ \RequirePackage[paperwidth=180mm,paperheight=260mm, top=2.5cm,bottom=2.5cm,left=2.6cm,right=1.8cm,twoside] {geometry} -\RequirePackage{expl3} +\RequirePackage[check-declarations]{expl3} % I use this during debug phase \RequirePackage{xparse} \RequirePackage{iftex} \RequirePackage{xstring} @@ -52,24 +50,43 @@ \IfFileExists{shellesc.sty}{\RequirePackage{shellesc}}{} \newcommand{\@emptymacro}{} \RequirePackage{graphicx} +\RequirePackage{soul} \RequirePackage[export]{adjustbox} \RequirePackage{color} \RequirePackage{tikz} -\usetikzlibrary{positioning} +\usetikzlibrary{positioning,calc} \RequirePackage{eso-pic} \usepackage{ean13isbn} \RequirePackage{uantwerpencolorlogoscheme} \RequirePackage{fancyhdr} -\definecolor{uacorpbord}{cmyk} {0.00,1.00,0.60,0.37} -\definecolor{uacorpblue}{cmyk} {1.00,0.25,0.00,0.50} -\definecolor{uacorplightblue}{cmyk}{1.00,0.00,0.08,0.13} -\definecolor{uacorporange}{cmyk} {0.00,0.32,1.00,0.09} -\definecolor{uaftifresh}{cmyk} {0.34,1.00,0.00,0.00} -\definecolor{uaftisober}{cmyk} {0.10,1.00,0.00,0.49} \definecolor{lightgray}{cmyk} {0.00,0.00,0.00,0.05} \definecolor{darkgray}{cmyk} {0.00,0.00,0.00,0.80} \definecolor{watermark}{cmyk} {0.00,0.00,0.00,0.05} +\newcommand\insettext[1]{ + \textcolor{basecolor}{ + \begin{tabular}{@{\hskip3ex\textcolor{maincolor}{\vrule width 2.5pt}\hskip3ex\large\bfseries}p{0.88\textwidth}} + \strut #1 + \end{tabular} + } +} +\newcommand\insetquote[1]{ + \insettext{ + \begin{tikzpicture}[scale=0.65] + \fill[green!60!black] (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}\\ + #1 + } +} \if@cameraready \RequirePackage[cam,center,width=21truecm,height=29.7truecm]{crop} \fi @@ -119,9 +136,10 @@ } } {} + \uantwerpendocspropread{degree} + \uantwerpendocspropread{doctype} \makeatletter } - \newcommand*{\facultyacronym}[1]{ \PackageError{uantwerpendocs} {The '\protect\facultyacronym{}' macro is no longer available. Use @@ -142,7 +160,6 @@ } \newcommand\affiliation[1]{\renewcommand\@affiliation{#1}} \ExplSyntaxOn - \seq_new:N \g__uantwerpendocs_supervisors \seq_new:N \g__uantwerpendocs_supervisorswithaffiliation \cs_new:Nn \__uantwerpendocs_addsupervisor:nn { @@ -152,24 +169,26 @@ \NewDocumentCommand{\supervisor}{mm}{ \__uantwerpendocs_addsupervisor:nn { #1 } { #2 } } -\NewDocumentCommand{\jointsupervisors}{m}{ - \seq_use:Nn \g__uantwerpendocs_supervisors { #1 } +\NewDocumentCommand{\jointsupervisors}{mm}{ + \seq_use:Nnnn \g__uantwerpendocs_supervisors { #2 } { #1 } { #2 } } -\NewDocumentCommand{\jointsupervisorswithaffiliation}{m}{ - \seq_use:Nn \g__uantwerpendocs_supervisorswithaffiliation { #1 } +\NewDocumentCommand{\jointsupervisorswithaffiliation}{mm}{ + \seq_use:Nnnn \g__uantwerpendocs_supervisorswithaffiliation { #2 } { #1 } { #2 } } -\NewDocumentCommand{\supervisorsname}{}{ - \if_int_compare:w \seq_count:N \g__uantwerpendocs_supervisors > 1 - \uantwerpendocsprop{supervisorsname} +\NewDocumentCommand{\supervisorsname}{m}{ + \if_int_compare:w \seq_count:N \g__uantwerpendocs_supervisors > 2 + \uantwerpendocsprop{supervisorsname} #1 \else: - \if_int_compare:w \seq_count:N \g__uantwerpendocs_supervisors = 1 - \uantwerpendocsprop{supervisorname} + \if_int_compare:w \seq_count:N \g__uantwerpendocs_supervisors = 2 + \uantwerpendocsprop{supervisorname} #1 \else: \fi: \fi: } \AtBeginDocument{ + \seq_gpush:Nn \g__uantwerpendocs_supervisors {} \seq_greverse:N \g__uantwerpendocs_supervisors + \seq_gpush:Nn \g__uantwerpendocs_supervisorswithaffiliation {} \seq_greverse:N \g__uantwerpendocs_supervisorswithaffiliation } \ExplSyntaxOff @@ -213,6 +232,27 @@ {See the uantwerpendocs manual} } \newcommand*\degree[1]{\renewcommand*\@degree{#1}} +\newcommand*\@bamadoctype{ + \PackageError{uantwerpendocs} + {Please, specify the offical document type, either using + the '\protect\bamadoctype{}' macro or the '\protect\bamadegree{}' + macro in the preamble of your document.} + {See the uantwerpendocs manual}} +\newcommand*\bamadoctype[1]{ + \renewcommand*\@bamadoctype{\uantwerpendocsdoctype{#1}} +} +\ExplSyntaxOn +\NewDocumentCommand{\bamadegree}{m}{ + \seq_new:N \l__uantwerpendocs_degreechunks + \regex_extract_all:nnN { [^-]+ } { #1 } \l__uantwerpendocs_degreechunks + \bamadoctype{\seq_item:Nn\l__uantwerpendocs_degreechunks {2} - \seq_item:Nn\l__uantwerpendocs_degreechunks {3}} + \degree{\uantwerpendocsdegree{ + \seq_item:Nn\l__uantwerpendocs_degreechunks {1} - + \seq_item:Nn\l__uantwerpendocs_degreechunks {2} - + \seq_item:Nn\l__uantwerpendocs_degreechunks {3} - + \seq_item:Nn\l__uantwerpendocs_degreechunks {4} }} +} +\ExplSyntaxOff \newcommand*{\programme}[3]{ \PackageError{uantwerpendocs} {The '\protect\programme{}{}{}' macro is no longer available. Use @@ -274,20 +314,20 @@ \vspace*{1ex}% \begin{flushright} \makebox[0pt][l]{\rule[-0.4em]{10cm}{1.8em}}\textcolor{white} - {\bf\LARGE~\chaptername~} + {\LARGE\textbf{~\chaptername~}} \raisebox{-24pt}{ \begin{tikzpicture} \foreach \theta in {0,5,...,355} { \node[color=white] at (\theta:0.025) - {\bf\fontsize{72}{12}\selectfont\thechapter}; + {\fontsize{72}{12}\selectfont\textbf{\thechapter}}; } \node[color=gray] at (0,0) - {\bf\fontsize{72}{12}\selectfont\thechapter}; + {\fontsize{72}{12}\selectfont\textbf{\thechapter}}; \end{tikzpicture} }\hspace*{-8pt} \par\nobreak \interlinepenalty\@M - \bf\huge\textcolor{darkgray}{\rule[-0.5ex]{0em}{2.6ex}~#1} + \huge\textbf{\textcolor{darkgray}{\rule[-0.5ex]{0em}{2.6ex}~#1}} \par\nobreak \end{flushright} \rule{\textwidth}{1pt} @@ -300,7 +340,7 @@ \def\@makeschapterhead#1{% \vspace*{1ex}% \begin{flushright} - \bf\LARGE\textcolor{darkgray}{\rule[-0.5ex]{0em}{2.6ex}~#1} + \LARGE\textbf{\textcolor{darkgray}{\rule[-0.5ex]{0em}{2.6ex}~#1}} \end{flushright} \rule{\textwidth}{1pt} \vspace{5\p@}\par @@ -362,8 +402,8 @@ (SN) at (2.55,4.9) { \begin{tabular}{@{}l@{~\,}p{11.5cm}} - \textsf{\supervisorsname} - & \textsf{\textbf{\jointsupervisors{ | }}} + \textsf{\supervisorsname{}} + & \textsf{\textbf{\jointsupervisors{ | }{}}} \end{tabular} }; @@ -404,8 +444,8 @@ \hfill \begin{minipage}[b]{0.4\textwidth} \flushright - \supervisorsname\\ - \jointsupervisors{\\} + \supervisorsname{\\} + \jointsupervisors{\\}{} \end{minipage} \end{center} \clearpage @@ -413,8 +453,8 @@ \textbf{\uantwerpendocsprop{jurychairmanname}}\hfill\break \@jurychairman{}\ifdefvoid{\@jurychairmanaff}{}{, \@jurychairmanaff}\\ \hfill\break - \textbf{\supervisorsname}\hfill\break - \jointsupervisorswithaffiliation{\\}\\ + \textbf{\supervisorsname{}}\hfill\break + \jointsupervisorswithaffiliation{\\}{\\} \hfill\break \textbf{\uantwerpendocsprop{jurymembersname}}\hfill\break \jointjurymembers{\\} diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenreport.cls b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenreport.cls index cf7882c2839..fe27942879a 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenreport.cls +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenreport.cls @@ -26,9 +26,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{uantwerpenreport} - [2021/08/03 v4.1 .dtx skeleton file] -\def\fileversion{4.1} -\def\filedate{2021/08/03} + [2021/10/04 v4.2 .dtx skeleton file] \newif\if@copyright \DeclareOption{copyright}{\@copyrighttrue} \newif\if@filled @@ -41,7 +39,7 @@ \addtolength{\parskip}{0.75\baselineskip} \setcounter{secnumdepth}{3} \RequirePackage[top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry} -\RequirePackage{expl3} +\RequirePackage[check-declarations]{expl3} % I use this during debug phase \RequirePackage{xparse} \RequirePackage{iftex} \RequirePackage{xstring} @@ -50,10 +48,11 @@ \IfFileExists{shellesc.sty}{\RequirePackage{shellesc}}{} \newcommand{\@emptymacro}{} \RequirePackage{graphicx} +\RequirePackage{soul} \RequirePackage[export]{adjustbox} \RequirePackage{color} \RequirePackage{tikz} -\usetikzlibrary{positioning} +\usetikzlibrary{positioning,calc} \RequirePackage{eso-pic} \if@copyright \RequirePackage[contents={},color=lightgray,scale=3]{background} @@ -61,15 +60,33 @@ \RequirePackage{uantwerpencolorlogoscheme} \RequirePackage{fancyhdr} -\definecolor{uacorpbord}{cmyk} {0.00,1.00,0.60,0.37} -\definecolor{uacorpblue}{cmyk} {1.00,0.25,0.00,0.50} -\definecolor{uacorplightblue}{cmyk}{1.00,0.00,0.08,0.13} -\definecolor{uacorporange}{cmyk} {0.00,0.32,1.00,0.09} -\definecolor{uaftifresh}{cmyk} {0.34,1.00,0.00,0.00} -\definecolor{uaftisober}{cmyk} {0.10,1.00,0.00,0.49} \definecolor{lightgray}{cmyk} {0.00,0.00,0.00,0.05} \definecolor{darkgray}{cmyk} {0.00,0.00,0.00,0.80} \definecolor{watermark}{cmyk} {0.00,0.00,0.00,0.05} +\newcommand\insettext[1]{ + \textcolor{basecolor}{ + \begin{tabular}{@{\hskip3ex\textcolor{maincolor}{\vrule width 2.5pt}\hskip3ex\large\bfseries}p{0.88\textwidth}} + \strut #1 + \end{tabular} + } +} +\newcommand\insetquote[1]{ + \insettext{ + \begin{tikzpicture}[scale=0.65] + \fill[green!60!black] (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}\\ + #1 + } +} \ExplSyntaxOn \prop_new:N \g__uantwerpendocs_data_prop \NewDocumentCommand{\uantwerpendocsprop}{m}{ @@ -116,9 +133,10 @@ } } {} + \uantwerpendocspropread{degree} + \uantwerpendocspropread{doctype} \makeatletter } - \newcommand*{\facultyacronym}[1]{ \PackageError{uantwerpendocs} {The '\protect\facultyacronym{}' macro is no longer available. Use @@ -191,20 +209,20 @@ \vspace*{1ex}% \begin{flushright} \makebox[0pt][l]{\rule[-0.4em]{10cm}{1.8em}}\textcolor{white} - {\bf\LARGE~\chaptername~} + {\LARGE\textbf{~\chaptername~}} \raisebox{-24pt}{ \begin{tikzpicture} \foreach \theta in {0,5,...,355} { \node[color=white] at (\theta:0.025) - {\bf\fontsize{72}{12}\selectfont\thechapter}; + {\fontsize{72}{12}\selectfont\textbf{\thechapter}}; } \node[color=gray] at (0,0) - {\bf\fontsize{72}{12}\selectfont\thechapter}; + {\fontsize{72}{12}\selectfont\textbf{\thechapter}}; \end{tikzpicture} }\hspace*{-8pt} \par\nobreak \interlinepenalty\@M - \bf\huge\textcolor{darkgray}{\rule[-0.5ex]{0em}{2.6ex}~#1} + \huge\textbf{\textcolor{darkgray}{\rule[-0.5ex]{0em}{2.6ex}~#1}} \par\nobreak \end{flushright} \rule{\textwidth}{1pt} @@ -217,7 +235,7 @@ \def\@makeschapterhead#1{% \vspace*{1ex}% \begin{flushright} - \bf\LARGE\textcolor{darkgray}{\rule[-0.5ex]{0em}{2.6ex}~#1} + \LARGE\textbf{\textcolor{darkgray}{\rule[-0.5ex]{0em}{2.6ex}~#1}} \end{flushright} \rule{\textwidth}{1pt} \vspace{5\p@}\par |