summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tudscr/tudscrsupervisor.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-12-22 23:40:36 +0000
committerKarl Berry <karl@freefriends.org>2014-12-22 23:40:36 +0000
commit4f902263451a27826c05b01add75eba8ad70bcbb (patch)
tree122905b415c3dad65734d26cd0a706f6e13729b4 /Master/texmf-dist/tex/latex/tudscr/tudscrsupervisor.sty
parent6a25d658147c100681ee893ce36f28ef9b689995 (diff)
tudscr has fallback for free fonts, so fine, restore
git-svn-id: svn://tug.org/texlive/trunk@35882 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.sty442
1 files changed, 442 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..619cf3685bf
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/tudscr/tudscrsupervisor.sty
@@ -0,0 +1,442 @@
+%%
+%% This is file `tudscrsupervisor.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% tudscr-version.dtx (with options: `package,supervisor,tudscr')
+%% tudscr-supervisor.dtx (with options: `package')
+%% tudscr-fields.dtx (with options: `package,supervisor')
+%% tudscr-locale.dtx (with options: `package,supervisor')
+%%
+%% ============================================================================
+%%
+%% TUD-KOMA-Script
+%% Copyright (c) Falk Hanisch <tudscr[at]gmail.com>, 2012-2014
+%%
+%% ============================================================================
+%%
+%% 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.
+%%
+%% ----------------------------------------------------------------------------
+%%
+%% 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 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.
+%%
+%% ============================================================================
+%%
+%%% From File: tudscr-version.dtx
+\begingroup%
+ \catcode`\@11\relax%
+ \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/12/17 v2.02 TUD-KOMA-Script}%
+\endgroup%
+\providecommand*\tudscrmail{tudscr@gmail.com}
+\@ifundefined{tudcls@name}{%
+ \PackageError{%
+ tudscrsupervisor%
+ }{Unsupported class found}{%
+ This package can only be used with a class out of the\MessageBreak%
+ tudscr bundle (tudscrartcl, tudscrreprt, tudscrbook)%
+ }
+ \endinput
+}{}
+\@ifundefined{TUDScript}{%
+ \DeclareRobustCommand{\TUDScript}{%
+ \ifdin{TUD-KOMA-SCRIPT}{%
+ \textsf{T\kern.05em U\kern.05em D\kern.1em-\kern.1em}\KOMAScript%
+ }\csname xspace\endcsname%
+ }%
+}{}
+%%% From File: tudscr-supervisor.dtx
+\NeedsTeXFormat{LaTeX2e}[2011/06/27]
+\ProvidesPackage{tudscrsupervisor}[%
+ 2014/12/17 v2.02 TUD-KOMA-Script
+ package
+ (commands for supervisors)%
+]
+\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{pagestyle=empty}%
+ }%
+ \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}{}{\minisec{\objectivesname}#2}%
+ \ifxblank{#3}{}{%
+ \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{pagestyle=empty}%
+ }%
+ \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}{}{\minisec{\taskname}#2}%
+ \ifxblank{#3}{}{\minisec{\contentname}#3}%
+ \ifxblank{#4}{}{\minisec{\assessmentname}#4}%
+ \ifxblank{#5}{}{\def\@grade{#5}}%
+ \end{evaluation}%
+}
+\newlength{\tud@dim@table}%
+\newcommand*\tud@author@table{%
+ \tud@check@author%
+ \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\@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@@@split{##2}{~~\hspace{\tabcolsep}}
+ }%
+ \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\@discipline\@empty\else\disciplinename\fi,%
+ }%
+ \@for\@tempb:=\@tempa\do{%
+ \settowidth{\@tempdima}{\@tempb\@titledelim}%
+ \ifdim\@tempdima>\tud@dim@table\relax%
+ \setlength{\tud@dim@table}{\@tempdima}%
+ \fi%
+ }%
+ \global\tud@dim@table=\tud@dim@table%
+ \begingroup%
+ \setparsizes{\z@}{\z@}{\z@\@plus 1fil}\par@updaterelative%
+ \begin{tabular}{@{}p{\tud@dim@table}}%
+ \ifx\@course\@empty\else%
+ \coursename\@titledelim\tabularnewline%
+ \fi%
+ \ifx\@discipline\@empty\else%
+ \disciplinename\@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,\course,\discipline}{}{\tud@patch@wrn{tud@split@author@list}}
+\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{pagestyle=empty}%
+ }%
+ \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\@contactperson\@empty\let\@contactperson\@supervisor\fi%
+ \ifx\@contactperson\@empty\else%
+ \vskip-\lastskip%
+ \ifdim\parskip>\z@\vskip\parskip\else\vskip\topsep\fi%
+ \subsection*{\contactpersonname}%
+ \noindent\tud@multiple@split{@contactperson}\hfill\null%
+ \fi%
+ \endtudpage%
+ \cleardoublepage%
+}
+\newcommand\noticeform[3][]{%
+ \begin{notice}[#1]
+ \vskip-\lastskip%
+ \ifxblank{#2}{}{%
+ \ifx\@@title\@empty\else%
+ \minisec{\expandonce{\@@title}}%
+ \fi%
+ #2%
+ }%
+ \ifxblank{#3}{}{%
+ \minisec{\focusname}%
+ \begin{itemize}\tud@RaggedRight%
+ #3
+ \end{itemize}%
+ }%
+ \end{notice}%
+}
+\newcommand*\tud@split@contactperson[2]{%
+ \tud@multiple@setfields{\null}{#1}%
+ \begin{tabular}{@{}l@{}}%
+ \ignorespaces#1\tabularnewline%
+ \ifx\@office\@empty\else\@office\tabularnewline\fi%
+ \ifx\@telephone\@empty\else\@telephone\tabularnewline\fi%
+ \ifx\@emailaddress\@empty\else\@emailaddress\tabularnewline\fi%
+ \end{tabular}%
+ \tud@multiple@@@split{#2}{\hfill}%
+}
+\newcommand*\tud@split@contactperson@list{\office,\telephone,\emailaddress}
+%%% From File: tudscr-fields.dtx
+\newcommand*\@course{}
+\newrobustcmd*\course[1]{\gdef\@course{#1}}
+\newcommand*\@discipline{}
+\newrobustcmd*\discipline[1]{\gdef\@discipline{#1}}
+\newcommand*\@chairman{}
+\newcommand*\chairman[1]{\gdef\@chairman{#1}}
+\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*\@emailaddress{}
+\newrobustcmd*\emailaddress[1]{\gdef\@emailaddress{#1}}
+\AfterPackage*{hyperref}{%
+ \renewrobustcmd*\emailaddress[1]{%
+ \gdef\@emailaddress{\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{\disciplinename}
+\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{\contactpersonname}
+\tud@locale@german{\taskname}{Aufgabenstellung}%
+\tud@locale@german{\tasktext}{f\"ur die Anfertigung einer}%
+\tud@locale@german{\authorname}{Name}%
+\tud@locale@german{\titlename}{Titel}%
+\tud@locale@german{\coursename}{Studiengang}%
+\tud@locale@german{\disciplinename}{Studienrichtung}%
+\tud@locale@german{\issuedatetext}{Ausgeh\"andigt am}%
+\tud@locale@german{\duedatetext}{Einzureichen am}%
+\tud@locale@german{\chairmanname}{Pr\"ufungsausschussvorsitzender}%
+\tud@locale@german{\focusname}{Schwerpunkte der Arbeit}%
+\tud@locale@german{\objectivesname}{Ziele der Arbeit}%
+\tud@locale@german{\evaluationname}{Gutachten}%
+\tud@locale@german{\evaluationtext}{f\"ur die}%
+\tud@locale@german{\contentname}{Inhalt}%
+\tud@locale@german{\assessmentname}{Bewertung}%
+\tud@locale@german{\gradetext}{%
+ Die Arbeit wird mit der Note \textbf{\@grade} bewertet.%
+}
+\tud@locale@german{\noticename}{Aushang}%
+\tud@locale@german{\contactpersonname}{Ansprechpartner}%
+\tud@locale@english{\taskname}{Task}%
+\tud@locale@english{\tasktext}{for the preparation of a}%
+\tud@locale@english{\authorname}{Name}%
+\tud@locale@english{\titlename}{Title}%
+\tud@locale@english{\coursename}{Course}%
+\tud@locale@english{\disciplinename}{Discipline}%
+\tud@locale@english{\issuedatetext}{Issued on}%
+\tud@locale@english{\duedatetext}{Due date for submission}%
+\tud@locale@english{\chairmanname}{Chairman of the Audit Committee}%
+\tud@locale@english{\focusname}{Focus of work}%
+\tud@locale@english{\objectivesname}{Objectives of work}%
+\tud@locale@english{\evaluationname}{Evaluation}%
+\tud@locale@english{\evaluationtext}{for the}%
+\tud@locale@english{\contentname}{Content}%
+\tud@locale@english{\assessmentname}{Assessment}%
+\tud@locale@english{\gradetext}{%
+ The thesis is evaluated with a grade of \textbf{\@grade}.%
+}
+\tud@locale@english{\noticename}{Notice}%
+\tud@locale@english{\contactpersonname}{Contact}%
+\endinput
+%%
+%% End of file `tudscrsupervisor.sty'.