diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tuda-ci/tudapub.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/tuda-ci/tudapub.cls | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tudapub.cls b/Master/texmf-dist/tex/latex/tuda-ci/tudapub.cls index 3e14882424f..41a74ae64dc 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tudapub.cls +++ b/Master/texmf-dist/tex/latex/tuda-ci/tudapub.cls @@ -1,4 +1,4 @@ -%% This is file `tudapub.cls' version 3.06 (2020/10/20), +%% This is file `tudapub.cls' version 3.07 (2020/10/21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.06} -\def\filedate{2020/10/20} +\def\fileversion{3.07} +\def\filedate{2020/10/21} \NeedsTeXFormat{LaTeX2e} \RequirePackage{expl3} \ProvidesExplClass{tudapub} @@ -406,8 +406,6 @@ \def\ptxcd_institution{#1} } -\gdef\ptxcd_datename{Datum} -\gdef\ptxcd_dateseparator{:~} \cs_new:Nn \ptxcd_titlerule_sep: {\the\dp\strutbox} @@ -559,6 +557,17 @@ } } +\cs_new:Nn \ptxcd_declare_caption:Nnnn { + \ptxcd_define_captionFallback:Nn #1 {#2} + \defcaptionname{ngerman, german}{#1}{#2} + \defcaptionname{english, USenglish, american}{#1}{#3} + \defcaptionname{UKenglish, british}{#1}{#4} +} + +\cs_new:Nn \ptxcd_declare_caption:Nnn { + \ptxcd_declare_caption:Nnnn #1 {#2} {#3} {#3} +} + \renewcommand*{\@author}{ \begingroup \hyphenpenalty=100000 @@ -1213,9 +1222,10 @@ contents={\color{identbarcolor}\rule{\layerwidth}{\layerheight}} } } -\ptxcd_define_captionFallback:Nn \authorandname {and} -\defcaptionname{ngerman, german}{\authorandname}{und} -\defcaptionname{english, USenglish, american, UKenglish, british}{\authorandname}{and} +\ptxcd_declare_caption:Nnn \authorandname {und} {and} +\ptxcd_declare_caption:Nnn \ptxcd_datename {Datum}{Date} + +\gdef\ptxcd_dateseparator{:~} \providecommand*{\frontmatter}{ |