Debian Codegraph @

texmf-dist/source/latex/kluwer/kluwer.dtx

raw
1 %<*head>
2 %
3 % This class file (c) Kluwer Academic Publishers.
4 % You are free to use this class file as you see fit, provided
5 % that you do not make changes to the included macro files.
6 % If you DO make changes, you are required to rename the files.
7 %
8 \def\filedate{2000/04/29}
9 \def\kluclassname{kluwer}
10 \def\kluclassversion{1.3} % option kaplist turned on for 1.2
11 \def\klujnlname{none}
12 \NeedsTeXFormat{LaTeX2e}
13 \ProvidesClass{kluwer}[\filedate\space \kluclassversion\space
14 Kluwer base document class]
15 \newcommand\@ptsize{}
16 \newcommand\@pttensize{1}
17 \newif\if@restonecol
18 \newif\if@openright
19 %\DeclareOption{noid}{\PassOptionsToPackage{\CurrentOption}{kluedit}}
20 %\DeclareOption{namedreferences}{\PassOptionsToPackage{\CurrentOption}{kluref}}
21 %\DeclareOption{numreferences}{\PassOptionsToPackage{\CurrentOption}{kluref}}
22 %\DeclareOption{openbib}{\PassOptionsToPackage{\CurrentOption}{kluref}}
23 %\DeclareOption{thms}{\PassOptionsToPackage{\CurrentOption}{klumath}}
24 %\DeclareOption{mathsec}{\PassOptionsToPackage{\CurrentOption}{klumath}}
25 %\DeclareOption{fleqn}{\PassOptionsToPackage{\CurrentOption}{klumath}}
26 %\DeclareOption{leqno}{\PassOptionsToPackage{\CurrentOption}{klumath}}
27 %\DeclareOption{titlepage}{\PassOptionsToPackage{\CurrentOption}{klulist}}
28 %\DeclareOption{margspec}{\PassOptionsToPackage{\CurrentOption}{klulist}}
29 %\DeclareOption{klusym}{\PassOptionsToPackage{\CurrentOption}{klumac}}
30 % not specified in this file: leave handling to inserted package
31
32 \DeclareOption{a4paper}
33 {\setlength\paperheight {297mm}%
34 \setlength\paperwidth {210mm}}
35 \DeclareOption{a5paper}
36 {\setlength\paperheight {210mm}%
37 \setlength\paperwidth {148mm}}
38 \DeclareOption{b5paper}
39 {\setlength\paperheight {250mm}%
40 \setlength\paperwidth {176mm}}
41 \DeclareOption{letterpaper}
42 {\setlength\paperheight {11in}%
43 \setlength\paperwidth {8.5in}}
44 \DeclareOption{legalpaper}
45 {\setlength\paperheight {14in}%
46 \setlength\paperwidth {8.5in}}
47 \DeclareOption{executivepaper}
48 {\setlength\paperheight {10.5in}%
49 \setlength\paperwidth {7.25in}}
50 \DeclareOption{landscape}
51 {\setlength\@tempdima {\paperheight}%
52 \setlength\paperheight {\paperwidth}%
53 \setlength\paperwidth {\@tempdima}}
54 \DeclareOption{9pt}{\renewcommand\@pttensize{}\renewcommand\@ptsize{9}}
55 \DeclareOption{10pt}{\renewcommand\@ptsize{0}}
56 \DeclareOption{11pt}{\renewcommand\@ptsize{1}}
57 \DeclareOption{12pt}{\renewcommand\@ptsize{2}}
58 \DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
59 \DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue}
60 \DeclareOption{openright}{\@openrighttrue}
61 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
62 \DeclareOption{final}{\setlength\overfullrule{0pt}}
63 \DeclareOption{onecolumn}{\@twocolumnfalse}
64 \DeclareOption{twocolumn}{\@twocolumntrue}
65 \ExecuteOptions{a4paper,11pt,twoside,onecolumn,final,openright}
66 %\renewcommand{\encodingdefault}{T1} % handled by klups.sty
67 %</head>
68
69 % here, docstrip reads head part of Kluwer modules, with options
70
71 %<*neck>
72 \ProcessOptions % including options for modules
73 %</neck>
74
75 % here, docstrip reads neck part of Kluwer modules, with loading of
76 % third-party packages and after that the main parts
77
78 %<*tail>
79
80 % klulist
81 \@kaplisttrue
82
83 % klusec
84 \AtBeginDocument{\let\sectioncmd\section}
85 \AtBeginDocument{\let\imarkboth\@gobbletwo}
86
87 % kluopen
88 \def\@date{\vskip \afterdateskip } % no default dates
89
90 % klufloa
91 \renewcommand{\fnum@figure}{{\itshape\figurename~\thefigure\figtabdot\/}}
92 \renewcommand{\thetable}{\Roman{table}}
93 \indentedcaptions
94
95 \def\Uppercase#1{#1}
96 \setlength\textheight{559pt}
97 \setlength\textwidth{28pc}
98 \setlength\marginparwidth{0pt}
99 \setlength\lineskip{1\p@}
100 \setlength\normallineskip{1\p@}
101 \renewcommand\baselinestretch{}
102 \@lowpenalty 51
103 \@medpenalty 151
104 \@highpenalty 301
105 \@beginparpenalty -\@lowpenalty
106 \@endparpenalty -\@lowpenalty
107 \@itempenalty -\@lowpenalty
108 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
109 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
110 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
111 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
112 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
113 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
114 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
115 \providecommand{\cal}{\protect\pcal}
116 \newcommand{\pcal}{\@fontswitch{\relax}{\mathcal}}
117 \providecommand{\mit}{\protect\pmit}
118 \newcommand{\pmit}{\@fontswitch{\relax}{\mathnormal}}
119 \setlength\tabbingsep{\labelsep}
120 \clubpenalty=10000
121 \widowpenalty=10000
122 %%%%%%%
123 \def\kapmathindent{14pt}
124 \pagestyle{headings}
125 \pagenumbering{arabic}
126 \frenchspacing
127 \endinput
128 %</tail>
129 %<*other>
130 %%
131 %% End of file `kluwnew.dtx'.
132
133 % contents of kluwnew.ins:
134 \input docstrip
135 \generate{\file{kluwnew.cls}{
136 \from{kluwnew.dtx}{head}
137 \from{klumac.sty}{main}
138 \from{klu11.clo}{main}
139 \from{klulist.sty}{main}
140 \from{kluopen.sty}{main}
141 \from{kluedit.sty}{main}
142 \from{klutab.sty}{main}
143 \from{klufloa.sty}{main}
144 \from{klunote.sty}{main}
145 \from{kluref.sty}{main}
146 \from{klumath.sty}{main}
147 \from{klusec.sty}{main}
148 \from{kluwnew.dtx}{tail}}}
149 \endbatchfile
150 \endinput
151 %</other>