diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrsupervisor.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/tudscr/tudscrsupervisor.sty | 316 |
1 files changed, 161 insertions, 155 deletions
diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrsupervisor.sty b/Master/texmf-dist/tex/latex/tudscr/tudscrsupervisor.sty index f6ba53ee5ef..3e03df69d2b 100644 --- a/Master/texmf-dist/tex/latex/tudscr/tudscrsupervisor.sty +++ b/Master/texmf-dist/tex/latex/tudscr/tudscrsupervisor.sty @@ -4,16 +4,18 @@ %% %% The original source files were: %% -%% tudscr-version.dtx (with options: `package,supervisor') -%% tudscr-supervisor.dtx (with options: `package,supervisor') -%% tudscr-fields.dtx (with options: `package,supervisor') -%% tudscr-localization.dtx (with options: `package,supervisor') +%% tudscr-version.dtx (with options: `package,supervisor,identify') +%% tudscr-supervisor.dtx (with options: `package,supervisor,identify') +%% tudscr-fields.dtx (with options: `package,supervisor,body') +%% tudscr-localization.dtx (with options: `package,supervisor,body') +%% tudscr-supervisor.dtx (with options: `package,supervisor,body') %% %% TUD-Script -- Corporate Design of Technische Universitaet Dresden +%% 2022/08/09 v2.06o TUD-Script %% -%% 2021/07/15 v2.06n TUD-Script -%% -%% Copyright (C) Falk Hanisch <hanisch.latex@outlook.com>, 2012-2021 +%% Copyright (C) Falk Hanisch <hanisch.latex@outlook.com>, 2012-2022 +%% https://github.com/tud-cd/tudscr +%% https://latex.wcms-file3.tu-dresden.de/phpBB3/ %% %% This file was generated from file(s) of the TUD-Script bundle. %% ---------------------------------------------------------------------------- @@ -29,77 +31,159 @@ %% %% The current maintainer and author of this work is Falk Hanisch. %% -%%% From File: tudscr-version.dtx +%%%% From File: tudscr-version.dtx (no git version info was found) +\NeedsTeXFormat{LaTeX2e}[2022-06-01] \begingroup - \catcode`\@11\relax - \ifx\TUD@Version\@undefined - \newcommand*\TUD@Version@Check[1]{% + \catcode`\@11\relax% + \ifx\TUD@Version\@undefined% + \newcommand*\TUD@@Version[2]{% \gdef\TUD@Version{#1}% - \gdef\TUDScriptVersion{#1}% - \def\@tempb##1 v##2 ##3\relax##4\relax{\gdef\TUDScriptVersionNumber{##2}}% - \edef\@tempa{\TUD@Version}% - \expandafter\@tempb\@tempa\relax? ? \relax\relax% - \gdef\TUD@Version@KOMA{3.32}% - } - \else - \newcommand*\TUD@Version@Check[1]{% + \gdef\TUD@KOMAVersion{#2}% + }% + \else% + \newcommand*\TUD@@Version[2]{% \def\@tempa{#1}% \ifx\TUD@Version\@tempa\else% \@latex@warning@no@line{% \noexpand\TUD@Version\space is `\TUD@Version',\MessageBreak% but `#1' was expected!\MessageBreak% You should not use classes, packages or files from\MessageBreak% - different TUD-Script-Bundle versions% + different TUD-Script bundle versions% }% \fi% - } - \fi - \TUD@Version@Check{2021/07/15 v2.06n TUD-Script} + }% + \fi% + \TUD@@Version{2022/08/09 v2.06o TUD-Script}{2022/05/01 v3.36 KOMA-Script}% + \ifx\TUDScriptVersion\@undefined% + \xdef\TUDScriptVersion{\TUD@Version}% + \def\@tempa#1 v#2 #3\relax#4\relax#5{\gdef#5{#2}}% + \expandafter\@tempa\TUD@Version ? ?\relax\relax{\TUDScriptVersionNumber}% + \expandafter\@tempa\TUD@KOMAVersion ? ?\relax\relax{\TUD@KOMAVersionNumber}% + \fi% \endgroup -\NeedsTeXFormat{LaTeX2e}[2019/10/01] -\providecommand*\tudscrmail{hanisch.latex@outlook.com} -\ifx\TUD@Class@Name\@undefined - \PackageError{% - tudscrsupervisor% - }{Unsupported class found}{% - This package can only be used with a class out of the\MessageBreak% - tudscr bundle (tudscrbook, tudscrreprt, tudscrartcl, tudscrposter).% - }% - \endinput% -\fi \@ifundefined{TUDScript}{% \DeclareRobustCommand\TUDScript{% - \textsf{% - T\kern.05em U\kern.05em D\kern.1em-\kern.1em Script% - }% - \ifcsname xspace\endcsname% - \xspace% - \fi% + \mbox{% + \textsf{% + T\kern.05em U\kern.05em D\kern.1em-\kern.1em Script% + }% + }\ifcsname xspace\endcsname\xspace\fi% }% }{} -%%% From File: tudscr-supervisor.dtx +\providecommand*\TUDScriptContact{hanisch.latex@outlook.com} +\providecommand*\TUDScriptRepository{https://github.com/tud-cd/tudscr} +\providecommand*\TUDScriptForum{https://latex.wcms-file3.tu-dresden.de/phpBB3/} +\providecommand*\TUD@Class@Check[1]{% + \ifx\TUD@Class@Name\@undefined% + \PackageError{#1}{TUD-Script class not loaded}{% + This package requires a class of the TUD-Script bundle\MessageBreak% + (tudscrbook, tudscrreprt, tudscrartcl, tudscrposter).% + }% + \DeclareOption*{}% + \ProcessOptions\relax% + \expandafter\endinput% + \fi% +}% +%%%% From File: tudscr-supervisor.dtx (no git version info was found) \ProvidesPackage{tudscrsupervisor}[% - 2021/07/15 v2.06n TUD-Script - package - (commands for supervisors)% + 2022/08/09 v2.06o TUD-Script + package (commands for supervisors)% ] +\TUD@Class@Check{tudscrsupervisor} +%%%% From File: tudscr-fields.dtx (no git version info was found) +\newcommand*\@chairman{} +\newcommand*\chairman[1]{\tud@trim@field\@chairman{#1}} +\newcommand*\@grade{} +\newcommand*\grade[1]{\tud@trim@field\@grade{#1}} +\newcommand*\@issuedate{} +\newcommand*\issuedate[1]{\tud@printdate{\@issuedate}{#1}} +\newcommand*\@duedate{} +\newcommand*\duedate[1]{\tud@printdate{\@duedate}{#1}} +\@ifclassloaded{tudscrposter}{\@tempswafalse}{\@tempswatrue} +\if@tempswa +\newcommand*\@contactperson{} +\newcommand*\contactperson[1]{\tud@trim@field\@contactperson{#1}} +\newcommand*\@office{} +\newrobustcmd*\office[1]{\tud@trim@field\@office{#1}} +\newcommand*\@telephone{} +\newrobustcmd*\telephone[1]{\tud@trim@field\@telephone{#1}} +\newcommand*\@telefax{} +\newrobustcmd*\telefax[1]{\tud@trim@field\@telefax{#1}} +\newcommand*\tud@split@contactperson@do[2]{} +\newcommand*\tud@split@contactperson@list{emailaddress,office,telephone,telefax} +\fi +%%%% From File: tudscr-localization.dtx (no git version info was found) +\tud@localization@define{\authorname} +\tud@localization@define{\contactname} +\tud@localization@define{\contactpersonname} +\tud@localization@define{\taskname} +\tud@localization@define{\tasktext} +\tud@localization@define{\namesname} +\tud@localization@define{\issuedatetext} +\tud@localization@define{\duedatetext} +\tud@localization@define{\chairmanname} +\tud@localization@define{\focusname} +\tud@localization@define{\objectivesname} +\tud@localization@define{\evaluationname} +\tud@localization@define{\evaluationtext} +\tud@localization@define{\contentname} +\tud@localization@define{\assessmentname} +\tud@localization@define{\gradetext} +\tud@localization@define{\noticename} +\tud@localization@german{\authorname}{Autor} +\tud@localization@german{\contactname}{Kontakt} +\tud@localization@german{\contactpersonname}{Ansprechpartner} +\tud@localization@german{\taskname}{Aufgabenstellung} +\tud@localization@german{\tasktext}{f\"ur die Anfertigung einer} +\tud@localization@german{\namesname}{Name} +\tud@localization@german{\issuedatetext}{Ausgeh\"andigt am} +\tud@localization@german{\duedatetext}{Einzureichen am} +\tud@localization@german{\chairmanname}{Pr\"ufungsausschussvorsitzender} +\tud@localization@german{\focusname}{Schwerpunkte der Arbeit} +\tud@localization@german{\objectivesname}{Ziele der Arbeit} +\tud@localization@german{\evaluationname}{Gutachten} +\tud@localization@german{\evaluationtext}{f\"ur die} +\tud@localization@german{\contentname}{Inhalt} +\tud@localization@german{\assessmentname}{Bewertung} +\tud@localization@german{\gradetext}{% + Die Arbeit wird mit der Note \textbf{\@grade} bewertet.% +} +\tud@localization@german{\noticename}{Aushang} +\tud@localization@english{\authorname}{Author} +\tud@localization@english{\contactname}{Contact} +\tud@localization@english{\contactpersonname}{Counterpart} +\tud@localization@english{\taskname}{Task} +\tud@localization@english{\tasktext}{for the preparation of a} +\tud@localization@english{\namesname}{Name} +\tud@localization@english{\issuedatetext}{Issued on} +\tud@localization@english{\duedatetext}{Due date for submission} +\tud@localization@english{\chairmanname}{Chairman of the Audit Committee} +\tud@localization@english{\focusname}{Focus of work} +\tud@localization@english{\objectivesname}{Objectives of work} +\tud@localization@english{\evaluationname}{Evaluation} +\tud@localization@english{\evaluationtext}{for the} +\tud@localization@english{\contentname}{Content} +\tud@localization@english{\assessmentname}{Assessment} +\tud@localization@english{\gradetext}{% + The thesis is evaluated with a grade of \textbf{\@grade}.% +} +\tud@localization@english{\noticename}{Notice} +%%%% From File: tudscr-supervisor.dtx (no git version info was found) \newcommand*\tud@multiple@fields@output{} \newcommand*\tud@multiple@fields@style{table} \newcommand*\student{\author} -\newlength\tud@len@authortable +\tud@newdim\tud@dim@authortable \newcommand*\tud@authortable@set{% \begingroup% \let\thanks\@gobble% \let\footnote\@gobble% \tud@multiple@split{@author}% \tud@multiple@fields@preset{@author}{\null}{}% - \setlength\tud@len@authortable{2em}% + \tud@setdim\tud@dim@authortable{2em}% \def\@tempb##1{% - \expandafter\ifx\csname @##1\endcsname\@empty\else% - \expandafter\appto\expandafter\@tempa\expandafter{% - \expandafter,\csname ##1name\endcsname% - }% - \fi% + \tud@if@strempty{\csname @##1\endcsname}{}{% + \eappto\@tempa{,\expandafter\noexpand\csname ##1name\endcsname}% + }% }% \def\@tempa{% \namesname,\titlename,\issuedatetext,\duedatetext,\supervisorname% @@ -113,14 +197,14 @@ \@tempb{discipline}% \@for\@tempb:=\@tempa\do{% \settowidth\@tempdima{\@tempb\tud@title@delimiter}% - \ifdim\@tempdima>\tud@len@authortable\relax% - \setlength\tud@len@authortable{\@tempdima}% + \ifdim\@tempdima>\tud@dim@authortable\relax% + \tud@setdim\tud@dim@authortable{\@tempdima}% \fi% }% - \global\tud@len@authortable=\tud@len@authortable% + \global\tud@dim@authortable=\tud@dim@authortable% \begingroup% \setparsizes{\z@}{\z@}{\z@\@plus 1fil}\par@updaterelative% - \begin{tabular}{@{}p{\tud@len@authortable}}% + \begin{tabular}{@{}p{\tud@dim@authortable}}% \ifx\@course\@empty\else% \coursename\tud@title@delimiter\tabularnewline% \fi% @@ -154,8 +238,8 @@ }% \tud@multiple@split{@author}% \vskip\smallskipamount% - \begin{tabular}{@{}p{\tud@len@authortable}% - p{\dimexpr\textwidth-\tud@len@authortable-2\tabcolsep\relax}@{}}% + \begin{tabular}{@{}p{\tud@dim@authortable}% + p{\dimexpr\textwidth-\tabcolsep*2-\tud@dim@authortable\relax}@{}}% \titlename\tud@title@delimiter & \tud@RaggedRight\textsf{\textbf{\@@title}}% \end{tabular}% \par% @@ -164,17 +248,18 @@ \endgroup% \noindent\ignorespaces% } +\newcommand*\@headline{} \newenvironment{task}[1][]{% \cleardoubleoddpage% \let\@headline\@empty% \TUD@parameter@family{tudpage}{% - \TUD@parameter@def{headline}{\def\@headline{##1}}% + \TUD@parameter@def{headline}{\tud@trim@field\@headline{##1}}% \TUD@parameter@let{heading}{headline}% \TUD@parameter@let{line}{headline}% \TUD@parameter@def{style}{\def\tud@multiple@fields@style{##1}}% \TUD@parameter@handler@default{headline}% }% - \tudpage[pagestyle=empty,#1]% + \tudpage[{pagestyle=empty,#1}]% \tudbookmark{\taskname}{task}% \subsection*{% \ifx\@headline\@empty% @@ -187,10 +272,10 @@ \tud@authortable@set% }{% \def\tud@multiple@fields@output##1{% - \ifstr{\tud@multiple@fields@style}{table}{% + \tud@if@strequal{\tud@multiple@fields@style}{table}{% \def\and{% \tabularnewline% - \ifstr{\csuse{##1othername}}{}{}{% + \tud@if@strempty{\csuse{##1othername}}{}{% \csuse{##1othername}\tud@title@delimiter% }% & \def\and{\tabularnewline &}% @@ -204,17 +289,17 @@ \ifdim\parskip>\z@\vskip\parskip\else\vskip\topsep\fi\medskip% \begingroup% \setparsizes{\z@}{\z@}{\z@\@plus 1fil}\par@updaterelative% - \begin{tabular}{@{}p{\tud@len@authortable}l@{}}% + \begin{tabular}{@{}p{\tud@dim@authortable}l@{}}% \ifx\@referee\@empty\else% \refereename\tud@title@delimiter & % - \tud@multiple@fields@output{referee}\tabularnewline[\smallskipamount]% + \tud@multiple@fields@output{referee}\tabularnewline[1\smallskipamount]% \fi% \supervisorname\tud@title@delimiter & % - \tud@multiple@fields@output{supervisor}\tabularnewline[\smallskipamount]% + \tud@multiple@fields@output{supervisor}\tabularnewline[1\smallskipamount]% \issuedatetext\tud@title@delimiter & \@issuedate\tabularnewline% \duedatetext\tud@title@delimiter & \@duedate\tabularnewline% \end{tabular}% - \vskip\tud@len@signatureskip\noindent% + \vskip\tud@glue@signaturevskip\noindent% \ifx\@chairman\@empty\else% \begin{tabular}{@{}l@{}}% \@chairman\tabularnewline% @@ -234,7 +319,7 @@ \aftergroup\cleardoublepage% } \newcommand\taskform[3][]{% - \begin{task}[#1]% + \begin{task}[{#1}]% \ifblank{#2}{}{\minisec{\objectivesname}\smallskip#2}% \ifblank{#3}{}{% \minisec{\focusname}\smallskip% @@ -248,13 +333,13 @@ \cleardoubleoddpage% \let\@headline\@empty% \TUD@parameter@family{tudpage}{% - \TUD@parameter@def{headline}{\def\@headline{##1}}% + \TUD@parameter@def{headline}{\tud@trim@field\@headline{##1}}% \TUD@parameter@let{heading}{headline}% \TUD@parameter@let{line}{headline}% \TUD@parameter@def{grade}{\def\@grade{##1}}% \TUD@parameter@handler@default{headline}% }% - \tudpage[pagestyle=empty,#1]% + \tudpage[{pagestyle=empty,#1}]% \tudbookmark{\evaluationname}{evaluation}% \subsection*{% \ifx\@headline\@empty% @@ -268,17 +353,17 @@ }{% \removelastskip% \ifdim\parskip>\z@\vskip\parskip\else\vskip\topsep\fi% - \setlength\@tempskipa{\smallskipamount}% + \tud@setglue\@tempskipa{\smallskipamount}% \ifx\@grade\@empty\else% \vskip\@tempskipa\noindent% \gradetext% - \setlength\@tempskipa{\bigskipamount}% + \tud@setglue\@tempskipa{\bigskipamount}% \fi% \ifx\@date\@empty\else% \vskip\@tempskipa\noindent% \ifx\@place\@empty\else\@place,\nobreakspace\fi\@date% \fi% - \vskip\tud@len@signatureskip\noindent% + \vskip\tud@glue@signaturevskip\noindent% \ifx\@referee\@empty\let\@referee\@supervisor\fi% \let\@tempa\refereename% \def\and{% @@ -299,7 +384,7 @@ \aftergroup\cleardoublepage% } \newcommand\evaluationform[5][]{% - \begin{evaluation}[#1]% + \begin{evaluation}[{#1}]% \ifblank{#2}{}{\minisec{\taskname}\smallskip#2}% \ifblank{#3}{}{\minisec{\contentname}\smallskip#3}% \ifblank{#4}{}{\minisec{\assessmentname}\smallskip#4}% @@ -310,12 +395,12 @@ \cleardoubleoddpage% \def\@headline{\noticename}% \TUD@parameter@family{tudpage}{% - \TUD@parameter@def{headline}{\def\@headline{##1}}% + \TUD@parameter@def{headline}{\tud@trim@field\@headline{##1}}% \TUD@parameter@let{heading}{headline}% \TUD@parameter@let{line}{headline}% \TUD@parameter@handler@default{headline}% }% - \tudpage[pagestyle=empty,cdhead=date,#1]% + \tudpage[{pagestyle=empty,cdhead=date,#1}]% \tudbookmark{\noticename}{notice}% \ifx\@headline\@empty\else% \section*{\@headline}% @@ -330,10 +415,10 @@ \tud@multiple@fields@preset{@contactperson}{}{##1}% \begin{tabular}[t]{@{}l@{}}% \ignorespaces##1\tabularnewline% + \ifx\@emailaddress\@empty\else\@emailaddress\tabularnewline\fi% \ifx\@office\@empty\else\@office\tabularnewline\fi% \ifx\@telephone\@empty\else\@telephone\tabularnewline\fi% \ifx\@telefax\@empty\else\@telefax\tabularnewline\fi% - \ifx\@emailaddress\@empty\else\@emailaddress\tabularnewline\fi% \end{tabular}% \tud@multiple@fields@restore{@contactperson}% \tud@multiple@@@split{##2}{\hfill}% @@ -345,7 +430,7 @@ \aftergroup\cleardoublepage% } \newcommand\noticeform[3][]{% - \begin{notice}[#1]% + \begin{notice}[{#1}]% \ifblank{#2}{}{% \ifx\@@title\@empty\else% \minisec{\expandonce{\@@title}}\medskip% @@ -360,85 +445,6 @@ }% \end{notice}% } -%%% From File: tudscr-fields.dtx -\newcommand*\@chairman{} -\newcommand*\chairman[1]{\gdef\@chairman{#1}} -\newcommand*\@grade{} -\newcommand*\grade[1]{\gdef\@grade{#1}} -\newcommand*\@headline{} -\newcommand*\@issuedate{} -\newcommand*\issuedate[1]{\tud@printdate{\@issuedate}{#1}} -\newcommand*\@duedate{} -\newcommand*\duedate[1]{\tud@printdate{\@duedate}{#1}} -\@ifclassloaded{tudscrposter}{\@tempswafalse}{\@tempswatrue} -\if@tempswa -\newcommand*\@contactperson{} -\newcommand*\contactperson[1]{\gdef\@contactperson{#1}} -\newcommand*\@office{} -\newrobustcmd*\office[1]{\gdef\@office{#1}} -\newcommand*\@telephone{} -\newrobustcmd*\telephone[1]{\gdef\@telephone{#1}} -\newcommand*\@telefax{} -\newrobustcmd*\telefax[1]{\gdef\@telefax{#1}} -\newcommand*\tud@split@contactperson@do[2]{} -\newcommand*\tud@split@contactperson@list{emailaddress,office,telephone,telefax} -\fi -%%% From File: tudscr-localization.dtx -\tud@localization@define{\authorname} -\tud@localization@define{\contactname} -\tud@localization@define{\contactpersonname} -\tud@localization@define{\taskname} -\tud@localization@define{\tasktext} -\tud@localization@define{\namesname} -\tud@localization@define{\issuedatetext} -\tud@localization@define{\duedatetext} -\tud@localization@define{\chairmanname} -\tud@localization@define{\focusname} -\tud@localization@define{\objectivesname} -\tud@localization@define{\evaluationname} -\tud@localization@define{\evaluationtext} -\tud@localization@define{\contentname} -\tud@localization@define{\assessmentname} -\tud@localization@define{\gradetext} -\tud@localization@define{\noticename} -\tud@localization@german{\authorname}{Autor} -\tud@localization@german{\contactname}{Kontakt} -\tud@localization@german{\contactpersonname}{Ansprechpartner} -\tud@localization@german{\taskname}{Aufgabenstellung} -\tud@localization@german{\tasktext}{f\"ur die Anfertigung einer} -\tud@localization@german{\namesname}{Name} -\tud@localization@german{\issuedatetext}{Ausgeh\"andigt am} -\tud@localization@german{\duedatetext}{Einzureichen am} -\tud@localization@german{\chairmanname}{Pr\"ufungsausschussvorsitzender} -\tud@localization@german{\focusname}{Schwerpunkte der Arbeit} -\tud@localization@german{\objectivesname}{Ziele der Arbeit} -\tud@localization@german{\evaluationname}{Gutachten} -\tud@localization@german{\evaluationtext}{f\"ur die} -\tud@localization@german{\contentname}{Inhalt} -\tud@localization@german{\assessmentname}{Bewertung} -\tud@localization@german{\gradetext}{% - Die Arbeit wird mit der Note \textbf{\@grade} bewertet.% -} -\tud@localization@german{\noticename}{Aushang} -\tud@localization@english{\authorname}{Author} -\tud@localization@english{\contactname}{Contact} -\tud@localization@english{\contactpersonname}{Counterpart} -\tud@localization@english{\taskname}{Task} -\tud@localization@english{\tasktext}{for the preparation of a} -\tud@localization@english{\namesname}{Name} -\tud@localization@english{\issuedatetext}{Issued on} -\tud@localization@english{\duedatetext}{Due date for submission} -\tud@localization@english{\chairmanname}{Chairman of the Audit Committee} -\tud@localization@english{\focusname}{Focus of work} -\tud@localization@english{\objectivesname}{Objectives of work} -\tud@localization@english{\evaluationname}{Evaluation} -\tud@localization@english{\evaluationtext}{for the} -\tud@localization@english{\contentname}{Content} -\tud@localization@english{\assessmentname}{Assessment} -\tud@localization@english{\gradetext}{% - The thesis is evaluated with a grade of \textbf{\@grade}.% -} -\tud@localization@english{\noticename}{Notice} \endinput %% %% End of file `tudscrsupervisor.sty'. |