summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/kluwer/kluwer.dtx
blob: ab0122125463384d7a350d082bac38c90da73314 (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
%<*head>
%
% This class file (c) Kluwer Academic Publishers.
% You are free to use this class file as you see fit, provided 
% that you do not make changes to the included macro files. 
% If you DO make changes, you are required to rename the files.
%        
\def\filedate{2000/04/29}
\def\kluclassname{kluwer}
\def\kluclassversion{1.3} % option kaplist turned on for 1.2
\def\klujnlname{none}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{kluwer}[\filedate\space \kluclassversion\space
    Kluwer base document class]
\newcommand\@ptsize{}
\newcommand\@pttensize{1}
\newif\if@restonecol
\newif\if@openright
%\DeclareOption{noid}{\PassOptionsToPackage{\CurrentOption}{kluedit}}
%\DeclareOption{namedreferences}{\PassOptionsToPackage{\CurrentOption}{kluref}}
%\DeclareOption{numreferences}{\PassOptionsToPackage{\CurrentOption}{kluref}}
%\DeclareOption{openbib}{\PassOptionsToPackage{\CurrentOption}{kluref}}
%\DeclareOption{thms}{\PassOptionsToPackage{\CurrentOption}{klumath}}
%\DeclareOption{mathsec}{\PassOptionsToPackage{\CurrentOption}{klumath}}
%\DeclareOption{fleqn}{\PassOptionsToPackage{\CurrentOption}{klumath}}
%\DeclareOption{leqno}{\PassOptionsToPackage{\CurrentOption}{klumath}}
%\DeclareOption{titlepage}{\PassOptionsToPackage{\CurrentOption}{klulist}}
%\DeclareOption{margspec}{\PassOptionsToPackage{\CurrentOption}{klulist}}
%\DeclareOption{klusym}{\PassOptionsToPackage{\CurrentOption}{klumac}}
% not specified in this file: leave handling to inserted package

\DeclareOption{a4paper}
   {\setlength\paperheight {297mm}%
    \setlength\paperwidth  {210mm}}
\DeclareOption{a5paper}
   {\setlength\paperheight {210mm}%
    \setlength\paperwidth  {148mm}}
\DeclareOption{b5paper}
   {\setlength\paperheight {250mm}%
    \setlength\paperwidth  {176mm}}
\DeclareOption{letterpaper}
   {\setlength\paperheight {11in}%
    \setlength\paperwidth  {8.5in}}
\DeclareOption{legalpaper}
   {\setlength\paperheight {14in}%
    \setlength\paperwidth  {8.5in}}
\DeclareOption{executivepaper}
   {\setlength\paperheight {10.5in}%
    \setlength\paperwidth  {7.25in}}
\DeclareOption{landscape}
   {\setlength\@tempdima   {\paperheight}%                        
    \setlength\paperheight {\paperwidth}%
    \setlength\paperwidth  {\@tempdima}}
\DeclareOption{9pt}{\renewcommand\@pttensize{}\renewcommand\@ptsize{9}}
\DeclareOption{10pt}{\renewcommand\@ptsize{0}}
\DeclareOption{11pt}{\renewcommand\@ptsize{1}}
\DeclareOption{12pt}{\renewcommand\@ptsize{2}}
\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
\DeclareOption{twoside}{\@twosidetrue  \@mparswitchtrue}
\DeclareOption{openright}{\@openrighttrue}                       
\DeclareOption{draft}{\setlength\overfullrule{5pt}}
\DeclareOption{final}{\setlength\overfullrule{0pt}}
\DeclareOption{onecolumn}{\@twocolumnfalse}
\DeclareOption{twocolumn}{\@twocolumntrue}
\ExecuteOptions{a4paper,11pt,twoside,onecolumn,final,openright}
%\renewcommand{\encodingdefault}{T1} % handled by klups.sty
%</head>

% here, docstrip reads head part of Kluwer modules, with options

%<*neck>
\ProcessOptions % including options for modules
%</neck>

% here, docstrip reads neck part of Kluwer modules, with loading of
% third-party packages and after that the main parts

%<*tail>

% klulist
\@kaplisttrue

% klusec
\AtBeginDocument{\let\sectioncmd\section}               
\AtBeginDocument{\let\imarkboth\@gobbletwo}

% kluopen
\def\@date{\vskip \afterdateskip } % no default dates

% klufloa
\renewcommand{\fnum@figure}{{\itshape\figurename~\thefigure\figtabdot\/}}
\renewcommand{\thetable}{\Roman{table}}
\indentedcaptions

\def\Uppercase#1{#1}
\setlength\textheight{559pt}
\setlength\textwidth{28pc}
\setlength\marginparwidth{0pt}
\setlength\lineskip{1\p@}
\setlength\normallineskip{1\p@}
\renewcommand\baselinestretch{}
\@lowpenalty 51
\@medpenalty 151
\@highpenalty 301
\@beginparpenalty -\@lowpenalty
\@endparpenalty -\@lowpenalty
\@itempenalty -\@lowpenalty
\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
\providecommand{\cal}{\protect\pcal}
\newcommand{\pcal}{\@fontswitch{\relax}{\mathcal}}
\providecommand{\mit}{\protect\pmit}
\newcommand{\pmit}{\@fontswitch{\relax}{\mathnormal}}
\setlength\tabbingsep{\labelsep}
\clubpenalty=10000
\widowpenalty=10000
%%%%%%%                                            
\def\kapmathindent{14pt}
\pagestyle{headings}
\pagenumbering{arabic}
\frenchspacing
\endinput
%</tail>
%<*other>
%% 
%% End of file `kluwnew.dtx'.
                                        
% contents of kluwnew.ins:
\input docstrip
\generate{\file{kluwnew.cls}{
  \from{kluwnew.dtx}{head}
  \from{klumac.sty}{main}
  \from{klu11.clo}{main}
  \from{klulist.sty}{main}
  \from{kluopen.sty}{main}
  \from{kluedit.sty}{main}
  \from{klutab.sty}{main}
  \from{klufloa.sty}{main}
  \from{klunote.sty}{main}
  \from{kluref.sty}{main}
  \from{klumath.sty}{main}
  \from{klusec.sty}{main}
  \from{kluwnew.dtx}{tail}}}
\endbatchfile
\endinput
%</other>