summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tudscr/tudscrdoc.cls
blob: 10b1e70d4aa9e6e2374f51ddcb6be28d81c8484b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
%%
%% This is file `tudscrdoc.cls',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% tudscr-doc.dtx 
%% 
%% ======================================================================
%% 
%% 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.
%% ======================================================================
%% 
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{tudscrdoc}%
  [2014/04/24 v1.00 (documentation class for the tudscr-bundle based on scrdoc)]
\LoadClassWithOptions{scrdoc}
\setlength{\marginparwidth}{140pt}
\setlength{\marginparsep}{8pt}
\setlength{\oddsidemargin}{\dimexpr\marginparwidth+\marginparsep-1in}
\setlength{\textwidth}{\dimexpr\paperwidth-1in-\oddsidemargin-2\marginparsep}
\setlength{\topmargin}{-1in}
\setlength{\headheight}{0pt}
\setlength{\headsep}{30pt}
\setlength{\footskip}{\headsep}
\setlength{\textheight}{\dimexpr\paperheight-3\footskip}
\RequirePackage[latin1]{inputenc}
\RequirePackage{dox}
\RequirePackage[ngerman=ngerman-x-latest]{hyphsubst}
\RequirePackage[english,ngerman]{babel}
\RequirePackage{hologo}
\RequirePackage{xspace}
\def\filemail{tudscr@gmail.com}
\title{\texttt{\filename}%
  \footnote{Dies ist Version \fileversion\ von Datei \texttt{\filename}.}}
\author{Falk Hanisch\footnote{\filemail}}
\date{\filedate}
\DoNotIndex{\",\if,\tudpage,\endtudpage,\tud@pagestyle}
\doxitem[idxtype=Option]{Option}{option}{Optionen}
\doxitem[idxtype=Parameter]{Parameter}{parameter}{Parameter}
\doxitem[macrolike,idxtype=L\"ange]{Length}{length}{L\"angen}
\doxitem[idxtype=Farbe]{Color}{color}{Farben}
\doxitem[macrolike,idxtype=Lok.]{Locale}{locale}{Lokalisierungsvariablen}
\doxitem[macrolike,idxtype=Feld]{Field}{field}{Eingabefelder}
\DeclareRobustCommand*{\cls}[1]{\mbox{\textsf{#1}}}
\DeclareRobustCommand*{\pkg}[1]{\mbox{\textsf{#1}}}
\DeclareRobustCommand*{\opt}[1]{\mbox{\texttt{#1}}}
\DeclareRobustCommand*{\env}[1]{\mbox{\texttt{#1}}}
\DeclareRobustCommand*{\cmd}[1]{\mbox{\cs{#1}}}
\DeclareRobustCommand\TUDScript{%
  \textsf{T\kern.05em U\kern.05em D\kern.1em-\kern.1em}\KOMAScript%
}
\newif\if@tud@doc@final
\DeclareOption{final}{\@tud@doc@finaltrue}
\ProcessOptions\relax
\AtBeginDocument{
  \providecommand\todo[2][]{%
    \if@tud@doc@final\else
      \def\todo@mark{\ifstr{#1}{}{ToDo}{#1}}%
      \endgraf%
      \hfuzz0.8pt%
      \leavevmode\marginpar{\raggedleft\fbox{\todo@mark\strut}}%
      \fbox{\parbox{\dimexpr\textwidth-2\fboxsep}{#2\strut}}%
    \fi%
  }
  \let\ToDo\todo
  \providecommand*\CD{\foreignlanguage{english}{Corporate Design}\xspace}
  \providecommand*\CDs{\foreignlanguage{english}{Corporate Designs}\xspace}
  \providecommand*\KOMAScript{KOMA-Script\xspace}
  \providecommand*\url[1]{\texttt{#1}}
  \providecommand*\texorpdfstring[2]{#1}
}
\endinput
%%
%% End of file `tudscrdoc.cls'.