summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tudscr/tudscrmanual.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-06-28 21:06:55 +0000
committerKarl Berry <karl@freefriends.org>2019-06-28 21:06:55 +0000
commit6677e7d16babf1c0596fd30f9aeb6b13433725cd (patch)
tree84163738e611a8ebcbbed7102f3efa9238211476 /Master/texmf-dist/tex/latex/tudscr/tudscrmanual.cls
parent2a2ad17b85ef254d44022ec0fbcadb62cc90f431 (diff)
tudscr (28jun19)
git-svn-id: svn://tug.org/texlive/trunk@51500 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrmanual.cls')
-rw-r--r--Master/texmf-dist/tex/latex/tudscr/tudscrmanual.cls636
1 files changed, 363 insertions, 273 deletions
diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrmanual.cls b/Master/texmf-dist/tex/latex/tudscr/tudscrmanual.cls
index 9b73159947f..e336526db3d 100644
--- a/Master/texmf-dist/tex/latex/tudscr/tudscrmanual.cls
+++ b/Master/texmf-dist/tex/latex/tudscr/tudscrmanual.cls
@@ -11,14 +11,14 @@
%% tudscr-misc.dtx (with options: `class,manual,inherit,execute')
%% tudscr-manual.dtx (with options: `class,manual,body')
%% tudscr-fields.dtx (with options: `class,manual,body')
-%% tudscr-locale.dtx (with options: `class,manual,body')
+%% tudscr-localization.dtx (with options: `class,manual,body')
%% tudscr-texindy.dtx (with options: `class,manual')
%%
%% TUD-Script -- Corporate Design of Technische Universitaet Dresden
%%
-%% 2017/05/30 v2.05m TUD-Script
+%% 2019/06/28 v2.06 TUD-Script
%%
-%% Copyright (C) Falk Hanisch <hanisch.latex@outlook.com>, 2012-2017
+%% Copyright (C) Falk Hanisch <hanisch.latex@outlook.com>, 2012-2019
%%
%% This file was generated from file(s) of the TUD-Script bundle.
%% ----------------------------------------------------------------------------
@@ -44,7 +44,7 @@
\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.17}%
+ \gdef\TUD@Version@KOMA{3.25}%
}
\else
\newcommand*\TUD@Version@Check[1]{%
@@ -59,13 +59,13 @@
\fi%
}
\fi
- \TUD@Version@Check{2017/05/30 v2.05m TUD-Script}
+ \TUD@Version@Check{2019/06/28 v2.06 TUD-Script}
\endgroup
\NeedsTeXFormat{LaTeX2e}
\providecommand*\tudscrmail{hanisch.latex@outlook.com}
\newcommand*\TUD@ProvidesWrapperClass[3]{%
\ProvidesClass{#1}[%
- 2017/05/30 v2.05m TUD-Script
+ 2019/06/28 v2.06 TUD-Script
^^J#3 (#2)%
]%
\newcommand*\TUD@Class@Parent{#2}%
@@ -73,22 +73,29 @@
\TUD@Class@Info%
}
\providecommand*\TUD@Class@Info{%
- \typeout{+---------------------------------------------------------------}%
+ \typeout{+------------------------------------------------------------------}%
\typeout{| Corporate Design of Technische Universitaet Dresden}%
- \typeout{| Class: \TUD@Class@Name}%
- \typeout{| Version: \TUD@Version}%
- \typeout{| Author: Falk Hanisch (\tudscrmail)}%
- \typeout{| Forum: http://latex.wcms-file3.tu-dresden.de/phpBB3/}%
- \typeout{+---------------------------------------------------------------}%
+ \typeout{| Class: \TUD@Class@Name}%
+ \typeout{| Version: \TUD@Version}%
+ \typeout{| Author: Falk Hanisch (\tudscrmail)}%
+ \typeout{| Repository: https://github.com/tud-cd/tudscr}%
+ \typeout{| Forum: https://latex.wcms-file3.tu-dresden.de}%
+ \typeout{+------------------------------------------------------------------}%
}
\TUD@ProvidesWrapperClass{tudscrmanual}{tudscrreprt}{manual class}
\edef\TUDScriptClassName{\TUD@Class@Name}
\providecommand*\TUDClassName{\TUDScriptClassName}
\@ifundefined{TUDScript}{%
\DeclareRobustCommand\TUDScript{%
- \ifdin{TUD-SCRIPT}{%
- \textsf{T\kern.05em U\kern.05em D\kern.1em-\kern.1em Script}%
- }\csname xspace\endcsname%
+ \begingroup%
+ \def\tud@res@b##1{T\kern.05em U\kern.05em D\kern.1em-\kern.1em ##1}%
+ \tud@ifdin{%
+ \edef\tud@res@a{\tud@res@b{SCRIPT}}%
+ }{%
+ \edef\tud@res@a{\noexpand\textsf{\tud@res@b{Script}}}%
+ }%
+ \expandafter\endgroup\tud@res@a%
+ \csname xspace\endcsname%
}%
}{}
%%% From File: tudscr-manual.dtx
@@ -117,7 +124,9 @@
\ifdef{\tudfinalflag}{%
\TUDoptions{ToDo=false}%
\TUD@key{ToDo}{\FamilyKeyStateProcessed}%
- }{}%
+ }{%
+ \KOMAoptions{overfullrule}%
+ }%
\ifdef{\tudprintflag}{%
\ifnum\tud@cd@num>\z@\relax%
\TUDoptions{cd=true}%
@@ -149,17 +158,17 @@
\else%
\def\@tempa not##1##2##3##4\@nil{%
\ifstr{##1##2##3}{not}{%
- \if\relax##4\relax\else%
+ \IfArgIsEmpty{##4}{}{%
\listeadd\tud@todo@type@neg{##4}%
\@tud@todotrue%
\FamilyKeyStateProcessed%
- \fi%
+ }%
}{%
- \if\relax##1\relax\else%
+ \IfArgIsEmpty{##1}{}{%
\listeadd\tud@todo@type@pos{##1##2##3##4}%
\@tud@todotrue%
\FamilyKeyStateProcessed%
- \fi%
+ }%
}%
}%
\edef\@tempb{not\trim@spaces{#1}}%
@@ -168,7 +177,10 @@
}
%%% From File: tudscr-misc.dtx
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\TUD@Class@Parent}}
+\TUDExecuteOptions{%
+}
\TUDProcessOptions\relax
+\PassOptionsToClass{ttfont=roboto}{\TUD@Class@Parent}
\LoadClass{\TUD@Class@Parent}
%%% From File: tudscr-manual.dtx
\PassOptionsToPackage{log-declarations=false}{xparse}
@@ -180,7 +192,7 @@
\reversemarginpar
\RequirePackage{xspace}[2009/10/20]
\xspaceaddexceptions{"=}
-\@ifpackagelater{geometry}{2010/09/13}{%
+\@ifpackagelater{geometry}{2018/04/17}{%
\ClassWarning{\TUD@Class@Name}{%
Package `geometry' was updated so some patches\MessageBreak%
are maybe outdated%
@@ -194,6 +206,7 @@
\renewcommand*\tud@english[1]{\foreignlanguage{english}{#1}}%
}{}%
}
+\RequirePackage{shellesc}[2016/06/07]
\RequirePackage{pdftexcmds}[2016/05/21]
\newcommand*\tud@templist{}
\let\tud@templist\relax
@@ -251,7 +264,7 @@
}
\newcommand*\tud@trace@lbl@created@add[1]{}
\newcommand*\tud@trace@lbl@missing@add[1]{}
-\NewDocumentCommand\tracinglabels{sO{missing}}{%
+\NewDocumentCommand\tracinglabels{!s !O{missing}}{%
\newcommand*\tud@trace@lbl@created@list{}%
\newcommand*\tud@trace@lbl@missing@list{}%
\@tempswafalse%
@@ -328,7 +341,7 @@
\renewcaptionname{ngerman}{\subsectionautorefname}{Abschnitt}%
\renewcaptionname{ngerman}{\subsubsectionautorefname}{Unterabschnitt}%
\newcommand*\tud@manualname{tudscr}%
- \NewDocumentCommand\tudhyperdef{st'm}{%
+ \NewDocumentCommand\tudhyperdef{s t' m}{%
\@tempswafalse%
\IfBooleanT{#1}{\@tempswatrue\setlength\@tempdima{3\baselineskip}}%
\IfBooleanT{#2}{\@tempswatrue\setlength\@tempdima{15\baselineskip}}%
@@ -383,16 +396,16 @@
}
\newcommand*\tud@hyperref@a[2][]{#2}
\newcommand*\tud@hyperref@b[4]{#4}
- \tud@locale@german{\partautorefname}{Teil}%
- \tud@locale@german{\chapterautorefname}{Kapitel}%
- \tud@locale@german{\sectionautorefname}{Unterkapitel}%
- \tud@locale@german{\subsectionautorefname}{Abschnitt}%
- \tud@locale@german{\subsubsectionautorefname}{Unterabschnitt}%
- \tud@locale@english{\partautorefname}{Part}%
- \tud@locale@english{\chapterautorefname}{chapter}%
- \tud@locale@english{\sectionautorefname}{section}%
- \tud@locale@english{\subsectionautorefname}{subsection}%
- \tud@locale@english{\subsubsectionautorefname}{subsubsection}%
+ \tud@localization@german{\partautorefname}{Teil}%
+ \tud@localization@german{\chapterautorefname}{Kapitel}%
+ \tud@localization@german{\sectionautorefname}{Unterkapitel}%
+ \tud@localization@german{\subsectionautorefname}{Abschnitt}%
+ \tud@localization@german{\subsubsectionautorefname}{Unterabschnitt}%
+ \tud@localization@english{\partautorefname}{Part}%
+ \tud@localization@english{\chapterautorefname}{chapter}%
+ \tud@localization@english{\sectionautorefname}{section}%
+ \tud@localization@english{\subsectionautorefname}{subsection}%
+ \tud@localization@english{\subsubsectionautorefname}{subsubsection}%
\ProvideDocumentCommand\tudhyperdef{st'm}{\label{#3}}%
\providecommand*\tudhyperref[2]{#2}%
\providecommand*\autorefname[1][]{??\xspace}%
@@ -544,13 +557,13 @@
\newskip\tud@lastskip
\pretocmd{\index}{\tud@lastskip=\lastskip}{}{\tud@patch@wrn{index}}
\pretocmd{\label}{\tud@lastskip=\lastskip}{}{\tud@patch@wrn{label}}
-\NewDocumentCommand\printdeclarationlist{sd()}{%
+\NewDocumentCommand\printdeclarationlist{!s !d()}{%
\ifx\tud@declaration@list\relax\else%
\ifhmode%
\vskip\medskipamount%
\else%
\@tempskipa=\glueexpr\medskipamount-\tud@lastskip\relax%
- \ifdim\@tempskipa>\z@%
+ \ifdim\@tempskipa>\z@\relax%
\addpenalty{\@beginparpenalty}%
\addvspace{\@tempskipa}%
\fi%
@@ -570,7 +583,7 @@
\@tud@declarefalse%
\ifboolexpr{bool {@tud@preset@list} or bool {@tud@additional@list}}{%
\def\@tempa##1{\small\ignorespaces##1\tabularnewline}%
- \qquad%
+ \hskip1.2em%
\if@tud@preset@list%
\begin{tabular}{@{}l@{}}%
\forlistloop\@tempa{\tud@preset@list}%
@@ -602,7 +615,7 @@
\printdeclarationlist*%
\@tud@obsoletefalse%
}
-\NewDocumentCommand\printchangedatlist{sO{\z@}}{%
+\NewDocumentCommand\printchangedatlist{!s !O{\z@}}{%
\print@changedatlist{#1}{#2}%
}
\newrobustcmd*\bsc{\@backslashchar}
@@ -651,17 +664,17 @@
\let\tud@bdl@curr\tud@bdl@dflt
\newcommand*\tud@if@bdl[2]{\ifstr{\tud@bdl@curr}{\tud@bdl@dflt}{#2}{#1}}
\NewExpandableDocumentCommand\@Application{sm}{#2}
-\NewDocumentCommand\Application{smd()d<>d||}{%
+\NewDocumentCommand\Application{s m !d() !d<> !d||}{%
\Markup@SetFormat{\sbsfont}%
\IfValueTF{#4}{%
\Process@Markup{\Application{#2}}(#3)<#4>%
}{%
\Process@Markup{\Application{#2}}(#3)%
}%
- \Process@Index{#1}{\Application{#2}}[Anwendungssoftware](#3)|#4|%
+ \Process@Index{#1}{\Application{#2}}[Anwendungssoftware](#3)|#5|%
}
\NewExpandableDocumentCommand\@Distribution{sm}{#2}
-\NewDocumentCommand\Distribution{smod()d||}{%
+\NewDocumentCommand\Distribution{s m !o !d() !d||}{%
\Markup@SetFormat{\sbnfont}%
\IfValueTF{#3}{%
\Process@Markup{\Distribution{#2}}[~#3](#4)%
@@ -671,19 +684,20 @@
\Process@Index{#1}{\Distribution{#2}}[Distribution](#4)|#5|%
}
\NewExpandableDocumentCommand\@Engine{sm}{#2}
-\NewDocumentCommand\Engine{smd()d||}{%
+\NewDocumentCommand\Engine{s m !d() !d||}{%
\Markup@SetFormat{\sbnfont}%
\Process@Markup{\Engine{\hologo{#2}}}(#3)%
\Process@Index{#1}{\Engine{#2}}[Textsatzsystem](#3)|#4|%
}
+\newrobustcmd*\Path[1]{\mbox{\texttt{#1}}}
\NewExpandableDocumentCommand\@File{sm}{#2}
-\NewDocumentCommand\File{smd()d||}{%
+\NewDocumentCommand\File{s m !d() !d||}{%
\Markup@SetFormat{\sbnfont}%
\Process@Markup{\File{#2}}(#3)%
\Process@Index{#1}{\File{#2}}[Datei](#3)|#4|%
}
\NewExpandableDocumentCommand\@Class{sm}{#2}
-\NewDocumentCommand\Class{smd()d''d||}{%
+\NewDocumentCommand\Class{s m !d() !d'' !d||}{%
\if@tud@changedat%
\Process@ChangedAt{\Class{#2}}[Klasse]%
\else%
@@ -693,7 +707,7 @@
\fi%
}
\NewExpandableDocumentCommand\@Package{sm}{#2}
-\NewDocumentCommand\Package{smd()d<>d''d||}{%
+\NewDocumentCommand\Package{s m !d() !d<> !d'' !d||}{%
\if@tud@changedat%
\Process@ChangedAt{\Package{#2}}[Paket]%
\else%
@@ -707,7 +721,7 @@
\fi%
}
\NewExpandableDocumentCommand\@Option{sm}{#2}
-\NewDocumentCommand\Option{s>{\ProcessorKeyVal}md==d()d''d||}{%
+\NewDocumentCommand\Option{s >{\ProcessorKeyVal}m !d== !d() !d'' !d||}{%
\Option@Value{#1}#2=#3=(#4)'#5'|#6|%
}
\NewDocumentCommand\Option@Value{mmd==d==d()d''d||}{%
@@ -721,7 +735,7 @@
\fi%
}
\NewExpandableDocumentCommand\@Environment{sm}{#2}
-\NewDocumentCommand\Environment{smod()d''d||}{%
+\NewDocumentCommand\Environment{s m !o !d() !d'' !d||}{%
\if@tud@changedat%
\Process@ChangedAt{\Environment{#2}}[Umgebung](#4)%
\else%
@@ -735,27 +749,27 @@
\fi%
}
\NewExpandableDocumentCommand\@Macro{sm}{#2}
-\NewDocumentCommand\Macro{smod()d''d||}{%
+\NewDocumentCommand\Macro{s m !o !d() !d'' !d||}{%
\if@tud@changedat%
\Process@ChangedAt{\Macro{#2}}[Befehl](#4)%
\else%
- \Markup@SetFormat{\ttfamily\bsc}%
+ \Markup@SetFormat[\bsc]{\ttfamily}%
\Process@Markup{\Macro{#2}}[#3](#4)'#5'%
\Process@Index{#1}{\Macro{#2}}(#4)|#6|%
\fi%
}
\NewExpandableDocumentCommand\@Length{sm}{#2}
-\NewDocumentCommand\Length{smd()d''d||}{%
+\NewDocumentCommand\Length{s m !d() !d'' !d||}{%
\if@tud@changedat%
\Process@ChangedAt{\Length{#2}}[L\"ange](#3)%
\else%
- \Markup@SetFormat{\ttfamily\bsc}[L\"ange]%
+ \Markup@SetFormat[\bsc]{\ttfamily}[L\"ange]%
\Process@Markup{\Length{#2}}(#3)'#4'%
\Process@Index{#1}{\Length{#2}}[L\"ange](#3)|#5|%
\fi%
}
\NewExpandableDocumentCommand\@Counter{sm}{#2}
-\NewDocumentCommand\Counter{smd()d''d||}{%
+\NewDocumentCommand\Counter{s m !d() !d'' !d||}{%
\if@tud@changedat%
\Process@ChangedAt{\Counter{#2}}[Z\"ahler](#3)%
\else%
@@ -765,7 +779,7 @@
\fi%
}
\NewExpandableDocumentCommand\@Key{smm}{#2!#3}
-\NewDocumentCommand\Key{sm>{\ProcessorKeyVal}md==d()d''d||}{%
+\NewDocumentCommand\Key{s m >{\ProcessorKeyVal}m !d== !d() !d'' !d||}{%
\Key@Value{#1}{#2}#3=#4=(#5)'#6'|#7|%
}
\NewDocumentCommand\Key@Value{mmmd==d==d()d''d||}{%
@@ -779,17 +793,17 @@
\fi%
}
\NewExpandableDocumentCommand\@Term{sm}{#2}
-\NewDocumentCommand\Term{smd()d''d||}{%
+\NewDocumentCommand\Term{s m !d() !d'' !d||}{%
\if@tud@changedat%
\Process@ChangedAt{\Term{#2}}[Bezeichner](#3)%
\else%
- \Markup@SetFormat{\ttfamily\bsc}[Bezeichner]%
+ \Markup@SetFormat[\bsc]{\ttfamily}[Bezeichner]%
\Process@Markup{\Term{#2}}(#3)'#4'%
\Process@Index{#1}{\Term{#2}}(#3)|#5|%
\fi%
}
\NewExpandableDocumentCommand\@PageStyle{sm}{#2}
-\NewDocumentCommand\PageStyle{smd()d''d||}{%
+\NewDocumentCommand\PageStyle{s m !d() !d'' !d||}{%
\if@tud@changedat%
\Process@ChangedAt{\PageStyle{#2}}[Seitenstil](#3)%
\else%
@@ -799,7 +813,7 @@
\fi%
}
\NewExpandableDocumentCommand\@Font{sm}{#2}
-\NewDocumentCommand\Font{smd()d''d||}{%
+\NewDocumentCommand\Font{s m !d() !d'' !d||}{%
\if@tud@changedat%
\Process@ChangedAt{\Font{#2}}[Schriftelement](#3)%
\else%
@@ -809,7 +823,7 @@
\fi%
}
\NewExpandableDocumentCommand\@Color{sm}{#2}
-\NewDocumentCommand\Color{smoD(){\Package{tudscrcolor}}d''d||}{%
+\NewDocumentCommand\Color{s m !o !D(){\Package{tudscrcolor}} !d'' !d||}{%
\if@tud@changedat%
\Process@ChangedAt{\Color{#2}}[Farbe](#4)%
\else%
@@ -817,7 +831,7 @@
\begingroup\ttfamily{#2\IfValueT{#3}{~(#3)}}\endgroup%
)%
\Process@Markup{\Color{#2}}[#3](#4)'#5'%
- \Process@Index{#1}{\Color{#2}}[Farbe](#4)|#5|%
+ \Process@Index{#1}{\Color{#2}}[Farbe](#4)|#6|%
\fi%
}
\NewDocumentCommand\tud@attr@get{smm}{%
@@ -852,7 +866,6 @@
}%
\tud@reserved%
}
-\newrobustcmd*\Path[1]{\mbox{\texttt{#1}}}
\newrobustcmd*\PValue[1]{\mbox{\texttt{#1}}}
\newrobustcmd*\PName[1]{\PValue{\textsl{<#1>}}}
\newrobustcmd*\PValueName[1]{\PName{#1}}
@@ -941,6 +954,7 @@
\let\IeC\@firstofone%
\def\"##1{##1e}%
\def\ss{ss}%
+ \def\dots{...}%
\let\NoCaseChange\@firstofone%
}
\NewDocumentCommand\tud@lbl@get@curr{%
@@ -1018,6 +1032,17 @@
}%
\@tempc%
}
+\newif\if@tud@disposition
+\newcommand*\ifdisposition{%
+ \if@tud@disposition%
+ \expandafter\@firstoftwo%
+ \else%
+ \expandafter\@secondoftwo%
+ \fi%
+}
+\pretocmd{\tud@sec@format}{%
+ \@tud@dispositiontrue%
+}{}{\tud@patch@wrn{tud@sec@format}}
\newcommand*\Markup@Suppress{\let\Process@Markup\Markup@@Suppress}
\NewDocumentCommand\Markup@@Suppress{md==od()d<>d''}{}
\NewDocumentCommand\Process@Markup{md==od()d<>d''}{%
@@ -1106,7 +1131,8 @@
\let\@tempb\relax%
\IfValueT{#6}{%
\def\@tempb{%
- \ClassWarning{tudscrmanual}{%
+ \ClassWarning{tudscrmanual}%
+ {%
You've used the unknown cross-reference\MessageBreak%
shorthand '#6'. Only 'auto', 'page' and 'full'\MessageBreak%
as well as 'none' \IfValueT{#5}{or 'url' }are valid%
@@ -1128,7 +1154,8 @@
\IfValueT{#6}{%
\ifstr{#6}{none}{\let\@tempa\@tempc}{%
\def\@tempb{%
- \ClassWarning{tudscrmanual}{%
+ \ClassWarning{tudscrmanual}%
+ {%
Label #1\MessageBreak%
is missing, no cross-reference created%
}%
@@ -1137,7 +1164,7 @@
}%
\tud@trace@lbl@missing@add{#1}%
}%
- \ifdin{\@tempc}{\@tempa\@tempb}%
+ \ifdisposition{\@tempc}{\@tempa\@tempb}%
\endgroup%
\Markup@ClearFormat%
}
@@ -1162,61 +1189,63 @@
}
\newcommand*\Markup@Inline[1]{\mbox{\Markup@Format{#1}}}
\newcommand*\Markup@Declare{}
-\newcommand*\Markup@@Declare[1]{%
- \begingroup\Markup@Format{#1}\endgroup\Markup@Suffix%
-}
+\newcommand*\Markup@@Declare[1]{\Markup@Format{#1}\Markup@Suffix}
\newcommand*\Markup@Format{}
+\undef\Markup@Format
\newcommand*\Markup@Suffix{}
-\NewDocumentCommand\Markup@SetFormat{mod()}{%
- \def\Markup@Format{\ifdin{\MakeTextUppercase}{#1}}%
- \IfValueT{#2}{\def\Markup@Suffix{\suffix{#2}}}%
- \IfValueT{#3}{\renewcommand*\Markup@Declare[1]{#3\Markup@Suffix}}%
-}
-\robustify\NoCaseChange
-\NewDocumentCommand\tud@nonchangecase{m}{%
- \DeclareExpandableDocumentCommand#1{sm}{%
- \IfBooleanT{##1}{\noexpand\@tud@indextrue}%
- \NoCaseChange{#1{##2}}%
+\NewDocumentCommand\Markup@SetFormat{omod()}{%
+ \def\Markup@Format##1{%
+ \def\tud@res@a{#2}%
+ \tud@ifdin{\let\tud@res@a\tud@sec@format}{}%
+ \begingroup\tud@res@a{\IfValueT{#1}{#1}##1}\endgroup%
}%
+ \IfValueT{#3}{\def\Markup@Suffix{\suffix{#3}}}%
+ \IfValueT{#4}{\renewcommand*\Markup@Declare[1]{#4\Markup@Suffix}}%
}
-\apptocmd{\tud@x@textcase@uclcnotmath}{%
- \tud@nonchangecase\Application%
- \tud@nonchangecase\Distribution%
- \tud@nonchangecase\Engine%
- \tud@nonchangecase\File%
- \tud@nonchangecase\Class%
- \tud@nonchangecase\Package%
- \tud@nonchangecase\Option%
- \tud@nonchangecase\Environment%
- \tud@nonchangecase\Macro%
- \tud@nonchangecase\Length%
- \tud@nonchangecase\Counter%
- \DeclareExpandableDocumentCommand\Key{smm}{%
- \IfBooleanT{##1}{\noexpand\@tud@indextrue}%
- \NoCaseChange{#1{##2}{##3}}%
- }%
- \tud@nonchangecase\Term%
- \tud@nonchangecase\PageStyle%
- \tud@nonchangecase\Font%
- \tud@nonchangecase\Color%
-}{}{\tud@patch@wrn{tud@x@textcase@uclcnotmath}}
\newcommand*\Markup@ClearFormat{%
- \let\Markup@Format\relax%
+ \undef\Markup@Format%
\let\Markup@Declare\Markup@@Declare%
\let\Markup@Suffix\relax%
}
\Markup@ClearFormat
\newcommand*\Markup@CheckFormat{%
- \ifx\Markup@Format\relax%
- \ClassError{tudscrmanual}{\string\Markup@SetFormat\space unused}{%
- It seems you have forgotten to use \string\Markup@SetFormat.%
+ \ifundef\Markup@Format{%
+ \ClassError{tudscrmanual}%
+ {\string\Markup@SetFormat\space unused}%
+ {It seems you have forgotten to use \string\Markup@SetFormat.}%
+ }{}%
+}
+\ifundef{\tud@x@textcase@uclcnotmath}{}{%
+ \NewDocumentCommand\tud@nonchangecase{m}{%
+ \DeclareExpandableDocumentCommand#1{sm}{%
+ \IfBooleanT{##1}{\noexpand\@tud@indextrue}%
+ \NoCaseChange{#1{##2}}%
}%
- \fi%
+ }
+ \apptocmd{\tud@x@textcase@uclcnotmath}{%
+ \tud@nonchangecase\Application%
+ \tud@nonchangecase\Distribution%
+ \tud@nonchangecase\Engine%
+ \tud@nonchangecase\File%
+ \tud@nonchangecase\Class%
+ \tud@nonchangecase\Package%
+ \tud@nonchangecase\Option%
+ \tud@nonchangecase\Environment%
+ \tud@nonchangecase\Macro%
+ \tud@nonchangecase\Length%
+ \tud@nonchangecase\Counter%
+ \DeclareExpandableDocumentCommand\Key{smm}{%
+ \IfBooleanT{##1}{\noexpand\@tud@indextrue}%
+ \NoCaseChange{#1{##2}{##3}}%
+ }%
+ \tud@nonchangecase\Term%
+ \tud@nonchangecase\PageStyle%
+ \tud@nonchangecase\Font%
+ \tud@nonchangecase\Color%
+ }{}{\tud@patch@wrn{tud@x@textcase@uclcnotmath}}
}
\PassOptionsToPackage{xindy,splitindex}{imakeidx}
-\let\tud@shellescape\shellescape
\RequirePackage{imakeidx}[2013/07/11]
-\let\shellescape\tud@shellescape
\indexsetup{%
level=\addsec,%
noclearpage,firstpagestyle=headings,headers={\indexname}{\indexname},%
@@ -1277,7 +1306,7 @@
\fi%
}{}{\tud@patch@wrn{theindex}}%
\fi%
-\NewDocumentCommand\makexdyindex{somo}{%
+\NewDocumentCommand\makexdyindex{s o m !o}{%
\let\@tempb\@empty%
\IfBooleanT{#1}{%
\def\@tempc{\jobname-#4-declare.idx}%
@@ -1417,7 +1446,8 @@
}
\newrobustcmd*\cleversee{\tud@cleversee{\seename}}
\newrobustcmd*\cleverseealso{%
- \ClassWarning{tudscrmanual}{You should use `|see' instead of `|seealso'}%
+ \ClassWarning{tudscrmanual}%
+ {You should use `|see' instead of `|seealso'}%
\tud@cleversee{\alsoname}%
}
\newcommand*\tud@cleversee{}
@@ -1431,7 +1461,7 @@
\endgroup%
}%
}
-\NewDocumentCommand\seeref{sm}{%
+\NewDocumentCommand\seeref{s m}{%
\emph{\IfBooleanTF{#1}{\alsoname}{\seename}}\space#2%
}
\newcommand*\seeidx[2]{\pageref{idx:#1}}
@@ -1441,7 +1471,8 @@
}{}{%
\IfBooleanTF{#1}{%
\IfValueT{#6}{%
- \ClassWarning{tudscrmanual}{%
+ \ClassWarning{tudscrmanual}%
+ {%
You've used the starred version. No index entry\MessageBreak%
for #2 is created. The\MessageBreak%
optional argument |#6| will be ignored%
@@ -1486,7 +1517,7 @@
\index[\tud@lbl@tmp]{\tud@idx@val\tud@idx@key{}@\tud@idx@fmt}%
\fi%
}
-\NewDocumentCommand\CrossIndex{smom}{%
+\NewDocumentCommand\CrossIndex{s m o m}{%
\def\@tempa##1##2##3{%
\index{%
\IfBooleanTF{#1}{##3@##3}{##3!"|@}%
@@ -1496,7 +1527,7 @@
}%
\forcsvlist{\@tempa{#3}{#4}}{#2}%
}
-\NewDocumentCommand\SeeRef{smm}{%
+\NewDocumentCommand\SeeRef{s m m}{%
\sbox\z@{%
\let\tud@idx@fmt\relax%
#3%
@@ -1582,14 +1613,21 @@
\tud@idx@get*\tud@idx@key\tud@idx@fmt\tud@idx@val{#1}=#2=[#3](#4)%
}
\newlength\changedatskip
-\NewDocumentCommand\ChangedAt{somO{\changedatskip}}{%
+\NewDocumentCommand\ChangedAt{s o d() m !O{\changedatskip}}{%
\IfValueTF{#2}{%
- \Changed@At@CreateList[#2]{#3}%
+ \Changed@At@CreateList[#2](#3){#4}%
}{%
- \Changed@At@CreateList{#3}%
+ \Changed@At@CreateList(#3){#4}%
+ }%
+ \print@changedatlist{#1}{#5}%
+}
+\NewExpandableDocumentCommand\@ChangedAt{s o d() m}{}
+\AfterPackage*{hyperref}{%
+ \pdfstringdefDisableCommands{%
+ \let\ChangedAt\@ChangedAt%
}%
- \print@changedatlist{#1}{#4}%
}
+\BeforeStartingTOC{\let\ChangedAt\@ChangedAt}
\newcommand*\tud@changedat@list{}
\let\tud@changedat@list\relax
\DeclareListParser*{\forssvlist}{;}
@@ -1718,9 +1756,11 @@
\expandafter\def\csname\string\item\endcsname##1~%
}{%
\endgroup%
- \addsec[##1]{\TUDScript \NoCaseChange{##1}}%
+ \let\@tempb\@firstofone%
+ \if@tud@cdoldfont@active\def\@tempb##1{\NoCaseChange{##1}}\fi%
+ \addsec[##1]{\TUDScript \@tempb{##1}}%
\tudhyperdef*{idx:changelog:##1}%
- \def\@tempa{\indexname: \TUDScript \NoCaseChange{##1}}%
+ \def\@tempa{\indexname: \TUDScript \@tempb{##1}}%
\@mkboth{\@tempa}{\@tempa}%
}%
}{}{\tud@patch@wrn{theindex}}%
@@ -1754,7 +1794,7 @@
\fi%
}
\RequirePackage{enumitem}[2011/09/28]
-\setlist{noitemsep}
+\setlist{before*={\endgraf\tud@RaggedRight},partopsep=0pt,noitemsep}
\newcommand*\stditem{}
\newcommand*\tud@before@item[1]{%
\ifdefvoid{\stditem}{%
@@ -1813,8 +1853,12 @@
\stditem%
}%
}
-\NewDocumentCommand\itemtrue{sood()}{\item@bool{#1}{true/on/yes}[#2][#3](#4)}
-\NewDocumentCommand\itemfalse{sood()}{\item@bool{#1}{false/off/no}[#2][#3](#4)}
+\NewDocumentCommand\itemtrue{!s !o !o !d()}{%
+ \item@bool{#1}{true/on/yes}[#2][#3](#4)%
+}
+\NewDocumentCommand\itemfalse{!s !o !o !d()}{%
+ \item@bool{#1}{false/off/no}[#2][#3](#4)%
+}
\NewDocumentCommand\item@bool{mmr[]r[]r()}{%
\toks@{\item}%
\IfBooleanT{#1}{\addto@hook\toks@{*}}%
@@ -1869,7 +1913,7 @@
\multicolumn{\tabularm@num}{@{}p{\tabularm@wd}@{}}{#1}%
}
\RequirePackage{tabularx}[1999/01/07]
-\NewDocumentCommand\TermTable{smg}{%
+\NewDocumentCommand\TermTable{s m !g}{%
\let\tud@templist\relax%
\forcsvlist{\listadd\tud@templist}{#2}%
\ifhmode\par\fi%
@@ -1893,7 +1937,7 @@
\bottomrule%
}
\newcommand*\Term@@Table[1]{%
- \Term{#1} & %
+ \Term{#1}'none' & %
\ifstr{\csuse{#1}}{}{\PName{leer}}{\csuse{#1}} & %
\selectlanguage{english}\vspace*{\@tempdimc}%
\ifstr{\csuse{#1}}{}{\PName{empty}}{\csuse{#1}}\tabularnewline%
@@ -1903,8 +1947,8 @@
\addvspace{-\topsep}%
}
\newenvironment{Example*}{%
- \labeling{{\usekomafont{disposition}Beispiel:\nobreakspace}}%
- \item[{\usekomafont{disposition}Beispiel:\nobreakspace}]%
+ \labeling{{\usekomafont{disposition}{Beispiel:\nobreakspace}}}%
+ \item[{\usekomafont{disposition}{Beispiel:\nobreakspace}}]%
}{%
\endlabeling%
}
@@ -1934,10 +1978,14 @@
activated shell escape option%
}%
}
+\newcommand*\tud@latex@ext{}
+\ifpdftex%
+ {\def\tud@latex@ext{pdflatex\space}}%
+ {\def\tud@latex@ext{lualatex\space}}%
\newrobustcmd*\hypertut[2]{%
\hyperref{tutorials/#1.pdf}{#1}{tutorials:#1}{\File*{#1.pdf}#2}%
}
-\NewDocumentCommand\Tutorial{smd||}{%
+\NewDocumentCommand\Tutorial{s m !d||}{%
\ifnum\pdf@shellescape=\@ne\relax%
\filemodCmp{tutorials/#2.pdf}{tutorials/#2.tex}{}{%
\let\@tempa\@empty%
@@ -1949,20 +1997,20 @@
\immediate\write\tud@write@a{cd tutorials^^J##1}%
\immediate\closeout\tud@write@a%
\ifwindows%
- \immediate\write18{rename tutorials.sh tutorials.bat}%
- \immediate\write18{tutorials.bat}%
- \immediate\write18{del tutorials.bat}%
+ \ShellEscape{rename tutorials.sh tutorials.bat}%
+ \ShellEscape{tutorials.bat}%
+ \ShellEscape{del tutorials.bat}%
\else%
- \immediate\write18{bash tutorials.sh}%
- \immediate\write18{rm tutorials.sh}%
+ \ShellEscape{bash tutorials.sh}%
+ \ShellEscape{rm tutorials.sh}%
\fi%
}%
- \@tempb{pdflatex -shell-escape "\@tempa"}%
+ \@tempb{\tud@latex@ext -shell-escape "\@tempa"}%
\IfFileExists{tutorials/#2.bcf}{\@tempb{biber #2}}{}%
\@tempb{%
- pdflatex "\@tempa"^^J%
- pdflatex -shell-escape "\@tempa"^^J%
- pdflatex -shell-escape "\@tempa"%
+ \tud@latex@ext "\@tempa"^^J%
+ \tud@latex@ext -shell-escape "\@tempa"^^J%
+ \tud@latex@ext -shell-escape "\@tempa"%
}%
}%
\fi%
@@ -1980,15 +2028,15 @@
\lstinputlisting[style=tudscr]{examples/#1}%
\ifnum\pdf@shellescape=\@ne\relax%
\filemodCmp{examples/#1.pdf}{examples/#1.tex}{}{%
- \immediate\write18{%
- pdflatex -output-directory examples examples/#1.tex^^J%
- pdflatex -output-directory examples examples/#1.tex%
+ \ShellEscape{%
+ \tud@latex@ext -output-directory examples examples/#1.tex^^J%
+ \tud@latex@ext -output-directory examples examples/#1.tex%
}%
}%
\filemodCmp{examples/#1_print.pdf}{examples/#1_print.tex}{}{%
- \immediate\write18{%
- pdflatex -output-directory examples examples/#1_print.tex^^J%
- pdflatex -output-directory examples examples/#1_print.tex%
+ \ShellEscape{%
+ \tud@latex@ext -output-directory examples examples/#1_print.tex^^J%
+ \tud@latex@ext -output-directory examples examples/#1_print.tex%
}%
}%
\fi%
@@ -2015,60 +2063,94 @@
\PassOptionsToPackage{colorinlistoftodos,color=HKS92!10}{todonotes}%
}
\RequirePackage{todonotes}[2012/07/25]
+\AtEndPreamble{%
+ \ifdim\marginparwidth<2cm\relax%
+ \setlength\marginparwidth{2cm}%
+ \fi%
+}
\AfterPackage*{todonotes}{%
- \newcommand*\tud@todo@type@color[2]{%
- \define@boolkey{todonotes}{#1}[true]{%
- \ifdef{\tudprintflag}{}{%
- \ifbool{KV@todonotes@#1}{\setkeys{todonotes}{color=#2}}{}%
- }%
- }%
- }%
- \tud@todo@type@color{doc}{HKS41!30}%
- \tud@todo@type@color{rls}{HKS44!30}%
- \tud@todo@type@color{imp}{HKS57!50}%
- \tud@todo@type@color{urg}{HKS07!50}%
- \tud@todo@type@color{nxt}{HKS92!30}%
- \undef\tud@todo@type@color%
- \newcommand*\tud@todo@marginnote{}%
- \NewDocumentCommand\ToDo{somo}{%
+ \newcommand*\tud@todo@type@use{}%
+ \NewDocumentCommand\ToDo{s o m !o}{%
\ifbool{@tud@todo}{%
\global\let\tud@currentHref\@currentHref%
\begingroup%
- \let\@tempa\@empty%
- \def\tud@todo@marginnote{ToDo}%
- \IfValueT{#4}{%
- \def\tud@todo@marginnote{#4}%
- \tud@v@get\@tempc{#4}%
- \ifcsdef{tud@v@\@tempc}{%
- \ifstr{\@tempc}{\TUDScriptVersionNumber}{}{\def\@tempa{urg}}%
- \edef\tud@todo@marginnote{v\@tempc}%
+ \let\tud@todo@type@use\@empty%
+ \IfValueTF{#2}{%
+ \IfArgIsEmpty{#2}{}{%
+ \let\tud@todo@type@use\relax%
+ \ifx\tud@todo@type@pos\relax%
+ \def\tud@res@a##1{%
+ \ifinlist{##1}{\tud@todo@type@use}{}{%
+ \ifinlist{##1}{\tud@todo@type@neg}{}{%
+ \listadd\tud@todo@type@use{##1}%
+ }%
+ }%
+ }%
+ \else%
+ \def\tud@res@a##1{%
+ \ifinlist{##1}{\tud@todo@type@use}{}{%
+ \ifinlist{##1}{\tud@todo@type@pos}{%
+ \listadd\tud@todo@type@use{##1}%
+ }{}%
+ }%
+ }%
+ \fi%
+ \forcsvlist\tud@res@a{#2}%
+ }%
+ }{}%
+ \ifx\tud@todo@type@use\relax\else%
+ \let\tud@res@a\@empty%
+ \let\tud@res@b\@empty%
+ \let\tud@res@c\@empty%
+ \ifinlist{rls}{\tud@todo@type@use}{%
+ \def\tud@res@a{color=HKS44!30,}%
+ \def\tud@res@b{color=HKS44!30,}%
+ \edef\tud@res@c{v\TUDScriptVersionNumber}%
}{%
- \def\@tempa##1.##2##3##4\@nil{##1##2##3}%
- \edef\@tempb{\expandafter\@tempa\@tempc.000\@nil}%
- \ifxnumber{\@tempb}{%
- \def\@tempa{nxt}%
- \edef\tud@todo@marginnote{v\@tempc}%
- }{\let\@tempa\@empty}%
+ \ifinlist{imp}{\tud@todo@type@use}{%
+ \def\tud@res@a{color=HKS57!50,}%
+ }{%
+ \ifinlist{doc}{\tud@todo@type@use}{%
+ \def\tud@res@a{color=HKS41!30,}%
+ }{}%
+ }%
+ \def\tud@res@c{ToDo}%
+ \IfValueT{#4}{%
+ \begingroup%
+ \tud@v@get\tud@res@a{#4}%
+ \def\tud@res@c##1.##2##3##4\@nil{##1##2##3}%
+ \edef\tud@res@b{\expandafter\tud@res@c\tud@res@a.000\@nil}%
+ \ifnumber{\tud@res@b}{%
+ \edef\tud@res@c{%
+ \expandafter\tud@res@c\TUDScriptVersionNumber.000\@nil%
+ }%
+ \ifnum\tud@res@b>\tud@res@c\relax%
+ \def\tud@res@b{color=HKS92!30,}%
+ \else%
+ \ifnum\tud@res@b<\tud@res@c\relax%
+ \def\tud@res@b{color=HKS07!50,}%
+ \else%
+ \def\tud@res@b{color=HKS41!30,}%
+ \fi%
+ \fi%
+ \def\tud@res@c{v\tud@res@a}%
+ }{%
+ \let\tud@res@b\@empty%
+ \def\tud@res@c{#4}%
+ }%
+ \edef\tud@res@c{%
+ \endgroup%
+ \def\noexpand\tud@res@b{\tud@res@b}%
+ \def\noexpand\tud@res@c{\tud@res@c}%
+ }%
+ \tud@res@c%
+ }%
}%
- }%
- \IfValueT{#2}{\preto\@tempa{#2,}}%
- \@tempswafalse%
- \ifx\tud@todo@type@pos\relax\@tempswatrue\fi%
- \toks@{\forcsvlist\@tempb}%
- \eaddto@hook\toks@{\expandafter{\@tempa}}%
- \let\@tempa\@empty%
- \def\@tempb##1{%
- \eappto\@tempa{##1,}%
- \ifinlist{##1}{\tud@todo@type@pos}{\@tempswatrue}{}%
- \ifinlist{##1}{\tud@todo@type@neg}{\@tempswafalse}{}%
- }%
- \the\toks@%
- \if@tempswa%
\ifhmode\par\fi%
\let\par\relax%
\vskip\medskipamount%
\noindent%
- \toks@\expandafter{\@tempa inline}%
+ \toks@\expandafter{\tud@res@b inline}%
\IfBooleanT{#1}{\addto@hook\toks@{,nolist}}%
\sbox\z@{%
\expandafter\todo\expandafter[\the\toks@]{\trim@spaces{#3}\strut}%
@@ -2076,11 +2158,30 @@
\renewcommand*\marginpar[2][]{%
\marginnote[##1]{##2}[\dimexpr-\ht\z@+1.6ex+1.75pt\relax]%
}%
- \toks@\expandafter{\@tempa noline,nolist}%
- \settowidth\marginparwidth{\tud@todo@marginnote}%
+ \toks@\expandafter{\tud@res@a noline,nolist}%
+ \settowidth\marginparwidth{\tud@res@c}%
\addtolength\marginparwidth{\dimexpr1.6ex+1pt\relax}%
- \expandafter\todo\expandafter[\the\toks@]{\tud@todo@marginnote\strut}%
+ \expandafter\todo\expandafter[\the\toks@]{\tud@res@c\strut}%
\aftergroup\par\aftergroup\noindent%
+ \listremove{\tud@todo@type@use}{rls}%
+ \listremove{\tud@todo@type@use}{imp}%
+ \listremove{\tud@todo@type@use}{doc}%
+ \ifx\tud@todo@type@use\@empty\else%
+ \begingroup%
+ \let\tud@res@c\@empty%
+ \renewcommand*{\do}[1]{%
+ \appto\tud@res@c{,##1}%
+ }%
+ \dolistloop{\tud@todo@type@use}%
+ \edef\tud@res@c{%
+ \endgroup%
+ \edef\noexpand\tud@res@c{\expandafter\@gobble\tud@res@c}%
+ }%
+ \tud@res@c%
+ \ClassWarning{tudscrmanual}{%
+ Unknown key(s) `\string\ToDo[\tud@res@c]'%
+ }%
+ \fi%
\fi%
\endgroup%
\global\let\@currentHref\tud@currentHref%
@@ -2090,11 +2191,10 @@
\newcommand*\ListOfToDo{\if@tud@todo\clearpage\listoftodos\fi}%
}
\TUD@UnwindPackage{todonotes}{%
- \NewDocumentCommand\ToDo{somo}{}%
+ \NewDocumentCommand\ToDo{s o m !o}{}%
\newcommand*\ListOfToDo{}%
}
-\AfterPackage*{inputenc}{\RequirePackage{csquotes}[2011/10/22]}
-\TUD@UnwindPackage{inputenc}{\RequirePackage{csquotes}[2011/10/22]}
+\RequirePackage{csquotes}[2011/10/22]
\RequirePackage{textcomp}[2005/09/27]
\RequirePackage{setspace}[2011/12/19]
\setstretch{1.1}
@@ -2104,11 +2204,7 @@
\RequirePackage{hologo}[2012/04/26]
\RequirePackage{ragged2e}[2009/05/21]
\@removefromreset{footnote}{chapter}
-\ifcsdef{scr@v@3.23}{%
- \renewcommand*\raggedfootnote{\tud@RaggedRight}%
-}{%
- \pretocmd{\@makefntext}{\tud@RaggedRight}{}{\tud@patch@wrn{@makefntext}}%
-}
+\renewcommand*\raggedfootnote{\tud@RaggedRight}%
\RequirePackage{booktabs}[2005/04/14]
\RequirePackage{caption}[2015/09/17]
\RequirePackage{floatrow}[2008/08/02]
@@ -2156,19 +2252,19 @@
}
\newcommand*\Attention[2][\z@]{%
\marginnote{%
- \setlength\fboxsep{0.25em}
+ \setlength\fboxsep{0.25em}%
\fbox{Achtung!}%
}[#1]%
\emph{\trim@spaces{#2}}%
}
-\NewDocumentCommand\Forum{st'}{%
+\NewDocumentCommand\Forum{!s !t'}{%
\IfBooleanTF{#1}{\toks@{\href}}{\toks@{\hrfn}}%
\IfBooleanT{#2}{\toks@{\url}}%
\addto@hook\toks@{{http://latex.wcms-file3.tu-dresden.de/phpBB3/}}%
\IfBooleanF{#2}{\addto@hook\toks@{{TUD-\LaTeX-Forum}}}%
\the\toks@\xspace%
}
-\NewDocumentCommand\CTAN{sog}{%
+\NewDocumentCommand\CTAN{!s !o !g}{%
\IfBooleanTF{#1}{\toks@{\href}}{\toks@{\hrfn}}%
\addto@hook\toks@{{http://www.ctan.org/\IfValueT{#2}{#2}}}%
\addto@hook\toks@{%
@@ -2176,10 +2272,13 @@
}%
\the\toks@\xspace%
}
-\NewDocumentCommand\GitHubRepo{s}{%
+\NewDocumentCommand\GitHubRepo{!s !t' !O{releases}}{%
\IfBooleanTF{#1}{\toks@{\href}}{\toks@{\hrfn}}%
- \addto@hook\toks@{{https://github.com/tud-cd/tudscr/releases}}%
- \addto@hook\toks@{{\tud@english{GitHub-Repository~\Distribution*{tudscr}}}}%
+ \IfBooleanT{#2}{\toks@{\url}}%
+ \addto@hook\toks@{{https://github.com/tud-cd/tudscr/#3}}%
+ \IfBooleanF{#2}{%
+ \addto@hook\toks@{{\tud@english{GitHub-Repository~\Distribution*{tudscr}}}}%
+ }%
\the\toks@\xspace%
}
\newcommand*\Download[1]{%
@@ -2189,7 +2288,7 @@
F\"ur die Klassen \Class{tudscrartcl} sowie \Class{tudscrposter} ist diese
Option nicht verf\"ugbar.%
}
-\NewDocumentCommand\scrguide{sO{\KOMAScript-Handbuch}}{%
+\NewDocumentCommand\scrguide{!s !O{\KOMAScript-Handbuch}}{%
\IfBooleanTF{#1}{\toks@{\href}}{\toks@{\hrfn}}%
\addto@hook\toks@{%
{http://mirrors.ctan.org/macros/latex/contrib/koma-script/doc/scrguide.pdf}%
@@ -2216,8 +2315,16 @@
\def\KOMAScript{KOMA-Script}%
}%
}
-\newcommand*\Univers{\texorpdfstring{\textubn{Univers}}{Univers}\xspace}
-\newcommand*\DIN{\texorpdfstring{\textdbn{DIN~BOLD}}{DIN BOLD}\xspace}
+\DeclareTextFontCommand\tud@cdfont@texteb{%
+ \fontfamily{\tud@cdfont@fam}\fontseries{\tud@cdfont@ebf}\selectfont%
+}
+\newrobustcmd*\OpenSans{%
+ \texorpdfstring{\tud@cdfont@texteb{Open~Sans}}{Open Sans}\xspace%
+}
+\newrobustcmd*\Univers{\texorpdfstring{\textcdbi{Univers}}{Univers}\xspace}
+\newrobustcmd*\DIN{\texorpdfstring{\textcdxi{DIN~Bold}}{DIN Bold}\xspace}
+\renewcommand*\@pnumwidth{2.1em}%
+\renewcommand*\@tocrmarg{3.1em}%
\newcommand*\textsbn{}
\newrobustcmd*\sbnfont{\sffamily\bfseries\upshape}
\DeclareTextFontCommand\textsbn{\sbnfont}
@@ -2231,9 +2338,9 @@
\newcommand*\grade[1]{\gdef\@grade{#1}}
\newcommand*\@headline{}
\newcommand*\@issuedate{}
-\newcommand*\issuedate[1]{\tud@x@isodate@printdate{\@issuedate}{#1}}
+\newcommand*\issuedate[1]{\tud@printdate{\@issuedate}{#1}}
\newcommand*\@duedate{}
-\newcommand*\duedate[1]{\tud@x@isodate@printdate{\@duedate}{#1}}
+\newcommand*\duedate[1]{\tud@printdate{\@duedate}{#1}}
\newcommand*\@contactperson{}
\newcommand*\contactperson[1]{\gdef\@contactperson{#1}}
\newcommand*\@office{}
@@ -2242,79 +2349,62 @@
\newrobustcmd*\telephone[1]{\gdef\@telephone{#1}}
\newcommand*\@telefax{}
\newrobustcmd*\telefax[1]{\gdef\@telefax{#1}}
-\newcommand*\@emailaddress{}
-\newrobustcmd*\emailaddress{%
- \kernel@ifstar{\tud@emailaddress@simple}{\tud@emailaddress@hyper}%
-}
-\newrobustcmd*\tud@emailaddress@simple[1]{\gdef\@emailaddress{#1}}
-\newrobustcmd*\tud@emailaddress@hyper[2][]{\gdef\@emailaddress{#2}}
-\AfterPackage*{hyperref}{%
- \renewrobustcmd*\tud@emailaddress@hyper[2][hidelinks]{%
- \gdef\@emailaddress{%
- \begingroup%
- \urlstyle{same}%
- \hypersetup{#1}%
- \href{mailto:#2}{\nolinkurl{#2}}%
- \endgroup%
- }%
- }%
-}
-%%% From File: tudscr-locale.dtx
-\tud@locale@define{\authorname}
-\tud@locale@define{\contactname}
-\tud@locale@define{\contactpersonname}
-\tud@locale@define{\taskname}
-\tud@locale@define{\tasktext}
-\tud@locale@define{\namesname}
-\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@german{\authorname}{Autor}%
-\tud@locale@german{\contactname}{Kontakt}%
-\tud@locale@german{\contactpersonname}{Ansprechpartner}%
-\tud@locale@german{\taskname}{Aufgabenstellung}%
-\tud@locale@german{\tasktext}{f\"ur die Anfertigung einer}%
-\tud@locale@german{\namesname}{Name}%
-\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}{%
+%%% 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@locale@german{\noticename}{Aushang}%
-\tud@locale@english{\authorname}{Author}%
-\tud@locale@english{\contactname}{Contact}%
-\tud@locale@english{\contactpersonname}{Contact}%
-\tud@locale@english{\taskname}{Task}%
-\tud@locale@english{\tasktext}{for the preparation of a}%
-\tud@locale@english{\namesname}{Name}%
-\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}{%
+\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@locale@english{\noticename}{Notice}%
+\tud@localization@english{\noticename}{Notice}%
%%% From File: tudscr-texindy.dtx
\begingroup
\newcommand*\tud@write@xdy{}