diff options
author | Karl Berry <karl@freefriends.org> | 2020-10-21 21:06:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-10-21 21:06:32 +0000 |
commit | 0db19eb81a0381c166950429eeb4263eb3efbdc1 (patch) | |
tree | 7c422bb0c574fbb5314ebcfd1f4765e0441538a8 /Master/texmf-dist/tex/latex/tuda-ci/tudapub.cls | |
parent | b6fd7bac0f936541277bd4d06b080f6d0bb7d180 (diff) |
tuda-ci (21oct20)
git-svn-id: svn://tug.org/texlive/trunk@56726 c570f23f-e606-0410-a88d-b1316a301751
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}{ |