summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tudscr/tudscrdoc.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrdoc.cls')
-rw-r--r--Master/texmf-dist/tex/latex/tudscr/tudscrdoc.cls38
1 files changed, 22 insertions, 16 deletions
diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrdoc.cls b/Master/texmf-dist/tex/latex/tudscr/tudscrdoc.cls
index 1d600e1f460..08ca39a8079 100644
--- a/Master/texmf-dist/tex/latex/tudscr/tudscrdoc.cls
+++ b/Master/texmf-dist/tex/latex/tudscr/tudscrdoc.cls
@@ -14,7 +14,7 @@
%%
%% TUD-Script -- Corporate Design of Technische Universitaet Dresden
%%
-%% 2017/03/12 v2.05i TUD-Script
+%% 2017/03/27 v2.05k TUD-Script
%%
%% Copyright (C) Falk Hanisch <hanisch.latex@outlook.com>, 2012-2017
%%
@@ -57,13 +57,13 @@
\fi%
}
\fi
- \TUD@Version@Check{2017/03/12 v2.05i TUD-Script}
+ \TUD@Version@Check{2017/03/27 v2.05k TUD-Script}
\endgroup
\NeedsTeXFormat{LaTeX2e}
\providecommand*\tudscrmail{hanisch.latex@outlook.com}
\newcommand*\TUD@ProvidesClass[3]{%
\ProvidesClass{#1}[%
- 2017/03/12 v2.05i TUD-Script
+ 2017/03/27 v2.05k TUD-Script
^^J#3 (#2)%
]%
\newcommand*\TUD@Class@KOMA{#2}%
@@ -134,7 +134,7 @@
\@tempc}}%
\@tempc
}
-\LoadClassWithOptions{ltxdoc}
+\LoadClassWithOptions{ltxdoc}[2015/03/26]
\setcounter{IndexColumns}{2}
\setcounter{StandardModuleDepth}{2}
\DeclareOption{final}{\let\tudfinalflag\relax}
@@ -167,8 +167,8 @@
\tud@locale@define{\tud@environments@name}
\tud@locale@define{\tud@option@name}
\tud@locale@define{\tud@options@name}
-\tud@locale@define{\tud@pagestyle@name}
-\tud@locale@define{\tud@pagestyles@name}
+\tud@locale@define{\tud@layerpagestyle@name}
+\tud@locale@define{\tud@layerpagestyles@name}
\tud@locale@define{\tud@layer@name}
\tud@locale@define{\tud@layers@name}
\tud@locale@define{\tud@length@name}
@@ -199,8 +199,8 @@
\tud@locale@german{\tud@environments@name}{Umgebungen}
\tud@locale@german{\tud@option@name}{Opt.}
\tud@locale@german{\tud@options@name}{Optionen}
-\tud@locale@german{\tud@pagestyle@name}{Seitenstil}
-\tud@locale@german{\tud@pagestyles@name}{Seitenstile}
+\tud@locale@german{\tud@layerpagestyle@name}{Seitenstil}
+\tud@locale@german{\tud@layerpagestyles@name}{Seitenstile}
\tud@locale@german{\tud@layer@name}{Layer}
\tud@locale@german{\tud@layers@name}{Layer (Seitenstilebenen)}
\tud@locale@german{\tud@length@name}{L\"ange}
@@ -240,8 +240,8 @@
\tud@locale@english{\tud@environments@name}{environments}
\tud@locale@english{\tud@option@name}{opt.}
\tud@locale@english{\tud@options@name}{options}
-\tud@locale@english{\tud@pagestyle@name}{pagestyle}
-\tud@locale@english{\tud@pagestyles@name}{pagestyles}
+\tud@locale@english{\tud@layerpagestyle@name}{pagestyle}
+\tud@locale@english{\tud@layerpagestyles@name}{pagestyles}
\tud@locale@english{\tud@layer@name}{layer}
\tud@locale@english{\tud@layers@name}{layers (pagestyle)}
\tud@locale@english{\tud@length@name}{length}
@@ -512,15 +512,21 @@
\newcommand*\@doxcreatedescribes[1]{%
\expandafter\def\csname Describe#1s\endcsname##1{%
\setlength\marginnotevskip{\z@}%
- \@for\@tempa:=##1\do{%
- \ifx\@tempa\@empty\else%
- \edef\@tempb{\expandonce{\csname Describe#1\endcsname}{\@tempa}}%
+ \def\@tempc{##1}%
+ \@for\@tempa:=\@tempc\do{%
+ \expandafter\ifblank\expandafter{\@tempa}{}{%
+ \edef\@tempb{%
+ \expandonce{\csname Describe#1\endcsname}{\expandonce{\@tempa}}%
+ }%
\@tempb%
\addtolength\marginnotevskip{\baselineskip}%
- \fi%
+ }%
}%
+ \setlength\marginnotevskip{\z@}%
+ \ignorespaces%
}%
}
+\@doxcreatedescribes{Macro}
\AfterPackage{marginnote}{%
\renewcommand*\marginpar[2][]{%
\IfArgIsEmpty{#1}{%
@@ -717,7 +723,7 @@
\undef\PrintDescribeEnv
\tud@reserved{Env}{environment}
\tud@reserved{Option}{option}
-\tud@reserved{PageStyle}{pagestyle}
+\tud@reserved{LayerPageStyle}{layerpagestyle}
\tud@reserved{Layer}{layer}
\tud@reserved[macrolike]{Length}{length}
\tud@reserved{Counter}{counter}
@@ -1310,7 +1316,7 @@
\write\tud@write@xdy{%
(define-location-class^^J%
\space\space"arabic-page-numbers" ("arabic-numbers")%
- \space:min-range-length 2^^J%
+ \space:min-range-length 1^^J%
)^^J%
(define-alphabet "AlphaExtended"^^J%
\space(^^J%