summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tuda-ci/tex/tudathesis.cfg
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-10-13 03:01:03 +0000
committerNorbert Preining <norbert@preining.info>2021-10-13 03:01:03 +0000
commitf3646ee8d559655d609cfc1108a77dea360c933a (patch)
tree2be9068915923c430bb3e04fc6346e1e3f56ecb6 /macros/latex/contrib/tuda-ci/tex/tudathesis.cfg
parent20b79660fb560eb1dd8e80d44837e0d4c17ca03c (diff)
CTAN sync 202110130301
Diffstat (limited to 'macros/latex/contrib/tuda-ci/tex/tudathesis.cfg')
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tudathesis.cfg120
1 files changed, 68 insertions, 52 deletions
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} {