diff options
author | Karl Berry <karl@freefriends.org> | 2017-01-27 23:14:08 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-01-27 23:14:08 +0000 |
commit | 953423df3388111af14ec84c79dfa6b10e1e8aac (patch) | |
tree | d91e3ead05751436a0713703f3cae5ffd3174fe9 /Master/texmf-dist/tex/latex/tudscr/tudscrsupervisor.sty | |
parent | 83082c7f9a495b3086e74c09252c4046fdbc6a72 (diff) |
tudscr (27jan17)
git-svn-id: svn://tug.org/texlive/trunk@43067 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrsupervisor.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/tudscr/tudscrsupervisor.sty | 201 |
1 files changed, 97 insertions, 104 deletions
diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrsupervisor.sty b/Master/texmf-dist/tex/latex/tudscr/tudscrsupervisor.sty index 3513e931fdd..7964a6eab79 100644 --- a/Master/texmf-dist/tex/latex/tudscr/tudscrsupervisor.sty +++ b/Master/texmf-dist/tex/latex/tudscr/tudscrsupervisor.sty @@ -9,37 +9,30 @@ %% tudscr-fields.dtx (with options: `package,supervisor') %% tudscr-locale.dtx (with options: `package,supervisor') %% -%% ============================================================================ +%% TUD-Script -- Corporate Design of Technische Universitaet Dresden %% -%% TUD-Script -%% Copyright (c) Falk Hanisch <tudscr@gmail.com>, 2012-2016 +%% 2017/01/26 v2.05g TUD-Script %% -%% ============================================================================ -%% -%% This work may be distributed and/or modified under the conditions of the -%% LaTeX Project Public License, version 1.3c of the license. 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 2005/12/01 -%% or later and of this work. This work has the LPPL maintenance status -%% "author-maintained". The current maintainer and author of this work -%% is Falk Hanisch. +%% Copyright (C) Falk Hanisch <tudscr@gmail.com>, 2012-2017 %% +%% This file was generated from file(s) of the TUD-Script bundle. %% ---------------------------------------------------------------------------- %% -%% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz -%% in der Version 1.3c, verteilt und/oder veraendert werden. Die aktuelle -%% Version dieser Lizenz ist http://www.latex-project.org/lppl.txt und -%% Version 1.3c oder spaeter ist Teil aller Verteilungen von LaTeX 2005/12/01 -%% oder spaeter und dieses Werks. Dieses Werk hat den LPPL-Verwaltungs-Status -%% "author-maintained", wird somit allein durch den Autor verwaltet. Der -%% aktuelle Verwalter und Autor dieses Werkes ist Falk Hanisch. +%% This work may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, version 1.3c of the license. +%% 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 2005/12/01 or later and of this work. +%% +%% This work has the LPPL maintenance status "author-maintained". %% -%% ============================================================================ +%% The current maintainer and author of this work is Falk Hanisch. %% %%% From File: tudscr-version.dtx \begingroup \catcode`\@11\relax - \ifx\TUD@Version\undefined + \ifx\TUD@Version\@undefined \newcommand*\TUD@Version@Check[1]{% \gdef\TUD@Version{#1}% \gdef\TUDScriptVersion{#1}% @@ -61,11 +54,11 @@ \fi% } \fi - \TUD@Version@Check{2016/10/12 v2.05f TUD-Script} + \TUD@Version@Check{2017/01/26 v2.05g TUD-Script} \endgroup \NeedsTeXFormat{LaTeX2e} \providecommand*\tudscrmail{tudscr@gmail.com} -\@ifundefined{TUD@Class@Name}{% +\ifx\TUD@Class@Name\@undefined \PackageError{% tudscrsupervisor% }{Unsupported class found}{% @@ -73,7 +66,7 @@ tudscr bundle (tudscrbook, tudscrreprt, tudscrartcl, tudscrposter).% }% \endinput -}{} +\fi \@ifundefined{TUDScript}{% \DeclareRobustCommand\TUDScript{% \ifdin{TUD-SCRIPT}{% @@ -83,12 +76,91 @@ }{} %%% From File: tudscr-supervisor.dtx \ProvidesPackage{tudscrsupervisor}[% - 2016/10/12 v2.05f TUD-Script + 2017/01/26 v2.05g TUD-Script package (commands for supervisors)% ] \newcommand*\tud@multiple@fields@output{} \newcommand*\tud@multiple@fields@style{table} +\newcommand*\student{\author} +\newlength\tud@len@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}% + \def\@tempb##1{% + \expandafter\ifx\csname @##1\endcsname\@empty\else% + \expandafter\appto\expandafter\@tempa\expandafter{% + \expandafter,\csname ##1name\endcsname% + }% + \fi% + }% + \def\@tempa{% + \namesname,\titlename,\issuedatetext,\duedatetext,\supervisorname% + }% + \tud@ifin@and{\@supervisor}{\appto\@tempa{,\supervisorothername}}{}% + \@tempb{referee}% + \tud@ifin@and{\@referee}{\appto\@tempa{,\refereeothername}}{}% + \@tempb{matriculationnumber}% + \@tempb{matriculationyear}% + \@tempb{course}% + \@tempb{discipline}% + \@for\@tempb:=\@tempa\do{% + \settowidth\@tempdima{\@tempb\tud@title@delimiter}% + \ifdim\@tempdima>\tud@len@authortable\relax% + \setlength\tud@len@authortable{\@tempdima}% + \fi% + }% + \global\tud@len@authortable=\tud@len@authortable% + \begingroup% + \setparsizes{\z@}{\z@}{\z@\@plus 1fil}\par@updaterelative% + \begin{tabular}{@{}p{\tud@len@authortable}}% + \ifx\@course\@empty\else% + \coursename\tud@title@delimiter\tabularnewline% + \fi% + \ifx\@discipline\@empty\else% + \disciplinename\tud@title@delimiter\tabularnewline% + \fi% + \namesname\tud@title@delimiter\tabularnewline% + \ifx\@matriculationnumber\@empty\else% + \matriculationnumbername\tud@title@delimiter\tabularnewline% + \fi% + \ifx\@matriculationyear\@empty\else% + \matriculationyearname\tud@title@delimiter\tabularnewline% + \fi% + \end{tabular}% + \renewcommand*\tud@split@author@do[2]{% + \tud@multiple@fields@store{@author}{##1}% + \tud@multiple@fields@preset{@author}{\null}{##1}% + \begin{tabular}{l@{}}% + \ifx\@course\@empty\else\@course\tabularnewline\fi% + \ifx\@discipline\@empty\else\@discipline\tabularnewline\fi% + \textsf{\textbf{\ignorespaces##1}}\tabularnewline% + \ifx\@matriculationnumber\@empty\else% + \@matriculationnumber\tabularnewline% + \fi% + \ifx\@matriculationyear\@empty\else% + \@matriculationyear\tabularnewline% + \fi% + \end{tabular}% + \tud@multiple@fields@restore{@author}% + \tud@multiple@@@split{##2}{\enskip\hspace{\tabcolsep}}% + }% + \tud@multiple@split{@author}% + \vskip\smallskipamount% + \begin{tabular}{@{}p{\tud@len@authortable}% + p{\dimexpr\textwidth-\tud@len@authortable-2\tabcolsep\relax}@{}}% + \titlename\tud@title@delimiter & \tud@RaggedRight\textsf{\textbf{\@@title}}% + \end{tabular}% + \par% + \endgroup% + \ifdim\parskip>\z@\else\vskip\topsep\fi% + \endgroup% + \noindent\ignorespaces% +} \newenvironment{task}[1][]{% \cleardoubleoddpage% \def\@headline{}% @@ -233,85 +305,6 @@ \ifblank{#5}{}{\def\@grade{#5}}% \end{evaluation}% } -\newcommand*\student{\author} -\newlength\tud@len@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}% - \def\@tempb##1{% - \expandafter\ifx\csname @##1\endcsname\@empty\else% - \expandafter\appto\expandafter\@tempa\expandafter{% - \expandafter,\csname ##1name\endcsname% - }% - \fi% - }% - \def\@tempa{% - \namesname,\titlename,\issuedatetext,\duedatetext,\supervisorname% - }% - \tud@ifin@and{\@supervisor}{\appto\@tempa{,\supervisorothername}}{}% - \@tempb{referee}% - \tud@ifin@and{\@referee}{\appto\@tempa{,\refereeothername}}{}% - \@tempb{matriculationnumber}% - \@tempb{matriculationyear}% - \@tempb{course}% - \@tempb{discipline}% - \@for\@tempb:=\@tempa\do{% - \settowidth\@tempdima{\@tempb\tud@title@delimiter}% - \ifdim\@tempdima>\tud@len@authortable\relax% - \setlength\tud@len@authortable{\@tempdima}% - \fi% - }% - \global\tud@len@authortable=\tud@len@authortable% - \begingroup% - \setparsizes{\z@}{\z@}{\z@\@plus 1fil}\par@updaterelative% - \begin{tabular}{@{}p{\tud@len@authortable}}% - \ifx\@course\@empty\else% - \coursename\tud@title@delimiter\tabularnewline% - \fi% - \ifx\@discipline\@empty\else% - \disciplinename\tud@title@delimiter\tabularnewline% - \fi% - \namesname\tud@title@delimiter\tabularnewline% - \ifx\@matriculationnumber\@empty\else% - \matriculationnumbername\tud@title@delimiter\tabularnewline% - \fi% - \ifx\@matriculationyear\@empty\else% - \matriculationyearname\tud@title@delimiter\tabularnewline% - \fi% - \end{tabular}% - \renewcommand*\tud@split@author@do[2]{% - \tud@multiple@fields@store{@author}{##1}% - \tud@multiple@fields@preset{@author}{\null}{##1}% - \begin{tabular}{l@{}}% - \ifx\@course\@empty\else\@course\tabularnewline\fi% - \ifx\@discipline\@empty\else\@discipline\tabularnewline\fi% - \textsf{\textbf{\ignorespaces##1}}\tabularnewline% - \ifx\@matriculationnumber\@empty\else% - \@matriculationnumber\tabularnewline% - \fi% - \ifx\@matriculationyear\@empty\else% - \@matriculationyear\tabularnewline% - \fi% - \end{tabular}% - \tud@multiple@fields@restore{@author}% - \tud@multiple@@@split{##2}{\enskip\hspace{\tabcolsep}}% - }% - \tud@multiple@split{@author}% - \vskip\smallskipamount% - \begin{tabular}{@{}p{\tud@len@authortable}% - p{\dimexpr\textwidth-\tud@len@authortable-2\tabcolsep\relax}@{}}% - \titlename\tud@title@delimiter & \tud@RaggedRight\textsf{\textbf{\@@title}}% - \end{tabular}% - \par% - \endgroup% - \ifdim\parskip>\z@\else\vskip\topsep\fi% - \endgroup% - \noindent\ignorespaces% -} \newenvironment{notice}[1][]{% \cleardoubleoddpage% \def\@headline{\noticename}% |