blob: c3d88ddc30aa80ee7ddc57c17d04a36761237460 (
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
|
%=====================================================================================================================================
% Class akklecture by Igor Akkerman (c) 2005
% Class for typesetting lecture notes.
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License (latest version).
%
% The latest version of this license can be found at
% http://www.latex-project.org/lppl.txt
%
% This file may only be distributed together with the full 'AkkTeX' bundle.
%=====================================================================================================================================
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{akklecture}[2005/05/05 v1.0.0 by Igor Akkerman (c) 2005 Class for typesetting lecture notes.]
%=====================================================================================================================================
\makeatletter
% Initialisierungsteil
\AtBeginDocument{%
\maketitle%
}
\AtEndDocument{%
\label{lastpage}%
}
% Deklaration von Optionen
\DeclareOption {10pt} {\PassOptionsToClass {10pt} {article}}
\DeclareOption {11pt} {\PassOptionsToClass {11pt} {article}}
\DeclareOption {12pt} {\PassOptionsToClass {12pt} {article}}
\DeclareOption {draft} {\PassOptionsToClass {draft} {article}}
\DeclareOption {final} {\PassOptionsToClass {final} {article}}
\DeclareOption {widepage} {\PassOptionsToPackage {widepage} {akktex}}
\DeclareOption {longpage} {\PassOptionsToPackage {longpage} {akktex}}
\DeclareOption* {\OptionNotUsed} % don't forward unknown options
% Ausfuehrung von Optionen
\ProcessOptions
% Laden von Paketen
\LoadClass[a4paper]{article}
\RequirePackage[longpage,widepage]{akktex}
\RequirePackage{fancyhdr}
% ---------------------------------------------------------
% set headers / footer
% ---------------------------------------------------------
\pagestyle{fancy}
\setlength \headheight \baselineskip % maximum number of rows in header: 1
\setlength \headsep \baselineskip % vertical space between header and text
\lhead{\@title}
\chead{\thepage/\pageref{lastpage}}
\rhead{\@date}
\lfoot{}
\cfoot{}
\rfoot{}
% ---------------------------------------------------------
% remove \abstract command
% ---------------------------------------------------------
\global\let\abstract\relax
% ---------------------------------------------------------
% definition of the \maketitle command
% ---------------------------------------------------------
\newcommand \akk@maketitle {%
\normalsize%
\begin{large}%
\bfseries%
\@title\makebox[0pt]{\phantom{Mg}}%
\hspace*\fill
\@date%
\end{large}%
\renewcommand \maketitle \relax%
\par%
}
% ---------------------------------------------------------
% ---------------------------------------------------------
% theorem environments definition
% ---------------------------------------------------------
% needs to be defined here because it doesn't use section numbers
% ---------------------------------------------------------
\theoremstyle{break}
\theorembodyfont{\rmfamily\upshape}
\newtheorem {definition} {Definition}
\newtheorem {beispiel} [definition] {Beispiel}
\newtheorem {lemma} [definition] {Lemma}
\newtheorem {korollar} [definition] {Korollar}
\newtheorem {corollar} [definition] {Corollar}
\newtheorem {theorem} [definition] {Theorem}
\newtheorem {bemerkung} [definition] {Bemerkung}
\newtheorem {proposition} [definition] {Proposition}
\theorembodyfont {\rmfamily\itshape}
\newtheorem {satz} [definition] {Satz}
% ---------------------------------------------------------
\makeatother
|