diff options
author | Karl Berry <karl@freefriends.org> | 2021-11-11 21:08:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-11-11 21:08:43 +0000 |
commit | 238bcabc1e50cbc742df6e0da0df9a363cc17541 (patch) | |
tree | c6e71bd10e045bf13c3f64b304227a3bf82a211c /Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencoursetext.cls | |
parent | 4c13b78957a91b800c9ed56fbc7fb3478424f08d (diff) |
uantwerpendocs (11nov21)
git-svn-id: svn://tug.org/texlive/trunk@61030 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencoursetext.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencoursetext.cls | 16 |
1 files changed, 13 insertions, 3 deletions
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 |