diff options
author | Norbert Preining <norbert@preining.info> | 2021-10-13 03:01:03 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-10-13 03:01:03 +0000 |
commit | f3646ee8d559655d609cfc1108a77dea360c933a (patch) | |
tree | 2be9068915923c430bb3e04fc6346e1e3f56ecb6 /macros/latex/contrib/tuda-ci/tex | |
parent | 20b79660fb560eb1dd8e80d44837e0d4c17ca03c (diff) |
CTAN sync 202110130301
Diffstat (limited to 'macros/latex/contrib/tuda-ci/tex')
28 files changed, 370 insertions, 219 deletions
diff --git a/macros/latex/contrib/tuda-ci/tex/beamercolorthemeTUDa.sty b/macros/latex/contrib/tuda-ci/tex/beamercolorthemeTUDa.sty index ec66be1a0d..61f8742721 100644 --- a/macros/latex/contrib/tuda-ci/tex/beamercolorthemeTUDa.sty +++ b/macros/latex/contrib/tuda-ci/tex/beamercolorthemeTUDa.sty @@ -1,4 +1,4 @@ -%% This is file `beamercolorthemeTUDa.sty' version 3.18 (2021/08/05), +%% This is file `beamercolorthemeTUDa.sty' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} +\def\fileversion{3.20} +\def\filedate{2021/10/12} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{beamercolorthemeTUDa} [\filedate\space\fileversion] diff --git a/macros/latex/contrib/tuda-ci/tex/beamerfontthemeTUDa.sty b/macros/latex/contrib/tuda-ci/tex/beamerfontthemeTUDa.sty index 4bdee840f5..551169c630 100644 --- a/macros/latex/contrib/tuda-ci/tex/beamerfontthemeTUDa.sty +++ b/macros/latex/contrib/tuda-ci/tex/beamerfontthemeTUDa.sty @@ -1,4 +1,4 @@ -%% This is file `beamerfontthemeTUDa.sty' version 3.18 (2021/08/05), +%% This is file `beamerfontthemeTUDa.sty' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} +\def\fileversion{3.20} +\def\filedate{2021/10/12} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{beamerfontthemeTUDa} [\filedate\space\fileversion] diff --git a/macros/latex/contrib/tuda-ci/tex/beamerinnerthemeTUDa.sty b/macros/latex/contrib/tuda-ci/tex/beamerinnerthemeTUDa.sty index df1fdf51a0..8ee2144e3d 100644 --- a/macros/latex/contrib/tuda-ci/tex/beamerinnerthemeTUDa.sty +++ b/macros/latex/contrib/tuda-ci/tex/beamerinnerthemeTUDa.sty @@ -1,4 +1,4 @@ -%% This is file `beamerinnerthemeTUDa.sty' version 3.18 (2021/08/05), +%% This is file `beamerinnerthemeTUDa.sty' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} +\def\fileversion{3.20} +\def\filedate{2021/10/12} \NeedsTeXFormat{LaTeX2e} \ProvidesExplPackage{beamerinnerthemeTUDa}{\filedate}{\fileversion}{Inner~beamer~theme~of~tuda-ci} @@ -56,6 +56,7 @@ \box_new:N \g__ptxcd_logo_box } +\cs_set:Nn \__ptxcd_block_colorsep: {.75ex} \RenewDocumentCommand{\titlegraphic}{sm}{ \IfBooleanTF{#1}{ @@ -156,10 +157,11 @@ { \par\vskip\medskipamount% \begin{beamercolorbox}[wd=\dimexpr\linewidth+2\l__ptxcd_beamer_extraindent_dim,sep=.5pt, - leftskip=\dimexpr\ifdim\l__ptxcd_beamer_extraindent_dim>\z@\l__ptxcd_beamer_extraindent_dim-\beamer@colbox@sep\else\z@\fi]{block~title} + leftskip=\dim_eval:n {\dim_compare:nTF {\l__ptxcd_beamer_extraindent_dim>\c_zero_dim} {\l__ptxcd_beamer_extraindent_dim-\beamer@colbox@sep} {\__ptxcd_block_colorsep:}}, + ]{block~title} \ifx\insertblocktitle\@empty \else - \begin{beamercolorbox}[colsep*=.75ex, + \begin{beamercolorbox}[colsep*=\__ptxcd_block_colorsep:, wd=\dimexpr\linewidth-1pt-1.5ex\relax]{block~title} \usebeamerfont*{block title}\insertblocktitle% \end{beamercolorbox}% @@ -168,9 +170,9 @@ {\ifbeamercolorempty[bg]{block~body}{}{\par\nointerlineskip\vskip-0.5pt}}% \leavevmode \fi - \begin{beamercolorbox}[colsep*=.75ex,vmode, wd=\dimexpr\linewidth-1.5ex-1pt\relax]{block~body}% + \begin{beamercolorbox}[colsep*=\__ptxcd_block_colorsep:,vmode, wd=\dimexpr\linewidth-1.5ex-1pt\relax]{block~body}% \usebeamerfont{block~body}% - \ifbeamercolorempty[bg]{block~body}{\vskip-.25ex}{\vskip-.75ex}\vbox{}% + \ifbeamercolorempty[bg]{block~body}{\vskip-.25ex}{\vskip-\__ptxcd_block_colorsep:}\vbox{}% } \defbeamertemplate*{block~end}{TUDa} @@ -182,18 +184,18 @@ \begin{beamercolorbox}[ wd=\dimexpr\linewidth+2\l__ptxcd_beamer_extraindent_dim, sep=1.5pt, - leftskip=\dimexpr\ifdim\l__ptxcd_beamer_extraindent_dim>\z@\l__ptxcd_beamer_extraindent_dim-\beamer@colbox@sep\else\z@\fi, + leftskip=\dim_eval:n {\dim_compare:nTF {\l__ptxcd_beamer_extraindent_dim>\c_zero_dim} {\l__ptxcd_beamer_extraindent_dim-\beamer@colbox@sep} {\__ptxcd_block_colorsep:}}, ]{block~frame~alerted} \ifx\insertblocktitle\@empty \else - \begin{beamercolorbox}[wd=\dim_eval:n {\linewidth-1.5ex-3pt},colsep*=.75ex]{block~title~alerted} + \begin{beamercolorbox}[wd=\dim_eval:n {\linewidth-1.5ex-3pt},colsep*=\__ptxcd_block_colorsep:]{block~title~alerted} \usebeamerfont*{block~title~alerted}\insertblocktitle% \end{beamercolorbox}% \vskip1.5pt\par\nointerlineskip \fi \leavevmode \usebeamerfont{block~body~alerted}% - \begin{beamercolorbox}[wd=\dim_eval:n {\linewidth-1.5ex-3pt},colsep*=.75ex]{block~body~alerted}% + \begin{beamercolorbox}[wd=\dim_eval:n {\linewidth-1.5ex-3pt},colsep*=\__ptxcd_block_colorsep:]{block~body~alerted}% } \defbeamertemplate*{block~alerted~end}{TUDa} @@ -206,18 +208,18 @@ \begin{beamercolorbox}[ wd=\dimexpr\linewidth+2\l__ptxcd_beamer_extraindent_dim, sep=1.5pt, - leftskip=\dim_eval:n {\dim_compare:nTF {\l__ptxcd_beamer_extraindent_dim>\c_zero_dim} {\l__ptxcd_beamer_extraindent_dim-\beamer@colbox@sep} {\c_zero_dim}}, + leftskip=\dim_eval:n {\dim_compare:nTF {\l__ptxcd_beamer_extraindent_dim>\c_zero_dim} {\l__ptxcd_beamer_extraindent_dim-\beamer@colbox@sep} {\__ptxcd_block_colorsep:}}, ]{block~frame~example} \ifx\insertblocktitle\@empty \else - \begin{beamercolorbox}[wd=\dim_eval:n {\linewidth-1.5ex-3pt},colsep*=.75ex]{block~title~example} + \begin{beamercolorbox}[wd=\dim_eval:n {\linewidth-1.5ex-3pt},colsep*=\__ptxcd_block_colorsep:]{block~title~example} \usebeamerfont*{block~title~example}\insertblocktitle% \end{beamercolorbox}% \vskip1.5pt\par\nointerlineskip \fi \leavevmode \usebeamerfont{block~body~example}% - \begin{beamercolorbox}[wd=\dim_eval:n {\linewidth-1.5ex-3pt},colsep*=.75ex]{block~body~example}% + \begin{beamercolorbox}[wd=\dim_eval:n {\linewidth-1.5ex-3pt},colsep*=\__ptxcd_block_colorsep:]{block~body~example}% } \defbeamertemplate*{block~example~end}{TUDa} {\end{beamercolorbox}\end{beamercolorbox}\vskip\smallskipamount} diff --git a/macros/latex/contrib/tuda-ci/tex/beamerouterthemeTUDa.sty b/macros/latex/contrib/tuda-ci/tex/beamerouterthemeTUDa.sty index d3dd8f7dfa..4404268042 100644 --- a/macros/latex/contrib/tuda-ci/tex/beamerouterthemeTUDa.sty +++ b/macros/latex/contrib/tuda-ci/tex/beamerouterthemeTUDa.sty @@ -1,4 +1,4 @@ -%% This is file `beamerouterthemeTUDa.sty' version 3.18 (2021/08/05), +%% This is file `beamerouterthemeTUDa.sty' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} +\def\fileversion{3.20} +\def\filedate{2021/10/12} \NeedsTeXFormat{LaTeX2e} \ProvidesExplPackage{beamerouterthemeTUDa}{\filedate}{\fileversion}{Outer~beamer~theme~of~tuda-ci} diff --git a/macros/latex/contrib/tuda-ci/tex/beamerthemeTUDa-mecheng.sty b/macros/latex/contrib/tuda-ci/tex/beamerthemeTUDa-mecheng.sty index f81d7b635e..9286867413 100644 --- a/macros/latex/contrib/tuda-ci/tex/beamerthemeTUDa-mecheng.sty +++ b/macros/latex/contrib/tuda-ci/tex/beamerthemeTUDa-mecheng.sty @@ -1,4 +1,4 @@ -%% This is file `beamerthemeTUDa-mecheng.sty' version 3.18 (2021/08/05), +%% This is file `beamerthemeTUDa-mecheng.sty' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} +\def\fileversion{3.20} +\def\filedate{2021/10/12} \RequirePackage{expl3} \ProvidesExplPackage{beamerthemeTUDa-mecheng}{\filedate}{\fileversion}{specific tudabeamer configuration for the department of mechanical engineering} diff --git a/macros/latex/contrib/tuda-ci/tex/beamerthemeTUDa.sty b/macros/latex/contrib/tuda-ci/tex/beamerthemeTUDa.sty index ee94494ab9..6875310815 100644 --- a/macros/latex/contrib/tuda-ci/tex/beamerthemeTUDa.sty +++ b/macros/latex/contrib/tuda-ci/tex/beamerthemeTUDa.sty @@ -1,4 +1,4 @@ -%% This is file `beamerthemeTUDa.sty' version 3.18 (2021/08/05), +%% This is file `beamerthemeTUDa.sty' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} +\def\fileversion{3.20} +\def\filedate{2021/10/12} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{beamerthemeTUDa} [\filedate\space\fileversion\space beamer theme using the Corporate Design of TU Darmstadt] diff --git a/macros/latex/contrib/tuda-ci/tex/tuda-a0paper.clo b/macros/latex/contrib/tuda-ci/tex/tuda-a0paper.clo index 9777fe8ece..8f65f5a279 100644 --- a/macros/latex/contrib/tuda-ci/tex/tuda-a0paper.clo +++ b/macros/latex/contrib/tuda-ci/tex/tuda-a0paper.clo @@ -1,4 +1,4 @@ -%% This is file `tuda-a0paper.clo' version 3.18 (2021/08/05), +%% This is file `tuda-a0paper.clo' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,16 +26,46 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} +\def\fileversion{3.20} +\def\filedate{2021/10/12} +%% This is file `tuda-a0paper.clo' version 3.20 (2021/10/12), +%% it is part of +%% TUDa-CI -- Corporate Design for TU Darmstadt +%% ---------------------------------------------------------------------------- +%% +%% Copyright (C) 2018--2021 by Marei Peischl <marei@peitex.de> +%% +%% ============================================================================ +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3c +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3c or later is part of all distributions of LaTeX +%% version 2008/05/04 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainers of this work are +%% Marei Peischl <tuda-ci@peitex.de> +%% Markus Lazanowski <latex@ce.tu-darmstadt.de> +%% +%% The development respository can be found at +%% https://github.com/tudace/tuda_latex_templates +%% Please use the issue tracker for feedback! +%% +%% ============================================================================ +%% +\def\fileversion{3.20} +\def\filedate{2021/10/12} \ProvidesExplFile{tuda-a0paper.clo}{\filedate}{\fileversion}{tuda-ci~size~adjustments~for~a0paper} \cs_set:Nn \ptxcd_setup_title_sizes: { - \cs_set:Nn \ptxcd_title_fontsize: {{125pt}{165pt}} - \cs_set:Nn \ptxcd_subtitle_fontsize: {{42pt}{55pt}} - \cs_set:Nn \ptxcd_titleinfo_fontsize: {{28pt}{35pt}} + \cs_set:Nn \ptxcd_title_fontsize: {{125pt}{165pt}} + \cs_set:Nn \ptxcd_titleinfo_fontsize: {{28pt}{35pt}} + \cs_set:Nn \ptxcd_titlethanks_fontsize: {{24pt}{30pt}} } \cs_set:Nn \ptxcd_setup_base_sizes: { - \tl_if_empty:NT \g_ptxcd_fontsize_tl {\tl_gset:Nn \g_ptxcd_fontsize_tl {30pt}} - \dim_gset:Nn \g_ptxcd_margin_dim {30mm} + \tl_if_empty:NT \g_ptxcd_fontsize_tl {\tl_gset:Nn \g_ptxcd_fontsize_tl {30pt}} + \dim_gset:Nn \g_ptxcd_margin_dim {30mm} } -\endinput
\ No newline at end of file +\endinput diff --git a/macros/latex/contrib/tuda-ci/tex/tuda-a1paper.clo b/macros/latex/contrib/tuda-ci/tex/tuda-a1paper.clo index 1219a20dee..3c0b79ac04 100644 --- a/macros/latex/contrib/tuda-ci/tex/tuda-a1paper.clo +++ b/macros/latex/contrib/tuda-ci/tex/tuda-a1paper.clo @@ -1,4 +1,4 @@ -%% This is file `tuda-a1paper.clo' version 3.18 (2021/08/05), +%% This is file `tuda-a1paper.clo' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,16 +26,16 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} -\ProvidesExplFile{tuda-a1paper.clo}{\filedate}{\fileversion}{tuda-ci~size~adjustments~for~a0paper} +\def\fileversion{3.20} +\def\filedate{2021/10/12} +\ProvidesExplFile{tuda-a1paper.clo}{\filedate}{\fileversion}{tuda-ci~size~adjustments~for~a1paper} \cs_set:Nn \ptxcd_setup_title_sizes: { - \cs_set:Nn \ptxcd_title_fontsize: {{86pt}{120pt}} - \cs_set:Nn \ptxcd_titleinfo_fontsize: {{35pt}{42pt}} - \cs_set:Nn \ptxcd_titlethanks_fontsize: {{22pt}{26pt}} + \cs_set:Nn \ptxcd_title_fontsize: {{86pt}{120pt}} + \cs_set:Nn \ptxcd_titleinfo_fontsize: {{35pt}{42pt}} + \cs_set:Nn \ptxcd_titlethanks_fontsize: {{22pt}{26pt}} } \cs_set:Nn \ptxcd_setup_base_sizes: { - \tl_if_empty:NT \g_ptxcd_fontsize_tl {\tl_gset:Nn \g_ptxcd_fontsize_tl {25pt}} - \dim_gset:Nn \g_ptxcd_margin_dim {30mm} + \tl_if_empty:NT \g_ptxcd_fontsize_tl {\tl_gset:Nn \g_ptxcd_fontsize_tl {25pt}} + \dim_gset:Nn \g_ptxcd_margin_dim {30mm} } -\endinput
\ No newline at end of file +\endinput diff --git a/macros/latex/contrib/tuda-ci/tex/tuda-a2paper.clo b/macros/latex/contrib/tuda-ci/tex/tuda-a2paper.clo index 01b2e4313a..6e9bb1ea43 100644 --- a/macros/latex/contrib/tuda-ci/tex/tuda-a2paper.clo +++ b/macros/latex/contrib/tuda-ci/tex/tuda-a2paper.clo @@ -1,4 +1,4 @@ -%% This is file `tuda-a2paper.clo' version 3.18 (2021/08/05), +%% This is file `tuda-a2paper.clo' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} +\def\fileversion{3.20} +\def\filedate{2021/10/12} \ProvidesExplFile{tuda-a2paper.clo}{\filedate}{\fileversion}{tuda-ci~size~adjustments~for~a0paper} \cs_set:Nn \ptxcd_setup_title_sizes: { \cs_set:Nn \ptxcd_title_fontsize: {{65pt}{82pt}} diff --git a/macros/latex/contrib/tuda-ci/tex/tuda-a3paper.clo b/macros/latex/contrib/tuda-ci/tex/tuda-a3paper.clo index bbf9343411..432dfb65a9 100644 --- a/macros/latex/contrib/tuda-ci/tex/tuda-a3paper.clo +++ b/macros/latex/contrib/tuda-ci/tex/tuda-a3paper.clo @@ -1,4 +1,4 @@ -%% This is file `tuda-a3paper.clo' version 3.18 (2021/08/05), +%% This is file `tuda-a3paper.clo' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} +\def\fileversion{3.20} +\def\filedate{2021/10/12} \ProvidesExplFile{tuda-a3paper.clo}{\filedate}{\fileversion}{tuda-ci~size~adjustments~for~a3paper} \cs_set:Nn \ptxcd_setup_title_sizes: { \cs_set:Nn \ptxcd_title_fontsize: {{47pt}{61pt}} diff --git a/macros/latex/contrib/tuda-ci/tex/tuda-a4paper.clo b/macros/latex/contrib/tuda-ci/tex/tuda-a4paper.clo index 4144fe1248..e9ef9916e6 100644 --- a/macros/latex/contrib/tuda-ci/tex/tuda-a4paper.clo +++ b/macros/latex/contrib/tuda-ci/tex/tuda-a4paper.clo @@ -1,4 +1,4 @@ -%% This is file `tuda-a4paper.clo' version 3.18 (2021/08/05), +%% This is file `tuda-a4paper.clo' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} +\def\fileversion{3.20} +\def\filedate{2021/10/12} \ProvidesExplFile{tuda-a4paper.clo}{\filedate}{\fileversion}{tuda-ci~size~adjustments~for~a4paper} \cs_set:Nn \ptxcd_setup_title_sizes: { \cs_set:Nn \ptxcd_title_fontsize: {{36pt}{47pt}} diff --git a/macros/latex/contrib/tuda-ci/tex/tuda-a5paper.clo b/macros/latex/contrib/tuda-ci/tex/tuda-a5paper.clo index fb6aff01b1..ec89f6408d 100644 --- a/macros/latex/contrib/tuda-ci/tex/tuda-a5paper.clo +++ b/macros/latex/contrib/tuda-ci/tex/tuda-a5paper.clo @@ -1,4 +1,4 @@ -%% This is file `tuda-a5paper.clo' version 3.18 (2021/08/05), +%% This is file `tuda-a5paper.clo' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} +\def\fileversion{3.20} +\def\filedate{2021/10/12} \ProvidesExplFile{tuda-a5paper.clo}{\filedate}{\fileversion}{tuda-ci~size~adjustments~for~a5paper} \cs_set:Nn \ptxcd_setup_title_sizes: { \cs_set:Nn \ptxcd_title_fontsize: {{22pt}{28pt}} diff --git a/macros/latex/contrib/tuda-ci/tex/tuda-pgfplots.sty b/macros/latex/contrib/tuda-ci/tex/tuda-pgfplots.sty index 36e8eae372..4577ea3315 100644 --- a/macros/latex/contrib/tuda-ci/tex/tuda-pgfplots.sty +++ b/macros/latex/contrib/tuda-ci/tex/tuda-pgfplots.sty @@ -1,4 +1,4 @@ -%% This is file `tuda-pgfplots.sty' version 3.18 (2021/08/05), +%% This is file `tuda-pgfplots.sty' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} +\def\fileversion{3.20} +\def\filedate{2021/10/12} % Special thanks to: Sebastian Schöps Institut Theorie Elektromagnetischer Felder (TEMF), TU Darmstadt % The original version of this file has been inspired by the colorscheme in the Metropolis beamer theme by Matthias Vogelgesang https://github.com/matze/mtheme \ProvidesPackage{tuda-pgfplots}[\filedate\space\fileversion\space tuda-ci pgfplots color schemes] diff --git a/macros/latex/contrib/tuda-ci/tex/tudabeamer.cls b/macros/latex/contrib/tuda-ci/tex/tudabeamer.cls index 16c26fe74c..6dc094b9f2 100644 --- a/macros/latex/contrib/tuda-ci/tex/tudabeamer.cls +++ b/macros/latex/contrib/tuda-ci/tex/tudabeamer.cls @@ -1,4 +1,4 @@ -%% This is file `tudabeamer.cls' version 3.18 (2021/08/05), +%% This is file `tudabeamer.cls' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} +\def\fileversion{3.20} +\def\filedate{2021/10/12} \NeedsTeXFormat{LaTeX2e} \ProvidesClass{tudabeamer} [\filedate\space\fileversion\space] diff --git a/macros/latex/contrib/tuda-ci/tex/tudacolors.def b/macros/latex/contrib/tuda-ci/tex/tudacolors.def index 2eeec39494..e5f2b37615 100644 --- a/macros/latex/contrib/tuda-ci/tex/tudacolors.def +++ b/macros/latex/contrib/tuda-ci/tex/tudacolors.def @@ -1,4 +1,4 @@ -%% This is file `tudacolors.def' version 3.18 (2021/08/05), +%% This is file `tudacolors.def' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} +\def\fileversion{3.20} +\def\filedate{2021/10/12} \ProvidesFile{tudacolors.def} [\filedate\space\fileversion\space Color definitions for tuda-ci] diff --git a/macros/latex/contrib/tuda-ci/tex/tudacolors.sty b/macros/latex/contrib/tuda-ci/tex/tudacolors.sty index 8aadb1ab3a..0b8aa19028 100644 --- a/macros/latex/contrib/tuda-ci/tex/tudacolors.sty +++ b/macros/latex/contrib/tuda-ci/tex/tudacolors.sty @@ -1,4 +1,4 @@ -%% This is file `tudacolors.sty' version 3.18 (2021/08/05), +%% This is file `tudacolors.sty' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} +\def\fileversion{3.20} +\def\filedate{2021/10/12} \NeedsTeXFormat{LaTeX2e} \RequirePackage{expl3} \ProvidesExplPackage{tudacolors}{\filedate}{\fileversion}{Color definition for TU Darmstadt's tuda-ci bundle} diff --git a/macros/latex/contrib/tuda-ci/tex/tudaexercise.cls b/macros/latex/contrib/tuda-ci/tex/tudaexercise.cls index e887152c06..1cce50f06c 100644 --- a/macros/latex/contrib/tuda-ci/tex/tudaexercise.cls +++ b/macros/latex/contrib/tuda-ci/tex/tudaexercise.cls @@ -1,4 +1,4 @@ -%% This is file `tudaexercise.cls' version 3.18 (2021/08/05), +%% This is file `tudaexercise.cls' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} +\def\fileversion{3.20} +\def\filedate{2021/10/12} \NeedsTeXFormat{LaTeX2e} \RequirePackage{expl3} \ProvidesExplClass{tudaexercise} @@ -569,6 +569,19 @@ } } +\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} +} + +\ptxcd_declare_caption:Nnn \authorandname {und} {and} + \renewcommand*{\@author}{ \seq_use:Nnnn \g_ptxcd_author_seq {~\authorandname{}~} {,~} {~\&~} } diff --git a/macros/latex/contrib/tuda-ci/tex/tudafonts.sty b/macros/latex/contrib/tuda-ci/tex/tudafonts.sty index a055ca3370..969d5d68da 100644 --- a/macros/latex/contrib/tuda-ci/tex/tudafonts.sty +++ b/macros/latex/contrib/tuda-ci/tex/tudafonts.sty @@ -1,4 +1,4 @@ -%% This is file `tudafonts.sty' version 3.18 (2021/08/05), +%% This is file `tudafonts.sty' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} +\def\fileversion{3.20} +\def\filedate{2021/10/12} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{tudafonts} [\filedate\space\fileversion\space diff --git a/macros/latex/contrib/tuda-ci/tex/tudaleaflet.cls b/macros/latex/contrib/tuda-ci/tex/tudaleaflet.cls index 217a088964..6b40481770 100644 --- a/macros/latex/contrib/tuda-ci/tex/tudaleaflet.cls +++ b/macros/latex/contrib/tuda-ci/tex/tudaleaflet.cls @@ -1,4 +1,4 @@ -%% This is file `tudaleaflet.cls' version 3.18 (2021/08/05), +%% This is file `tudaleaflet.cls' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} +\def\fileversion{3.20} +\def\filedate{2021/10/12} \NeedsTeXFormat{LaTeX2e} \RequirePackage{expl3} \ProvidesExplPackage{tudaleaflet}{\filedate}{\fileversion}{Leaflets using the Corporate Design of TU Darmstadt} diff --git a/macros/latex/contrib/tuda-ci/tex/tudaletter.cls b/macros/latex/contrib/tuda-ci/tex/tudaletter.cls index 3d7ea1bd5f..5720a9e77a 100644 --- a/macros/latex/contrib/tuda-ci/tex/tudaletter.cls +++ b/macros/latex/contrib/tuda-ci/tex/tudaletter.cls @@ -1,4 +1,4 @@ -%% This is file `tudaletter.cls' version 3.18 (2021/08/05), +%% This is file `tudaletter.cls' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} +\def\fileversion{3.20} +\def\filedate{2021/10/12} \NeedsTeXFormat{LaTeX2e} \RequirePackage{expl3} \ProvidesExplClass{tudaletter} diff --git a/macros/latex/contrib/tuda-ci/tex/tudalettersize10pt.clo b/macros/latex/contrib/tuda-ci/tex/tudalettersize10pt.clo index fe267121d8..de8bf782b9 100644 --- a/macros/latex/contrib/tuda-ci/tex/tudalettersize10pt.clo +++ b/macros/latex/contrib/tuda-ci/tex/tudalettersize10pt.clo @@ -1,4 +1,4 @@ -%% This is file `tudalettersize10pt.clo' version 3.18 (2021/08/05), +%% This is file `tudalettersize10pt.clo' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/tuda-ci/tex/tudamecheng.cfg b/macros/latex/contrib/tuda-ci/tex/tudamecheng.cfg index 32428131d4..896af139d5 100644 --- a/macros/latex/contrib/tuda-ci/tex/tudamecheng.cfg +++ b/macros/latex/contrib/tuda-ci/tex/tudamecheng.cfg @@ -1,4 +1,4 @@ -%% This is file `tudamecheng.cfg' version 3.18 (2021/08/05), +%% This is file `tudamecheng.cfg' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} +\def\fileversion{3.20} +\def\filedate{2021/10/12} \RequirePackage{expl3} \ProvidesExplFile{tudamecheng.cfg} {\filedate}{\fileversion}{Special Features the department of mechanical engineering of Darmstadt's Corporate Design (tuda-ci)} diff --git a/macros/latex/contrib/tuda-ci/tex/tudaposter.cls b/macros/latex/contrib/tuda-ci/tex/tudaposter.cls index 467d272de4..fa9c0d9828 100644 --- a/macros/latex/contrib/tuda-ci/tex/tudaposter.cls +++ b/macros/latex/contrib/tuda-ci/tex/tudaposter.cls @@ -1,4 +1,4 @@ -%% This is file `tudaposter.cls' version 3.18 (2021/08/05), +%% This is file `tudaposter.cls' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} +\def\fileversion{3.20} +\def\filedate{2021/10/12} \NeedsTeXFormat{LaTeX2e} \RequirePackage{expl3} \ProvidesExplPackage{tudaposter}{\filedate}{\fileversion}{Poster Layouts for the Corporate Design of TU Darmstadt} @@ -139,7 +139,10 @@ \bool_if:NT \g_ptxcd_colorback_bool {\color{textonaccentcolor}}\expandafter\fontsize\ptxcd_title_fontsize:\selectfont} \setkomafont{subtitle}{\expandafter\fontsize\ptxcd_titleinfo_fontsize:\selectfont} -\newkomafont{titleinfo}{\expandafter\fontsize\ptxcd_titleinfo_fontsize:\selectfont} +\newkomafont{titleinfo}{\usekomafont{subtitle}} + +\clist_map_inline:nn {author, date, publishers} +{\setkomafont{#1}{\usekomafont{subtitle}}} \ExplSyntaxOff \KOMAoptions{fontsize=\csname g_ptxcd_fontsize_tl\endcsname} @@ -177,7 +180,7 @@ \dim_new:N \g_ptxcd_titleindent_dim \begingroup \expandafter\fontsize\ptxcd_title_fontsize:\selectfont - \dim_gset:Nn \g_ptxcd_titleindent_dim {.5ex} +\dim_gset:Nn \g_ptxcd_titleindent_dim {.5ex} \endgroup \dim_new:N \g_ptxcd_columnSep_dim @@ -244,13 +247,13 @@ voffset=\paperheight-\g_ptxcd_margin_dim, mode=picture, contents={% - \tl_if_empty:NF \g_ptxcd_poster_qrcode_tl { - \let\width\g_ptxcd_qrcode_dim - \let\height\g_ptxcd_qrcode_dim - \g_ptxcd_poster_qrcode_tl - } - } - ]{TUDa.poster.qrcode} + \tl_if_empty:NF \g_ptxcd_poster_qrcode_tl { + \let\width\g_ptxcd_qrcode_dim + \let\height\g_ptxcd_qrcode_dim + \g_ptxcd_poster_qrcode_tl + } + } +]{TUDa.poster.qrcode} @@ -261,14 +264,14 @@ width=\paperwidth-2\g_ptxcd_margin_dim, height=\g_ptxcd_footheight_dim, contents={ - \bool_if:NTF \g_ptxcd_poster_foot_bool { - \putUL{\rule{\layerwidth}{\g_ptxcd_titlerule_dim}} - \put(0,0) {\parbox[b][\g_ptxcd_footheight_dim][c]{\layerwidth}{\strut\g_ptxcd_poster_foot_tl\strut}} - \putLL{\rule{\layerwidth}{\g_ptxcd_titlerule_dim}} - }{ - \smash{\rule{\layerwidth}{\g_ptxcd_titlerule_dim}} + \bool_if:NTF \g_ptxcd_poster_foot_bool { + \putUL{\rule{\layerwidth}{\g_ptxcd_titlerule_dim}} + \put(0,0) {\parbox[b][\g_ptxcd_footheight_dim][c]{\layerwidth}{\strut\g_ptxcd_poster_foot_tl\strut}} + \putLL{\rule{\layerwidth}{\g_ptxcd_titlerule_dim}} + }{ + \smash{\rule{\layerwidth}{\g_ptxcd_titlerule_dim}} + } } - } ]{TUDa.poster.footer} \DeclareNewLayer[ @@ -326,37 +329,49 @@ \dim_max:nn {0pt} {1.5\c_ptxcd_logoheight_dim - \height} }} { - \begin{minipage}[b]{\bool_if:NT \g_ptxcd_logo_inhead_bool {.75}\linewidth} - \leavevmode\par\nointerlineskip - \bool_if:NF \g_ptxcd_indenttext_bool {\begin{addmargin}{\g_ptxcd_titleindent_dim }} - \usekomafont{title} - \raggedright - \tl_if_empty:NF \@titlehead {\usekomafont{titlehead}{\@titlehead\par}} - \leavevmode\usekomafont{disposition}\usekomafont{title}% - \@title\strut\par - \bool_if:NTF \g_ptxcd_indenttext_bool {\nointerlineskip\leavevmode}{\end{addmargin}} - \end{minipage} - } - \par\nointerlineskip - \exp_args:Nf \tl_if_empty:nF {\@subtitle\@titleinfo} { - \bool_if:NT \g_ptxcd_indenttext_bool {\hspace*{-\g_ptxcd_titleindent_dim}} - \rule{\linewidth}{\g_ptxcd_titlerule_dim} - \par + \begin{minipage}[b]{\bool_if:NT \g_ptxcd_logo_inhead_bool {.75}\linewidth} + \leavevmode\par\nointerlineskip + \bool_if:NF \g_ptxcd_indenttext_bool {\begin{addmargin}{\g_ptxcd_titleindent_dim }} + \usekomafont{title} + \raggedright + \tl_if_empty:NF \@titlehead {\usekomafont{titlehead}{\@titlehead\par}} + \leavevmode\usekomafont{disposition}\usekomafont{title}% + \@title\strut\par + \bool_if:NTF \g_ptxcd_indenttext_bool {\nointerlineskip\leavevmode}{\end{addmargin}} + \end{minipage} + } + \par\nointerlineskip + \exp_args:Nf \tl_if_empty:nF {\@subtitle\@titleinfo\@subject\@author\@date\@publishers} { + \bool_if:NT \g_ptxcd_indenttext_bool {\hspace*{-\g_ptxcd_titleindent_dim}} + \rule{\linewidth}{\g_ptxcd_titlerule_dim} + \par + \nointerlineskip + \vspace{\c_ptxcd_rulesep_dim} + \bool_if:NTF \g_ptxcd_indenttext_bool {\begingroup}{\begin{addmargin}{\g_ptxcd_titleindent_dim }} + \bool_if:NT \g_ptxcd_colorsubtitle_bool {\color{textonaccentcolor}} + \clist_map_inline:nn {subtitle, titleinfo, subject, author, date, publishers} + {\tl_if_empty:cF {@##1} {{\usekomafont{##1}\use:c {@##1}\par}}} + \nointerlineskip + \bool_if:NTF \g_ptxcd_indenttext_bool {\endgroup} {\end{addmargin}} + \vspace{\c_ptxcd_rulesep_dim} + \par\nointerlineskip + \bool_if:NT \g_ptxcd_indenttext_bool {\hspace*{-\g_ptxcd_titleindent_dim}} + \tl_if_empty:NF \@thanks { + \bool_if:NT \g_ptxcd_indenttext_bool {\hspace*{-\g_ptxcd_titleindent_dim}}\rule{\linewidth}{\g_ptxcd_titlerule_dim} + \vspace{\c_ptxcd_rulesep_dim} + \par\nointerlineskip + \expandafter\fontsize\ptxcd_titlethanks_fontsize:\selectfont + \bool_if:NTF \g_ptxcd_indenttext_bool {\begingroup}{\begin{addmargin}{\g_ptxcd_titleindent_dim }} + \let\footnotetext\ptxcd_title@footnote + \@thanks + \vspace{\c_ptxcd_rulesep_dim} + \bool_if:NTF \g_ptxcd_indenttext_bool {\endgroup} {\end{addmargin}} + \global\let\@thanks\@empty + \par + } + } \nointerlineskip - \vspace{\c_ptxcd_rulesep_dim} - \bool_if:NTF \g_ptxcd_indenttext_bool {\begingroup}{\begin{addmargin}{\g_ptxcd_titleindent_dim }} - \bool_if:NT \g_ptxcd_colorsubtitle_bool {\color{textonaccentcolor}} - \tl_if_empty:NF \@subtitle {{\usekomafont{subtitle}\strut\@subtitle\strut\par}} - \tl_if_empty:NF \@titleinfo {{\usekomafont{titleinfo}\@titleinfo\par}} - \nointerlineskip - \bool_if:NTF \g_ptxcd_indenttext_bool {\endgroup} {\end{addmargin}} - \vspace{\c_ptxcd_rulesep_dim} - \par\nointerlineskip - \bool_if:NT \g_ptxcd_indenttext_bool {\hspace*{-\g_ptxcd_titleindent_dim} - } - } - \nointerlineskip - \rule{\linewidth}{\g_ptxcd_titlerule_dim} + \rule{\linewidth}{\g_ptxcd_titlerule_dim} } } \endgroup @@ -364,25 +379,28 @@ \ptxcd_Setup_Title_box: \dim_gset:Nn \g_ptxcd_titleback_dim { \bool_if:NT \g_ptxcd_colorsubtitle_bool {\box_dp:N \g_ptxcd_title_box}+ - \box_ht:N \g_ptxcd_title_box+.5\c_ptxcd_logoheight_dim - } + \box_ht:N \g_ptxcd_title_box+.5\c_ptxcd_logoheight_dim + } - \ModifyLayer[ - height=\g_ptxcd_titleback_dim + \ModifyLayer[ + height=\g_ptxcd_titleback_dim ]{TUDa.poster.background} \bool_if:NF \g_ptxcd_logo_inhead_bool { \ModifyLayer[ - addvoffset=\g_ptxcd_titleback_dim+\c_ptxcd_smallrule_dim + addvoffset= + \bool_if:NF \g_ptxcd_colorsubtitle_bool {\box_dp:N \g_ptxcd_title_box}+\g_ptxcd_titleback_dim+\c_ptxcd_smallrule_dim ]{TUDa.poster.logo} } - - \bool_if:NT \g_ptxcd_logo_inhead_bool { + \leavevmode\box_use:N \g_ptxcd_title_box\par + \dim_set:Nn \g_ptxcd_titlegraphic_max_height_dim {\textheight-\pagetotal} + \bool_if:NTF \g_ptxcd_logo_inhead_bool { \dim_compare:nT {\box_ht:N \g_ptxcd_title_info_box+ \box_dp:N \g_ptxcd_title_info_box > \box_ht:N \g_ptxcd_title_box} {\msg_warning:nn{tudaposter} {infobox-too-high}} + } { + \dim_compare:nT {\box_ht:N \g_ptxcd_title_info_box+ \box_dp:N \g_ptxcd_title_info_box > \box_ht:N \g_ptxcd_titlegraphic_box + \box_dp:N \g_ptxcd_titlegraphic_box} + {\msg_warning:nn{tudaposter} {infobox-too-high}} } - \leavevmode\box_use:N \g_ptxcd_title_box\par - \dim_set:Nn \g_ptxcd_titlegraphic_max_height_dim {\textheight-\pagetotal} \global\def\contentheight{\g_ptxcd_titlegraphic_max_height_dim} \tl_if_empty:NF \@titlegraphic{ \vbox_gset:Nn \g_ptxcd_titlegraphic_box {\parbox[t]{\dim_eval:n {\paperwidth-2\g_ptxcd_margin_dim}}{\@titlegraphic}} @@ -391,11 +409,11 @@ } \DeclareLayer[ - clone=TUDa.poster.marginpar, - height=\bool_if:NF \l_ptxcd_marginpar_overlap_bool {-\box_ht:N \g_ptxcd_titlegraphic_box-\box_dp:N \g_ptxcd_titlegraphic_box} - +\textheight-\box_ht:N \g_ptxcd_title_box-\box_dp:N \g_ptxcd_title_box-.5\c_ptxcd_logoheight_dim, - addvoffset=\bool_if:NF \l_ptxcd_marginpar_overlap_bool {+\box_ht:N\g_ptxcd_titlegraphic_box+\box_dp:N \g_ptxcd_titlegraphic_box} - +\box_ht:N \g_ptxcd_title_box+\box_dp:N \g_ptxcd_title_box+.5\c_ptxcd_logoheight_dim, + clone=TUDa.poster.marginpar, + height=\bool_if:NF \l_ptxcd_marginpar_overlap_bool {-\box_ht:N \g_ptxcd_titlegraphic_box-\box_dp:N \g_ptxcd_titlegraphic_box} + +\textheight-\box_ht:N \g_ptxcd_title_box-\box_dp:N \g_ptxcd_title_box-.5\c_ptxcd_logoheight_dim, + addvoffset=\bool_if:NF \l_ptxcd_marginpar_overlap_bool {+\box_ht:N\g_ptxcd_titlegraphic_box+\box_dp:N \g_ptxcd_titlegraphic_box} + +\box_ht:N \g_ptxcd_title_box+\box_dp:N \g_ptxcd_title_box+.5\c_ptxcd_logoheight_dim, ]{TUDa.poster.marginpar.title} \tl_if_empty:NF \g_ptxcd_poster_qrcode_tl { @@ -435,7 +453,7 @@ \parbox{2\c_ptxcd_logoheight_dim}{ \raggedright #1 - }} + }} } \cs_new:Nn \ptxcd_make_title_logo_box:n { @@ -478,11 +496,11 @@ \hbox_gset:Nn \g_ptxcd_title_info_box {\parbox{2.2\c_ptxcd_logoheight_dim}{ \seq_use:Nn \g_ptxcd_title_info_seq {\par\nointerlineskip\skip_vertical:n - { - \box_ht:N \ptxcd_headrule_box + \box_dp:N \ptxcd_headrule_box + { + \box_ht:N \ptxcd_headrule_box + \box_dp:N \ptxcd_headrule_box + } } - } - }} + }} } @@ -542,6 +560,53 @@ \global\def\contentwidth{\linewidth} \global\def\contentheight{\g_ptxcd_titlegraphic_max_height_dim} +%author setup + +\seq_new:N \g_ptxcd_author_seq + +\renewcommand*\author[1]{ + \seq_gset_split:Nnn \g_ptxcd_author_seq {\and} {#1} +} + +\msg_new:nnn{tudapub} {unknown-language} { + You~selected~an~unknown~language~#1.\\ + The~Variable~#2~does~not~have~a~predefined~value.\\ + Ensure~to~redefine~#2~to~match~your~language.\\ + Otherwise~the~ngerman~vaue~#3~will~be~used. +} + +\cs_new:Nn \ptxcd_define_captionFallback:Nn { + \providecommand*#1{ + \msg_warning:nnxxx{tudapub} {unknown-language} + {\languagename} {\exp_not:N #1} {#2} + \def#1{#2} + } +} + +\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 + \seq_use:Nnnn \g_ptxcd_author_seq {~\authorandname{}~} {,~} {~\&~} + \endgroup +} + +\ptxcd_declare_caption:Nnn \authorandname {und} {and} + +\newcommand*{\ptxcd_title@footnote}[2][1]{ + \textsuperscript{#1}#2 +} + \file_if_exist_input:n {tuda\g_ptxcd_department_str.cfg} diff --git a/macros/latex/contrib/tuda-ci/tex/tudapub.cls b/macros/latex/contrib/tuda-ci/tex/tudapub.cls index 407dc03f30..7ccb4fd236 100644 --- a/macros/latex/contrib/tuda-ci/tex/tudapub.cls +++ b/macros/latex/contrib/tuda-ci/tex/tudapub.cls @@ -1,4 +1,4 @@ -%% This is file `tudapub.cls' version 3.18 (2021/08/05), +%% This is file `tudapub.cls' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} +\def\fileversion{3.20} +\def\filedate{2021/10/12} \NeedsTeXFormat{LaTeX2e} \RequirePackage{expl3} \ProvidesExplClass{tudapub} @@ -70,7 +70,7 @@ class/scrartcl .code:n = \tl_gset:Nn \g_ptxcd_pub_class_tl {scrartcl}, class/book .meta:n = {class=scrbook}, class/scrbook .code:n = \tl_gset:Nn \g_ptxcd_pub_class_tl {scrbook}, - class .initial:n = scrartcl,%MAYBE add custom values + class .initial:n = scrartcl, color .meta:n = {accentcolor=#1}, accentcolor .code:n = {\PassOptionsToPackage{accentcolor=#1}{tudacolors}}, textaccentcolor .code:n = {\PassOptionsToPackage{textaccentcolor=#1}{tudacolors}}, @@ -553,6 +553,31 @@ \tl_new:N \g_ptxcd_titleimage_code_tl \tl_gset_eq:NN \g_ptxcd_titleimage_code_tl \c_empty_tl \newcommand{\titleimage}[1]{\tl_gset:Nn \g_ptxcd_titleimage_code_tl {#1}} +\box_new:N \l__ptxcd_titlegraphic_box + +\RequirePackage{trimclip} + +\NewDocumentCommand{\titlegraphic}{sm}{ + \IfBooleanTF{#1}{ + \tl_gset:Nn \g_ptxcd_titleimage_code_tl { + \hbox_set:Nn \l__ptxcd_titlegraphic_box {\raisebox{\depth}{#2}} + \box_resize_to_wd:Nn \l__ptxcd_titlegraphic_box {\width} + \dim_compare:nTF {\box_ht:N \l__ptxcd_titlegraphic_box -\height> \c_zero_dim} + { + \dim_set:Nn \l_tmpa_dim {.5\box_ht:N \l__ptxcd_titlegraphic_box - .5\height} + \clipbox{0pt~\dim_eval:n{\l_tmpa_dim}~0pt~\dim_eval:n{\l_tmpa_dim}}{\box_use:N \l__ptxcd_titlegraphic_box} + }{ + \box_resize_to_ht:Nn \l__ptxcd_titlegraphic_box {\height} + \dim_set:Nn \l_tmpa_dim {(\box_wd:N \l__ptxcd_titlegraphic_box - \width) / 2} + \clipbox{\dim_eval:n{\l_tmpa_dim}~0pt~\dim_eval:n{\l_tmpa_dim}~0pt}{\box_use:N \l__ptxcd_titlegraphic_box} + } + } + }{ + \tl_gset:Nn \g_ptxcd_titleimage_code_tl {#2} + } +} + +\let\titleimage\titlegraphic%for backwards compatbility \box_new:N \g_ptxcd_title_box \skip_new:N \g_ptxcd_title_fill_skip @@ -680,7 +705,7 @@ \colorbox{InfoBox}{ \makebox[\dim_eval:n {2.2\c_ptxcd_logoheight_dim-\fboxsep}][r]{ \parbox{2\c_ptxcd_logoheight_dim}{ - \expandafter\fontsize\ptxcd_titlethanks_fontsize:\selectfont\usekomafont{institution}% + \expandafter \fontsize\ptxcd_titlethanks_fontsize:\selectfont\usekomafont{institution}% \raggedright% #1 }}} diff --git a/macros/latex/contrib/tuda-ci/tex/tudarules.sty b/macros/latex/contrib/tuda-ci/tex/tudarules.sty index baa07563ac..30d394e63e 100644 --- a/macros/latex/contrib/tuda-ci/tex/tudarules.sty +++ b/macros/latex/contrib/tuda-ci/tex/tudarules.sty @@ -1,4 +1,4 @@ -%% This is file `tudarules.sty' version 3.18 (2021/08/05), +%% This is file `tudarules.sty' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} +\def\fileversion{3.20} +\def\filedate{2021/10/12} \NeedsTeXFormat{LaTeX2e} \RequirePackage{expl3} \ProvidesExplPackage{tudarules}{\filedate}{\fileversion}{Creation of colored bars for tuda-ci bundle} diff --git a/macros/latex/contrib/tuda-ci/tex/tudasciposter.cls b/macros/latex/contrib/tuda-ci/tex/tudasciposter.cls index aaa275001e..6c6b9eb5fe 100644 --- a/macros/latex/contrib/tuda-ci/tex/tudasciposter.cls +++ b/macros/latex/contrib/tuda-ci/tex/tudasciposter.cls @@ -1,4 +1,4 @@ -%% This is file `tudasciposter.cls' version 3.18 (2021/08/05), +%% This is file `tudasciposter.cls' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} +\def\fileversion{3.20} +\def\filedate{2021/10/12} \NeedsTeXFormat{LaTeX2e} \RequirePackage{expl3} \ProvidesExplPackage{tudasciposter}{\filedate}{\fileversion}{Scientific Poster Layout for TU Darmstadt} diff --git a/macros/latex/contrib/tuda-ci/tex/tudasize9pt.clo b/macros/latex/contrib/tuda-ci/tex/tudasize9pt.clo index ef55e0f993..d985ca36c0 100644 --- a/macros/latex/contrib/tuda-ci/tex/tudasize9pt.clo +++ b/macros/latex/contrib/tuda-ci/tex/tudasize9pt.clo @@ -1,4 +1,4 @@ -%% This is file `tudasize9pt.clo' version 3.18 (2021/08/05), +%% This is file `tudasize9pt.clo' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/tuda-ci/tex/tudathesis.cfg b/macros/latex/contrib/tuda-ci/tex/tudathesis.cfg index 779d33308e..ef323b801f 100644 --- a/macros/latex/contrib/tuda-ci/tex/tudathesis.cfg +++ b/macros/latex/contrib/tuda-ci/tex/tudathesis.cfg @@ -1,4 +1,4 @@ -%% This is file `tudathesis.cfg' version 3.18 (2021/08/05), +%% This is file `tudathesis.cfg' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} +\def\fileversion{3.20} +\def\filedate{2021/10/12} \RequirePackage{expl3} \ProvidesExplFile{tudathesis.cfg} {\filedate}{\fileversion}{Special Features for publication type 'thesis' using TU Darmstadt's Corporate Design (tuda-ci)} @@ -41,29 +41,29 @@ %Declare macros for department \cs_new:Nn \ptxcd_select_department:n { \str_case:nnTF {#1} { - {arch} {\ptxcd_declare_caption:Nnn \ptxcd_department {Architektur} {Architecture}} - {bauing} {\ptxcd_declare_caption:Nnn \ptxcd_department {Bau-~und~Umweltingenieurwissenschaften}{Civil~and~Environmental~Engineering}} - {bio} {\ptxcd_declare_caption:Nnn \ptxcd_department {Biologie}{Biology}} - {chem} {\ptxcd_declare_caption:Nnn \ptxcd_department {Chemie}{Chemistry}} - {etit} {\ptxcd_declare_caption:Nnn \ptxcd_department {Elektrotechnik~und~Informationstechnik}{Electrical~Engineering~and~Information~Technology}} - {gugw} {\ptxcd_declare_caption:Nnn \ptxcd_department {Gesellschafts-~und~Geschichtswissenschaften}{History~and~Social~Sciences}} - {humanw} {\ptxcd_declare_caption:Nnn \ptxcd_department {Humanwissenschaften}{Human~Sciences}} - {inf} {\ptxcd_declare_caption:Nnn \ptxcd_department {Informatik}{Computer~Science}} - {mb} {\ptxcd_declare_caption:Nnn \ptxcd_department {Maschinenbau}{Mechanical~Engineering}} - {matgeo} {\ptxcd_declare_caption:Nnn \ptxcd_department {Material-~und~Geowissenschaften}{Materials~and~Earth~Sciences}} - {math} {\ptxcd_declare_caption:Nnn \ptxcd_department {Mathematik}{Mathematics}} - {phys} {\ptxcd_declare_caption:Nnn \ptxcd_department {Physik}{Physics}} - {wi} {\ptxcd_declare_caption:Nnn \ptxcd_department {Rechts-~und~Wirtschaftswissenschaften}{Law~and~Economics}} + {arch} {\ptxcd_declare_caption:Nnn \ptxcd_department: {Architektur} {Architecture}} + {bauing} {\ptxcd_declare_caption:Nnn \ptxcd_department: {Bau-~und~Umweltingenieurwissenschaften}{Civil~and~Environmental~Engineering}} + {bio} {\ptxcd_declare_caption:Nnn \ptxcd_department: {Biologie}{Biology}} + {chem} {\ptxcd_declare_caption:Nnn \ptxcd_department: {Chemie}{Chemistry}} + {etit} {\ptxcd_declare_caption:Nnn \ptxcd_department: {Elektrotechnik~und~Informationstechnik}{Electrical~Engineering~and~Information~Technology}} + {gugw} {\ptxcd_declare_caption:Nnn \ptxcd_department: {Gesellschafts-~und~Geschichtswissenschaften}{History~and~Social~Sciences}} + {humanw} {\ptxcd_declare_caption:Nnn \ptxcd_department: {Humanwissenschaften}{Human~Sciences}} + {inf} {\ptxcd_declare_caption:Nnn \ptxcd_department: {Informatik}{Computer~Science}} + {mb} {\ptxcd_declare_caption:Nnn \ptxcd_department: {Maschinenbau}{Mechanical~Engineering}} + {matgeo} {\ptxcd_declare_caption:Nnn \ptxcd_department: {Material-~und~Geowissenschaften}{Materials~and~Earth~Sciences}} + {math} {\ptxcd_declare_caption:Nnn \ptxcd_department: {Mathematik}{Mathematics}} + {phys} {\ptxcd_declare_caption:Nnn \ptxcd_department: {Physik}{Physics}} + {wi} {\ptxcd_declare_caption:Nnn \ptxcd_department: {Rechts-~und~Wirtschaftswissenschaften}{Law~and~Economics}} } { \ptxcd_declare_caption:Nnn \departmentname {Fachbereich} {department} - \ptxcd_declare_caption:Nnn \ptxcd_departmentprefix {im~ \departmentname}{in~the~\departmentname{}~ of} - \ptxcd_declare_caption:Nnn \departmentfullname {\departmentname{}~ \ptxcd_department} { \ptxcd_department{}~ \text_titlecase:n{\departmentname}} + \ptxcd_declare_caption:Nnn \ptxcd_departmentprefix: {im~ \departmentname}{in~the~\departmentname{}~ of} + \ptxcd_declare_caption:Nnn \departmentfullname {\departmentname{}~ \ptxcd_department:} { \ptxcd_department:{}~ \text_titlecase:n{\departmentname}} } {\bool_if:NTF \g_ptxcd_dr_bool { \msg_warning:nnn{tudapub/thesis} {unrecognized-department} {#1} - \gdef\ptxcd_department{#1} + \gdef\ptxcd_department:{#1} \ptxcd_declare_caption:Nnn \departmentname {Fachbereich} {department} } {\ptxcd_select_studyfield:n {#1}} @@ -73,21 +73,21 @@ \cs_new:Nn \ptxcd_select_studyfield:n { \str_case:nnTF {#1} { - {ce}{\ptxcd_declare_caption:Nnn \ptxcd_department {Computational\nobreakspace Engineering}{Computational\nobreakspace Engineering}} - {ese}{\ptxcd_declare_caption:Nnn \ptxcd_department {Energy~Science~and~Engineering}{Energy~Science~and~Engineering}} - {ist}{\ptxcd_declare_caption:Nnn \ptxcd_department {Informationssystemtechnik} {Information~Systems~Technology}} - {mech}{\ptxcd_declare_caption:Nnn \ptxcd_department {Mechanik}{Mechanics}} - {metro}{\ptxcd_declare_caption:Nnn \ptxcd_department {Mechatronik}{Mechatronics}} + {ce}{\ptxcd_declare_caption:Nnn \ptxcd_department: {Computational\nobreakspace Engineering}{Computational\nobreakspace Engineering}} + {ese}{\ptxcd_declare_caption:Nnn \ptxcd_department: {Energy~Science~and~Engineering}{Energy~Science~and~Engineering}} + {ist}{\ptxcd_declare_caption:Nnn \ptxcd_department: {Informationssystemtechnik} {Information~Systems~Technology}} + {mech}{\ptxcd_declare_caption:Nnn \ptxcd_department: {Mechanik}{Mechanics}} + {metro}{\ptxcd_declare_caption:Nnn \ptxcd_department: {Mechatronik}{Mechatronics}} } { \ptxcd_declare_caption:Nnn \departmentname {Studienbereich} {field~of~study} - \ptxcd_declare_caption:Nnn \departmentfullname {\departmentname{}~ \ptxcd_department} {\departmentname{}:~\ptxcd_department} - \ptxcd_declare_caption:Nnn \ptxcd_departmentprefix {im~ \departmentname}{in~the~\departmentname} - \ptxcd_declare_caption:Nnn \ptxcd_in_department {\ptxcd_departmentprefix{}~\ptxcd_department} {\ptxcd_departmentprefix{}~``\ptxcd_department''} + \ptxcd_declare_caption:Nnn \departmentfullname {\departmentname{}~ \ptxcd_department:} {\departmentname{}:~\ptxcd_department:} + \ptxcd_declare_caption:Nnn \ptxcd_departmentprefix: {im~ \departmentname}{in~the~\departmentname} + \ptxcd_declare_caption:Nnn \ptxcd_in_department {\ptxcd_departmentprefix:{}~\ptxcd_department:} {\ptxcd_departmentprefix:{}~``\ptxcd_department:''} } { \msg_warning:nnn{tudapub/thesis} {unrecognized-department} {#1} - \gdef\ptxcd_department{#1} + \gdef\ptxcd_department:{#1} \ptxcd_declare_caption:Nnn \departmentname {Fachbereich} {department} } } @@ -98,17 +98,18 @@ \ptxcd_declare_caption:Nnn \ptxcd_byname {von} {by} \ptxcd_declare_caption:Nnn \ptxcd_fromname {aus} {from} -\ptxcd_declare_caption:Nnn \ptxcd_departmentprefix {im~ \departmentname}{in~the~\departmentname{}~ of} +\ptxcd_declare_caption:Nnn \ptxcd_departmentprefix: {im~ \departmentname}{in~the~\departmentname{}~ of} \ptxcd_declare_caption:Nnn \ptxcd_reviewname {Gutachten}{review} \ptxcd_declare_caption:Nnnn \ptxcd_examdatename {Tag~ der~ Prüfung}{Date~ of~ thesis~ defense}{Date~ of~ thesis~ defence} \ptxcd_declare_caption:Nnn \ptxcd_submissiondatename {Tag~ der~ Einreichung}{Date~ of~ submission} \ptxcd_declare_caption:Nnn \ptxcd_studentIDname {Matrikelnummer} {Student\nobreakspace ID} %Fallback content for box if not overwritten -\newcommand*\ptxcd_box_department {\cs_if_exist_use:NF \departmentfullname {\ptxcd_department}} +\newcommand*\ptxcd_box_department {\cs_if_exist_use:NF \departmentfullname {\ptxcd_department:}} \newcommand*\ptxcd_in_department {} \newcommand*{\ptxcd_thesisStatus}{} \tl_new:N \g__ptxcd_affidavit_version_tl +\def\@ThesisTypeArticle{die} \keys_define:nn {ptxcd/thesis} { dr .choice:, @@ -122,13 +123,13 @@ }, % type/diplom .code:n = {\def\ptxcd_thesisType{Diplomarbeit}\clist_gset:Nn \g_ptxcd_Required_title_data_clist {title, author, submissiondate, reviewer, department}}, type/bsc .meta:n = {type=bachelor}, - type/bachelor .code:n = {\ptxcd_declare_caption:Nnn \ptxcd_thesisType{Bachelorarbeit}{bachelor~ thesis} \clist_gset:Nn \g_ptxcd_Required_title_data_clist {title, author, submissiondate, department, reviewer}\bool_gset_false:N \g_ptxcd_dr_bool}, - type/pp .code:n = {\def\ptxcd_thesisType{Project-Proposal}\clist_gset:Nn \g_ptxcd_Required_title_data_clist {title, author, date, department}\bool_gset_false:N \g_ptxcd_dr_bool}, + type/bachelor .code:n = {\ptxcd_declare_caption:Nnn \ptxcd_thesisType{Bachelorarbeit}{bachelor~ thesis}\def\@ThesisTypeArticle{die}\clist_gset:Nn \g_ptxcd_Required_title_data_clist {title, author, submissiondate, department, reviewer}\bool_gset_false:N \g_ptxcd_dr_bool}, + type/pp .code:n = { \ptxcd_declare_caption:Nnn \ptxcd_thesisType {Project-Proposal}{project~ proposal}\def\@ThesisTypeArticle{das}\clist_gset:Nn \g_ptxcd_Required_title_data_clist {title, author, date, department}\bool_gset_false:N \g_ptxcd_dr_bool}, type/msc .meta:n = {type=master}, - type/master .code:n = \ptxcd_declare_caption:Nnn \ptxcd_thesisType{Masterarbeit}{master~ thesis} \clist_gset:Nn \g_ptxcd_Required_title_data_clist {title, author, submissiondate, department, reviewer}\bool_gset_false:N \g_ptxcd_dr_bool, - type/dr .code:n = \ptxcd_declare_caption:Nnn \ptxcd_thesisType{Dissertation}{doctoral~ thesis}\ptxcd_declare_caption:Nnn\ptxcd_thesisStatus{vorgelegte}{submitted}\clist_gset:Nn \g_ptxcd_Required_title_data_clist {title, author, submissiondate , birthplace, department, reviewer}\bool_gset_true:N \g_ptxcd_dr_bool, - type/drfinal .code:n = \ptxcd_declare_caption:Nnn \ptxcd_thesisType {Dissertation}{doctoral~ thesis}\ptxcd_declare_caption:Nnn\ptxcd_thesisStatus{genehmigte}{accepted}\clist_gset:Nn \g_ptxcd_Required_title_data_clist {title, author, submissiondate,examdate, birthplace, department, reviewer}\bool_gset_true:N \g_ptxcd_dr_bool, - type/unknown .code:n = \def\ptxcd_thesisType{#1}\clist_gset:Nn \g_ptxcd_Required_title_data_clist {}\bool_gset_false:N \g_ptxcd_dr_bool, + type/master .code:n = \ptxcd_declare_caption:Nnn \ptxcd_thesisType{Masterarbeit}{master~ thesis}\def\@ThesisTypeArticle{die}\clist_gset:Nn \g_ptxcd_Required_title_data_clist {title, author, submissiondate, department, reviewer}\bool_gset_false:N \g_ptxcd_dr_bool, + type/dr .code:n = \ptxcd_declare_caption:Nnn \ptxcd_thesisType{Dissertation}{doctoral~ thesis}\ptxcd_declare_caption:Nnn\ptxcd_thesisStatus{vorgelegte}{submitted}\def\@ThesisTypeArticle{die}\clist_gset:Nn \g_ptxcd_Required_title_data_clist {title, author, submissiondate , birthplace, department, reviewer}\bool_gset_true:N \g_ptxcd_dr_bool, + type/drfinal .code:n = \ptxcd_declare_caption:Nnn \ptxcd_thesisType {Dissertation}{doctoral~ thesis}\ptxcd_declare_caption:Nnn\ptxcd_thesisStatus{genehmigte}{accepted}\def\@ThesisTypeArticle{die}\clist_gset:Nn \g_ptxcd_Required_title_data_clist {title, author, submissiondate,examdate, birthplace, department, reviewer}\bool_gset_true:N \g_ptxcd_dr_bool, + type/unknown .code:n = \def\ptxcd_thesisType{#1}\clist_gset:Nn \g_ptxcd_Required_title_data_clist {}\def\@ThesisTypeArticle{die}\bool_gset_false:N \g_ptxcd_dr_bool, ignore-missing-data .bool_gset:N = \g_ptxcd_missing_data_warning_bool, ignore-missing-data .initial:n = false, department .tl_gset:N = \g_ptxcd_department_choice_tl, @@ -180,28 +181,28 @@ \renewcommand*\author[2][]{ \seq_gset_split:Nnn \g_ptxcd_author_seq {\and} {#2} \tl_if_empty:nTF {#1} - {\def\ptxcd_signature{#2}} - {\def\ptxcd_signature{#1}} + {\tl_set:Nn \l_ptxcd_signature_tl {#2}} + {\tl_set:Nn \l_ptxcd_signature_tl {#1}} } \newcommand*{\studentID}[1]{ - \gdef\ptxcd_studentID{#1} + \tl_set:Nn \l_ptxcd_studentID_tl {#1} } \gdef\ptxcd_institution{} \gdef\ptxcd_institute{} -\gdef\ptxcd_department{} -\gdef\ptxcd_studentID{} +\gdef\ptxcd_department:{} +%\gdef\ptxcd_studentID{} \NewDocumentCommand{\department}{som}{% \IfBooleanTF{#1}{ - \tl_gset:Nn \ptxcd_department {#3} + \tl_gset:Nn \ptxcd_department: {#3} \tl_gset:Nn \ptxcd_in_department{#3} \IfNoValueTF {\tl_gset:Nn \ptxcd_box_department {#3}} {\tl_gset:Nn \ptxcd_box_department{#2}} \clist_remove_all:Nn \g_ptxcd_Required_title_data_clist {department} }{ \tl_gset:Nn \g_ptxcd_department_choice_tl {#3} - \IfNoValueF {#2} {\tl_gset:Nn \ptxcd_departmentprefix {#2}} + \IfNoValueF {#2} {\tl_gset:Nn \ptxcd_departmentprefix: {#2}} } } @@ -297,6 +298,13 @@ }, license / unknown .code:n = \tl_gset:Nn \g_ptxcd_license_info_tl {#1}, license .initial:n = initial, + signature .tl_set:N = \l_ptxcd_signature_tl, + studentID .tl_set:N = \l_ptxcd_studentID_tl, + studentID .initial:n =, + signature-image .tl_set:N = \l_ptxcd_signature_image_tl, + signature-image .initial:n =, + signature-location .tl_set:N = \l_ptxcd_signature_location_tl, + signature-location .initial:n = Darmstadt, } \msg_new:nnnn {tudapub/thesis} {default-license-will-change} { @@ -369,7 +377,7 @@ \tl_if_empty:NF \ptxcd_in_department {\ptxcd_in_department{}~} \seq_if_empty:NF \g_ptxcd_author_seq {\ptxcd_byname\nobreakspace\@author} \tl_if_empty:NF \ptxcd_birthplace {\space\ptxcd_fromname\space\ptxcd_birthplace} - \tl_if_empty:NF \ptxcd_studentID {\space\ptxcd_insert_studentID:n {\ptxcd_studentID}} + \tl_if_empty:NF \l_ptxcd_studentID_tl {\space\ptxcd_insert_studentID:n {\l_ptxcd_studentID_tl}} } \uppertitleback{ @@ -537,7 +545,7 @@ } \let\@thanks\@empty \bool_if:NF \g_ptxcd_manual_info_box_bool { - \exp_args:Nf \tl_if_empty:nF {\ptxcd_institution\ptxcd_department\ptxcd_institute\ptxcd_group} { + \exp_args:Nf \tl_if_empty:nF {\ptxcd_institution\ptxcd_department:\ptxcd_institute\ptxcd_group} { \addTitleBox{ \setlength{\parskip}{\c_ptxcd_rulesep_dim} \tl_if_empty:NF \ptxcd_institution {\ptxcd_institution\par} @@ -617,7 +625,9 @@ \NewDocumentCommand{\affidavit}{so}{% \IfNoValueF {#2} {% - \csname keys_set:nn\endcsname {ptxcd/thesis} {affidavit=#2}% + \tl_if_in:nnTF {#2} {=} + {\keys_set:nn {ptxcd/thesis} {#2}} + {\keys_set:nn {ptxcd/thesis} {affidavit=#2}}% }% \clearpage \begin{otherlanguage}{ngerman} @@ -652,7 +662,7 @@ \expandafter\def\csname g__ptxcd_affidavit_digital_tl\endcsname {% \section*{Erklärung zur Abschlussarbeit gemäß\\ \S{}22~Abs.~7~APB TU~Darmstadt} \begin{sloppypar}% - Hiermit versichere ich, \@author, die vorliegende \@ThesisType{} gemäß \S{}22~Abs.~7~APB der TU Darmstadt ohne Hilfe Dritter und nur mit den angegebenen Quellen und Hilfsmitteln angefertigt zu haben. + Hiermit versichere ich, \@author, \@ThesisTypeArticle{} vorliegende \@ThesisType{} gemäß \S{}22~Abs.~7~APB der TU Darmstadt ohne Hilfe Dritter und nur mit den angegebenen Quellen und Hilfsmitteln angefertigt zu haben. Alle Stellen, die Quellen entnommen wurden, sind als solche kenntlich gemacht worden. Diese Arbeit hat in gleicher oder ähnlicher Form noch keiner Prüfungsbehörde vorgelegen. \end{sloppypar}% \par @@ -663,7 +673,7 @@ \expandafter\def\csname g__ptxcd_affidavit_print_tl\endcsname {% \section*{Erklärung zur Abschlussarbeit\\gemäß \S{}22~Abs.~7 und \S{}23~Abs.~7~APB der TU~Darmstadt} - Hiermit versichere ich, \@author, die vorliegende \@ThesisType{} ohne Hilfe Dritter und nur mit den angegebenen Quellen und Hilfsmitteln angefertigt zu haben. Alle Stellen, die Quellen entnommen wurden, sind als solche kenntlich gemacht worden. Diese Arbeit hat in gleicher oder ähnlicher Form noch keiner Prüfungsbehörde vorgelegen. + Hiermit versichere ich, \@author, \@ThesisTypeArticle{} vorliegende \@ThesisType{} ohne Hilfe Dritter und nur mit den angegebenen Quellen und Hilfsmitteln angefertigt zu haben. Alle Stellen, die Quellen entnommen wurden, sind als solche kenntlich gemacht worden. Diese Arbeit hat in gleicher oder ähnlicher Form noch keiner Prüfungsbehörde vorgelegen. \par Mir ist bekannt, dass im Fall eines Plagiats (\S{}38~Abs.~2~APB) ein Täuschungsversuch vorliegt, der dazu führt, dass die Arbeit mit 5,0 bewertet und damit ein Prüfungsversuch verbraucht wird. Abschlussarbeiten dürfen nur einmal wiederholt werden. \par @@ -681,13 +691,19 @@ \IfNoValueF {#1} {\end{otherlanguage}} } -\newcommand*{\AffidavitSignature}[1][Darmstadt]{ +\newcommand*{\AffidavitSignature}[1][\l_ptxcd_signature_location_tl]{ \par - \bigskip - \noindent #1,~ \ptxcd_submissiondate\hfill\SignatureBox{\ptxcd_signature}\\\strut + \tl_if_empty:NT \l_ptxcd_signature_image_tl {\bigskip} + \noindent #1,~ \ptxcd_submissiondate\hfill + \SignatureBox{\l_ptxcd_signature_tl}%} + \\\strut } -\newcommand*{\SignatureBox}[2][5cm]{\parbox[t]{#1}{\centering\rule{\linewidth}{.3pt}\\\makebox[0pt][c]{#2}}} +\newcommand*{\SignatureBox}[2][5cm]{\parbox[t]{#1}{\centering + \tl_if_empty:NF \l_ptxcd_signature_image_tl + {\let\width\linewidth\l_ptxcd_signature_image_tl\par\nointerlineskip} + \rule{\linewidth}{.3pt}\\\makebox[0pt][c]{#2}} +} %messages: \msg_new:nnn{tudapub/thesis} {dr-field-only} { |