-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtudthesis.cls
executable file
·63 lines (52 loc) · 1.55 KB
/
tudthesis.cls
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
% tudreport is the report-class as described in the TUD-Design-Manual
% It is based on (makes heavy use of) the KOMA-Class scrreprt
% This class is provided "as is", the authors take no responsibility
% for any effects the style file has on the user, the user's life, family,
% pets, scientific or other career etc.
%
% When making changes to this style file or the accompanying package files
% please notify the authors:
% Good luck!
\def\fileversion{0.96}
\def\filedate{2009/05/15}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{tudthesis}
[\filedate\space\fileversion\space
Joe Werner's TUD-Design-Manual package]
\newif\ifTUD@thesis@type \TUD@thesis@typefalse
\RequirePackage{xkeyval}
% Verarbeitung der Optionen
\DeclareOptionX<\@currname>{type}{%
\TUD@thesis@typetrue
\PassOptionsToPackage{type=#1}{tudthess_title}}
\DeclareOptionX<\@currname>{dr}{%
\PassOptionsToPackage{dr=#1}{tudthess_title}}
\DeclareOptionX*{%
\ClassInfo{\@currname}{Unknown option '\CurrentOption`. Pass to tudreport class.}
\PassOptionsToClass{\CurrentOption}{tudreport}}
\ProcessOptionsX<\@currname>
%\let\@classoptionslist\relax
\ifTUD@thesis@type\else
\ClassError{\@currname}{Missing option 'type=<thesis type>` !}
\fi
% Load the KOMA-Class
\LoadClass{tudreport}
\RequirePackage{tudthess_title}
\date{%
\ifcase\month%
\or Januar%
\or Februar%
\or M\"arz%
\or April%
\or Mai%
\or Juni%
\or Juli%
\or August%
\or September%
\or Oktober%
\or November%
\or Dezember%
\fi\ \number\year%
}
\endinput