From 238bcabc1e50cbc742df6e0da0df9a363cc17541 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 11 Nov 2021 21:08:43 +0000 Subject: uantwerpendocs (11nov21) git-svn-id: svn://tug.org/texlive/trunk@61030 c570f23f-e606-0410-a88d-b1316a301751 --- .../beamerthemeuantwerpenuserguide.pdf | Bin 3224605 -> 3224605 bytes .../uantwerpenbamathesis-example.pdf | Bin 123184 -> 123184 bytes .../uantwerpencoursetext-example.pdf | Bin 78146 -> 78146 bytes .../doc/latex/uantwerpendocs/uantwerpendocs.pdf | Bin 379446 -> 380903 bytes .../uantwerpendocs/uantwerpenexam-example1.pdf | Bin 112665 -> 112665 bytes .../uantwerpendocs/uantwerpenexam-example2.pdf | Bin 114136 -> 114136 bytes .../uantwerpendocs/uantwerpenletter-example.pdf | Bin 49369 -> 49309 bytes .../uantwerpendocs/uantwerpenletter-example.tex | 2 + .../uantwerpenphdthesis-example1.pdf | Bin 220978 -> 220978 bytes .../uantwerpenphdthesis-example2.pdf | Bin 314474 -> 314431 bytes .../uantwerpendocs/uantwerpenreport-example.pdf | Bin 207522 -> 207522 bytes .../source/latex/uantwerpendocs/uantwerpendocs.dtx | 238 +++++++++++++++------ .../source/latex/uantwerpendocs/uantwerpendocs.ins | 1 - .../latex/uantwerpendocs/beamerthemeuantwerpen.sty | 2 +- .../latex/uantwerpendocs/uantwerpenbamathesis.cls | 6 +- .../uantwerpendocs/uantwerpencolorlogoscheme.sty | 2 +- .../latex/uantwerpendocs/uantwerpencoursetext.cls | 16 +- .../latex/uantwerpendocs/uantwerpendocs-nl.data | 2 +- .../tex/latex/uantwerpendocs/uantwerpenexam.cls | 18 +- .../tex/latex/uantwerpendocs/uantwerpenletter.cls | 153 +++++++++---- .../latex/uantwerpendocs/uantwerpenphdthesis.cls | 16 +- .../tex/latex/uantwerpendocs/uantwerpenreport.cls | 5 +- 22 files changed, 328 insertions(+), 133 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/uantwerpendocs/beamerthemeuantwerpenuserguide.pdf b/Master/texmf-dist/doc/latex/uantwerpendocs/beamerthemeuantwerpenuserguide.pdf index 4d63ea5dce7..05d78863ef2 100644 Binary files a/Master/texmf-dist/doc/latex/uantwerpendocs/beamerthemeuantwerpenuserguide.pdf and b/Master/texmf-dist/doc/latex/uantwerpendocs/beamerthemeuantwerpenuserguide.pdf differ diff --git a/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenbamathesis-example.pdf b/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenbamathesis-example.pdf index 6231268cc11..b23d264ca30 100644 Binary files a/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenbamathesis-example.pdf and b/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenbamathesis-example.pdf differ diff --git a/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpencoursetext-example.pdf b/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpencoursetext-example.pdf index ea7a46b5781..ed56012bfdd 100644 Binary files a/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpencoursetext-example.pdf and b/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpencoursetext-example.pdf differ diff --git a/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpendocs.pdf b/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpendocs.pdf index ad37df0ecc6..a94484aa8e8 100644 Binary files a/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpendocs.pdf and b/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpendocs.pdf differ diff --git a/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenexam-example1.pdf b/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenexam-example1.pdf index 0c082ec5448..2db05c1171c 100644 Binary files a/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenexam-example1.pdf and b/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenexam-example1.pdf differ diff --git a/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenexam-example2.pdf b/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenexam-example2.pdf index ba83514aa1a..b06e73f2907 100644 Binary files a/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenexam-example2.pdf and b/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenexam-example2.pdf differ diff --git a/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenletter-example.pdf b/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenletter-example.pdf index 0f3b342b4b8..38547a42d61 100644 Binary files a/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenletter-example.pdf and b/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenletter-example.pdf differ diff --git a/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenletter-example.tex b/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenletter-example.tex index fb4bdf4b2f1..2d8cbff0755 100644 --- a/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenletter-example.tex +++ b/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenletter-example.tex @@ -26,6 +26,8 @@ %% \documentclass[ti,a4paper]{uantwerpenletter} +%% You can suppress the foldline, using the nofoldline option. +%% %% As a good UAntwerpen citizen, you would use the calibri font. %% As this only works for XeLaTeX or LuaLaTeX, we chose to include %% cmbright in any other case. diff --git a/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenphdthesis-example1.pdf b/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenphdthesis-example1.pdf index 395aca9a58f..a1e9b153adf 100644 Binary files a/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenphdthesis-example1.pdf and b/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenphdthesis-example1.pdf differ diff --git a/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenphdthesis-example2.pdf b/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenphdthesis-example2.pdf index dcf054e25c7..64a768c4b27 100644 Binary files a/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenphdthesis-example2.pdf and b/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenphdthesis-example2.pdf differ diff --git a/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenreport-example.pdf b/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenreport-example.pdf index e48df6e1297..c42d67eff02 100644 Binary files a/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenreport-example.pdf and b/Master/texmf-dist/doc/latex/uantwerpendocs/uantwerpenreport-example.pdf differ diff --git a/Master/texmf-dist/source/latex/uantwerpendocs/uantwerpendocs.dtx b/Master/texmf-dist/source/latex/uantwerpendocs/uantwerpendocs.dtx index 0b0b87df965..8aa027e390c 100644 --- a/Master/texmf-dist/source/latex/uantwerpendocs/uantwerpendocs.dtx +++ b/Master/texmf-dist/source/latex/uantwerpendocs/uantwerpendocs.dtx @@ -25,23 +25,21 @@ \ProvidesFile{uantwerpendocs.dtx} % %<@@=uantwerpendocs> -%\NeedsTeXFormat{LaTeX2e}[1999/12/01] +%\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\ProvidesFile{uantwerpencommonoptions.clo} %\ProvidesPackage{uantwerpencolorlogoscheme} %\ProvidesClass{uantwerpencoursetext} -%\ProvidesClass{uantwerpenmasterthesis} %\ProvidesClass{uantwerpenbamathesis} %\ProvidesClass{uantwerpenphdthesis} %\ProvidesClass{uantwerpenreport} %\ProvidesClass{uantwerpenletter} %\ProvidesClass{uantwerpenexam} %\ProvidesPackage{beamerthemeuantwerpen} -% [2021/10/04 v4.2 .dtx skeleton file] -%\errmessage{This class is obsolete, use the uantwerpenbamathesis class instead !} +% [2021/11/11 v4.3 .dtx skeleton file] %<*driver> \documentclass[a4paper]{ltxdoc} -\def\fileversion{4.2}% -\def\filedate{2021/10/04}% +\def\fileversion{4.3}% +\def\filedate{2021/11/11}% \usepackage{makeidx} \usepackage{alltt} \usepackage{longtable} @@ -117,8 +115,11 @@ % to ease maintainability} % \changes{v4.1}{2021/08/03}{\@ Adapted coursetext again to % universitas agreement + added bleed version for phd texts + small bugfixes} +% \changes{v4.2}{2021/10/04}{\@ Added in-style bamathesis class} +% \changes{v4.3}{2021/11/11}{\@ Small bufixes and corrections to +% optional fields of letter class} % -% \DoNotIndex{\newcommand,\newenvironment,\begin,\bfseries,\draw,\clip,\else,\fi,\if,\fill,\filldraw,\ifthenelse,\ifx,\textwidth,\node,\\,\@empty,\@emptymacro,\@tempdima,\@tempdimb,\@tempswatrue,\{,\},\ ,\bf,\BODY,\break,\Alph,\and,\define@key,\color,\dx,\dy,\g,\gdef,\hbox,\tiny,\scriptsize,\footnotesize,\small,\normalsize,\large,\Large,\LARGE,\huge,\Huge,\l,\LaTeX,\let,\p@,\relax,\renewcommand,\Requirepackage,\textbf,\textsf,\texttt,\textbackslash,} +% \DoNotIndex{\newcommand,\newenvironment,\begin,\bfseries,\draw,\clip,\else,\fi,\if,\fill,\filldraw,\ifthenelse,\ifx,\textwidth,\node,\\,\@empty,\@tempdima,\@tempdimb,\@tempswatrue,\{,\},\ ,\bf,\BODY,\break,\Alph,\and,\define@key,\color,\dx,\dy,\g,\gdef,\hbox,\tiny,\scriptsize,\footnotesize,\small,\normalsize,\large,\Large,\LARGE,\huge,\Huge,\l,\LaTeX,\let,\p@,\relax,\renewcommand,\Requirepackage,\textbf,\textsf,\texttt,\textbackslash,\vspace,\hspace,\hfill,\hskip,\vskip,\hline,\vrule,\typeout,\usebox,\end,\paperheight,\paperwidth,\par,\NewDocumentCommand,\seq} % \setlength{\parindent}{0em} % \addtolength{\parskip}{0.5\baselineskip} % @@ -576,6 +577,9 @@ % issued. However, if you care about the typographic readability of % your text, you shouldn't use this option. % +% \DescribeMacro{nofoldline} [letter]\\ +% This option suppresses the fold line on a letter. +% % Common sets of options depend on the purpose: % \begin{itemize} % \item to make a text ready for electronic distribution: @@ -799,6 +803,8 @@ % \item first argument: user name % \item second argument: domain name % \end{itemize} +% You can specify multiple email addresses by using the command +% multiple times. % % \DescribeMacro{\enclosed} [letter] (optional)\\ % List of enclosed documents. Format at will. @@ -806,6 +812,8 @@ % \DescribeMacro{\fax} [letter] (optional)\\ % Probably facsimile is not used anymore, but anyway: fax number of % the sending person. See also |\email|. +% You can specify multiple fax addresses by using the command +% multiple times. % % \DescribeMacro{\logo} [letter] (optional)\\ % file name of an alternative logo to use. The file name must be the @@ -816,12 +824,16 @@ % % \DescribeMacro{\mobile} [letter] (optional)\\ % Mobile phone number of the sending person. See also |\email|. +% You can specify multiple mobile phone numbers by using the command +% multiple times. % % \DescribeMacro{\opening} [letter] (mandatory) \\ % Opening address of the letter. E.g. 'Dear X,'. % % \DescribeMacro{\phone} [letter] (optional)\\ % Phone number of the sending person. See also |\email|. +% You can specify multiple phone numbers by using the command +% multiple times. % % \DescribeMacro{\returnaddress} [letter] (mandatory)\\ % This is a short return address (listed in small font on top of the @@ -852,7 +864,7 @@ % Name of the addressee. Newlines are allowed. % Preferably name and role are split over two lines. % -% \DescribeMacro{\toaddress} [letter] (mandatory)\\ +% \DescribeMacro{\toaddress} [letter] (optional)\\ % Address of the addressee. Newlines are allowed. The address should % fit on max. 3 lines. % @@ -1465,6 +1477,8 @@ %<*le-example> \documentclass[ti,a4paper]{uantwerpenletter} +%% You can suppress the foldline, using the nofoldline option. +%% %% As a good UAntwerpen citizen, you would use the calibri font. %% As this only works for XeLaTeX or LuaLaTeX, we chose to include %% cmbright in any other case. @@ -1497,6 +1511,7 @@ Mumford, DX 94305-2004\\ USA} + \date{January 3, 2016} \subject{Congratulations for online video lectures} @@ -2126,6 +2141,10 @@ Welk van de onderstaande ingredi\"enten hoort niet thuis in \newif\if@cameraready \DeclareOption{cameraready}{\@camerareadytrue} % +%<*le> +\newif\if@nofoldline +\DeclareOption{nofoldline}{\@nofoldlinetrue} +% % \end{macrocode} % % @@ -2202,8 +2221,8 @@ Welk van de onderstaande ingredi\"enten hoort niet thuis in % Let's make things a bit easier for me. % \begin{macrocode} %<*ct|bmt|pt|rp|le|ex> -%\RequirePackage{expl3} -\RequirePackage[check-declarations]{expl3} % I use this during debug phase +\RequirePackage{expl3} +%\RequirePackage[check-declarations]{expl3} % I use this during debug phase \RequirePackage{xparse} % % \end{macrocode} @@ -2243,7 +2262,6 @@ Welk van de onderstaande ingredi\"enten hoort niet thuis in \RequirePackage{etoolbox} \RequirePackage{ifthen} \IfFileExists{shellesc.sty}{\RequirePackage{shellesc}}{} -\newcommand{\@emptymacro}{} % % \end{macrocode} % @@ -2469,6 +2487,7 @@ Welk van de onderstaande ingredi\"enten hoort niet thuis in % \end{macrocode} % % The English data can be found below: +% \begin{macrocode} %<*endata> org-be = Faculty of Business and Economics org-fbd = Faculty of Pharmaceutical, Biomedical and Veterinary Sciences @@ -2521,8 +2540,10 @@ pthesisnamei = Thesis submitted in fulfilment of the requirements for the d pthesisnameii = at University of Antwerp weightname = Weight % +% \end{macrocode} % % The Dutch data can be found below: +% \begin{macrocode} %<*nldata> org-be = Faculteit Bedrijfswetenschappen en Economie org-fbd = Faculteit Farmaceutische, Biomedische en Diergeneeskundige Wetenschappen @@ -2533,7 +2554,7 @@ 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-iob = Instituut voor Ontwikkelingsbeleid- en beheer org-ua = Universiteit Antwerpen arr = Alle rechten voorbehouden of = van @@ -2575,6 +2596,7 @@ pthesisnamei = Proefschrift voorgelegd tot het behalen van de graad van pthesisnameii = aan de Universiteit Antwerpen te verdedigen door weightname = Gewicht % +% \end{macrocode} % % % \subsection{Bachelor and Master document types} @@ -2591,14 +2613,14 @@ en-pr = Project report % \end{macrocode} % % \begin{macrocode} -%<*bmt> +%<*bmt|ct|pt|ex> \ExplSyntaxOn \cs_generate_variant:Nn \prop_item:Nn{ Nx } \NewDocumentCommand{\uantwerpendocsdoctype}{m}{ \prop_item:Nx \g_@@_data_prop { #1 } } \ExplSyntaxOff -% +% % \end{macrocode} % % \subsection{Bachelor and Master disclaimers} @@ -2706,14 +2728,13 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun % \end{macrocode} % % \begin{macrocode} -%<*bmt> +%<*bmt|ct|pt|ex> \ExplSyntaxOn \NewDocumentCommand{\uantwerpendocsdegree}{m}{ - \typeout{#1} \prop_item:Nx \g_@@_data_prop { #1 } } \ExplSyntaxOff -% +% % \end{macrocode} % % @@ -3365,49 +3386,121 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun % \end{macro} % % \begin{macro}{\email} -% This macro sets the |\@emailuser| and |\@emaildomain| tags that -% will be used in the letter's heading text. This split construction -% was used to overcome problems with the |@| sign. +% This macro allows for the registration of contact email addresses +% for a letter. This can be done by invoking the macro as many times +% as needed (as of v4.2) +% % \begin{macrocode} %<*le> -\newcommand*{\@emailuser}{} -\newcommand*{\@emaildomain}{} -\newcommand*{\email}[2]{\renewcommand*{\@emailuser}{#1}\renewcommand*{\@emaildomain}{#2}} -% +\ExplSyntaxOn +\seq_new:N \g_@@_emailaddresses +\cs_new:Nn \@@_addemailaddress:nn { + \seq_gpush:Nn \g_@@_emailaddresses {#1\tat{}#2} +} +\NewDocumentCommand{\email}{mm}{ + \@@_addemailaddress:nn { #1 } { #2 } +} +\NewDocumentCommand{\jointemails}{m}{ + \seq_use:Nn \g_@@_emailaddresses { #1 } +} +\NewDocumentCommand{\ifemails}{m}{ + \seq_if_empty:NTF \g_@@_emailaddresses {} {#1} +} +\AtBeginDocument{ + \seq_greverse:N \g_@@_emailaddresses +} +\ExplSyntaxOff +% % \end{macrocode} % \end{macro} % +% % \begin{macro}{\phone} -% This macro sets the |\@phone| tag that will be used in the letter's -% heading text. +% This macro allows for the registration of contact phone numbers +% for a letter. This can be done by invoking the macro as many times +% as needed (as of v4.2) +% % \begin{macrocode} %<*le> -\newcommand*{\@phone}{} -\newcommand*{\phone}[1]{\renewcommand*{\@phone}{#1}} -% +\ExplSyntaxOn +\seq_new:N \g_@@_phonenumbers +\cs_new:Nn \@@_addphonenumber:n { + \seq_gpush:Nn \g_@@_phonenumbers {#1} +} +\NewDocumentCommand{\phone}{m}{ + \@@_addphonenumber:n { #1 } +} +\NewDocumentCommand{\jointphones}{m}{ + \seq_use:Nn \g_@@_phonenumbers { #1 } +} +\NewDocumentCommand{\ifphones}{m}{ + \seq_if_empty:NTF \g_@@_phonenumbers {} {#1} +} +\AtBeginDocument{ + \seq_greverse:N \g_@@_phonenumbers +} +\ExplSyntaxOff +% % \end{macrocode} % \end{macro} % +% % \begin{macro}{\fax} -% This macro sets the |\@fax| tag that will be used in the letter's -% heading text. +% This macro allows for the registration of contact fax numbers +% for a letter. This can be done by invoking the macro as many times +% as needed (as of v4.2) +% % \begin{macrocode} %<*le> -\newcommand*{\@fax}{} -\newcommand*{\fax}[1]{\renewcommand*{\@fax}{#1}} -% +\ExplSyntaxOn +\seq_new:N \g_@@_faxnumbers +\cs_new:Nn \@@_addfaxnumber:n { + \seq_gpush:Nn \g_@@_faxnumbers {#1} +} +\NewDocumentCommand{\fax}{m}{ + \@@_addfaxnumber:n { #1 } +} +\NewDocumentCommand{\jointfaxes}{m}{ + \seq_use:Nn \g_@@_faxnumbers { #1 } +} +\NewDocumentCommand{\iffaxes}{m}{ + \seq_if_empty:NTF \g_@@_faxnumbers {} {#1} +} +\AtBeginDocument{ + \seq_greverse:N \g_@@_faxnumbers +} +\ExplSyntaxOff +% % \end{macrocode} % \end{macro} % % % \begin{macro}{\mobile} -% This macro sets the |\@mobile| tag that will be used in the letter's -% heading text. +% This macro allows for the registration of contact mobile numbers +% for a letter. This can be done by invoking the macro as many times +% as needed (as of v4.2) +% % \begin{macrocode} %<*le> -\newcommand*{\@mobile}{} -\newcommand*{\mobile}[1]{\renewcommand*{\@mobile}{#1}} -% +\ExplSyntaxOn +\seq_new:N \g_@@_mobilenumbers +\cs_new:Nn \@@_addmobilenumber:n { + \seq_gpush:Nn \g_@@_mobilenumbers {#1} +} +\NewDocumentCommand{\mobile}{m}{ + \@@_addmobilenumber:n { #1 } +} +\NewDocumentCommand{\jointmobiles}{m}{ + \seq_use:Nn \g_@@_mobilenumbers { #1 } +} +\NewDocumentCommand{\ifmobiles}{m}{ + \seq_if_empty:NTF \g_@@_mobilenumbers {} {#1} +} +\AtBeginDocument{ + \seq_greverse:N \g_@@_mobilenumbers +} +\ExplSyntaxOff +% % \end{macrocode} % \end{macro} % @@ -3441,8 +3534,7 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun % the letter's heading text (in the area of the envelope's window). % \begin{macrocode} %<*le> -\newcommand*{\@toorganization}{} +\newcommand*{\@toorganization}{} \newcommand*{\toorganization}[1]{\renewcommand*{\@toorganization}{#1}} % % \end{macrocode} @@ -3453,8 +3545,7 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun % the letter's heading text (in the area of the envelope's window). % \begin{macrocode} %<*le> -\newcommand*{\@toaddress}{} +\newcommand*{\@toaddress}{} \newcommand*{\toaddress}[1]{\renewcommand*{\@toaddress}{#1}} % % \end{macrocode} @@ -4617,33 +4708,40 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun \newcommand\maketitle{% \pagestyle{fancy} \thispagestyle{empty} - \begin{tikzpicture}[overlay,remember picture] - \path (current page.north west) +(1.8cm,-1.2cm) - node[anchor=north west] { - \includegraphics[height=1.1cm]{\@logo} - }; - \draw (current page.north west) - +(1cm,-98mm) -- +(1.5cm,-98mm); - % 90 x 45 - % pos: 20mm van kant, 15mm van onderkant - \path (current page.north east) +(-100mm,-65mm) - node[anchor=west,text width=80mm,align=left] { - \scriptsize\textcolor{gray}{\uline{\@returnaddress}}\\* - \normalsize\@to\\* - \@toorganization\\* - \@toaddress - }; - \end{tikzpicture} + \AddToShipoutPicture*{% + \put(0,0){% + \begin{tikzpicture}[inner sep=0pt,outer sep=0pt] + \clip (0,0) rectangle(\paperwidth,\paperheight); + \path (current page.north west) +(1.8cm,-1.2cm) + node[anchor=north west] { + \includegraphics[height=1.1cm]{\@logo} + }; + \if@nofoldline\else + \draw (current page.north west) + +(1cm,-98mm) -- +(1.5cm,-98mm); + \fi + % 90 x 45 + % pos: 20mm van kant, 15mm van onderkant + \path (current page.north east) +(-100mm,-65mm) + node[anchor=west,text width=80mm,align=left] { + \scriptsize\textcolor{gray}{\uline{\@returnaddress}}\\* + \normalsize\@to\\* + \ifx\@toorganization\@empty\else\@toorganization\\*\fi% + \@toaddress + }; + \end{tikzpicture} + } + } ~\\[3ex] \textcolor{uauaside}{\textbf{\@sender}} - \ifx\@senderrole\@emptymacro\\[1.75ex]\else \\*\@senderrole\\[1.75ex]\fi + \ifx\@senderrole\@empty\\[1.75ex]\else \\*\@senderrole\\[1.75ex]\fi \@faculty - \ifx\@unit\@emptymacro\else\\* \@unit\fi~\\[1.75ex] + \ifx\@unit\@empty\else\\* \@unit\fi~\\[1.75ex] \@address\\[1.75ex] - \ifx\@email\@emptymacro\else E \@emailuser\tat{}\@emaildomain\\\fi - \ifx\@phone\@emptymacro\else T \@phone\\\fi - \ifx\@fax\@emptymacro\else F \@fax\\\fi - \ifx\@mobile\@emptymacro\else M \@mobile\\\fi + \ifemails{E~\jointemails{\\\phantom{E~}}\\} + \ifphones{T~\jointphones{\\\phantom{T~}}\\} + \iffaxes{F~\jointfaxes{\\\phantom{F~}}\\} + \ifmobiles{M~\jointmobiles{\\\phantom{M~}}\\} ~\\[4ex] \begin{tikzpicture}[anchor=north west,align=left,outer sep=0,inner sep=0] \path @@ -4666,10 +4764,10 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun \AtEndDocument{ \@closing\\*[3ex]\@signature~\\[3ex] \@sender - \ifx\@senderrole\@emptymacro\\[8ex]\else\\*\@senderrole\\[8ex]\fi + \ifx\@senderrole\@empty\\[8ex]\else\\*\@senderrole\\[8ex]\fi \setlength{\parskip}{0em} - \ifx\@carboncopy\@emptymacro\else CC: \@carboncopy\\[4ex]\fi - \ifx\@enclosed\@emptymacro\else ENCL: \@enclosed\fi + \ifx\@carboncopy\@empty\else CC: \@carboncopy\\[4ex]\fi + \ifx\@enclosed\@empty\else ENCL: \@enclosed\fi \label{lastpage} } % @@ -4703,7 +4801,7 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun \fontfamily{phv}\fontsize{18}{22}\fontseries{b}% \fontshape{n}\selectfont% \@course{} - \ifx\@exampart\@emptymacro + \ifx\@exampart\@empty \else --- \@exampart\fi }; \node diff --git a/Master/texmf-dist/source/latex/uantwerpendocs/uantwerpendocs.ins b/Master/texmf-dist/source/latex/uantwerpendocs/uantwerpendocs.ins index 9994e85df2a..e60054c17cd 100644 --- a/Master/texmf-dist/source/latex/uantwerpendocs/uantwerpendocs.ins +++ b/Master/texmf-dist/source/latex/uantwerpendocs/uantwerpendocs.ins @@ -47,7 +47,6 @@ The Current Maintainer of this work is Walter Daems. \generate{\file{uantwerpencoursetext.cls}{\from{uantwerpendocs.dtx}{ct}}} \generate{\file{uantwerpencoursetext-example.tex}{\from{uantwerpendocs.dtx}{ct-example}}} -\generate{\file{uantwerpenmasterthesis.cls}{\from{uantwerpendocs.dtx}{mt}}} \generate{\file{uantwerpenbamathesis.cls}{\from{uantwerpendocs.dtx}{bmt}}} \generate{\file{uantwerpenbamathesis-example.tex}{\from{uantwerpendocs.dtx}{bmt-example}}} diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/beamerthemeuantwerpen.sty b/Master/texmf-dist/tex/latex/uantwerpendocs/beamerthemeuantwerpen.sty index b7bad38cd0a..a4370a0a5b9 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/beamerthemeuantwerpen.sty +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/beamerthemeuantwerpen.sty @@ -26,7 +26,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{beamerthemeuantwerpen} - [2021/10/04 v4.2 .dtx skeleton file] + [2021/11/11 v4.3 .dtx skeleton file] diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenbamathesis.cls b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenbamathesis.cls index 841534140a8..3e742b68d35 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenbamathesis.cls +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenbamathesis.cls @@ -26,7 +26,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{uantwerpenbamathesis} - [2021/10/04 v4.2 .dtx skeleton file] + [2021/11/11 v4.3 .dtx skeleton file] \newif\if@filled \DeclareOption{filled}{\@filledtrue} \input{uantwerpencommonoptions.clo} @@ -37,14 +37,13 @@ \addtolength{\parskip}{0.75\baselineskip} \setcounter{secnumdepth}{3} \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{expl3} \RequirePackage{xparse} \RequirePackage{iftex} \RequirePackage{xstring} \RequirePackage{etoolbox} \RequirePackage{ifthen} \IfFileExists{shellesc.sty}{\RequirePackage{shellesc}}{} -\newcommand{\@emptymacro}{} \RequirePackage{graphicx} \RequirePackage{soul} \RequirePackage[export]{adjustbox} @@ -196,7 +195,6 @@ } \ExplSyntaxOn \NewDocumentCommand{\uantwerpendocsdegree}{m}{ - \typeout{#1} \prop_item:Nx \g__uantwerpendocs_data_prop { #1 } } \ExplSyntaxOff diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencolorlogoscheme.sty b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencolorlogoscheme.sty index 27bfa0fae89..bee7f6d3bb3 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencolorlogoscheme.sty +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencolorlogoscheme.sty @@ -25,7 +25,7 @@ %% The Current Maintainer of this work is Walter Daems. %% \ProvidesPackage{uantwerpencolorlogoscheme} - [2021/10/04 v4.2 .dtx skeleton file] + [2021/11/11 v4.3 .dtx skeleton file] \if@cmyk %% UAntwerpen \definecolor{uauamain}{cmyk}{0.00,0.96,0.82,0.01} diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencoursetext.cls b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencoursetext.cls index 153d4f6ebfc..ea2a7557e3d 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencoursetext.cls +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencoursetext.cls @@ -26,7 +26,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{uantwerpencoursetext} - [2021/10/04 v4.2 .dtx skeleton file] + [2021/11/11 v4.3 .dtx skeleton file] \newif\if@modern \@modernfalse \DeclareOption{modern}{\@moderntrue} @@ -44,14 +44,13 @@ \addtolength{\parskip}{0.75\baselineskip} \setcounter{secnumdepth}{3} \RequirePackage[top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry} -\RequirePackage[check-declarations]{expl3} % I use this during debug phase +\RequirePackage{expl3} \RequirePackage{xparse} \RequirePackage{iftex} \RequirePackage{xstring} \RequirePackage{etoolbox} \RequirePackage{ifthen} \IfFileExists{shellesc.sty}{\RequirePackage{shellesc}}{} -\newcommand{\@emptymacro}{} \RequirePackage{graphicx} \RequirePackage{soul} \RequirePackage[export]{adjustbox} @@ -142,6 +141,17 @@ \uantwerpendocspropread{doctype} \makeatletter } +\ExplSyntaxOn +\cs_generate_variant:Nn \prop_item:Nn{ Nx } +\NewDocumentCommand{\uantwerpendocsdoctype}{m}{ + \prop_item:Nx \g__uantwerpendocs_data_prop { #1 } +} +\ExplSyntaxOff +\ExplSyntaxOn +\NewDocumentCommand{\uantwerpendocsdegree}{m}{ + \prop_item:Nx \g__uantwerpendocs_data_prop { #1 } +} +\ExplSyntaxOff \newcommand*{\facultyacronym}[1]{ \PackageError{uantwerpendocs} {The '\protect\facultyacronym{}' macro is no longer available. Use diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpendocs-nl.data b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpendocs-nl.data index 58772d70900..f3ab840d823 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpendocs-nl.data +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpendocs-nl.data @@ -8,7 +8,7 @@ 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-iob = Instituut voor Ontwikkelingsbeleid- en beheer org-ua = Universiteit Antwerpen arr = Alle rechten voorbehouden of = van diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenexam.cls b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenexam.cls index 827087e2a99..d6b0c01fae6 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenexam.cls +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenexam.cls @@ -26,7 +26,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{uantwerpenexam} - [2021/10/04 v4.2 .dtx skeleton file] + [2021/11/11 v4.3 .dtx skeleton file] \newif\if@examiner \DeclareOption{examiner}{\@examinertrue} \input{uantwerpencommonoptions.clo} @@ -37,14 +37,13 @@ \addtolength{\parskip}{0.75\baselineskip} \setcounter{secnumdepth}{3} \RequirePackage[top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry} -\RequirePackage[check-declarations]{expl3} % I use this during debug phase +\RequirePackage{expl3} \RequirePackage{xparse} \RequirePackage{iftex} \RequirePackage{xstring} \RequirePackage{etoolbox} \RequirePackage{ifthen} \IfFileExists{shellesc.sty}{\RequirePackage{shellesc}}{} -\newcommand{\@emptymacro}{} \RequirePackage{graphicx} \RequirePackage{soul} \RequirePackage[export]{adjustbox} @@ -108,6 +107,17 @@ \uantwerpendocspropread{doctype} \makeatletter } +\ExplSyntaxOn +\cs_generate_variant:Nn \prop_item:Nn{ Nx } +\NewDocumentCommand{\uantwerpendocsdoctype}{m}{ + \prop_item:Nx \g__uantwerpendocs_data_prop { #1 } +} +\ExplSyntaxOff +\ExplSyntaxOn +\NewDocumentCommand{\uantwerpendocsdegree}{m}{ + \prop_item:Nx \g__uantwerpendocs_data_prop { #1 } +} +\ExplSyntaxOff \newcommand*{\facultyacronym}[1]{ \PackageError{uantwerpendocs} {The '\protect\facultyacronym{}' macro is no longer available. Use @@ -277,7 +287,7 @@ \fontfamily{phv}\fontsize{18}{22}\fontseries{b}% \fontshape{n}\selectfont% \@course{} - \ifx\@exampart\@emptymacro + \ifx\@exampart\@empty \else --- \@exampart\fi }; \node diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenletter.cls b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenletter.cls index 7db3920346e..39aca508f9b 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenletter.cls +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenletter.cls @@ -26,9 +26,11 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{uantwerpenletter} - [2021/10/04 v4.2 .dtx skeleton file] + [2021/11/11 v4.3 .dtx skeleton file] \newif\if@filled \DeclareOption{filled}{\@filledtrue} +\newif\if@nofoldline +\DeclareOption{nofoldline}{\@nofoldlinetrue} \input{uantwerpencommonoptions.clo} \ExecuteOptions{a4paper,10pt,final,oneside,openright} \ProcessOptions @@ -39,14 +41,13 @@ \setcounter{secnumdepth}{3} \RequirePackage[top=1in, bottom=1in, left=1.34in, right=1in]{geometry} \RequirePackage[normalem]{ulem} -\RequirePackage[check-declarations]{expl3} % I use this during debug phase +\RequirePackage{expl3} \RequirePackage{xparse} \RequirePackage{iftex} \RequirePackage{xstring} \RequirePackage{etoolbox} \RequirePackage{ifthen} \IfFileExists{shellesc.sty}{\RequirePackage{shellesc}}{} -\newcommand{\@emptymacro}{} \RequirePackage{graphicx} \RequirePackage{soul} \RequirePackage[export]{adjustbox} @@ -124,24 +125,85 @@ \newcommand*{\logo}[1]{\renewcommand*{\@logo}{#1}} \newcommand*{\@unit}{} \newcommand*{\unit}[1]{\renewcommand*{\@unit}{#1}} -\newcommand*{\@emailuser}{} -\newcommand*{\@emaildomain}{} -\newcommand*{\email}[2]{\renewcommand*{\@emailuser}{#1}\renewcommand*{\@emaildomain}{#2}} -\newcommand*{\@phone}{} -\newcommand*{\phone}[1]{\renewcommand*{\@phone}{#1}} -\newcommand*{\@fax}{} -\newcommand*{\fax}[1]{\renewcommand*{\@fax}{#1}} -\newcommand*{\@mobile}{} -\newcommand*{\mobile}[1]{\renewcommand*{\@mobile}{#1}} +\ExplSyntaxOn +\seq_new:N \g__uantwerpendocs_emailaddresses +\cs_new:Nn \__uantwerpendocs_addemailaddress:nn { + \seq_gpush:Nn \g__uantwerpendocs_emailaddresses {#1\tat{}#2} +} +\NewDocumentCommand{\email}{mm}{ + \__uantwerpendocs_addemailaddress:nn { #1 } { #2 } +} +\NewDocumentCommand{\jointemails}{m}{ + \seq_use:Nn \g__uantwerpendocs_emailaddresses { #1 } +} +\NewDocumentCommand{\ifemails}{m}{ + \seq_if_empty:NTF \g__uantwerpendocs_emailaddresses {} {#1} +} +\AtBeginDocument{ + \seq_greverse:N \g__uantwerpendocs_emailaddresses +} +\ExplSyntaxOff +\ExplSyntaxOn +\seq_new:N \g__uantwerpendocs_phonenumbers +\cs_new:Nn \__uantwerpendocs_addphonenumber:n { + \seq_gpush:Nn \g__uantwerpendocs_phonenumbers {#1} +} +\NewDocumentCommand{\phone}{m}{ + \__uantwerpendocs_addphonenumber:n { #1 } +} +\NewDocumentCommand{\jointphones}{m}{ + \seq_use:Nn \g__uantwerpendocs_phonenumbers { #1 } +} +\NewDocumentCommand{\ifphones}{m}{ + \seq_if_empty:NTF \g__uantwerpendocs_phonenumbers {} {#1} +} +\AtBeginDocument{ + \seq_greverse:N \g__uantwerpendocs_phonenumbers +} +\ExplSyntaxOff +\ExplSyntaxOn +\seq_new:N \g__uantwerpendocs_faxnumbers +\cs_new:Nn \__uantwerpendocs_addfaxnumber:n { + \seq_gpush:Nn \g__uantwerpendocs_faxnumbers {#1} +} +\NewDocumentCommand{\fax}{m}{ + \__uantwerpendocs_addfaxnumber:n { #1 } +} +\NewDocumentCommand{\jointfaxes}{m}{ + \seq_use:Nn \g__uantwerpendocs_faxnumbers { #1 } +} +\NewDocumentCommand{\iffaxes}{m}{ + \seq_if_empty:NTF \g__uantwerpendocs_faxnumbers {} {#1} +} +\AtBeginDocument{ + \seq_greverse:N \g__uantwerpendocs_faxnumbers +} +\ExplSyntaxOff +\ExplSyntaxOn +\seq_new:N \g__uantwerpendocs_mobilenumbers +\cs_new:Nn \__uantwerpendocs_addmobilenumber:n { + \seq_gpush:Nn \g__uantwerpendocs_mobilenumbers {#1} +} +\NewDocumentCommand{\mobile}{m}{ + \__uantwerpendocs_addmobilenumber:n { #1 } +} +\NewDocumentCommand{\jointmobiles}{m}{ + \seq_use:Nn \g__uantwerpendocs_mobilenumbers { #1 } +} +\NewDocumentCommand{\ifmobiles}{m}{ + \seq_if_empty:NTF \g__uantwerpendocs_mobilenumbers {} {#1} +} +\AtBeginDocument{ + \seq_greverse:N \g__uantwerpendocs_mobilenumbers +} +\ExplSyntaxOff \newcommand*{\@returnaddress}{} \renewcommand*{\returnaddress}[1]{\renewcommand*{\@returnaddress}{#1}} \newcommand*{\@to}{} \renewcommand*{\to}[1]{\renewcommand*{\@to}{#1}} -\newcommand*{\@toorganization}{} +\newcommand*{\@toorganization}{} \newcommand*{\toorganization}[1]{\renewcommand*{\@toorganization}{#1}} -\newcommand*{\@toaddress}{} +\newcommand*{\@toaddress}{} \newcommand*{\toaddress}[1]{\renewcommand*{\@toaddress}{#1}} \newcommand*{\@subject}{-} \newcommand*{\subject}[1]{\renewcommand*{\@subject}{#1}} @@ -181,33 +243,40 @@ \newcommand\maketitle{% \pagestyle{fancy} \thispagestyle{empty} - \begin{tikzpicture}[overlay,remember picture] - \path (current page.north west) +(1.8cm,-1.2cm) - node[anchor=north west] { - \includegraphics[height=1.1cm]{\@logo} - }; - \draw (current page.north west) - +(1cm,-98mm) -- +(1.5cm,-98mm); - % 90 x 45 - % pos: 20mm van kant, 15mm van onderkant - \path (current page.north east) +(-100mm,-65mm) - node[anchor=west,text width=80mm,align=left] { - \scriptsize\textcolor{gray}{\uline{\@returnaddress}}\\* - \normalsize\@to\\* - \@toorganization\\* - \@toaddress - }; - \end{tikzpicture} + \AddToShipoutPicture*{% + \put(0,0){% + \begin{tikzpicture}[inner sep=0pt,outer sep=0pt] + \clip (0,0) rectangle(\paperwidth,\paperheight); + \path (current page.north west) +(1.8cm,-1.2cm) + node[anchor=north west] { + \includegraphics[height=1.1cm]{\@logo} + }; + \if@nofoldline\else + \draw (current page.north west) + +(1cm,-98mm) -- +(1.5cm,-98mm); + \fi + % 90 x 45 + % pos: 20mm van kant, 15mm van onderkant + \path (current page.north east) +(-100mm,-65mm) + node[anchor=west,text width=80mm,align=left] { + \scriptsize\textcolor{gray}{\uline{\@returnaddress}}\\* + \normalsize\@to\\* + \ifx\@toorganization\@empty\else\@toorganization\\*\fi% + \@toaddress + }; + \end{tikzpicture} + } + } ~\\[3ex] \textcolor{uauaside}{\textbf{\@sender}} - \ifx\@senderrole\@emptymacro\\[1.75ex]\else \\*\@senderrole\\[1.75ex]\fi + \ifx\@senderrole\@empty\\[1.75ex]\else \\*\@senderrole\\[1.75ex]\fi \@faculty - \ifx\@unit\@emptymacro\else\\* \@unit\fi~\\[1.75ex] + \ifx\@unit\@empty\else\\* \@unit\fi~\\[1.75ex] \@address\\[1.75ex] - \ifx\@email\@emptymacro\else E \@emailuser\tat{}\@emaildomain\\\fi - \ifx\@phone\@emptymacro\else T \@phone\\\fi - \ifx\@fax\@emptymacro\else F \@fax\\\fi - \ifx\@mobile\@emptymacro\else M \@mobile\\\fi + \ifemails{E~\jointemails{\\\phantom{E~}}\\} + \ifphones{T~\jointphones{\\\phantom{T~}}\\} + \iffaxes{F~\jointfaxes{\\\phantom{F~}}\\} + \ifmobiles{M~\jointmobiles{\\\phantom{M~}}\\} ~\\[4ex] \begin{tikzpicture}[anchor=north west,align=left,outer sep=0,inner sep=0] \path @@ -222,10 +291,10 @@ \AtEndDocument{ \@closing\\*[3ex]\@signature~\\[3ex] \@sender - \ifx\@senderrole\@emptymacro\\[8ex]\else\\*\@senderrole\\[8ex]\fi + \ifx\@senderrole\@empty\\[8ex]\else\\*\@senderrole\\[8ex]\fi \setlength{\parskip}{0em} - \ifx\@carboncopy\@emptymacro\else CC: \@carboncopy\\[4ex]\fi - \ifx\@enclosed\@emptymacro\else ENCL: \@enclosed\fi + \ifx\@carboncopy\@empty\else CC: \@carboncopy\\[4ex]\fi + \ifx\@enclosed\@empty\else ENCL: \@enclosed\fi \label{lastpage} } \endinput diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenphdthesis.cls b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenphdthesis.cls index 3aa93735a2c..12222ea184b 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenphdthesis.cls +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenphdthesis.cls @@ -26,7 +26,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{uantwerpenphdthesis} - [2021/10/04 v4.2 .dtx skeleton file] + [2021/11/11 v4.3 .dtx skeleton file] \newif\if@filled \DeclareOption{filled}{\@filledtrue} \newif\if@cameraready @@ -41,14 +41,13 @@ \RequirePackage[paperwidth=180mm,paperheight=260mm, top=2.5cm,bottom=2.5cm,left=2.6cm,right=1.8cm,twoside] {geometry} -\RequirePackage[check-declarations]{expl3} % I use this during debug phase +\RequirePackage{expl3} \RequirePackage{xparse} \RequirePackage{iftex} \RequirePackage{xstring} \RequirePackage{etoolbox} \RequirePackage{ifthen} \IfFileExists{shellesc.sty}{\RequirePackage{shellesc}}{} -\newcommand{\@emptymacro}{} \RequirePackage{graphicx} \RequirePackage{soul} \RequirePackage[export]{adjustbox} @@ -140,6 +139,17 @@ \uantwerpendocspropread{doctype} \makeatletter } +\ExplSyntaxOn +\cs_generate_variant:Nn \prop_item:Nn{ Nx } +\NewDocumentCommand{\uantwerpendocsdoctype}{m}{ + \prop_item:Nx \g__uantwerpendocs_data_prop { #1 } +} +\ExplSyntaxOff +\ExplSyntaxOn +\NewDocumentCommand{\uantwerpendocsdegree}{m}{ + \prop_item:Nx \g__uantwerpendocs_data_prop { #1 } +} +\ExplSyntaxOff \newcommand*{\facultyacronym}[1]{ \PackageError{uantwerpendocs} {The '\protect\facultyacronym{}' macro is no longer available. Use diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenreport.cls b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenreport.cls index fe27942879a..ca5a01dbeac 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenreport.cls +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenreport.cls @@ -26,7 +26,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{uantwerpenreport} - [2021/10/04 v4.2 .dtx skeleton file] + [2021/11/11 v4.3 .dtx skeleton file] \newif\if@copyright \DeclareOption{copyright}{\@copyrighttrue} \newif\if@filled @@ -39,14 +39,13 @@ \addtolength{\parskip}{0.75\baselineskip} \setcounter{secnumdepth}{3} \RequirePackage[top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry} -\RequirePackage[check-declarations]{expl3} % I use this during debug phase +\RequirePackage{expl3} \RequirePackage{xparse} \RequirePackage{iftex} \RequirePackage{xstring} \RequirePackage{etoolbox} \RequirePackage{ifthen} \IfFileExists{shellesc.sty}{\RequirePackage{shellesc}}{} -\newcommand{\@emptymacro}{} \RequirePackage{graphicx} \RequirePackage{soul} \RequirePackage[export]{adjustbox} -- cgit v1.2.3