summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tudscr/tudscrsupervisor.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-04-29 22:48:53 +0000
committerKarl Berry <karl@freefriends.org>2014-04-29 22:48:53 +0000
commit0f5d618956b51e00ae2e87d20aec39f7bbd6dd42 (patch)
treed370e6238a20c8f93f908a1c2987704f4563fec0 /Master/texmf-dist/tex/latex/tudscr/tudscrsupervisor.sty
parent6fd46163a1d6ba51c6998a45f736049e468e0805 (diff)
tudscr (29apr14)
git-svn-id: svn://tug.org/texlive/trunk@33755 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.sty481
1 files changed, 481 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrsupervisor.sty b/Master/texmf-dist/tex/latex/tudscr/tudscrsupervisor.sty
new file mode 100644
index 00000000000..d57f8b890cc
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/tudscr/tudscrsupervisor.sty
@@ -0,0 +1,481 @@
+%%
+%% This is file `tudscrsupervisor.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% tudscr-version.dtx (with options: `package')
+%% tudscr-supervisor.dtx (with options: `package,header')
+%% tudscr-fields.dtx (with options: `package,supervisor')
+%% tudscr-locale.dtx (with options: `package,supervisor')
+%% tudscr-supervisor.dtx (with options: `package,body')
+%%
+%% ======================================================================
+%%
+%% Das Corporate Design der TU Dresden auf Basis der KOMA-Script-Klassen
+%%
+%% ======================================================================
+%% 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
+%% version 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.
+%% ----------------------------------------------------------------------
+%% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz,
+%% Version 1.3c, verteilt und/oder veraendert werden.
+%% Die neuste Version dieser Lizenz ist
+%% http://www.latex-project.org/lppl.txt
+%% und Version 1.3c ist Teil aller Verteilungen von LaTeX
+%% Version 2005/12/01 oder spaeter und dieses Werks.
+%% Dieses Werk hat den LPPL-Verwaltungs-Status "author-maintained"
+%% (allein durch den Autor verwaltet).
+%% Der aktuelle Verwalter und Autor dieses Werkes ist Falk Hanisch.
+%% ======================================================================
+%%
+%%% From File: tudscr-version.dtx
+\begingroup%
+ \makeatletter%
+ \ifx\TUDVersion\undefined%
+ \newcommand*\@TUDVersion[1]{\gdef\TUDVersion{#1}}%
+ \else%
+ \newcommand*\@TUDVersion[1]{%
+ \def\@tempa{#1}%
+ \ifx\TUDVersion\@tempa\else%
+ \@latex@warning@no@line{%
+ \noexpand\TUDVersion\space is `\TUDVersion',\MessageBreak%
+ but `#1' was expected!\MessageBreak%
+ You should not use classes, packages or files from\MessageBreak%
+ different TUD-KOMA-Script-Bundle versions%
+ }%
+ \fi%
+ }%
+ \fi%
+ \@TUDVersion{2014/04/24 v2.01 TUD-KOMA-Script}%
+\endgroup%
+%%% From File: tudscr-supervisor.dtx
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{tudscrsupervisor}[\TUDVersion\space package (supervisors)]
+\ifx\tudcls@name\undefined
+ \PackageError{tudscrsupervisor}{Unsupported class found}{%
+ This package can only be used with a class out of the\MessageBreak%
+ tudscr bundle (tudscrartcl, tudscrreprt, tudscrbook)%
+ }
+ \endinput
+\fi
+%%% From File: tudscr-fields.dtx
+\newcommand*\@course{}
+\newrobustcmd*\course[1]{\gdef\@course{#1}}
+\newrobustcmd*\discipline{}
+\let\discipline\course
+\newcommand*\@branch{}
+\newrobustcmd*\branch[1]{\gdef\@branch{#1}}
+\newcommand*\@chairman{}
+\newcommand*\chairman[1]{\gdef\@chairman{#1}}
+\newcommand*\@contact{}
+\newcommand*\contact[1]{\gdef\@contact{#1}}
+\newcommand*\@office{}
+\newrobustcmd*\office[1]{\gdef\@office{#1}}
+\newcommand*\@phone{}
+\newrobustcmd*\phone[1]{\gdef\@phone{#1}}
+\newcommand*\@email{}
+\newrobustcmd*\email[1]{\gdef\@email{#1}}
+\AfterPackage{hyperref}{%
+ \renewrobustcmd*\email[1]{\gdef\@email{\href{mailto:#1}{\nolinkurl{#1}}}}%
+}
+\newcommand*\@grade{}
+\newcommand*\grade[1]{\gdef\@grade{#1}}
+\newcommand*\@headline{}
+\newcommand*\@issuedate{}
+\newcommand*\issuedate[1]{\tud@printdate{\@issuedate}{#1}}
+\let\startdate\issuedate
+\newcommand*\@duedate{}
+\newcommand*\duedate[1]{\tud@printdate{\@duedate}{#1}}
+\newcommand*\finaldate{}
+\newcommand*\maturitydate{}
+\let\finaldate\duedate
+\let\maturitydate\duedate
+%%% From File: tudscr-locale.dtx
+\tud@locale@define{\taskname}
+\tud@locale@define{\tasktext}
+\tud@locale@define{\authorname}
+\tud@locale@define{\titlename}
+\tud@locale@define{\coursename}
+\tud@locale@define{\branchname}
+\tud@locale@define{\issuedatetext}
+\tud@locale@define{\duedatetext}
+\tud@locale@define{\chairmanname}
+\tud@locale@define{\focusname}
+\tud@locale@define{\objectivesname}
+\tud@locale@define{\evaluationname}
+\tud@locale@define{\evaluationtext}
+\tud@locale@define{\contentname}
+\tud@locale@define{\assessmentname}
+\tud@locale@define{\gradetext}
+\tud@locale@define{\noticename}
+\tud@locale@define{\contactname}
+\apptocmd{\tud@locale@german}{%
+ \providecaptionname{#1}{\taskname}%
+ {Aufgabenstellung}%
+ \providecaptionname{#1}{\tasktext}%
+ {f\"ur die Anfertigung einer}%
+ \providecaptionname{#1}{\authorname}%
+ {Name}%
+ \providecaptionname{#1}{\titlename}%
+ {Titel}%
+ \providecaptionname{#1}{\coursename}%
+ {Studiengang}%
+ \providecaptionname{#1}{\branchname}%
+ {Studienrichtung}%
+ \providecaptionname{#1}{\issuedatetext}%
+ {Ausgeh\"andigt am}%
+ \providecaptionname{#1}{\duedatetext}%
+ {Einzureichen am}%
+ \providecaptionname{#1}{\chairmanname}%
+ {Pr\"ufungsausschussvorsitzender}%
+ \providecaptionname{#1}{\focusname}%
+ {Schwerpunkte der Arbeit}%
+ \providecaptionname{#1}{\objectivesname}%
+ {Ziele der Arbeit}%
+ \providecaptionname{#1}{\evaluationname}%
+ {Gutachten}%
+ \providecaptionname{#1}{\evaluationtext}%
+ {f\"ur die}%
+ \providecaptionname{#1}{\contentname}%
+ {Inhalt}%
+ \providecaptionname{#1}{\assessmentname}%
+ {Bewertung}%
+ \providecaptionname{#1}{\gradetext}%
+ {Die Arbeit wird mit der Note \textbf{\@grade} bewertet.}%
+ \providecaptionname{#1}{\noticename}%
+ {Aushang}%
+ \providecaptionname{#1}{\contactname}%
+ {Ansprechpartner}%
+}{}{}
+\apptocmd{\tud@locale@english}{%
+ \providecaptionname{#1}{\taskname}%
+ {Task}%
+ \providecaptionname{#1}{\tasktext}%
+ {for the preparation of a}%
+ \providecaptionname{#1}{\authorname}%
+ {Name}%
+ \providecaptionname{#1}{\titlename}%
+ {Title}%
+ \providecaptionname{#1}{\coursename}%
+ {Course}%
+ \providecaptionname{#1}{\branchname}%
+ {Branch}%
+ \providecaptionname{#1}{\issuedatetext}%
+ {Issued on}%
+ \providecaptionname{#1}{\duedatetext}%
+ {Due date for submission}%
+ \providecaptionname{#1}{\chairmanname}%
+ {Chairman of the Audit Committee}%
+ \providecaptionname{#1}{\focusname}%
+ {Focus of work}%
+ \providecaptionname{#1}{\objectivesname}%
+ {Objectives of work}%
+ \providecaptionname{#1}{\evaluationname}%
+ {Evaluation}%
+ \providecaptionname{#1}{\evaluationtext}%
+ {for the}%
+ \providecaptionname{#1}{\contentname}%
+ {Content}%
+ \providecaptionname{#1}{\assessmentname}%
+ {Assessment}%
+ \providecaptionname{#1}{\gradetext}%
+ {The thesis is evaluated with a grade of \textbf{\@grade}.}%
+ \providecaptionname{#1}{\noticename}%
+ {Notice}%
+ \providecaptionname{#1}{\contactname}%
+ {Contact}%
+}{}{}
+%%% From File: tudscr-supervisor.dtx
+\newenvironment{task}[1][]{%
+ \cleardoubleoddpage%
+ \def\@headline{}%
+ \TUD@parameter{tudpage}{%
+ \TUD@parameter@define{headline}{\def\@headline{##1}}%
+ \TUD@parameter@let{line}{headline}%
+ \TUD@parameter@sethandler{\def\@headline{##1}}%
+ \TUD@parameter@set{foot=ddc}%
+ }%
+ \tudpage[#1]%
+ \tudbookmark{\taskname}{task}%
+ \subsection*{%
+ \ifx\@headline\@empty%
+ \taskname\space%
+ \ifx\tasktext\@empty\else\ifx\@thesis\@empty\else%
+ \ignorespaces\tasktext\space\trim@spaces{\@thesis}%
+ \fi\fi%
+ \else\@headline\fi%
+ }%
+ \tud@author@table%
+}{%
+ \def\and{%
+ \tabularnewline%
+ \ifx\supervisorothername\@empty\else\supervisorothername\@titledelim\fi%
+ & \def\and{\tabularnewline &}%
+ }%
+ \vskip-\lastskip%
+ \ifdim\parskip>\z@\vskip\parskip\else\vskip\topsep\fi\medskip%
+ \begingroup%
+ \setparsizes{\z@}{\z@}{\z@\@plus 1fil}\par@updaterelative%
+ \begin{tabular}{@{}p{\tud@dim@table}l@{}}%
+ \supervisorname\@titledelim &
+ \@supervisor\tabularnewline[\smallskipamount]%
+ \issuedatetext\@titledelim & \@issuedate\tabularnewline%
+ \duedatetext\@titledelim & \@duedate\tabularnewline%
+ \end{tabular}%
+ \vskip 15mm plus 10mm minus 10mm%
+ \ifx\@chairman\@empty\else%
+ \begin{tabular}{@{}l@{}}%
+ \@chairman\tabularnewline%
+ \chairmanname\tabularnewline%
+ \end{tabular}%
+ \hfill%
+ \fi%
+ \ifx\@professor\@empty\else%
+ \begin{tabular}{@{}l@{}}%
+ \@professor\tabularnewline%
+ \professorname\tabularnewline%
+ \end{tabular}%
+ \fi%
+ \par%
+ \endgroup%
+ \endtudpage%
+ \cleardoublepage%
+}
+\newcommand{\taskform}[3][]{%
+ \begin{task}[#1]
+ \vskip-\lastskip%
+ \ifxblank{#2}{}{%
+ \vspace*{-\parskip}%
+ \minisec{\objectivesname}%
+ #2%
+ }%
+ \ifxblank{#3}{}{%
+ \vspace*{-\parskip}%
+ \minisec{\focusname}%
+ \begin{itemize}\tud@RaggedRight%
+ #3
+ \end{itemize}%
+ }%
+ \end{task}%
+}
+\newenvironment{evaluation}[1][]{%
+ \cleardoubleoddpage%
+ \def\@headline{}%
+ \TUD@parameter{tudpage}{%
+ \TUD@parameter@define{headline}{\def\@headline{##1}}%
+ \TUD@parameter@let{line}{headline}%
+ \TUD@parameter@define{grade}{\def\@grade{##1}}%
+ \TUD@parameter@sethandler{\def\@headline{##1}}%
+ \TUD@parameter@set{foot=ddc}%
+ }%
+ \tudpage[#1]%
+ \tudbookmark{\evaluationname}{evaluation}%
+ \subsection*{%
+ \ifx\@headline\@empty%
+ \evaluationname\space%
+ \ifx\evaluationtext\@empty\else\ifx\@thesis\@empty\else%
+ \ignorespaces\evaluationtext\space\trim@spaces{\@thesis}%
+ \fi\fi%
+ \else\@headline\fi%
+ }%
+ \tud@author@table%
+}{%
+ \vskip-\lastskip%
+ \ifdim\parskip>\z@\vskip\parskip\else\vskip\topsep\fi%
+ \medskip%
+ \ifx\@grade\@empty\else%
+ \noindent\gradetext%
+ \vskip\bigskipamount%
+ \fi%
+ \ifx\@date\@empty\else%
+ \noindent%
+ \ifx\@place\@empty\else\@place,~\fi\@date%
+ \vskip\bigskipamount%
+ \fi%
+ \bigskip\bigskip\noindent%
+ \ifx\@referee\@empty\let\@referee\@supervisor\fi%
+ \let\@tempa\refereename%
+ \def\and{%
+ \tabularnewline%
+ \@tempa%
+ \endtabular%
+ \hfill%
+ \tabular{@{}l@{}}%
+ \global\let\@tempa\refereeothername%
+ }%
+ \begin{tabular}{@{}l@{}}%
+ \@referee%
+ \tabularnewline%
+ \@tempa%
+ \end{tabular}%
+ \hfill\null%
+ \endtudpage%
+ \cleardoublepage%
+}
+\newcommand{\evaluationform}[5][]{%
+ \begin{evaluation}[#1]
+ \vskip-\lastskip%
+ \ifxblank{#2}{}{%
+ \vspace*{-\parskip}%
+ \minisec{\taskname}%
+ #2%
+ }%
+ \ifxblank{#3}{}{%
+ \vspace*{-\parskip}%
+ \minisec{\contentname}%
+ #3%
+ }%
+ \ifxblank{#4}{}{%
+ \vspace*{-\parskip}%
+ \minisec{\assessmentname}%
+ #4%
+ }%
+ \ifxblank{#5}{}{\def\@grade{#5}}%
+ \end{evaluation}%
+}
+\newlength{\tud@dim@table}%
+\newcommand*\tud@author@table{%
+ \begingroup%
+ \let\thanks\@gobble%
+ \let\footnote\@gobble%
+ \renewcommand*\tud@split@@author[2]{%
+ \tud@multiple@setfields{\null}{##1}%
+ \begin{tabular}{l@{}}%
+ \ifx\@course\@empty\else\@course\tabularnewline\fi%
+ \ifx\@branch\@empty\else\@branch\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@@@split{##2}{~~\hspace{\tabcolsep}}
+ }%
+ \global\setlength{\tud@dim@table}{2em}%
+ \gdef\tud@multiple@field{@@author}%
+ \tud@multiple@setfields{\null}{}%
+ \edef\@tempa{%
+ \authorname,\titlename,\supervisorname,\supervisorothername,%
+ \issuedatetext,\duedatetext,%
+ \expandafter\ifx\@matriculationnumber\@empty\else%
+ \matriculationnumbername%
+ \fi,%
+ \expandafter\ifx\@matriculationyear\@empty\else%
+ \matriculationyearname%
+ \fi,%
+ \expandafter\ifx\@course\@empty\else\coursename\fi,%
+ \expandafter\ifx\@branch\@empty\else\branchname\fi,%
+ }%
+ \@for\@tempb:=\@tempa\do{%
+ \settowidth{\@tempdima}{\@tempb\@titledelim}%
+ \ifdim\@tempdima>\tud@dim@table\relax%
+ \global\setlength{\tud@dim@table}{\@tempdima}%
+ \fi%
+ }%
+ \begingroup%
+ \setparsizes{\z@}{\z@}{\z@\@plus 1fil}\par@updaterelative%
+ \begin{tabular}{@{}p{\tud@dim@table}}%
+ \ifx\@course\@empty\else%
+ \coursename\@titledelim\tabularnewline%
+ \fi%
+ \ifx\@branch\@empty\else%
+ \branchname\@titledelim\tabularnewline%
+ \fi%
+ \authorname\@titledelim\tabularnewline%
+ \ifx\@matriculationnumber\@empty\else%
+ \matriculationnumbername\@titledelim\tabularnewline%
+ \fi%
+ \ifx\@matriculationyear\@empty\else%
+ \matriculationyearname\@titledelim\tabularnewline%
+ \fi%
+ \end{tabular}%
+ \tud@multiple@split{@@author}%
+ \vskip\smallskipamount%
+ \begin{tabular}{@{}p{\tud@dim@table}%
+ p{\dimexpr\textwidth-\tud@dim@table-2\tabcolsep\relax}@{}}%
+ \titlename\@titledelim & \tud@RaggedRight\textsf{\textbf{\@@title}}%
+ \end{tabular}%
+ \par%
+ \endgroup%
+ \ifdim\parskip>\z@\else\vskip\topsep\fi%
+ \endgroup%
+ \noindent\ignorespaces%
+}
+\patchcmd{\tud@split@@author@list}{\authormore}%
+ {\authormore,\branch,\course,\discipline}{}{}
+\newenvironment{notice}[1][]{%
+ \cleardoubleoddpage%
+ \def\@headline{\noticename}%
+ \TUD@parameter{tudpage}{%
+ \TUD@parameter@define{headline}{\def\@headline{##1}}%
+ \TUD@parameter@let{line}{headline}%
+ \TUD@parameter@sethandler{\def\@headline{##1}}%
+ \TUD@parameter@set{foot=ddc}%
+ }%
+ \tudpage[#1]%
+ \tudbookmark{\noticename}{notice}%
+ \ifx\@date\@empty\else%
+ \begingroup%
+ \vspace*{-\parskip}%
+ \vspace*{-2\baselineskip}%
+ \raggedleft
+ \@date\par%
+ \vspace*{-\parskip}%
+ \endgroup%
+ \fi%
+ \ifx\@headline\@empty\else%
+ \section*{\@headline}%
+ \fi%
+}{%
+ \ifx\@contact\@empty\let\@contact\@supervisor\fi%
+ \ifx\@contact\@empty\else%
+ \vskip-\lastskip%
+ \ifdim\parskip>\z@\vskip\parskip\else\vskip\topsep\fi%
+ \subsection*{\contactname}%
+ \noindent\tud@multiple@split{@contact}\hfill\null%
+ \fi%
+ \endtudpage%
+ \cleardoublepage%
+}
+\newcommand{\noticeform}[3][]{%
+ \begin{notice}[#1]
+ \vskip-\lastskip%
+ \ifxblank{#2}{}{%
+ \ifx\@@title\@empty\else%
+ \vspace*{-\parskip}%
+ \minisec{\expandonce{\@@title}}%
+ \fi%
+ #2%
+ }%
+ \ifxblank{#3}{}{%
+ \vspace*{-\parskip}%
+ \minisec{\focusname}%
+ \begin{itemize}\tud@RaggedRight%
+ #3
+ \end{itemize}%
+ }%
+ \end{notice}%
+}
+\newcommand*\tud@split@contact[2]{%
+ \tud@multiple@setfields{\null}{#1}%
+ \begin{tabular}{@{}l@{}}%
+ \ignorespaces#1\tabularnewline%
+ \ifx\@office\@empty\else\@office\tabularnewline\fi%
+ \ifx\@phone\@empty\else\@phone\tabularnewline\fi%
+ \ifx\@email\@empty\else\@email\tabularnewline\fi%
+ \end{tabular}%
+ \tud@multiple@@@split{#2}{\hfill}%
+}
+\newcommand*\tud@split@contact@list{\office,\phone,\email}
+\endinput
+%%
+%% End of file `tudscrsupervisor.sty'.