From 0e45b33539158fb81bd75181c9633d0261a1e71c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 5 Apr 2022 22:13:55 +0000 Subject: uni-titlepage (23mar22) git-svn-id: svn://tug.org/texlive/trunk@62947 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/uni-titlepage/title-DHBW.def | 38 ++++++++-------- .../tex/latex/uni-titlepage/title-JT-Aufsaetze.def | 25 ++++++----- .../latex/uni-titlepage/title-JT-Geschichte.def | 4 +- .../latex/uni-titlepage/title-JT-Typography.def | 10 ++--- .../tex/latex/uni-titlepage/title-KIT.def | 14 +++--- .../tex/latex/uni-titlepage/title-KOMAScript.def | 6 +-- .../tex/latex/uni-titlepage/title-Markus-1.def | 4 +- .../tex/latex/uni-titlepage/title-Markus-2.def | 4 +- .../tex/latex/uni-titlepage/title-Spacer.def | 4 +- .../tex/latex/uni-titlepage/title-TU-DD.def | 6 +-- .../tex/latex/uni-titlepage/title-TU-HH.def | 20 ++++----- .../tex/latex/uni-titlepage/title-UKoLa.def | 18 ++++---- .../tex/latex/uni-titlepage/title-WWUM.def | 52 +++++++++++----------- .../tex/latex/uni-titlepage/uni-titlepage.sty | 20 +++++++-- 14 files changed, 121 insertions(+), 104 deletions(-) (limited to 'Master/texmf-dist/tex/latex') diff --git a/Master/texmf-dist/tex/latex/uni-titlepage/title-DHBW.def b/Master/texmf-dist/tex/latex/uni-titlepage/title-DHBW.def index 8fc2b64b5c6..df2db4c1a64 100644 --- a/Master/texmf-dist/tex/latex/uni-titlepage/title-DHBW.def +++ b/Master/texmf-dist/tex/latex/uni-titlepage/title-DHBW.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% uni-titlepage.dtx (with options: `driver,DHBW') -%% Copyright (c) 2009-2021 by Markus Kohm +%% Copyright (c) 2009-2022 by Markus Kohm %% %% This file was generated from file(s) of uni-titlepage distribution. %% @@ -31,7 +31,7 @@ -DHBW% .def% }[% -2022/01/24 v0.7b +2022/03/22 v1.0 KOMA presents the title page project ] \begingroup @@ -58,23 +58,23 @@ KOMA presents the title page project ]{title} \providecommand*{\presentationinformationDHBW}{% for the \examinationname{} of\\[.5\baselineskip] - \@academicgrade\\[0pt plus 1fill] - of \@discipline\\[.5\baselineskip] - at the \@university{} \@place\\ + \usenonemptytitleelement{academicgrade}\\[0pt plus 1fill] + of \usenonemptytitleelement{discipline}\\[.5\baselineskip] + at the \usenonemptytitleelement{university}\ifx\@place\@empty\else\space\@place\fi } \providecaptionname{american,australian,british,canadian,% english,newzealand,UKenglish,USenglish}{\presentationinformationDHBW}{% for the \examinationname\\[.5\baselineskip] - \@academicgrade\\[0pt plus 1fill] - of degree course \@discipline\\[.5\baselineskip] - at the \@university\ifx\@place\@empty\else\space\@place\fi + \usenonemptytitleelement{academicgrade}\\[0pt plus 1fill] + of degree course \usenonemptytitleelement{discipline}\\[.5\baselineskip] + at the \usenonemptytitleelement{university}\ifx\@place\@empty\else\space\@place\fi }% \providecaptionname{german,ngerman,austrian,naustrian,% swissgerman,nswissgerman}{\presentationinformationDHBW}{% f\"ur die \examinationname{} zum\\[.5\baselineskip] - \@academicgrade\\[0pt plus 1fill] - des Studienganges \@discipline\\[.5\baselineskip] - an der \@university{}\ifx\@place\@empty\else\space\@place\fi + \usenonemptytitleelement{academicgrade}\\[0pt plus 1fill] + des Studienganges \usenonemptytitleelement{discipline}\\[.5\baselineskip] + an der \usenonemptytitleelement{university}\ifx\@place\@empty\else\space\@place\fi }% \renewcommand*{\inittitle}{% \ifx\@university\@empty @@ -124,24 +124,24 @@ KOMA presents the title page project \centering \Large \vfill - {\titlefont{\Large\@title}}\par + {\titlefont{\Large\usenonemptytitleelement{title}}}\par \vfill - {\subject@font{\Large\@subject\par}}% + {\subject@font{\Large\usenonemptytitleelement{subject}\par}}% \vfill \presentationinformationDHBW\par \vfill \fromname\\[.5\baselineskip] - \@author\par + \usenonemptytitleelement{author}\par \vfill \@date\par \vfill \begin{tabular}{*2{p{.5\dimexpr\linewidth-3\tabcolsep\relax}}@{}} \durationname & \@duration \\[.5ex] - \matriculationnumbername, \coursename & \@matriculationnumber, - \@course\\[.5ex] - \companyname & \@company \\[.5ex] - \advisorname{} \ofthename{} \companyname & \@advisor \\[.5ex] - \refereename{} \ofthename{} \@university & \@referee + \matriculationnumbername, \coursename & \usenonemptytitleelement{matriculationnumber}, + \usenonemptytitleelement{course}\\[.5ex] + \companyname & \usenonemptytitleelement{company} \\[.5ex] + \advisorname{} \ofthename{} \companyname & \usenonemptytitleelement{advisor} \\[.5ex] + \refereename{} \ofthename{} \@university & \usenonemptytitleelement{referee} \end{tabular} \end{minipage} \end{% diff --git a/Master/texmf-dist/tex/latex/uni-titlepage/title-JT-Aufsaetze.def b/Master/texmf-dist/tex/latex/uni-titlepage/title-JT-Aufsaetze.def index 12be912e3e4..4b598876040 100644 --- a/Master/texmf-dist/tex/latex/uni-titlepage/title-JT-Aufsaetze.def +++ b/Master/texmf-dist/tex/latex/uni-titlepage/title-JT-Aufsaetze.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% uni-titlepage.dtx (with options: `driver,JT-Aufsaetze') -%% Copyright (c) 2009-2021 by Markus Kohm +%% Copyright (c) 2009-2022 by Markus Kohm %% %% This file was generated from file(s) of uni-titlepage distribution. %% @@ -31,7 +31,7 @@ -JT-Aufsaetze% .def% }[% -2022/01/24 v0.7b +2022/03/22 v1.0 KOMA presents the title page project ] \begingroup @@ -91,16 +91,17 @@ KOMA presents the title page project \linespread{1}\selectfont \@titlepagefont \centering - \@author\\ - \begin{picture}(\title@rulewidth\@gobble, - \dimexpr .3ex+1pt+\title@rulesep\relax\@gobble) - \put(0,\dimexpr .15ex+.5pt+\title@rulesep\relax\@gobble){% - \linethickness{.3ex}\line(1,0){\title@rulewidth\@gobble}% - }% - \put(0,0){% - \linethickness{1pt}\line(1,0){\title@rulewidth\@gobble}% - }% - \end{picture}\\[\baselineskip] + \ifx\@author\@empty\else\@author\\ + \begin{picture}(\title@rulewidth\@gobble, + \dimexpr .3ex+1pt+\title@rulesep\relax\@gobble) + \put(0,\dimexpr .15ex+.5pt+\title@rulesep\relax\@gobble){% + \linethickness{.3ex}\line(1,0){\title@rulewidth\@gobble}% + }% + \put(0,0){% + \linethickness{1pt}\line(1,0){\title@rulewidth\@gobble}% + }% + \end{picture}\\[\baselineskip] + \fi {\titlefont{\@title\par}}% \vfill \@publisher diff --git a/Master/texmf-dist/tex/latex/uni-titlepage/title-JT-Geschichte.def b/Master/texmf-dist/tex/latex/uni-titlepage/title-JT-Geschichte.def index e8dcaaad328..474dcbd2516 100644 --- a/Master/texmf-dist/tex/latex/uni-titlepage/title-JT-Geschichte.def +++ b/Master/texmf-dist/tex/latex/uni-titlepage/title-JT-Geschichte.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% uni-titlepage.dtx (with options: `driver,JT-Geschichte') -%% Copyright (c) 2009-2021 by Markus Kohm +%% Copyright (c) 2009-2022 by Markus Kohm %% %% This file was generated from file(s) of uni-titlepage distribution. %% @@ -31,7 +31,7 @@ -JT-Geschichte% .def% }[% -2022/01/24 v0.7b +2022/03/22 v1.0 KOMA presents the title page project ] \begingroup diff --git a/Master/texmf-dist/tex/latex/uni-titlepage/title-JT-Typography.def b/Master/texmf-dist/tex/latex/uni-titlepage/title-JT-Typography.def index b01b2e04d97..0ad9607916d 100644 --- a/Master/texmf-dist/tex/latex/uni-titlepage/title-JT-Typography.def +++ b/Master/texmf-dist/tex/latex/uni-titlepage/title-JT-Typography.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% uni-titlepage.dtx (with options: `driver,JT-Typography') -%% Copyright (c) 2009-2021 by Markus Kohm +%% Copyright (c) 2009-2022 by Markus Kohm %% %% This file was generated from file(s) of uni-titlepage distribution. %% @@ -31,7 +31,7 @@ -JT-Typography% .def% }[% -2022/01/24 v0.7b +2022/03/22 v1.0 KOMA presents the title page project ] \begingroup @@ -70,12 +70,12 @@ KOMA presents the title page project \linespread{1}\selectfont \@titlepagefont \raggedright - {\Large\MakeUppercase{\@author}\\[\baselineskip]} + {\Large\MakeUppercase{\@author}\unskip\strut\\[\baselineskip]} {\titlefont{\Huge\MakeUppercase{\@title}\unskip\strut\\}} - {\@subtitlefont{\normalsize\MakeUppercase{\@subtitle}\\}} + {\@subtitlefont{\normalsize\MakeUppercase{\@subtitle}\unskip\strut\\}} \vfill {\normalsize\MakeUppercase{\@place}\ifx\@place\@empty\else\enskip\fi - {\LARGE\MakeUppercase{\@date}} + {\LARGE\MakeUppercase{\@date}}% \ifx\@publisher\@empty\else\unskip\strut\\[1.5\baselineskip] \MakeUppercase{\@publisher}% \fi} diff --git a/Master/texmf-dist/tex/latex/uni-titlepage/title-KIT.def b/Master/texmf-dist/tex/latex/uni-titlepage/title-KIT.def index 912a7c2b76f..9e87b933d94 100644 --- a/Master/texmf-dist/tex/latex/uni-titlepage/title-KIT.def +++ b/Master/texmf-dist/tex/latex/uni-titlepage/title-KIT.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% uni-titlepage.dtx (with options: `driver,KIT') -%% Copyright (c) 2009-2021 by Markus Kohm +%% Copyright (c) 2009-2022 by Markus Kohm %% %% This file was generated from file(s) of uni-titlepage distribution. %% @@ -31,7 +31,7 @@ -KIT% .def% }[% -2022/01/24 v0.7b +2022/03/22 v1.0 KOMA presents the title page project ] \begingroup @@ -57,17 +57,17 @@ KOMA presents the title page project KIT% ]{title} \providecommand*{\presentationinformationKIT}{% - At the \@faculty\\ + At the \usenonemptytitleelement{faculty}\\ \strut\ignorespaces\@chair\\ } \providecaptionname{american,australian,british,canadian,% english,newzealand,UKenglish,USenglish}{\presentationinformationKIT}{% - At the \@faculty\\ + At the \usenonemptytitleelement{faculty}\\ \strut\ignorespaces\@chair\\ }% \providecaptionname{german,ngerman,austrian,naustrian,% swissgerman,nswissgerman}{\presentationinformationKIT}{% - An der \@faculty\\ + An der \usenonemptytitleelement{faculty}\\ \strut\ignorespaces\@chair\\ }% \providecaptionname{american,australian,british,canadian,% @@ -190,9 +190,9 @@ KOMA presents the title page project \vskip 25mm {\@titlepagefont\@title\par}% \vskip 20mm - {\Large\@subject\\\fromname\par} + {\Large\@subject\par\fromname\par} \vskip 1cm - {\huge\@author\par} + {\huge\usenonemptytitleelement{author}\par} \vskip 1cm {\Large\presentationinformationKIT\par} \vskip 2cm diff --git a/Master/texmf-dist/tex/latex/uni-titlepage/title-KOMAScript.def b/Master/texmf-dist/tex/latex/uni-titlepage/title-KOMAScript.def index 6c4f9c8bf9a..96a557c5473 100644 --- a/Master/texmf-dist/tex/latex/uni-titlepage/title-KOMAScript.def +++ b/Master/texmf-dist/tex/latex/uni-titlepage/title-KOMAScript.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% uni-titlepage.dtx (with options: `driver,KOMAScript') -%% Copyright (c) 2009-2021 by Markus Kohm +%% Copyright (c) 2009-2022 by Markus Kohm %% %% This file was generated from file(s) of uni-titlepage distribution. %% @@ -31,7 +31,7 @@ -KOMAScript% .def% }[% -2022/01/24 v0.7b +2022/03/22 v1.0 KOMA presents the title page project ] \begingroup @@ -85,7 +85,7 @@ KOMA presents the title page project {\subject@font{\@subject \par}}% \vskip 3em \fi - {\titlefont{\huge \@title\par}}% + {\titlefont{\huge \usenonemptytitleelement{title}\par}}% \vskip 1em {\ifx\@subtitle\@empty\else\@subtitlefont{\@subtitle}\par\fi}% \vskip 2em diff --git a/Master/texmf-dist/tex/latex/uni-titlepage/title-Markus-1.def b/Master/texmf-dist/tex/latex/uni-titlepage/title-Markus-1.def index 7987a9c18cc..ca3c881a24a 100644 --- a/Master/texmf-dist/tex/latex/uni-titlepage/title-Markus-1.def +++ b/Master/texmf-dist/tex/latex/uni-titlepage/title-Markus-1.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% uni-titlepage.dtx (with options: `driver,Markus,1') -%% Copyright (c) 2009-2021 by Markus Kohm +%% Copyright (c) 2009-2022 by Markus Kohm %% %% This file was generated from file(s) of uni-titlepage distribution. %% @@ -31,7 +31,7 @@ -Markus-1% .def% }[% -2022/01/24 v0.7b +2022/03/22 v1.0 KOMA presents the title page project ] \begingroup diff --git a/Master/texmf-dist/tex/latex/uni-titlepage/title-Markus-2.def b/Master/texmf-dist/tex/latex/uni-titlepage/title-Markus-2.def index a9809336217..1cb76af6d7b 100644 --- a/Master/texmf-dist/tex/latex/uni-titlepage/title-Markus-2.def +++ b/Master/texmf-dist/tex/latex/uni-titlepage/title-Markus-2.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% uni-titlepage.dtx (with options: `driver,Markus,2') -%% Copyright (c) 2009-2021 by Markus Kohm +%% Copyright (c) 2009-2022 by Markus Kohm %% %% This file was generated from file(s) of uni-titlepage distribution. %% @@ -31,7 +31,7 @@ -Markus-2% .def% }[% -2022/01/24 v0.7b +2022/03/22 v1.0 KOMA presents the title page project ] \begingroup diff --git a/Master/texmf-dist/tex/latex/uni-titlepage/title-Spacer.def b/Master/texmf-dist/tex/latex/uni-titlepage/title-Spacer.def index eeb9d1e5b87..1d0c7b29a62 100644 --- a/Master/texmf-dist/tex/latex/uni-titlepage/title-Spacer.def +++ b/Master/texmf-dist/tex/latex/uni-titlepage/title-Spacer.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% uni-titlepage.dtx (with options: `driver,Spacer') -%% Copyright (c) 2009-2021 by Markus Kohm +%% Copyright (c) 2009-2022 by Markus Kohm %% %% This file was generated from file(s) of uni-titlepage distribution. %% @@ -31,7 +31,7 @@ -Spacer% .def% }[% -2022/01/24 v0.7b +2022/03/22 v1.0 KOMA presents the title page project ] \begingroup diff --git a/Master/texmf-dist/tex/latex/uni-titlepage/title-TU-DD.def b/Master/texmf-dist/tex/latex/uni-titlepage/title-TU-DD.def index d5c11d69fe7..f4bc2810113 100644 --- a/Master/texmf-dist/tex/latex/uni-titlepage/title-TU-DD.def +++ b/Master/texmf-dist/tex/latex/uni-titlepage/title-TU-DD.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% uni-titlepage.dtx (with options: `driver,TU-DD') -%% Copyright (c) 2009-2021 by Markus Kohm +%% Copyright (c) 2009-2022 by Markus Kohm %% %% This file was generated from file(s) of uni-titlepage distribution. %% @@ -31,7 +31,7 @@ -TU-DD% .def% }[% -2022/01/24 v0.7b +2022/03/22 v1.0 KOMA presents the title page project ] \begingroup @@ -116,7 +116,7 @@ KOMA presents the title page project \strut\ignorespaces\advisorname\unskip:\strut\\ \hspace*{.25\linewidth}\quad \begin{tabular}{@{}l@{}} - \strut\ignorespaces\@advisor\unskip\strut\\ + \strut\ignorespaces\usenonemptytitleelement{advisor}\unskip\strut\\ \end{tabular} \vskip2\baselineskip \hspace*{.25\linewidth}% diff --git a/Master/texmf-dist/tex/latex/uni-titlepage/title-TU-HH.def b/Master/texmf-dist/tex/latex/uni-titlepage/title-TU-HH.def index 42419bf1506..0271fdb0b46 100644 --- a/Master/texmf-dist/tex/latex/uni-titlepage/title-TU-HH.def +++ b/Master/texmf-dist/tex/latex/uni-titlepage/title-TU-HH.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% uni-titlepage.dtx (with options: `driver,TU-HH') -%% Copyright (c) 2009-2021 by Markus Kohm +%% Copyright (c) 2009-2022 by Markus Kohm %% %% This file was generated from file(s) of uni-titlepage distribution. %% @@ -31,7 +31,7 @@ -TU-HH% .def% }[% -2022/01/24 v0.7b +2022/03/22 v1.0 KOMA presents the title page project ] \begingroup @@ -59,23 +59,23 @@ KOMA presents the title page project \FamilyBoolKey[TU-HH]{title}{final}{final} \providecommand*{\presentationinformationTUHH}{% \iffinal Of the \else The \fi Graduation Committee of the\\ - \@university\\[.5ex] + \usenonemptytitleelement{university}\\[.5ex] to the Acquisition of the Academic Degree\\[.5ex] - \@academicgrade\\[.5ex] + \usenonemptytitleelement{academicgrade}\\[.5ex] \iffinal approved \else submitted \fi\@subject} \providecaptionname{american,australian,british,canadian,% english,newzealand,UKenglish,USenglish}{\presentationinformationTUHH}{% \iffinal Of the \else The \fi Graduation Committee of the\\ - \@university\\[.5ex] + \usenonemptytitleelement{university}\\[.5ex] to the Acquisition of the Academic Degree\\[.5ex] - \@academicgrade\\[.5ex] + \usenonemptytitleelement{academicgrade}\\[.5ex] \iffinal approved \else submitted \fi\@subject} \providecaptionname{german,ngerman,austrian,naustrian,% swissgerman,nswissgerman}{\presentationinformationTUHH}{% \iffinal Vom \else Dem \fi Promotionsausschuss der\\ - \@university\\[.5ex] + \usenonemptytitleelement{university}\\[.5ex] zur Erlangung des akademischen Grades\\[.5ex] - \@academicgrade\\[.5ex] + \usenonemptytitleelement{academicgrade}\\[.5ex] \iffinal genehmigte \else vorgelegte \fi\@subject}% \renewcommand*{\inittitle}{% \ifx\@university\@empty @@ -107,10 +107,10 @@ KOMA presents the title page project {\Large\presentationinformationTUHH\\} \vspace{2.5cm} {\Large\strut\ignorespaces\fromname\\ - \strut\ignorespaces\@author\\} + \strut\ignorespaces\usenonemptytitleelement{author}\\} \vspace{2.5cm} {\Large\strut\ignorespaces\fromplacename\\ - \strut\ignorespaces\@place\\} + \strut\ignorespaces\usenonemptytitleelement{place}\\} \vspace{2.5cm} {\Large\@date} \end{% diff --git a/Master/texmf-dist/tex/latex/uni-titlepage/title-UKoLa.def b/Master/texmf-dist/tex/latex/uni-titlepage/title-UKoLa.def index 3e891e53994..2902ad06843 100644 --- a/Master/texmf-dist/tex/latex/uni-titlepage/title-UKoLa.def +++ b/Master/texmf-dist/tex/latex/uni-titlepage/title-UKoLa.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% uni-titlepage.dtx (with options: `driver,UKoLa') -%% Copyright (c) 2009-2021 by Markus Kohm +%% Copyright (c) 2009-2022 by Markus Kohm %% %% This file was generated from file(s) of uni-titlepage distribution. %% @@ -31,7 +31,7 @@ -UKoLa% .def% }[% -2022/01/24 v0.7b +2022/03/22 v1.0 KOMA presents the title page project ] \begingroup @@ -57,20 +57,20 @@ KOMA presents the title page project ]{title} \providecommand*{\presentationinformationUKoLa}{% to optain the degree\\ - \@academicgrade\\ - of \@discipline\\ + \usenonemptytitleelement{academicgrade}\\ + of \usenonemptytitleelement{discipline}\\ } \providecaptionname{american,australian,british,canadian,% english,newzealand,UKenglish,USenglish}{\presentationinformationUKoLa}{% to optain the degree\\ - \@academicgrade\\ - of \@discipline\\ + \usenonemptytitleelement{academicgrade}\\ + of \usenonemptytitleelement{discipline}\\ }% \providecaptionname{german,ngerman,austrian,naustrian,% swissgerman,nswissgerman}{\presentationinformationUKoLa}{% zur Erlangung des Grades eines\\ - \@academicgrade\\ - im Studiengang \@discipline\\ + \usenonemptytitleelement{academicgrade}\\ + im Studiengang \usenonemptytitleelement{discipline}\\ }% \NowButAfterBeginDocument {% @@ -166,7 +166,7 @@ KOMA presents the title page project \presentationinformationUKoLa\par \vspace{5\baselineskip} \presentedbyname\\[\baselineskip] - {\Large\csname @authorfont\endcsname{\@author\par}}% + {\Large\csname @authorfont\endcsname{\usenonemptytitleelement{author}\par}}% \vfill \raggedright \@hangfrom{\advisorname: }{\@advisor\par}% diff --git a/Master/texmf-dist/tex/latex/uni-titlepage/title-WWUM.def b/Master/texmf-dist/tex/latex/uni-titlepage/title-WWUM.def index 4859bf1a0bd..5b01eba6304 100644 --- a/Master/texmf-dist/tex/latex/uni-titlepage/title-WWUM.def +++ b/Master/texmf-dist/tex/latex/uni-titlepage/title-WWUM.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% uni-titlepage.dtx (with options: `driver,WWUM') -%% Copyright (c) 2009-2021 by Markus Kohm +%% Copyright (c) 2009-2022 by Markus Kohm %% %% This file was generated from file(s) of uni-titlepage distribution. %% @@ -31,7 +31,7 @@ -WWUM% .def% }[% -2022/01/24 v0.7b +2022/03/22 v1.0 KOMA presents the title page project ] \begingroup @@ -57,29 +57,30 @@ KOMA presents the title page project WWUM% ]{title} \providecommand*{\presentationinformationWWUM}{% - \@subject\\ + \usenonemptytitleelement{subject}\\ to the Aquisition of the Academic Degree\\ - \@academicgrade\\ - of the \@sience{} of \@discipline\\ - of the \@faculty{} faculty\\ - of the \@university + \usenonemptytitleelement{academicgrade}\\ + of the \usenonemptytitleelement{sience} of \usenonemptytitleelement{discipline}\\ + of the \usenonemptytitleelement{faculty} faculty\\ + of the \usenonemptytitleelement{university}% } \providecaptionname{american,australian,british,canadian,% english,newzealand,UKenglish,USenglish}{\presentationinformationWWUM}{% - \@subject\\ + \usenonemptytitleelement{subject}\\ to the Aquisition of the Academic Degree\\ - \@academicgrade\\ - of the \@sience{} of \@discipline\\ - of the \@faculty{} faculty\\ - of the \@university + \usenonemptytitleelement{academicgrade}\\ + of the \usenonemptytitleelement{sience} of \usenonemptytitleelement{discipline}\\ + of the \usenonemptytitleelement{faculty} faculty\\ + of the \usenonemptytitleelement{university}% } \providecaptionname{german,ngerman,austrian,naustrian,% swissgerman,nswissgerman}{\presentationinformationWWUM}{% - \@subject\\ - zur Erlangung des \@academicgrade\\ - der \@sience{} im Fachbereich \@discipline\\ - der \@faculty{} Fakult\"at\\ - der \@university + \usenonemptytitleelement{subject}\\ + zur Erlangung des \usenonemptytitleelement{academicgrade}\\ + der \usenonemptytitleelement{sience} im Fachbereich + \usenonemptytitleelement{discipline}\\ + der \usenonemptytitleelement{faculty} Fakult\"at\\ + der \usenonemptytitleelement{university}% } \NowButAfterBeginDocument {% @@ -134,9 +135,10 @@ KOMA presents the title page project \fi \ifx\@place\@empty \place{% - \PackageWarning{uni-titlepage}{Birth place missing.\MessageBreak - Style `WWUM' needs the birth place of\MessageBreak - the student}% + \PackageError{uni-titlepage}{Birth `place' missing}{% + Style `WWUM' needs the birth place of the student, so option `place=...' + resp.\MessageBreak + command `\string\place{...}' is mandatory}% } \fi \ifx\@titlepagefont\@empty @@ -152,14 +154,14 @@ KOMA presents the title page project \linespread{1}\selectfont \@titlepagefont \centering - \@chair\\ + \usenonemptytitleelement{chair}\\ \vspace{2cm} - \@title\\ + \usenonemptytitleelement{title}\\ \vfill \presentationinformationWWUM\\ \vfill \presentedbyname\\ - \@author\\ + \usenonemptytitleelement{author}\\ \ifx\@place\@empty\else\fromplacename{} \@place\\\fi --\,\the\year\,-- \end{% @@ -196,8 +198,8 @@ KOMA presents the title page project \vspace*{.33\vsize}% \centering - \@author\\[1ex] - \@title\\[1ex] + \usenonemptytitleelement{author}\\[1ex] + \usenonemptytitleelement{title}\\[1ex] \the\year \end{fullsizetitle} } diff --git a/Master/texmf-dist/tex/latex/uni-titlepage/uni-titlepage.sty b/Master/texmf-dist/tex/latex/uni-titlepage/uni-titlepage.sty index 037d292bfe8..414f76dd763 100644 --- a/Master/texmf-dist/tex/latex/uni-titlepage/uni-titlepage.sty +++ b/Master/texmf-dist/tex/latex/uni-titlepage/uni-titlepage.sty @@ -5,7 +5,7 @@ %% The original source files were: %% %% uni-titlepage.dtx (with options: `package') -%% Copyright (c) 2009-2021 by Markus Kohm +%% Copyright (c) 2009-2022 by Markus Kohm %% %% This file was generated from file(s) of uni-titlepage distribution. %% @@ -28,7 +28,7 @@ %% \ProvidesPackage{uni-titlepage% }[% -2022/01/24 v0.7b +2022/03/22 v1.0 KOMA presents the title page project ] \RequirePackage{scrbase}[2014/12/03] @@ -266,6 +266,21 @@ KOMA presents the title page project only!\MessageBreak If you'll continue, command will be ignored.}% } +\newcommand*{\usenonemptytitleelement}[1]{% + \expandafter\ifx\csname @#1\endcsname\@empty + \PackageError{uni-titlepage}{empty title element `#1'}{% + Title element `#1' is empty but mandatory for the used title page + style.\MessageBreak + So it must not be empty.\MessageBreak + Please see the manual for more information about assigning + values to\MessageBreak + main title elements via options or commands.\MessageBreak + If you'll continue, a \string\strut\space will be used.}% + \strut + \else + \usetitleelement{#1}% + \fi +} \scr@ifundefinedorrelax{newkomafont}{% \newcommand*{\@titlepagefont}{}% }{% @@ -484,7 +499,6 @@ KOMA presents the title page project \PackageError{uni-titlepage}{Ordinal of `#1' not defined}{% This package does only define German ordinal names for referees up to 4}% - \fi \fi } -- cgit v1.2.3