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
|
%%
%% This is file `scrhack.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% scrkvers.dtx (with options: `package,scrhack')
%% scrhack.dtx (with options: `package,identify')
%% scrkbase.dtx (with options: `load')
%% scrhack.dtx (with options: `package,option')
%% scrhack.dtx (with options: `package,body')
%% scrlogo.dtx (with options: `logo')
%%
%% Copyright (c) 1994-2009
%% Markus Kohm and any individual authors listed elsewhere in this file.
%%
%% This file was generated from file(s) of the KOMA-Script bundle.
%% ---------------------------------------------------------------
%%
%% It may be distributed under the conditions of the
%% LaTeX Project Public License in the version distributed together
%% with KOMA-Script, see file `lppl.txt' or `lppl-de.txt'.
%%
%% This file may only be distributed together with a copy of the
%% KOMA-Script bundle. You may however distribute the
%% KOMA-Script bundle without all such generated files. See also
%% `lppl.txt' or `lppl-de.txt' for additional information.
%%
%% The list of files belonging to KOMA-Script distribution is given in
%% the file `manifest.txt'. See also `lppl.txt' or `lppl-de.txt' for
%% additional information.
%%
%% If this file is a beta version, you are not allowed to distribute it.
%%
%% English and German manuals are part of KOMA-Script bundle.
%% ----------------------------------------------------------
%%
%% See `README'.
%%
%% The KOMA-Script bundle (but maybe not this file) was based upon the
%% LaTeX 2.09 Script family created by Frank Neukam 1993 and the LaTeX2e
%% standard classes created by The LaTeX3 Project 1994-1996. You may
%% find a complete unmodified copy of LaTeX2e at
%% <http://www.ctan.org/pub/tex-archive/macros/latex/base/>.
%%
%%% From File: scrkvers.dtx
\begingroup
\makeatletter
\ifx\KOMAScriptVersion\undefined
\newcommand*{\@CheckKOMAScriptVersion}[1]{%
\gdef\KOMAScriptVersion{#1}%
}%
\else
\newcommand*{\@CheckKOMAScriptVersion}[1]{%
\def\@tempa{#1}%
\ifx\KOMAScriptVersion\@tempa\else
\@latex@warning@no@line{%
\noexpand\KOMAScriptVersion\space is
`\KOMAScriptVersion',\MessageBreak
but `#1' was expected!\MessageBreak
You should not use classes, packages or files
from\MessageBreak
different KOMA-Script versions%
}%
\fi
}
\fi
\@CheckKOMAScriptVersion{2009/04/03 v3.03a KOMA-Script}%
\endgroup
%%% From File: scrhack.dtx
%%% using: package,identify
\ProvidesPackage{scrhack}
[\KOMAScriptVersion\space
package (hacking other packages)]
%%% From File: scrkbase.dtx
\RequirePackage{scrkbase}[\KOMAScriptVersion]
%%% From File: scrhack.dtx
%%% using: package,option
\KOMA@ifkey{hyperref}{@scrhack@hyperref}%
\@scrhack@hyperreftrue
\AtBeginDocument{%
\KOMA@key[.scrhack.sty]{hyperref}{%
\PackageWarning{scrhack}{option `hyperref=#1' ignored}%
}%
\if@scrhack@hyperref\scr@hack@load\@pkgextension{hyperref}\fi
}
\KOMA@ifkey{float}{@scrhack@float}%
\@scrhack@floattrue
\AfterPackage*{float}{%
\KOMA@key[.scrhack.sty]{float}{%
\PackageWarning{scrhack}{option `float' ignored}%
}%
\if@scrhack@float\scr@hack@load\@pkgextension{float}\fi
}
\KOMA@ifkey{listings}{@scrhack@listings}%
\@scrhack@listingstrue
\AfterPackage*{listings}{%
\KOMA@key[.scrhack.sty]{listings}{%
\PackageWarning{scrhack}{option `listings' ignored}%
}%
\if@scrhack@listings\scr@hack@load\@pkgextension{listings}\fi
}
\KOMAProcessOptions\relax
%%% From File: scrhack.dtx
%%% using: package,body
\newcommand{\scr@ifexpected}[2]{%
\begingroup
\let\@tempa#1
#2
\ifx\@tempa#1
\aftergroup\@firstoftwo
\else
\aftergroup\@secondoftwo
\fi
\endgroup
}
\newcommand*{\scr@hack@load}[2]{%
\expandafter\ifx\csname ver@#2.#1\endcsname\relax
\expandafter\@secondoftwo
\else
\expandafter\@firstoftwo
\fi
{\PackageInfo{scrhack}{loading #2 hack}%
\makeatletter\input{#2.hak}\makeatother}%
{\PackageInfo{scrhack}{ignorring #2 hack}}%
}
%%% From File: scrlogo.dtx
\@ifundefined{KOMAScript}{%
\DeclareRobustCommand{\KOMAScript}{\textsf{K\kern.05em O\kern.05em%
M\kern.05em A\kern.1em-\kern.1em Script}}}{}
\endinput
%%
%% End of file `scrhack.sty'.
|