blob: a3b2f5ad24a4308ff726a2ff2eb8d818b9d3fe5a (
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
|
%
% Identification
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{sample}[1999/02/22 v0.9a sample class]
%
% Option Declaration
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
%
% Option Processing
\ProcessOptions\relax
%
% Loading Files
\PassOptionsToPackage{a5paper}{typearea}
\LoadClass[a5paper]{article}
\RequirePackage{array}
\RequirePackage{booktabs}
\RequirePackage{caption2}
\RequirePackage{fancyhdr}
\RequirePackage{german}
\RequirePackage{mdwlist}
\RequirePackage{sabon}
\RequirePackage{trennung}
\RequirePackage{units}
\RequirePackage{url}
\RequirePackage[T1]{fontenc}
\RequirePackage[latin1]{inputenc}
\RequirePackage[nops]{titlesec}
\RequirePackage[DIV11]{typearea}
%
% Einzugbereinigung
\newlength{\mainboxwidth}
\newlength{\maingap}
\newlength{\mainmargin}
\newlength{\tabindent}
\setlength{\maingap}{0.5em}
\settowidth{\mainboxwidth}{\Large\itshape 88}
\setlength{\mainmargin}{\mainboxwidth}
\addtolength{\mainmargin}{\maingap}
\setlength{\tabindent}{1.7em}
%
% Bibliografie
\renewenvironment{thebibliography}[1]{%
\section{\refname}%
\list{}{%
\setlength{\labelwidth}{0em}%
\setlength{\leftmargin}{\mainmargin}%
\setlength{\itemindent}{-\leftmargin}%
\usecounter{enumiv}%
}%
}{%
\endlist
}
%
% Druckvermerk
\newenvironment{druckvermerk}{%
\clearpage
\thispagestyle{empty}%
\vspace*{\fill}%
\begin{basedescript}{%
\desclabelwidth{\mainboxwidth}%
\setlength{\topsep}{0ex}%
\setlength{\partopsep}{0ex}%
\desclabelstyle{\nextlinelabel}%
\renewcommand{\makelabel}[1]{\itshape##1}%
}%
}{%
\end{basedescript}%
}
%
% Gleitobjektparameter
\renewcommand{\floatpagefraction}{0.8}
\setlength{\belowcaptionskip}{\abovecaptionskip}
%
% Glossar
\newcommand{\glossar}[1]{\emph{#1}}
%
% Listenbehandlung
\setlength{\labelsep}{\maingap}
\renewcommand*\descriptionlabel[1]{\hspace{\labelsep}\itshape#1}
\renewcommand\labelitemi{\textendash}
\setlength{\leftmargini}{\mainmargin}
%
% Titelei
\newenvironment{titelei}{%
\newcommand{\derautor}{}%
\newcommand{\autor}[1]{%
\renewcommand{\derautor}{##1}%
}%
\newcommand{\derkurzautor}{}%
\newcommand{\kurzautor}[1]{%
\renewcommand{\derkurzautor}{##1}%
}%
\newcommand{\derkurztitel}{}%
\newcommand{\kurztitel}[1]{%
\renewcommand{\derkurztitel}{##1}%
}%
\newcommand{\dasjahr}{}%
\newcommand{\jahr}[1]{%
\renewcommand{\dasjahr}{##1}%
}%
\newcommand{\derort}{}%
\newcommand{\ort}[1]{%
\renewcommand{\derort}{##1}%
}%
\newcommand{\dertitel}{}%
\newcommand{\titel}[1]{%
\renewcommand{\dertitel}{##1}%
}%
}{%
\setlength{\parindent}{\mainmargin}%
\derkurzautor~\textperiodcentered~\emph{\derkurztitel}%
\thispagestyle{empty}%
\clearpage
\derautor
\par
\bigskip
\Large\emph{\dertitel}%
\par
\vfill
\normalsize\derort~\textperiodcentered~\dasjahr
\thispagestyle{empty}%
\clearpage
}
%
% Untergliederung
\newcommand{\backmatter}{\clearpage\appendix\bibliographystyle{sample}}
\newcommand{\frontmatter}{\pagestyle{plain}}
\newcommand{\mainmatter}{\clearpage}
%
% Verzeichnisse
\renewcommand{\l@section}{\@dottedtocline{1}{0em}{\mainmargin}}
\let\l@table\l@section
\renewcommand{\numberline}[1]{\makebox[\@tempdima][r]{#1\hspace{\maingap}}}
%
% array.sty
\newcolumntype{d}[1]{>{\raggedleft\hspace{0pt}}p{#1}}
\newcolumntype{n}{l}
\newcolumntype{N}{l}
\newcolumntype{v}[1]{>{\raggedright\hspace{0pt}}p{#1}}
\newcolumntype{V}[1]{>{\raggedright\hspace{0pt}}p{#1}}
%
% booktabs.sty
\setlength{\heavyrulewidth}{0.07em}
\setlength{\cmidrulewidth}{0.02em}
%
% caption2.sty
\renewcommand\onelinecaption[2]{%
\sbox\captionbox{#1}%
\hspace{\mainmargin}%
\usebox{\captionbox}%
\par
}
\renewcommand{\captionfont}{\itshape}
%
% fancyhdr.sty
\AtBeginDocument{\pagestyle{fancy}}
\fancypagestyle{plain}{%
\renewcommand{\headrulewidth}{0ex}%
\fancyhf{}%
\fancyfoot[L]{\hspace{\mainmargin}\thepage}%
}
%
% titlesec.sty
\renewcommand{\bottomtitlespace}{3\baselineskip}
\titleformat{name=\section}[hang]{\Large\itshape}{%
\makebox[\mainboxwidth]{\hfill\thesection}%
}{\maingap}{}
\titleformat{name=\section,numberless}[hang]{\Large\itshape}{}{\mainmargin}{}
%
% url.sty
\renewcommand{\UrlFont}{\itshape}
|