diff options
author | Karl Berry <karl@freefriends.org> | 2015-07-02 22:12:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-07-02 22:12:17 +0000 |
commit | 586aedcf63ecf6ea7da1c1529e5ea5ba8f5cb426 (patch) | |
tree | b679941add6df7f6b1ee8c135b24181f992dcb65 /Master/texmf-dist/tex/latex/tudscr/tudscrdoc.cls | |
parent | fecdcd43eaa7f73e830159293fe22a202803086b (diff) |
tudscr (2jul15)
git-svn-id: svn://tug.org/texlive/trunk@37736 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrdoc.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/tudscr/tudscrdoc.cls | 48 |
1 files changed, 31 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrdoc.cls b/Master/texmf-dist/tex/latex/tudscr/tudscrdoc.cls index a05ef97aae8..319684680ee 100644 --- a/Master/texmf-dist/tex/latex/tudscr/tudscrdoc.cls +++ b/Master/texmf-dist/tex/latex/tudscr/tudscrdoc.cls @@ -6,7 +6,7 @@ %% %% tudscr-version.dtx (with options: `class,doc') %% tudscr-doc.dtx (with options: `class,doc') -%% tudscr-misc.dtx (with options: `class,doc') +%% tudscr-manual.dtx (with options: `class,doc') %% %% ============================================================================ %% @@ -53,12 +53,31 @@ \fi% }% \fi% - \@TUDVersion{2015/06/11 v2.03a TUD-KOMA-Script}% + \@TUDVersion{2015/07/02 v2.04 TUD-KOMA-Script}% \endgroup% \providecommand*\tudscrmail{tudscr@gmail.com} -\newcommand*\cls@name{doc} -\newcommand*\scrcls@name{scrdoc} -\newcommand*\tudcls@name{tudscrdoc} +\newcommand*\TUD@ProvidesClass[3]{% + \newcommand*\TUDClassName@KOMA{#2}% + \@ifundefined{TUDClassName@Parent}{\newcommand*\TUDClassName{#1}}{}% + \ProvidesClass{#1}[% + 2015/07/02 v2.04 TUD-KOMA-Script + ^^J#3 (#2)% + ]% + \@ifundefined{TUDClassName@Parent}{\TUD@ClassInfo}{}% +} +\providecommand*\TUD@ClassInfo{% + \typeout{+---------------------------------------------------------------} + \typeout{| The Corporate Design of Technische Universitaet Dresden} + \typeout{| Class: \TUDClassName} + \typeout{| Version: \TUDVersion} + \typeout{| Author: Falk Hanisch (\tudscrmail)} + \typeout{| Forum: http://latex.wcms-file3.tu-dresden.de/phpBB3/index.php} + \typeout{+---------------------------------------------------------------} +} +\NeedsTeXFormat{LaTeX2e} +\TUD@ProvidesClass{tudscrdoc}{scrdoc}{% + internal source code documentation class% +} \@ifundefined{TUDScript}{% \DeclareRobustCommand{\TUDScript}{% \ifdin{TUD-KOMA-SCRIPT}{% @@ -67,12 +86,6 @@ }% }{} %%% From File: tudscr-doc.dtx -\NeedsTeXFormat{LaTeX2e}[2011/06/27] -\ProvidesClass{tudscrdoc}[% - 2015/06/11 v2.03a TUD-KOMA-Script - class - (source code documentation based on scrdoc)% -] \LoadClassWithOptions{scrdoc} \setlength\marginparwidth{140pt} \setlength\marginparsep{8pt} @@ -83,8 +96,9 @@ \setlength\topmargin{-1in} \setlength\headheight{0pt} \setlength\headsep{30pt} -\setlength\footskip{1.5\headsep} +\setlength\footskip{1.25\headsep} \setlength\textheight{\dimexpr\paperheight-2\headsep-\footskip\relax} +\AfterPackage{tudscrfonts}{\AtBeginDocument{\setlength\columnsep{10pt}}} \RequirePackage{dox}[2010/12/16] \def\generalname{Allgemeines} \title{% @@ -138,20 +152,20 @@ \providecommand*\url[1]{\texttt{#1}}% \providecommand*\texorpdfstring[2]{#1}% \@ifpackageloaded{babel}{}{% - \ClassWarning{\tudcls@name}{Package `babel' not loaded}% + \ClassWarning{\TUDClassName}{Package `babel' not loaded}% \let\selectlanguage\@gobble% \let\glqq\relax% \let\grqq\relax% }% \@ifpackageloaded{csquotes}{}{% - \ClassWarning{\tudcls@name}{Package `csquotes' not loaded}% + \ClassWarning{\TUDClassName}{Package `csquotes' not loaded}% \providecommand\enquote[1]{\glqg#1\grqq{}}% }% \providecommand*\ifdin[2]{#2}% } \AtBeginDocument{% \@ifundefined{tud@cdfont}{\def\tud@cdfont{0}}{}% - \ifnum\tud@cdfont>\z@\relax% + \ifnum\tud@cdfont>\z@\relax% true/heavy \RequirePackage{mweights}[2013/07/21]% \def\mddefault{m}% \def\mdseries@tt{m}% @@ -160,7 +174,7 @@ \RequirePackage{lmodern}[2009/10/30]% \fi% }% -%%% From File: tudscr-misc.dtx +%%% From File: tudscr-manual.dtx \RequirePackage{xspace}[2009/10/20] \xspaceaddexceptions{"=} \newcommand*\vTUDScript{} @@ -169,7 +183,7 @@ \edef\@tempa{\TUDVersion}% \expandafter\@tempb\@tempa\relax? ? \relax\relax% } -\newcommand*\vKOMAScript{v3.12\xspace} +\newcommand*\vKOMAScript{v3.17\xspace} \RequirePackage{scrhack}[2014/02/27] \newcommand*\CD{Corporate Design\xspace} \newcommand*\CDs{Corporate Designs\xspace} |