diff options
author | Karl Berry <karl@freefriends.org> | 2024-04-09 18:48:25 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-04-09 18:48:25 +0000 |
commit | d8c6f6f1dc06da9c2bbb916194571219cdf366ce (patch) | |
tree | a0dc68cfe364c346529bcb5042052be07111d75e /Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenphdthesis.cls | |
parent | e92099bbced020ae210f401bee6eb714b6fb50a4 (diff) |
uantwerpendocs (9apr24)
git-svn-id: svn://tug.org/texlive/trunk@70903 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenphdthesis.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenphdthesis.cls | 37 |
1 files changed, 17 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenphdthesis.cls b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenphdthesis.cls index a47bd62707f..74bc2afd58d 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenphdthesis.cls +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenphdthesis.cls @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2013-2022 by Walter Daems <walter.daems@uantwerpen.be> +%% Copyright (C) 2013-2024 by Walter Daems <walter.daems@uantwerpen.be> %% %% This work may be distributed and/or modified under the conditions of %% the LaTeX Project Public License, either version 1.3 of this license @@ -26,7 +26,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{uantwerpenphdthesis} - [2023/04/10 v4.5 .dtx skeleton file] + [2024/04/09 v4.6 .dtx skeleton file] \newif\if@filled \DeclareOption{filled}{\@filledtrue} \newif\if@cameraready @@ -217,16 +217,16 @@ \seq_greverse:N \g__uantwerpendocs_supervisorswithaffiliation } \ExplSyntaxOff -\newcommand*{\@jurychairman}{ +\newcommand*{\@jurychair}{ \PackageError{uantwerpendocs} - {Please, define a chairman of the jury using the - '\protect\jurychairman{}' command in the preamble of your + {Please, define a chair of the jury using the + '\protect\jurychair{}' command in the preamble of your document.} {See the uantwerpendocs manual} } -\newcommand*{\@jurychairmanaff}{} -\newcommand*{\jurychairman}[2]{ - \renewcommand*{\@jurychairman}{#1}\renewcommand*{\@jurychairmanaff}{#2}} +\newcommand*{\@jurychairaff}{} +\newcommand*{\jurychair}[2]{ + \renewcommand*{\@jurychair}{#1}\renewcommand*{\@jurychairaff}{#2}} \ExplSyntaxOn \seq_new:N \g__uantwerpendocs_jurymemberswithaffiliation \cs_new:Nn \__uantwerpendocs_addjurymember:nn { @@ -257,6 +257,7 @@ {See the uantwerpendocs manual} } \newcommand*\degree[1]{\renewcommand*\@degree{#1}} + \newcommand*\@bamadoctype{ \PackageError{uantwerpendocs} {Please, specify the offical document type, either using @@ -267,15 +268,11 @@ \renewcommand*\@bamadoctype{\uantwerpendocsdoctype{#1}} } \ExplSyntaxOn +\seq_new:N \g__uantwerpendocs_degreechunks \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} }} + \regex_extract_all:nnN { [^-]+ } { #1 } \g__uantwerpendocs_degreechunks + \bamadoctype{\seq_item:Nn \g__uantwerpendocs_degreechunks {2} - \seq_item:Nn \g__uantwerpendocs_degreechunks {3}} + \degree{\uantwerpendocsdegree{#1}} } \ExplSyntaxOff \newcommand*{\programme}[3]{ @@ -477,13 +474,13 @@ \end{center} \clearpage \noindent\textbf{\uantwerpendocsprop{juryname}}\hfill\\[1ex] - \textbf{\uantwerpendocsprop{jurychairmanname}}\hfill\break - \@jurychairman{}\ifdefvoid{\@jurychairmanaff}{}{, \@jurychairmanaff}\\ + \textit{\uantwerpendocsprop{jurychairname}}\hfill\break + \@jurychair{}\ifdefvoid{\@jurychairaff}{}{, \@jurychairaff}\\ \hfill\break - \textbf{\supervisorsname{}}\hfill\break + \textit{\supervisorsname{}}\hfill\break \jointsupervisorswithaffiliation{\\}{\\} \hfill\break - \textbf{\uantwerpendocsprop{jurymembersname}}\hfill\break + \textit{\uantwerpendocsprop{jurymembersname}}\hfill\break \jointjurymembers{\\} \hfill\break \vfill |