10410
|
1 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
2 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
3 |
%% This is cl2emono.sty version 2.2
|
|
4 |
%% (intermediate fix also for springer.sty for the use of
|
|
5 |
%% LaTeX2e and NFSS2)
|
|
6 |
%%
|
|
7 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
8 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
14 |
%
|
|
15 |
% This is ucgreek
|
|
16 |
% the definition of versal greek characters
|
|
17 |
%
|
|
18 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
19 |
|
|
20 |
\mathchardef\Gamma="0100
|
|
21 |
\mathchardef\Delta="0101
|
|
22 |
\mathchardef\Theta="0102
|
|
23 |
\mathchardef\Lambda="0103
|
|
24 |
\mathchardef\Xi="0104
|
|
25 |
\mathchardef\Pi="0105
|
|
26 |
\mathchardef\Sigma="0106
|
|
27 |
\mathchardef\Upsilon="0107
|
|
28 |
\mathchardef\Phi="0108
|
|
29 |
\mathchardef\Psi="0109
|
|
30 |
\mathchardef\Omega="010A
|
|
31 |
|
|
32 |
|
|
33 |
|
|
34 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
35 |
%
|
|
36 |
% This is referee.tex
|
|
37 |
%
|
|
38 |
% It defines the style option "referee"
|
|
39 |
%
|
|
40 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
41 |
\newif\if@referee \@refereefalse
|
|
42 |
\def\ds@referee{\@refereetrue
|
|
43 |
\typeout{A referee's copy will be produced.}%
|
|
44 |
\def\baselinestretch{2}\small
|
|
45 |
\normalsize\rm
|
|
46 |
\newbox\refereebox
|
|
47 |
\setbox\refereebox=\vbox to0pt{\vskip0.5cm%
|
|
48 |
\hbox to\textwidth{\normalsize\tt\hrulefill\lower0.5ex
|
|
49 |
\hbox{\kern5pt referee's copy\kern5pt}\hrulefill}\vss}%
|
|
50 |
\def\@oddfoot{\copy\refereebox}\let\@evenfoot=\@oddfoot}
|
|
51 |
% This is footinfo.tex
|
|
52 |
% it provides an informatory line on every page
|
|
53 |
%
|
|
54 |
\def\SpringerMacroPackageNameA{\springerstylefile}
|
|
55 |
% \thetime, \thedate and \timstamp are macros to include
|
|
56 |
% time, date (or both) of the TeX run in the document
|
|
57 |
\def\maketimestamp{\count255=\time
|
|
58 |
\divide\count255 by 60\relax
|
|
59 |
\edef\thetime{\the\count255:}%
|
|
60 |
\multiply\count255 by-60\relax
|
|
61 |
\advance\count255 by\time
|
|
62 |
\edef\thetime{\thetime\ifnum\count255<10 0\fi\the\count255}
|
|
63 |
\edef\thedate{\number\day-\ifcase\month\or Jan\or Feb\or Mar\or
|
|
64 |
Apr\or May\or Jun\or Jul\or Aug\or Sep\or Oct\or
|
|
65 |
Nov\or Dec\fi-\number\year}
|
|
66 |
\def\timstamp{\hbox to\hsize{\tt\hfil\thedate\hfil\thetime\hfil}}}
|
|
67 |
\maketimestamp
|
|
68 |
%
|
|
69 |
% \footinfo generates a info footline on every page containing
|
|
70 |
% pagenumber, jobname, macroname, and timestamp
|
|
71 |
\def\ds@footinfo{\maketimestamp
|
|
72 |
\def\@oddfoot{\footnotesize\tt Page: \thepage\hfil job: \jobname\hfil
|
|
73 |
macro: \SpringerMacroPackageNameA\hfil
|
|
74 |
date/time: \thedate/\thetime}%
|
|
75 |
\let\@evenfoot=\@oddfoot}
|
|
76 |
\def\footinfo{\maketimestamp
|
|
77 |
\ds@footinfo
|
|
78 |
\typeout{You ordered a foot-info line. }}
|
|
79 |
\def\nofootinfo{%
|
|
80 |
\def\@oddfoot{}\def\@evenfoot{}%
|
|
81 |
\typeout{Foot-info has been disabled. }}
|
|
82 |
|
|
83 |
|
|
84 |
|
|
85 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
86 |
%
|
|
87 |
% This is vector.tex
|
|
88 |
%
|
|
89 |
% It redefines the plain TeX \vec command
|
|
90 |
% and adds a \tens command for tensors
|
|
91 |
%
|
|
92 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
93 |
|
|
94 |
% ##### (changed by RB)
|
|
95 |
\def\vec@style{\relax} % hook to change style of vector
|
|
96 |
% default yields boldface italic
|
|
97 |
% \def\vec@style{\bf} % hook to change style of vector
|
|
98 |
% % default yields mathstyle i.e. boldface upright
|
|
99 |
|
|
100 |
\def\vec#1{\relax\ifmmode\mathchoice
|
|
101 |
{\mbox{\boldmath$\vec@style\displaystyle#1$}}
|
|
102 |
{\mbox{\boldmath$\vec@style\textstyle#1$}}
|
|
103 |
{\mbox{\boldmath$\vec@style\scriptstyle#1$}}
|
|
104 |
{\mbox{\boldmath$\vec@style\scriptscriptstyle#1$}}\else
|
|
105 |
\hbox{\boldmath$\vec@style\textstyle#1$}\fi}
|
|
106 |
|
|
107 |
\def\tens#1{\relax\ifmmode\mathchoice{\mbox{$\sf\displaystyle#1$}}
|
|
108 |
{\mbox{$\sf\textstyle#1$}}
|
|
109 |
{\mbox{$\sf\scriptstyle#1$}}
|
|
110 |
{\mbox{$\sf\scriptscriptstyle#1$}}\else
|
|
111 |
\hbox{$\sf\textstyle#1$}\fi}
|
|
112 |
|
|
113 |
|
|
114 |
|
|
115 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
116 |
%
|
|
117 |
% This is vecstyle.tex
|
|
118 |
%
|
|
119 |
% It enables documentstyle options vecmath and vecphys
|
|
120 |
% to change the vectors to upright bold face or
|
|
121 |
% to math italic bold respectively
|
|
122 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
123 |
|
|
124 |
\def\ds@vecmath{\def\vec@style{\bf}\typeout{Vectors are now represented
|
|
125 |
in mathematics style as boldface upright characters.}}
|
|
126 |
\def\ds@vecphys{\let\vec@style\relax\typeout{Vectors are now represented
|
|
127 |
in physics style as boldface italics.}}
|
|
128 |
|
|
129 |
|
|
130 |
|
|
131 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
132 |
%
|
|
133 |
% This is defaults.tex
|
|
134 |
%
|
|
135 |
% It sets the switches for twoside printing, numbering
|
|
136 |
% of equations and kind of citation.
|
|
137 |
%
|
|
138 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
139 |
\@twosidetrue % twoside is default
|
|
140 |
\newif\if@bibay \@bibayfalse % citation with numbers
|
|
141 |
% is default
|
|
142 |
\newif\if@numart \@numartfalse % numbering with chapternumbers
|
|
143 |
% is default
|
|
144 |
|
|
145 |
|
|
146 |
|
|
147 |
|
|
148 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
149 |
%
|
|
150 |
% This is misc.xxx
|
|
151 |
%
|
|
152 |
% It defines various commands not available in "plain LaTeX"
|
|
153 |
%
|
|
154 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
155 |
\newcommand{\ts}{\thinspace{}}
|
|
156 |
\newcommand{\sq}{\hbox{\rlap{$\sqcap$}$\sqcup$}}
|
|
157 |
\newcommand{\qed}{\ifmmode\sq\else{\unskip\nobreak\hfil
|
|
158 |
\penalty50\hskip1em\null\nobreak\hfil\sq
|
|
159 |
\parfillskip=0pt\finalhyphendemerits=0\endgraf}\fi{}}
|
|
160 |
\def\D{{\rm d}}
|
|
161 |
\def\E{{\rm e}}
|
|
162 |
\let\eul=\E
|
|
163 |
\def\I{{\rm i}}
|
|
164 |
\let\imag=\I
|
|
165 |
\def\strich{\vskip0.5cm\hrule\vskip3ptplus12pt\null}
|
|
166 |
|
|
167 |
% Frame for paste-in figures or tables
|
|
168 |
%\def\mpicplace#1#2{%#1 = width #2 = height
|
|
169 |
%\vbox{\@tempdima=#2\advance\@tempdima by-2\fboxrule
|
|
170 |
%\hrule\@height \fboxrule\@width #1
|
|
171 |
%\hbox to #1{\vrule\@width \fboxrule\@height\@tempdima\hfil
|
|
172 |
%\vrule\@width \fboxrule\@height\@tempdima}\hrule\@height
|
|
173 |
%\fboxrule\@width #1}}
|
|
174 |
|
|
175 |
% #####
|
|
176 |
% Frame for paste-in figures or tables
|
|
177 |
\def\mpicplace#1#2{% #1 =width #2 =height
|
|
178 |
\vbox{\hbox to #1{\vrule width \fboxrule height #2\hfill}}}
|
|
179 |
|
|
180 |
\def\picplace#1{\mpicplace{\hsize}{#1}}
|
|
181 |
% Ragged bottom for the actual page
|
|
182 |
\def\thisbottomragged{\def\@textbottom{\vskip\z@ plus.0001fil
|
|
183 |
\global\let\@textbottom\relax}}
|
|
184 |
\flushbottom
|
|
185 |
|
|
186 |
|
|
187 |
|
|
188 |
|
|
189 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
190 |
%
|
|
191 |
% This is layout.m01
|
|
192 |
%
|
|
193 |
% It defines various sizes and settings for books
|
|
194 |
%
|
|
195 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
196 |
|
|
197 |
\topmargin=0cm
|
|
198 |
\textwidth=11.7cm
|
|
199 |
\textheight=18.9cm
|
|
200 |
\oddsidemargin=0.7cm
|
|
201 |
\evensidemargin=0.7cm
|
|
202 |
\headsep=12pt
|
|
203 |
|
|
204 |
\baselineskip=12pt
|
|
205 |
\parindent=15pt
|
|
206 |
\parskip=0pt plus 1pt
|
|
207 |
\hfuzz=2pt
|
|
208 |
\frenchspacing
|
|
209 |
|
|
210 |
\tolerance=500
|
|
211 |
|
|
212 |
\abovedisplayskip=3mm plus6pt minus 4pt
|
|
213 |
\belowdisplayskip=3mm plus6pt minus 4pt
|
|
214 |
\abovedisplayshortskip=0mm plus6pt minus 2pt
|
|
215 |
\belowdisplayshortskip=2mm plus4pt minus 4pt
|
|
216 |
|
|
217 |
\predisplaypenalty=0
|
|
218 |
\clubpenalty=10000
|
|
219 |
\widowpenalty=10000
|
|
220 |
|
|
221 |
\newdimen\betweenumberspace % dimension for space between
|
|
222 |
\betweenumberspace=5pt % number and text of titles.
|
|
223 |
\newdimen\headlineindent % dimension for space between
|
|
224 |
\headlineindent=2.5cc % number and text of headings.
|
|
225 |
|
|
226 |
\intextsep 20pt plus 2pt minus 2pt
|
|
227 |
|
|
228 |
\setcounter{topnumber}{4}
|
|
229 |
\def\topfraction{.9}
|
|
230 |
\setcounter{bottomnumber}{2}
|
|
231 |
\def\bottomfraction{.5}
|
|
232 |
\setcounter{totalnumber}{6}
|
|
233 |
\def\textfraction{.2}
|
|
234 |
\def\floatpagefraction{.5}
|
|
235 |
|
|
236 |
% Figures and tables are processed in small print
|
|
237 |
\def \@floatboxreset {%
|
|
238 |
\reset@font
|
|
239 |
\small
|
|
240 |
\@setnobreak
|
|
241 |
\@setminipage
|
|
242 |
}
|
|
243 |
\def\figure{\@float{figure}}
|
|
244 |
\@namedef{figure*}{\@dblfloat{figure}}
|
|
245 |
\def\table{\@float{table}}
|
|
246 |
\@namedef{table*}{\@dblfloat{table}}
|
|
247 |
\def\fps@figure{htbp}
|
|
248 |
\def\fps@table{htbp}
|
|
249 |
|
|
250 |
\labelsep=5\p@ % measures for lists
|
|
251 |
\leftmargini=17.777\p@
|
|
252 |
\labelwidth\leftmargini\advance\labelwidth-\labelsep
|
|
253 |
\leftmarginii=\leftmargini
|
|
254 |
\leftmarginiii=\leftmargini
|
|
255 |
\parsep=\parskip
|
|
256 |
|
|
257 |
\def\@listI{\leftmargin\leftmargini
|
|
258 |
\parsep=\parskip
|
|
259 |
\topsep=\medskipamount
|
|
260 |
\itemsep=\parskip \advance\itemsep by -\parsep}
|
|
261 |
\let\@listi\@listI
|
|
262 |
\@listi
|
|
263 |
|
|
264 |
\def\@listii{\leftmargin\leftmarginii
|
|
265 |
\labelwidth\leftmarginii\advance\labelwidth by -\labelsep
|
|
266 |
\parsep=\parskip
|
|
267 |
\topsep=\z@
|
|
268 |
\itemsep=\parskip \advance\itemsep by -\parsep}
|
|
269 |
\def\@listiii{\leftmargin\leftmarginiii
|
|
270 |
\labelwidth\leftmarginiii\advance\labelwidth by -\labelsep
|
|
271 |
\parsep=\parskip
|
|
272 |
\topsep=\z@
|
|
273 |
\itemsep=\parskip \advance\itemsep by -\parsep}
|
|
274 |
%
|
|
275 |
\def\@normalsize{\@setsize\normalsize{12pt}\xpt\@xpt
|
|
276 |
\abovedisplayskip=3mm plus6pt minus 4pt
|
|
277 |
\belowdisplayskip=3mm plus6pt minus 4pt
|
|
278 |
\abovedisplayshortskip=0mm plus6pt minus 2pt
|
|
279 |
\belowdisplayshortskip=2mm plus4pt minus 4pt
|
|
280 |
\let\@listi\@listI} % Setting of \@listi added 9 Jun 87
|
|
281 |
%
|
|
282 |
\def\small{\@setsize\small{10pt}\ixpt\@ixpt
|
|
283 |
\abovedisplayskip 8.5\p@ plus3\p@ minus4\p@
|
|
284 |
\belowdisplayskip \abovedisplayskip
|
|
285 |
\abovedisplayshortskip \z@ plus2\p@
|
|
286 |
\belowdisplayshortskip 4\p@ plus2\p@ minus2\p@
|
|
287 |
\def\@listi{\leftmargin\leftmargini
|
|
288 |
\topsep 4pt plus 2pt minus 2pt\parsep\parskip
|
|
289 |
\itemsep\parskip}}
|
|
290 |
%
|
|
291 |
\def\itemize{\ifnum \@itemdepth >3 \@toodeep\else \advance\@itemdepth \@ne
|
|
292 |
\ifnum \@itemdepth=1 \leftmargini=10\p@
|
|
293 |
\labelwidth\leftmargini\advance\labelwidth-\labelsep
|
|
294 |
\leftmarginii=\leftmargini \leftmarginiii=\leftmargini \fi
|
|
295 |
\edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
|
|
296 |
\list{\csname\@itemitem\endcsname}{\def\makelabel##1{\rlap{##1}\hss}}\fi}
|
|
297 |
%
|
|
298 |
\newdimen\verbatimindent \verbatimindent\parindent
|
|
299 |
\def\verbatim{\advance\@totalleftmargin by\verbatimindent
|
|
300 |
\@verbatim \frenchspacing\@vobeyspaces \@xverbatim}
|
|
301 |
%
|
|
302 |
\let\footnotesize=\small
|
|
303 |
%
|
|
304 |
\def\petit{\par\addvspace{6pt}\small}
|
|
305 |
\def\endpetit{\par\addvspace{6pt}}
|
|
306 |
%
|
|
307 |
\raggedbottom
|
|
308 |
\normalsize % Choose the normalsize font.
|
|
309 |
% This is texte.tex
|
|
310 |
% it defines various texts and their translations
|
|
311 |
% called up with documentstyle options
|
|
312 |
\def\abstractname{Summary.}
|
|
313 |
\def\ackname{Acknowledgement.}
|
|
314 |
\def\andname{and}
|
|
315 |
\def\lastandname{, and}
|
|
316 |
\def\appendixname{Appendix}
|
|
317 |
\def\chaptername{Chapter}
|
|
318 |
\def\claimname{Claim}
|
|
319 |
\def\conjecturename{Conjecture}
|
|
320 |
\def\contentsname{Table of Contents}
|
|
321 |
\def\corollaryname{Corollary}
|
|
322 |
\def\definitionname{Definition}
|
|
323 |
\def\examplename{Example}
|
|
324 |
\def\exercisename{Exercise}
|
|
325 |
\def\figurename{Fig.}
|
|
326 |
\def\keywordname{{\bf Key words:}}
|
|
327 |
\def\indexname{Index}
|
|
328 |
\def\lemmaname{Lemma}
|
|
329 |
\def\contriblistname{List of Contributors}
|
|
330 |
\def\listfigurename{List of Figures}
|
|
331 |
\def\listtablename{List of Tables}
|
|
332 |
\def\mailname{{\it Correspondence to\/}:}
|
|
333 |
\def\noteaddname{Note added in proof}
|
|
334 |
\def\notename{Note}
|
|
335 |
\def\partname{Part}
|
|
336 |
\def\problemname{Problem}
|
|
337 |
\def\proofname{Proof}
|
|
338 |
\def\propertyname{Property}
|
|
339 |
\def\propositionname{Proposition}
|
|
340 |
\def\questionname{Question}
|
|
341 |
\def\remarkname{Remark}
|
|
342 |
\def\seename{see}
|
|
343 |
\def\solutionname{Solution}
|
|
344 |
\def\subclassname{{\it Subject Classifications\/}:}
|
|
345 |
\def\tablename{Table}
|
|
346 |
\def\theoremname{Theorem}
|
|
347 |
% Names of theorem like environments are already defined
|
|
348 |
% but must be translated if another language is chosen
|
|
349 |
%
|
|
350 |
% French section
|
|
351 |
\def\ds@francais{\typeout{On parle francais.}%
|
|
352 |
\def\abstractname{R\'esum\'e.}%
|
|
353 |
\def\ackname{Remerciements.}%
|
|
354 |
\def\andname{et}%
|
|
355 |
\def\lastandname{ et}%
|
|
356 |
\def\appendixname{Appendice}
|
|
357 |
\def\chaptername{Chapitre}%
|
|
358 |
\def\claimname{Pr\'etention}%
|
|
359 |
\def\conjecturename{Hypoth\`ese}%
|
|
360 |
\def\contentsname{Table des mati\`eres}%
|
|
361 |
\def\corollaryname{Corollaire}%
|
|
362 |
\def\definitionname{D\'efinition}%
|
|
363 |
\def\examplename{Exemple}%
|
|
364 |
\def\exercisename{Exercice}%
|
|
365 |
\def\figurename{Fig.}%
|
|
366 |
\def\keywordname{{\bf Mots-cl\'e:}}
|
|
367 |
\def\indexname{Index}
|
|
368 |
\def\lemmaname{Lemme}%
|
|
369 |
\def\contriblistname{Liste des contributeurs}
|
|
370 |
\def\listfigurename{Liste des figures}%
|
|
371 |
\def\listtablename{Liste des tables}%
|
|
372 |
\def\mailname{{\it Correspondence to\/}:}
|
|
373 |
\def\noteaddname{Note ajout\'ee \`a l'\'epreuve}%
|
|
374 |
\def\notename{Remarque}%
|
|
375 |
\def\partname{Partie}%
|
|
376 |
\def\problemname{Probl\`eme}%
|
|
377 |
\def\proofname{\'Epreuve}%
|
|
378 |
\def\propertyname{Caract\'eristique}%
|
|
379 |
%\def\propositionname{Proposition}%
|
|
380 |
\def\questionname{Question}%
|
|
381 |
\def\remarkname{Remarque}%
|
|
382 |
\def\seename{voir}
|
|
383 |
\def\solutionname{Solution}%
|
|
384 |
\def\subclassname{{\it Subject Classifications\/}:}
|
|
385 |
\def\tablename{Tableau}%
|
|
386 |
\def\theoremname{Th\'eor\`eme}%
|
|
387 |
}
|
|
388 |
%
|
|
389 |
% German section
|
|
390 |
\def\ds@deutsch{\typeout{Man spricht deutsch.}%
|
|
391 |
\def\abstractname{Zusammenfassung.}%
|
|
392 |
\def\ackname{Danksagung.}%
|
|
393 |
\def\andname{und}%
|
|
394 |
\def\lastandname{ und}%
|
|
395 |
\def\appendixname{Anhang}%
|
|
396 |
\def\chaptername{Kapitel}%
|
|
397 |
\def\claimname{Behauptung}%
|
|
398 |
\def\conjecturename{Hypothese}%
|
|
399 |
\def\contentsname{Inhaltsverzeichnis}%
|
|
400 |
\def\corollaryname{Korollar}%
|
|
401 |
%\def\definitionname{Definition}%
|
|
402 |
\def\examplename{Beispiel}%
|
|
403 |
\def\exercisename{\"Ubung}%
|
|
404 |
\def\figurename{Abb.}%
|
|
405 |
\def\keywordname{{\bf Schl\"usselw\"orter:}}
|
|
406 |
\def\indexname{Index}
|
|
407 |
%\def\lemmaname{Lemma}%
|
|
408 |
\def\contriblistname{Mitarbeiter}
|
|
409 |
\def\listfigurename{Abbildungsverzeichnis}%
|
|
410 |
\def\listtablename{Tabellenverzeichnis}%
|
|
411 |
\def\mailname{{\it Correspondence to\/}:}
|
|
412 |
\def\noteaddname{Nachtrag}%
|
|
413 |
\def\notename{Anmerkung}%
|
|
414 |
\def\partname{Teil}%
|
|
415 |
%\def\problemname{Problem}%
|
|
416 |
\def\proofname{Beweis}%
|
|
417 |
\def\propertyname{Eigenschaft}%
|
|
418 |
%\def\propositionname{Proposition}%
|
|
419 |
\def\questionname{Frage}%
|
|
420 |
\def\remarkname{Anmerkung}%
|
|
421 |
\def\seename{siehe}
|
|
422 |
\def\solutionname{L\"osung}%
|
|
423 |
\def\subclassname{{\it Subject Classifications\/}:}
|
|
424 |
\def\tablename{Tabelle}%
|
|
425 |
%\def\theoremname{Theorem}%
|
|
426 |
}
|
|
427 |
|
|
428 |
|
|
429 |
|
|
430 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
431 |
%
|
|
432 |
% This is titneu.xxx
|
|
433 |
%
|
|
434 |
% It redefines titles. Usage is like Lamport described.
|
|
435 |
%
|
|
436 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
437 |
\setcounter{secnumdepth}{2} % depth of the highest-level
|
|
438 |
% sectioning command
|
|
439 |
\newcounter{chapter} % to use chapter together with
|
|
440 |
\@addtoreset{section}{chapter} % article.sty
|
|
441 |
\@addtoreset{footnote}{chapter}
|
|
442 |
|
|
443 |
\def\thechapter{\arabic{chapter}} % how titles will be typeset
|
|
444 |
\def\thesection{\thechapter.\arabic{section}}
|
|
445 |
\def\thesubsection{\thesection.\arabic{subsection}}
|
|
446 |
\def\thesubsubsection{\thesubsection.\arabic{subsubsection}}
|
|
447 |
\def\theparagraph{\thesubsubsection.\arabic{paragraph}}
|
|
448 |
\def\thesubparagraph{\theparagraph.\arabic{subparagraph}}
|
|
449 |
\def\chaptermark#1{}
|
|
450 |
\def\sec@hangfrom#1{\setbox\@tempboxa\hbox{#1}%
|
|
451 |
\hangindent \z@\noindent\box\@tempboxa}
|
|
452 |
|
|
453 |
% definition of chapter
|
|
454 |
|
|
455 |
\def\@chapapp{\chaptername}
|
|
456 |
|
|
457 |
\def\@makechapterhead#1{{\parindent0pt\raggedright
|
|
458 |
\hyphenpenalty \@M
|
|
459 |
\Large\bf\boldmath
|
|
460 |
\sec@hangfrom{\thechapter\thechapterend\hskip\betweenumberspace}%!!!
|
|
461 |
\ignorespaces#1\par
|
|
462 |
\ifdim\pagetotal>118pt
|
|
463 |
\vskip 24pt
|
|
464 |
\else
|
|
465 |
\@tempdima=118pt\advance\@tempdima by-\pagetotal
|
|
466 |
\vskip\@tempdima
|
|
467 |
\fi}}
|
|
468 |
|
|
469 |
\def\@makeschapterhead#1{{\parindent0pt\raggedright
|
|
470 |
\hyphenpenalty \@M
|
|
471 |
\Large\bf\boldmath
|
|
472 |
\ignorespaces#1\par
|
|
473 |
\ifdim\pagetotal>118pt
|
|
474 |
\vskip 24pt
|
|
475 |
\else
|
|
476 |
\@tempdima=118pt\advance\@tempdima by-\pagetotal
|
|
477 |
\vskip\@tempdima
|
|
478 |
\fi}}
|
|
479 |
|
|
480 |
\newcommand{\clearemptydoublepage}{%
|
|
481 |
\newpage{\pagestyle{empty}\cleardoublepage}}
|
|
482 |
|
|
483 |
\def\chapter{\clearemptydoublepage\thispagestyle{empty}
|
|
484 |
\global\@topnum\z@\@afterindentfalse
|
|
485 |
\secdef\@chapter\@schapter}
|
|
486 |
|
|
487 |
\def\@chapter[#1]#2{\ifnum\c@secnumdepth>\m@ne
|
|
488 |
\refstepcounter{chapter}
|
|
489 |
\typeout{\@chapapp\space\thechapter}
|
|
490 |
\addcontentsline{toc}{chapter}{\protect
|
|
491 |
\numberline{\thechapter\thechapterend}#1}\else %!!!
|
|
492 |
\addcontentsline{toc}{chapter}{#1}
|
|
493 |
\fi
|
|
494 |
\chaptermark{#1}
|
|
495 |
\addtocontents{lof}{\protect\addvspace{10pt}}
|
|
496 |
\addtocontents{lot}{\protect\addvspace{10pt}}
|
|
497 |
\if@twocolumn
|
|
498 |
\@topnewpage[\@makechapterhead{#2}]
|
|
499 |
\else \@makechapterhead{#2}
|
|
500 |
\@afterheading
|
|
501 |
\fi}
|
|
502 |
|
|
503 |
\def\@schapter#1{\if@twocolumn\@topnewpage[\@makeschapterhead{#1}]
|
|
504 |
\else \@makeschapterhead{#1}
|
|
505 |
\@afterheading\fi}
|
|
506 |
|
|
507 |
% Appendix
|
|
508 |
\def\appendix{\par
|
|
509 |
\setcounter{chapter}{0}%
|
|
510 |
\setcounter{section}{0}%
|
|
511 |
\def\@chapapp{\appendixname}%
|
|
512 |
\def\thechapter{\Alph{chapter}}}
|
|
513 |
|
|
514 |
% definition of sections
|
|
515 |
% \hyphenpenalty and \raggedright added, so that there is no
|
|
516 |
% hyphenation and the text is set ragged-right in sectioning
|
|
517 |
|
|
518 |
\def\runinsep{.}
|
|
519 |
\def\aftertext{\unskip\runinsep}
|
|
520 |
|
|
521 |
\def\@sect#1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth
|
|
522 |
\let\@svsec\@empty\else
|
|
523 |
\refstepcounter{#1}\edef\@svsec{\csname the#1\endcsname
|
|
524 |
\hskip\betweenumberspace
|
|
525 |
\ignorespaces}\fi
|
|
526 |
\@tempskipa #5\relax
|
|
527 |
\ifdim \@tempskipa>\z@
|
|
528 |
\begingroup #6\relax
|
|
529 |
\sec@hangfrom{\hskip #3\relax\@svsec}{%
|
|
530 |
\raggedright
|
|
531 |
\hyphenpenalty \@M
|
|
532 |
\interlinepenalty \@M #8\par}%
|
|
533 |
\endgroup
|
|
534 |
\csname #1mark\endcsname{#7}\addcontentsline
|
|
535 |
{toc}{#1}{\ifnum #2>\c@secnumdepth \else
|
|
536 |
\protect\numberline{\csname the#1\endcsname}\fi
|
|
537 |
#7}\else
|
|
538 |
\def\@svsechd{#6\hskip #3\relax
|
|
539 |
\@svsec #8\aftertext\ignorespaces
|
|
540 |
\csname #1mark\endcsname
|
|
541 |
{#7}\addcontentsline
|
|
542 |
{toc}{#1}{\ifnum #2>\c@secnumdepth \else
|
|
543 |
\protect\numberline{\csname the#1\endcsname}\fi
|
|
544 |
#7}}\fi
|
|
545 |
\@xsect{#5}}
|
|
546 |
|
|
547 |
% measures and setting of sections
|
|
548 |
|
|
549 |
\def\section{\@startsection{section}{1}{\z@}%
|
|
550 |
{-25pt plus-4pt minus-4pt}{12.5pt plus4pt
|
|
551 |
minus4pt}{\large\bf\boldmath}}
|
|
552 |
\def\subsection{\@startsection{subsection}{2}{\z@}%
|
|
553 |
{-17pt plus-4pt minus-4pt}{10pt plus4pt
|
|
554 |
minus4pt}{\normalsize\bf\boldmath}}
|
|
555 |
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}%
|
|
556 |
{-5.388pt plus-4pt minus-4pt}{-5pt}{\normalsize\bf\boldmath}}
|
|
557 |
\def\paragraph{\@startsection{paragraph}{4}{\z@}%
|
|
558 |
{-5.388pt plus-4pt minus-4pt}{-5pt}{\normalsize\it}}
|
|
559 |
\def\subparagraph{\@startsection{subparagraph}{5}{\z@}%
|
|
560 |
{-5.388pt plus-4pt minus-4pt}{-5pt}{\normalsize\it}}
|
|
561 |
|
|
562 |
% definition of \part
|
|
563 |
\def\thepart{\Roman{part}}
|
|
564 |
\def\part{\clearemptydoublepage % Starts new page.
|
|
565 |
\thispagestyle{empty} % Page style of part page is empty
|
|
566 |
\if@twocolumn % IF two-column style
|
|
567 |
\onecolumn % THEN \onecolumn
|
|
568 |
\@tempswatrue % @tempswa := true
|
|
569 |
\else \@tempswafalse % ELSE @tempswa := false
|
|
570 |
\fi % FI
|
|
571 |
% \hbox{}\vfil % Add fil glue to center title
|
|
572 |
%% \bgroup \centering % BEGIN centering %% Removed 19 Jan 88
|
|
573 |
\secdef\@part\@spart}
|
|
574 |
|
|
575 |
|
|
576 |
\def\@part[#1]#2{\ifnum \c@secnumdepth >-2\relax % IF secnumdepth > -2
|
|
577 |
\refstepcounter{part} % THEN step part counter
|
|
578 |
\addcontentsline{toc}{part}{\partname\ % add toc line
|
|
579 |
\thepart. #1}\else % ELSE add unnumbered line
|
|
580 |
\addcontentsline{toc}{part}{#1}\fi % FI
|
|
581 |
\markboth{}{}
|
|
582 |
{\raggedleft % added 8.1.92 FUH
|
|
583 |
\ifnum \c@secnumdepth >-2\relax % IF secnumdepth > -2
|
|
584 |
\Large\partname\ \thepart % THEN Print 'Part' and number
|
|
585 |
\par % in \Large
|
|
586 |
\vskip 103.3pt \fi % Add space before title.
|
|
587 |
\bf\boldmath % FI
|
|
588 |
#2\par}\@endpart} % Print Title in \Large bold.
|
|
589 |
|
|
590 |
|
|
591 |
% \@endpart finishes the part page
|
|
592 |
%
|
|
593 |
\def\@endpart{\vfil\newpage % End page with 1fil glue.
|
|
594 |
\if@twoside % IF twoside printing
|
|
595 |
\hbox{} % THEN Produce totally blank page
|
|
596 |
\thispagestyle{empty}
|
|
597 |
\newpage
|
|
598 |
\fi % FI
|
|
599 |
\if@tempswa % IF @tempswa = true
|
|
600 |
\twocolumn % THEN \twocolumn
|
|
601 |
\fi} % FI
|
|
602 |
|
|
603 |
\def\@spart#1{{\raggedleft % added 8 Jan 92 FUH
|
|
604 |
\Large\bf\boldmath % Print title in \Large-boldface
|
|
605 |
#1\par}\@endpart}
|
|
606 |
|
|
607 |
\def\subtitle#1{\gdef\@subtitle{#1}}
|
|
608 |
\def\@subtitle{}
|
|
609 |
|
|
610 |
\def\maketitle{\par
|
|
611 |
\begingroup
|
|
612 |
\def\thefootnote{\fnsymbol{footnote}}%
|
|
613 |
\def\@makefnmark{\hbox
|
|
614 |
to\z@{$\m@th^{\@thefnmark}$\hss}}%
|
|
615 |
\if@twocolumn
|
|
616 |
\twocolumn[\@maketitle]%
|
|
617 |
\else \newpage
|
|
618 |
\global\@topnum\z@ % Prevents figures from going at top of page.
|
|
619 |
\@maketitle \fi\thispagestyle{empty}\@thanks
|
|
620 |
\par\penalty -\@M
|
|
621 |
\endgroup
|
|
622 |
\setcounter{footnote}{0}%
|
|
623 |
\let\maketitle\relax
|
|
624 |
\let\@maketitle\relax
|
|
625 |
\gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
|
|
626 |
|
|
627 |
\def\@maketitle{\newpage
|
|
628 |
\null
|
|
629 |
\vskip 2em % Vertical space above title.
|
|
630 |
\begingroup
|
|
631 |
\def\and{\unskip, }
|
|
632 |
\parindent=\z@
|
|
633 |
\pretolerance=10000
|
|
634 |
\rightskip=0pt plus 3cm
|
|
635 |
{\LARGE % each author set in \LARGE
|
|
636 |
\lineskip .5em
|
|
637 |
\@author
|
|
638 |
\par}%
|
|
639 |
\vskip 2cm % Vertical space after author.
|
|
640 |
{\Huge \@title \par}% % Title set in \Huge size.
|
|
641 |
\vskip 1cm % Vertical space after title.
|
|
642 |
\if!\@subtitle!\else
|
|
643 |
{\LARGE\ignorespaces\@subtitle \par}
|
|
644 |
\vskip 1cm % Vertical space after subtitle.
|
|
645 |
\fi
|
|
646 |
\if!\@date!\else
|
|
647 |
{\large \@date}% % Date set in \large size.
|
|
648 |
\par
|
|
649 |
\vskip 1.5em % Vertical space after date.
|
|
650 |
\fi
|
|
651 |
\vfill
|
|
652 |
{\Large Springer-\kern-0.1em Verlag\par}
|
|
653 |
\vskip 5pt
|
|
654 |
\large
|
|
655 |
Berlin\enspace Heidelberg\enspace New\kern0.1em York\\
|
|
656 |
London\enspace Paris\enspace Tokyo\\
|
|
657 |
Hong\thinspace Kong\enspace Barcelona\\
|
|
658 |
Budapest\par
|
|
659 |
\endgroup}
|
|
660 |
|
|
661 |
\def\abstract{\if@twocolumn
|
|
662 |
\section*{\abstractname}%
|
|
663 |
\else \small
|
|
664 |
\begin{center}%
|
|
665 |
{\bf \abstractname\vspace{-.5em}\vspace{\z@}}%
|
|
666 |
\end{center}%
|
|
667 |
\quotation
|
|
668 |
\fi}
|
|
669 |
|
|
670 |
\def\endabstract{\if@twocolumn\else\endquotation\fi}
|
|
671 |
|
|
672 |
|
|
673 |
|
|
674 |
|
|
675 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
676 |
%
|
|
677 |
% This is toc.xxx
|
|
678 |
%
|
|
679 |
% it modifies the appearence of the table of contents
|
|
680 |
%
|
|
681 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
682 |
\def\tableofcontents{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
|
|
683 |
\fi\chapter*{\contentsname \@mkboth{{\contentsname}}{{\contentsname}}}
|
|
684 |
\@starttoc{toc}\if@restonecol\twocolumn\fi}
|
|
685 |
|
|
686 |
\setcounter{tocdepth}{2}
|
|
687 |
|
|
688 |
\def\l@part#1#2{\addpenalty{\@secpenalty}%
|
|
689 |
\addvspace{2em plus\p@}% % space above part line
|
|
690 |
\begingroup
|
|
691 |
\parindent \z@
|
|
692 |
\rightskip \z@ plus 5em
|
|
693 |
\hrule\vskip5pt
|
|
694 |
\bf\boldmath % set line in boldface
|
|
695 |
\leavevmode % TeX command to enter horizontal mode.
|
|
696 |
#1\par
|
|
697 |
\vskip5pt
|
|
698 |
\hrule
|
|
699 |
\vskip1pt
|
|
700 |
\nobreak % Never break after part entry
|
|
701 |
\endgroup}
|
|
702 |
|
|
703 |
\def\@dotsep{2}
|
|
704 |
|
|
705 |
\def\l@chapter#1#2{\addpenalty{-\@highpenalty}
|
|
706 |
\vskip 1.0em plus 1pt \@tempdima \tocchpnum \begingroup
|
|
707 |
\parindent \z@ \rightskip \@pnumwidth
|
|
708 |
\parfillskip -\@pnumwidth
|
|
709 |
\leavevmode \advance\leftskip\@tempdima \hskip -\leftskip
|
|
710 |
{\bf\boldmath#1}\nobreak
|
|
711 |
\leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern
|
|
712 |
\@dotsep mu$}\hfill
|
|
713 |
\nobreak\hbox to\@pnumwidth{\hss #2}\par
|
|
714 |
\penalty\@highpenalty \endgroup}
|
|
715 |
|
|
716 |
\newdimen\tocchpnum
|
|
717 |
\newdimen\tocsecnum
|
|
718 |
\newdimen\tocsectotal
|
|
719 |
\newdimen\tocsubsecnum
|
|
720 |
\newdimen\tocsubsectotal
|
|
721 |
\newdimen\tocsubsubsecnum
|
|
722 |
\newdimen\tocsubsubsectotal
|
|
723 |
\newdimen\tocparanum
|
|
724 |
\newdimen\tocparatotal
|
|
725 |
\newdimen\tocsubparanum
|
|
726 |
\tocchpnum=20\p@ % chapter {\bf 88.} plus 5.3pt
|
|
727 |
\tocsecnum=22.5\p@ % section 88.8. plus 4.722pt
|
|
728 |
\tocsubsecnum=30.5\p@ % subsection 88.8.8 plus 4.944pt
|
|
729 |
\tocsubsubsecnum=38\p@ % subsubsection 88.8.8.8 plus 4.666pt
|
|
730 |
\tocparanum=45\p@ % paragraph 88.8.8.8.8 plus 3.888pt
|
|
731 |
\tocsubparanum=53\p@ % subparagraph 88.8.8.8.8.8 plus 4.11pt
|
|
732 |
\def\calctocindent{%
|
|
733 |
\tocsectotal=\tocchpnum
|
|
734 |
\advance\tocsectotal by\tocsecnum
|
|
735 |
\tocsubsectotal=\tocsectotal
|
|
736 |
\advance\tocsubsectotal by\tocsubsecnum
|
|
737 |
\tocsubsubsectotal=\tocsubsectotal
|
|
738 |
\advance\tocsubsubsectotal by\tocsubsubsecnum
|
|
739 |
\tocparatotal=\tocsubsubsectotal
|
|
740 |
\advance\tocparatotal by\tocparanum}
|
|
741 |
\calctocindent
|
|
742 |
|
|
743 |
\def\l@section{\@dottedtocline{1}{\tocchpnum}{\tocsecnum}}
|
|
744 |
\def\l@subsection{\@dottedtocline{2}{\tocsectotal}{\tocsubsecnum}}
|
|
745 |
\def\l@subsubsection{\@dottedtocline{3}{\tocsubsectotal}{\tocsubsubsecnum}}
|
|
746 |
\def\l@paragraph{\@dottedtocline{4}{\tocsubsubsectotal}{\tocparanum}}
|
|
747 |
\def\l@subparagraph{\@dottedtocline{5}{\tocparatotal}{\tocsubparanum}}
|
|
748 |
|
|
749 |
\def\listoffigures{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
|
|
750 |
\fi\chapter*{\listfigurename\@mkboth{{\listfigurename}}{{\listfigurename}}}
|
|
751 |
\@starttoc{lof}\if@restonecol\twocolumn\fi}
|
|
752 |
\def\l@figure{\@dottedtocline{1}{0em}{\tocsecnum}}
|
|
753 |
|
|
754 |
\def\listoftables{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
|
|
755 |
\fi\chapter*{\listtablename\@mkboth{{\listtablename}}{{\listtablename}}}
|
|
756 |
\@starttoc{lot}\if@restonecol\twocolumn\fi}
|
|
757 |
\let\l@table\l@figure
|
|
758 |
|
|
759 |
|
|
760 |
|
|
761 |
|
|
762 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
763 |
%
|
|
764 |
% This is runnhead.xxx
|
|
765 |
%
|
|
766 |
% It redefines the headings of a text. There are two
|
|
767 |
% pagestyles possible: "\pagestyle{headings}" and
|
|
768 |
% "\pagestyle{myheadings}". "\pagestyle{headings}" is
|
|
769 |
% default.
|
|
770 |
%
|
|
771 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
772 |
%
|
|
773 |
\@ifundefined{thechapterend}{\def\thechapterend{.}}{}
|
|
774 |
\if@twoside
|
|
775 |
\def\ps@headings{\let\@mkboth\markboth
|
|
776 |
\def\@oddfoot{}\def\@evenfoot{}
|
|
777 |
\def\@evenhead{\small\rm\rlap{\thepage}\hskip\headlineindent
|
|
778 |
\leftmark\hfil}
|
|
779 |
\def\@oddhead{\hfil\small\rm\rightmark\hskip\headlineindent
|
|
780 |
\llap{\thepage}}
|
|
781 |
\def\chaptermark##1{\markboth{{\ifnum\c@secnumdepth>\m@ne
|
|
782 |
\thechapter\thechapterend\hskip\betweenumberspace\fi ##1}}{{\ifnum %!!!
|
|
783 |
\c@secnumdepth>\m@ne\thechapter\thechapterend\hskip\betweenumberspace\fi ##1}}}%!!!
|
|
784 |
\def\sectionmark##1{\markright{{\ifnum\c@secnumdepth>\z@
|
|
785 |
\thesection\hskip\betweenumberspace\fi ##1}}}}
|
|
786 |
\else \def\ps@headings{\let\@mkboth\markboth
|
|
787 |
\def\@oddfoot{}\def\@evenfoot{}
|
|
788 |
\def\@oddhead{\hfil\small\rm\rightmark\hskip\headlineindent
|
|
789 |
\llap{\thepage}}
|
|
790 |
\def\chaptermark##1{\markright{{\ifnum\c@secnumdepth>\m@ne
|
|
791 |
\thechapter\thechapterend\hskip\betweenumberspace\fi ##1}}}} %!!!
|
|
792 |
\fi
|
|
793 |
\def\ps@myheadings{\let\@mkboth\@gobbletwo
|
|
794 |
\def\@oddfoot{}\def\@evenfoot{}
|
|
795 |
\def\@evenhead{\small\rm\rlap{\thepage}\hskip\headlineindent
|
|
796 |
\leftmark\hfil}
|
|
797 |
\def\@oddhead{\hfil\small\rm\rightmark\hskip\headlineindent
|
|
798 |
\llap{\thepage}}
|
|
799 |
\def\chaptermark##1{}
|
|
800 |
\def\sectionmark##1{}%
|
|
801 |
\def\subsectionmark##1{}}
|
|
802 |
\ps@headings
|
|
803 |
|
|
804 |
% Definition of the "\spnewtheorem" command.
|
|
805 |
%
|
|
806 |
% Usage:
|
|
807 |
%
|
|
808 |
% \spnewtheorem{env_nam}{caption}[within]{cap_font}{body_font}
|
|
809 |
% or \spnewtheorem{env_nam}[numbered_like]{caption}{cap_font}{body_font}
|
|
810 |
% or \spnewtheorem*{env_nam}{caption}{cap_font}{body_font}
|
|
811 |
%
|
|
812 |
% New is "cap_font" and "body_font". It stands for
|
|
813 |
% fontdefinition of the caption and the text itself.
|
|
814 |
%
|
|
815 |
% "\spnewtheorem*" gives a theorem without number.
|
|
816 |
%
|
|
817 |
% A defined spnewthoerem environment is used as described
|
|
818 |
% by Lamport.
|
|
819 |
%
|
|
820 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
821 |
|
|
822 |
\let\if@envcntreset\iffalse % environment counter is reset each chapter
|
|
823 |
\DeclareOption{envcountreset}{\let\if@envcntreset\iftrue}
|
|
824 |
\let\if@envcntsame\iffalse % NOT all environments like "Theorem",
|
|
825 |
% each using its own counter
|
|
826 |
\DeclareOption{envcountsame}{\let\if@envcntsame\iftrue}
|
|
827 |
\def\envankh{section} % show \thesection along with theorem number
|
|
828 |
\DeclareOption{envcountchap}{\def\envankh{chapter}%
|
|
829 |
\ExecuteOptions{envcountsect}}
|
|
830 |
\let\if@envcntsect\iftrue % show \csname the\envankh\endcsname along
|
|
831 |
% with environment number
|
|
832 |
\DeclareOption{envcountsect}{\let\if@envcntsect\iftrue}
|
|
833 |
\ProcessOptions
|
|
834 |
|
|
835 |
\def\@thmcountersep{.}
|
|
836 |
\def\@thmcounterend{.}
|
|
837 |
|
|
838 |
\def\spnewtheorem{\@ifstar{\@sthm}{\@Sthm}}
|
|
839 |
|
|
840 |
% definition of \spnewtheorem with number
|
|
841 |
|
|
842 |
\def\@spnthm#1#2{%
|
|
843 |
\@ifnextchar[{\@spxnthm{#1}{#2}}{\@spynthm{#1}{#2}}}
|
|
844 |
\def\@Sthm#1{\@ifnextchar[{\@spothm{#1}}{\@spnthm{#1}}}
|
|
845 |
|
|
846 |
\def\@spxnthm#1#2[#3]#4#5{\expandafter\@ifdefinable\csname #1\endcsname
|
|
847 |
{\@definecounter{#1}\@addtoreset{#1}{#3}%
|
|
848 |
\expandafter\xdef\csname the#1\endcsname{\expandafter\noexpand
|
|
849 |
\csname the#3\endcsname \noexpand\@thmcountersep \@thmcounter{#1}}%
|
|
850 |
\expandafter\xdef\csname #1name\endcsname{#2}%
|
|
851 |
\global\@namedef{#1}{\@spthm{#1}{\csname #1name\endcsname}{#4}{#5}}%
|
|
852 |
\global\@namedef{end#1}{\@endtheorem}}}
|
|
853 |
|
|
854 |
\def\@spynthm#1#2#3#4{\expandafter\@ifdefinable\csname #1\endcsname
|
|
855 |
{\@definecounter{#1}%
|
|
856 |
\expandafter\xdef\csname the#1\endcsname{\@thmcounter{#1}}%
|
|
857 |
\expandafter\xdef\csname #1name\endcsname{#2}%
|
|
858 |
\global\@namedef{#1}{\@spthm{#1}{\csname #1name\endcsname}{#3}{#4}}%
|
|
859 |
\global\@namedef{end#1}{\@endtheorem}}}
|
|
860 |
|
|
861 |
\def\@spothm#1[#2]#3#4#5{%
|
|
862 |
\@ifundefined{c@#2}{\@latexerr{No theorem environment `#2' defined}\@eha}%
|
|
863 |
{\expandafter\@ifdefinable\csname #1\endcsname
|
|
864 |
{\global\@namedef{the#1}{\@nameuse{the#2}}%
|
|
865 |
\expandafter\xdef\csname #1name\endcsname{#3}%
|
|
866 |
\global\@namedef{#1}{\@spthm{#2}{\csname #1name\endcsname}{#4}{#5}}%
|
|
867 |
\global\@namedef{end#1}{\@endtheorem}}}}
|
|
868 |
|
|
869 |
\def\@spthm#1#2#3#4{\topsep 7\p@ \@plus2\p@ \@minus4\p@
|
|
870 |
\refstepcounter{#1}%
|
|
871 |
\@ifnextchar[{\@spythm{#1}{#2}{#3}{#4}}{\@spxthm{#1}{#2}{#3}{#4}}}
|
|
872 |
|
|
873 |
\def\@spxthm#1#2#3#4{\@spbegintheorem{#2}{\csname the#1\endcsname}{#3}{#4}%
|
|
874 |
\ignorespaces}
|
|
875 |
|
|
876 |
\def\@spythm#1#2#3#4[#5]{\@spopargbegintheorem{#2}{\csname
|
|
877 |
the#1\endcsname}{#5}{#3}{#4}\ignorespaces}
|
|
878 |
|
|
879 |
\def\@spbegintheorem#1#2#3#4{\trivlist
|
|
880 |
\item[\hskip\labelsep{#3#1\ #2\@thmcounterend}]#4}
|
|
881 |
|
|
882 |
\def\@spopargbegintheorem#1#2#3#4#5{\trivlist
|
|
883 |
\item[\hskip\labelsep{#4#1\ #2}]{#4(#3)\@thmcounterend\ }#5}
|
|
884 |
|
|
885 |
% definition of \spnewtheorem* without number
|
|
886 |
|
|
887 |
\def\@sthm#1#2{\@Ynthm{#1}{#2}}
|
|
888 |
|
|
889 |
\def\@Ynthm#1#2#3#4{\expandafter\@ifdefinable\csname #1\endcsname
|
|
890 |
{\global\@namedef{#1}{\@Thm{\csname #1name\endcsname}{#3}{#4}}%
|
|
891 |
\expandafter\xdef\csname #1name\endcsname{#2}%
|
|
892 |
\global\@namedef{end#1}{\@endtheorem}}}
|
|
893 |
|
|
894 |
\def\@Thm#1#2#3{\topsep 7\p@ \@plus2\p@ \@minus4\p@
|
|
895 |
\@ifnextchar[{\@Ythm{#1}{#2}{#3}}{\@Xthm{#1}{#2}{#3}}}
|
|
896 |
|
|
897 |
\def\@Xthm#1#2#3{\@Begintheorem{#1}{#2}{#3}\ignorespaces}
|
|
898 |
|
|
899 |
\def\@Ythm#1#2#3[#4]{\@Opargbegintheorem{#1}
|
|
900 |
{#4}{#2}{#3}\ignorespaces}
|
|
901 |
|
|
902 |
\def\@Begintheorem#1#2#3{#3\trivlist
|
|
903 |
\item[\hskip\labelsep{#2#1\@thmcounterend}]}
|
|
904 |
|
|
905 |
\def\@Opargbegintheorem#1#2#3#4{#4\trivlist
|
|
906 |
\item[\hskip\labelsep{#3#1}]{#3(#2)\@thmcounterend\ }}
|
|
907 |
|
|
908 |
% initialize theorem environment
|
|
909 |
|
|
910 |
\if@envcntsect % show section counter
|
|
911 |
\def\@thmcountersep{.}
|
|
912 |
\spnewtheorem{theorem}{Theorem}[\envankh]{\bfseries}{\itshape}
|
|
913 |
\else % theorem counter only
|
|
914 |
\spnewtheorem{theorem}{Theorem}{\bfseries}{\itshape}
|
|
915 |
\if@envcntreset
|
|
916 |
\@addtoreset{theorem}{section}
|
|
917 |
\else
|
|
918 |
\@addtoreset{theorem}{chapter}
|
|
919 |
\fi
|
|
920 |
\fi
|
|
921 |
|
|
922 |
%definition of divers theorem environments
|
|
923 |
\spnewtheorem*{claim}{Claim}{\itshape}{\rmfamily}
|
|
924 |
\spnewtheorem*{proof}{Proof}{\itshape}{\rmfamily}
|
|
925 |
\if@envcntsame % all environments like "Theorem" - using its counter
|
|
926 |
\def\spn@wtheorem#1#2#3#4{\@spothm{#1}[theorem]{#2}{#3}{#4}}
|
|
927 |
\else % all environments with their own counter
|
|
928 |
\if@envcntsect % show section counter
|
|
929 |
\def\spn@wtheorem#1#2#3#4{\@spxnthm{#1}{#2}[\envankh]{#3}{#4}}
|
|
930 |
\else % environment counter only
|
|
931 |
\if@envcntreset % environment counter is reset each section
|
|
932 |
\def\spn@wtheorem#1#2#3#4{\@spynthm{#1}{#2}{#3}{#4}
|
|
933 |
\@addtoreset{#1}{section}}
|
|
934 |
\else
|
|
935 |
\let\spn@wtheorem=\@spynthm
|
|
936 |
\fi
|
|
937 |
\fi
|
|
938 |
\fi
|
|
939 |
\spn@wtheorem{case}{Case}{\itshape}{\rmfamily}
|
|
940 |
\spn@wtheorem{conjecture}{Conjecture}{\itshape}{\rmfamily}
|
|
941 |
\spn@wtheorem{corollary}{Corollary}{\bfseries}{\itshape}
|
|
942 |
\spn@wtheorem{definition}{Definition}{\bfseries}{\itshape}
|
|
943 |
\spn@wtheorem{example}{Example}{\itshape}{\rmfamily}
|
|
944 |
%%LCP%% \spn@wtheorem{exercise}{Exercise}{\bfseries}{\rmfamily}
|
|
945 |
\spn@wtheorem{lemma}{Lemma}{\bfseries}{\itshape}
|
|
946 |
\spn@wtheorem{note}{Note}{\itshape}{\rmfamily}
|
|
947 |
\spn@wtheorem{problem}{Problem}{\bfseries}{\rmfamily}
|
|
948 |
\spn@wtheorem{property}{Property}{\itshape}{\rmfamily}
|
|
949 |
\spn@wtheorem{proposition}{Proposition}{\bfseries}{\itshape}
|
|
950 |
\spn@wtheorem{question}{Question}{\itshape}{\rmfamily}
|
|
951 |
\spn@wtheorem{solution}{Solution}{\bfseries}{\rmfamily}
|
|
952 |
\spn@wtheorem{remark}{Remark}{\itshape}{\rmfamily}
|
|
953 |
|
|
954 |
\def\@takefromreset#1#2{%
|
|
955 |
\def\@tempa{#1}%
|
|
956 |
\let\@tempd\@elt
|
|
957 |
\def\@elt##1{%
|
|
958 |
\def\@tempb{##1}%
|
|
959 |
\ifx\@tempa\@tempb\else
|
|
960 |
\@addtoreset{##1}{#2}%
|
|
961 |
\fi}%
|
|
962 |
\expandafter\expandafter\let\expandafter\@tempc\csname cl@#2\endcsname
|
|
963 |
\expandafter\def\csname cl@#2\endcsname{}%
|
|
964 |
\@tempc
|
|
965 |
\let\@elt\@tempd}
|
|
966 |
|
|
967 |
\def\theopargself{\def\@spopargbegintheorem##1##2##3##4##5{\trivlist
|
|
968 |
\item[\hskip\labelsep{##4##1\ ##2}]{##4##3\@thmcounterend\ }##5}
|
|
969 |
\def\@Opargbegintheorem##1##2##3##4{##4\trivlist
|
|
970 |
\item[\hskip\labelsep{##3##1}]{##3##2\@thmcounterend\ }}
|
|
971 |
}
|
|
972 |
|
|
973 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
974 |
%%
|
|
975 |
%% This is figure.neu
|
|
976 |
%%
|
|
977 |
%% It redefines the captions for "figure" and "table"
|
|
978 |
%% environments.
|
|
979 |
%%
|
|
980 |
%% There are three new kind of captions: "\firstcaption"
|
|
981 |
%% and "\secondcaption" for captions set side by side.
|
|
982 |
%% Usage for those two commands: like "\caption".
|
|
983 |
%%
|
|
984 |
%% "\sidecaption" with two parms: #1 width of picture
|
|
985 |
%% #2 height of picture
|
|
986 |
%%
|
|
987 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
988 |
|
|
989 |
\@ifundefined{floatlegendstyle}{\def\floatlegendstyle{\bfseries}}{}
|
|
990 |
\def\floatcounterend{.\ }
|
|
991 |
\def\capstrut{\vrule\@width\z@\@height\topskip}
|
|
992 |
\@ifundefined{captionstyle}{\def\captionstyle{\normalfont\small}}{}
|
|
993 |
\@ifundefined{instindent}{\newdimen\instindent}{}
|
|
994 |
|
|
995 |
\long\def\@caption#1[#2]#3{\par\addcontentsline{\csname
|
|
996 |
ext@#1\endcsname}{#1}{\protect\numberline{\csname
|
|
997 |
the#1\endcsname}{\ignorespaces #2}}\begingroup
|
|
998 |
\@parboxrestore
|
|
999 |
\@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
|
|
1000 |
\endgroup}
|
|
1001 |
|
|
1002 |
\def\firstcaption{\refstepcounter\@captype\@dblarg%
|
|
1003 |
{\@firstcaption\@captype}}
|
|
1004 |
|
|
1005 |
\def\secondcaption{\refstepcounter\@captype\@dblarg%
|
|
1006 |
{\@secondcaption\@captype}}
|
|
1007 |
|
|
1008 |
\long\def\@firstcaption#1[#2]#3{\addcontentsline{\csname
|
|
1009 |
ext@#1\endcsname}{#1}{\protect\numberline{\csname
|
|
1010 |
the#1\endcsname}{\ignorespaces #2}}\begingroup
|
|
1011 |
\@parboxrestore
|
|
1012 |
\vskip3pt
|
|
1013 |
\@maketwocaptions{\csname fnum@#1\endcsname}{\ignorespaces #3}%
|
|
1014 |
\ignorespaces\hspace{.073\textwidth}\hfil%
|
|
1015 |
\endgroup}
|
|
1016 |
|
|
1017 |
\long\def\@secondcaption#1[#2]#3{\addcontentsline{\csname
|
|
1018 |
ext@#1\endcsname}{#1}{\protect\numberline{\csname
|
|
1019 |
the#1\endcsname}{\ignorespaces #2}}\begingroup
|
|
1020 |
\@parboxrestore
|
|
1021 |
\@maketwocaptions{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
|
|
1022 |
\endgroup}
|
|
1023 |
|
|
1024 |
\long\def\@maketwocaptions#1#2{%
|
|
1025 |
\parbox[t]{.46\textwidth}{{\floatlegendstyle #1\floatcounterend} #2}}
|
|
1026 |
|
|
1027 |
\newdimen\figgap\figgap=14.2pt
|
|
1028 |
%
|
|
1029 |
\long\def\@makesidecaption#1#2{%
|
|
1030 |
\setbox0=\vbox{\hsize=\@tempdima
|
|
1031 |
\captionstyle{\floatlegendstyle
|
|
1032 |
#1\floatcounterend}#2}%
|
|
1033 |
\ifdim\instindent<\z@
|
|
1034 |
\ifdim\ht0>-\instindent
|
|
1035 |
\advance\instindent by\ht0
|
|
1036 |
\typeout{^^JClass-Warning: Legend of \string\sidecaption\space for
|
|
1037 |
\@captype\space\csname the\@captype\endcsname
|
|
1038 |
^^Jis \the\instindent\space taller than the corresponding float -
|
|
1039 |
^^Jyou'd better switch the environment. }%
|
|
1040 |
\instindent\z@
|
|
1041 |
\fi
|
|
1042 |
\else
|
|
1043 |
\ifdim\ht0<\instindent
|
|
1044 |
\advance\instindent by-\ht0
|
|
1045 |
\advance\instindent by-\dp0\relax
|
|
1046 |
\advance\instindent by\topskip
|
|
1047 |
\advance\instindent by-11pt
|
|
1048 |
\else
|
|
1049 |
\advance\instindent by-\ht0
|
|
1050 |
\instindent=-\instindent
|
|
1051 |
\typeout{^^JClass-Warning: Legend of \string\sidecaption\space for
|
|
1052 |
\@captype\space\csname the\@captype\endcsname
|
|
1053 |
^^Jis \the\instindent\space taller than the corresponding float -
|
|
1054 |
^^Jyou'd better switch the environment. }%
|
|
1055 |
\instindent\z@
|
|
1056 |
\fi
|
|
1057 |
\fi
|
|
1058 |
\parbox[b]{\@tempdima}{\captionstyle{\floatlegendstyle
|
|
1059 |
#1\floatcounterend}#2%
|
|
1060 |
\ifdim\instindent>\z@ \\
|
|
1061 |
\vrule\@width\z@\@height\instindent
|
|
1062 |
\@depth\z@
|
|
1063 |
\fi}}
|
|
1064 |
\def\sidecaption{\@ifnextchar[\sidec@ption{\sidec@ption[b]}}
|
|
1065 |
\def\sidec@ption[#1]#2\caption{%
|
|
1066 |
\setbox\@tempboxa=\hbox{\ignorespaces#2\unskip}%
|
|
1067 |
\if@twocolumn
|
|
1068 |
\ifdim\hsize<\textwidth\else
|
|
1069 |
\ifdim\wd\@tempboxa<\columnwidth
|
|
1070 |
\typeout{Double column float fits into single column -
|
|
1071 |
^^Jyou'd better switch the environment. }%
|
|
1072 |
\fi
|
|
1073 |
\fi
|
|
1074 |
\fi
|
|
1075 |
\instindent=\ht\@tempboxa
|
|
1076 |
\advance\instindent by\dp\@tempboxa
|
|
1077 |
\if t#1
|
|
1078 |
\else
|
|
1079 |
\instindent=-\instindent
|
|
1080 |
\fi
|
|
1081 |
\@tempdima=\hsize
|
|
1082 |
\advance\@tempdima by-\figgap
|
|
1083 |
\advance\@tempdima by-\wd\@tempboxa
|
|
1084 |
\ifdim\@tempdima<3cm
|
|
1085 |
\typeout{\string\sidecaption: No sufficient room for the legend;
|
|
1086 |
using normal \string\caption. }%
|
|
1087 |
\unhbox\@tempboxa
|
|
1088 |
\let\@capcommand=\@caption
|
|
1089 |
\else
|
|
1090 |
\ifdim\@tempdima<4.5cm
|
|
1091 |
\typeout{\string\sidecaption: Room for the legend very narrow;
|
|
1092 |
using \string\raggedright. }%
|
|
1093 |
\toks@\expandafter{\captionstyle\sloppy
|
|
1094 |
\rightskip=0ptplus6mm\relax}%
|
|
1095 |
\def\captionstyle{\the\toks@}%
|
|
1096 |
\fi
|
|
1097 |
\let\@capcommand=\@sidecaption
|
|
1098 |
\leavevmode
|
|
1099 |
\unhbox\@tempboxa
|
|
1100 |
\hfill
|
|
1101 |
\fi
|
|
1102 |
\refstepcounter\@captype
|
|
1103 |
\@dblarg{\@capcommand\@captype}}
|
|
1104 |
\long\def\@sidecaption#1[#2]#3{\addcontentsline{\csname
|
|
1105 |
ext@#1\endcsname}{#1}{\protect\numberline{\csname
|
|
1106 |
the#1\endcsname}{\ignorespaces #2}}\begingroup
|
|
1107 |
\@parboxrestore
|
|
1108 |
\@makesidecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
|
|
1109 |
\endgroup}
|
|
1110 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
1111 |
|
|
1112 |
\def\fig@type{figure}
|
|
1113 |
|
|
1114 |
\def\leftlegendglue{\hfil}
|
|
1115 |
\newdimen\figcapgap\figcapgap=3pt
|
|
1116 |
\newdimen\tabcapgap\tabcapgap=5.5pt
|
|
1117 |
|
|
1118 |
\long\def\@makecaption#1#2{%
|
|
1119 |
\captionstyle
|
|
1120 |
\ifx\@captype\fig@type
|
|
1121 |
\vskip\figcapgap
|
|
1122 |
\fi
|
|
1123 |
\setbox\@tempboxa\hbox{{\floatlegendstyle #1\floatcounterend}%
|
|
1124 |
\capstrut #2}%
|
|
1125 |
\ifdim \wd\@tempboxa >\hsize
|
|
1126 |
{\floatlegendstyle #1\floatcounterend}\capstrut #2\par
|
|
1127 |
\else
|
|
1128 |
\hbox to\hsize{\leftlegendglue\unhbox\@tempboxa\hfil}%
|
|
1129 |
\fi
|
|
1130 |
\ifx\@captype\fig@type\else
|
|
1131 |
\vskip\tabcapgap
|
|
1132 |
\fi}
|
|
1133 |
|
|
1134 |
\newcounter{merk}
|
|
1135 |
\def\endfigure{\resetsubfig\end@float}
|
|
1136 |
\@namedef{endfigure*}{\resetsubfig\end@dblfloat}
|
|
1137 |
\let\resetsubfig\relax
|
|
1138 |
\def\subfigures{\stepcounter{figure}\setcounter{merk}{\value{figure}}%
|
|
1139 |
\setcounter{figure}{0}\def\thefigure{\if@numart\else\thechapter.\fi
|
|
1140 |
\@arabic\c@merk\alph{figure}}%
|
|
1141 |
\def\resetsubfig{\setcounter{figure}{\value{merk}}}}
|
|
1142 |
\let\leftlegendglue\relax
|
|
1143 |
|
|
1144 |
|
|
1145 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
1146 |
%
|
|
1147 |
% This is bibbook.xxx
|
|
1148 |
%
|
|
1149 |
% It redefines the "bibliography" environment.
|
|
1150 |
%
|
|
1151 |
% Usage: \begin{thebibliography}[label]{title}
|
|
1152 |
%
|
|
1153 |
% where "title" is the text of the title which will be
|
|
1154 |
% typeset, e.g. "References" or "Bibliography". It must
|
|
1155 |
% be given.
|
|
1156 |
%
|
|
1157 |
% together with "bibay" style option (e.g.
|
|
1158 |
% \documentstyle[bibay]{article}):
|
|
1159 |
%
|
|
1160 |
% \bibitem{label}{key}{referenced text}
|
|
1161 |
% for author-year-citation
|
|
1162 |
%
|
|
1163 |
% without style option (as described by Lamport):
|
|
1164 |
%
|
|
1165 |
% \bibitem[label]{key}
|
|
1166 |
% \bibitem{key}
|
|
1167 |
%
|
|
1168 |
% \cite{key} (as described by Lamport)
|
|
1169 |
%
|
|
1170 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
1171 |
|
|
1172 |
% definition of \begin{thebibliography}
|
|
1173 |
|
|
1174 |
\def\thebibliography{\@ifnextchar[{\@lThebibliography}%
|
|
1175 |
{\@Thebibliography}}
|
|
1176 |
|
|
1177 |
\def\@lThebibliography[#1]#2{\chapter*{#2\@mkboth{#2}{#2}}\small\rm
|
|
1178 |
\list{\arabic{enumiv}.}{\settowidth\labelwidth{#1}%
|
|
1179 |
\leftmargin\labelwidth
|
|
1180 |
\advance\leftmargin\labelsep
|
|
1181 |
\usecounter{enumiv}%
|
|
1182 |
\let\p@enumiv\@empty
|
|
1183 |
\def\theenumiv{\arabic{enumiv}}}%
|
|
1184 |
\def\newblock{\hskip .11em plus .33em minus .07em}%
|
|
1185 |
\sloppy\clubpenalty4000\widowpenalty4000
|
|
1186 |
\sfcode`\.=1000\relax}
|
|
1187 |
|
|
1188 |
\def\@Thebibliography#1{\chapter*{#1\@mkboth{#1}{#1}}\small\rm
|
|
1189 |
\list{\arabic{enumiv}.}%
|
|
1190 |
{\if@bibay
|
|
1191 |
\settowidth\labelwidth{\hspace{10\p@}\hskip-\labelsep}%
|
|
1192 |
\else
|
|
1193 |
\settowidth\labelwidth{\hspace\parindent\hskip-\labelsep}%
|
|
1194 |
\fi
|
|
1195 |
\usecounter{enumiv}%
|
|
1196 |
\let\p@enumiv\@empty
|
|
1197 |
\def\theenumiv{\arabic{enumiv}}%
|
|
1198 |
\leftmargin\labelwidth
|
|
1199 |
\advance\leftmargin\labelsep}
|
|
1200 |
\def\newblock{\hskip .11em plus .33em minus .07em}
|
|
1201 |
\sloppy\clubpenalty4000\widowpenalty4000
|
|
1202 |
\sfcode`\.=1000\relax}
|
|
1203 |
|
|
1204 |
\let\endthebibliography=\endlist
|
|
1205 |
|
|
1206 |
% definition of \bibitem and \cite
|
|
1207 |
|
|
1208 |
\def\ds@bibay{\@bibaytrue
|
|
1209 |
\def\bibitem{\@bibitem}%
|
|
1210 |
\def\@bibitem##1##2##3{\ifx!##1!\item[]\hskip-\labelwidth
|
|
1211 |
\hskip-\labelsep\else\item[\@biblabel{##1}]\fi
|
|
1212 |
\if@filesw
|
|
1213 |
{\def\protect####1{\string ####1\space}\immediate
|
|
1214 |
\write\@auxout{\string\bibcite{##2}{##3}}}%
|
|
1215 |
\fi\ignorespaces}%
|
|
1216 |
%
|
|
1217 |
\def\cite{\@ifnextchar[{\@tempswatrue\@citex}%
|
|
1218 |
{\@tempswafalse\@citex[]}}%
|
|
1219 |
%
|
|
1220 |
\def\@citex[##1]##2{%
|
|
1221 |
\if@filesw
|
|
1222 |
\immediate\write\@auxout{\string\citation{##2}}%
|
|
1223 |
\fi
|
|
1224 |
\def\@citea{}%
|
|
1225 |
\@cite{\@for\@citeb:=##2\do
|
|
1226 |
{\@citea\def\@citea{,\penalty\@m\ }\@ifundefined
|
|
1227 |
{b@\@citeb}{{\bf ?}\@warning
|
|
1228 |
{Citation `\@citeb' on page \thepage \space undefined}}%
|
|
1229 |
\hbox{\csname b@\@citeb\endcsname}}}%
|
|
1230 |
{##1}}%
|
|
1231 |
%
|
|
1232 |
\def\@cite##1##2{{##1\if@tempswa , ##2\fi}}%
|
|
1233 |
\def\@biblabel##1{##1\hfill}}
|
|
1234 |
|
|
1235 |
\def\bibitem{\@ifnextchar[{\@lbibitem}{\@bibitem}}
|
|
1236 |
\def\@lbibitem[#1]#2{\item[\@biblabel{#1}]\if@filesw
|
|
1237 |
{\def\protect##1{\string ##1\space}\immediate
|
|
1238 |
\write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces}
|
|
1239 |
%
|
|
1240 |
\def\@bibitem#1{\item\if@filesw \immediate\write\@auxout
|
|
1241 |
{\string\bibcite{#1}{\the\c@enumiv}}\fi\ignorespaces}
|
|
1242 |
%
|
|
1243 |
\def\cite{\@ifnextchar[{\@tempswatrue\@citex}{\@tempswafalse\@citex[]}}
|
|
1244 |
%
|
|
1245 |
\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
|
|
1246 |
\def\@citea{}%
|
|
1247 |
\@cite{\@for\@citeb:=#2\do
|
|
1248 |
{\@citea\def\@citea{,\penalty\@m\ }\@ifundefined
|
|
1249 |
{b@\@citeb}{{\bf ?}\@warning
|
|
1250 |
{Citation `\@citeb' on page \thepage \space undefined}}%
|
|
1251 |
\hbox{\csname b@\@citeb\endcsname}}}%
|
|
1252 |
{#1}}
|
|
1253 |
\def\@cite#1#2{[{#1\if@tempswa , #2\fi}]}
|
|
1254 |
\def\@biblabel#1{[#1]\hfill}
|
|
1255 |
|
|
1256 |
|
|
1257 |
|
|
1258 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
1259 |
%
|
|
1260 |
% This is fonotebk.xxx
|
|
1261 |
%
|
|
1262 |
% It redefines how footnotes will be typeset.
|
|
1263 |
%
|
|
1264 |
% Usage like described by Lamport.
|
|
1265 |
%
|
|
1266 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
1267 |
\newdimen\footnoterulewidth
|
|
1268 |
\footnoterulewidth=1.666cm
|
|
1269 |
|
|
1270 |
\def\footnoterule{\kern-3\p@
|
|
1271 |
\hrule width\footnoterulewidth
|
|
1272 |
\kern 2.6\p@}
|
|
1273 |
|
|
1274 |
\newdimen\foot@parindent
|
|
1275 |
\foot@parindent 10.83\p@
|
|
1276 |
|
|
1277 |
%\long\def\@makefntext#1{\parindent\foot@parindent\noindent
|
|
1278 |
% \hbox to\foot@parindent{\hss$\m@th^{\@thefnmark}$\kern3pt}#1}
|
|
1279 |
\long\def\@makefntext#1{\@setpar{\@@par\@tempdima \hsize
|
|
1280 |
\advance\@tempdima-\foot@parindent\parshape\@ne\foot@parindent
|
|
1281 |
\@tempdima}\par
|
|
1282 |
\parindent \foot@parindent\noindent \hbox to \z@{%
|
|
1283 |
\hss\hss$^{\@thefnmark}$ }#1}
|
|
1284 |
|
|
1285 |
|
|
1286 |
|
|
1287 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
1288 |
%
|
|
1289 |
% This is environ.tex
|
|
1290 |
%
|
|
1291 |
% It defines the environment for acknowledgements.
|
|
1292 |
% and noteadd
|
|
1293 |
%
|
|
1294 |
% Usage e.g.: \begin{acknowledgement}
|
|
1295 |
% Text
|
|
1296 |
% \end{acknowledgement}
|
|
1297 |
%
|
|
1298 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
1299 |
% Define `abstract' environment
|
|
1300 |
\def\acknowledgement{\par\addvspace{17pt}\small\rm
|
|
1301 |
\trivlist\item[\hskip\labelsep
|
|
1302 |
{\it\ackname}]}
|
|
1303 |
\def\endacknowledgement{\endtrivlist\addvspace{6pt}}
|
|
1304 |
% Define `noteadd' environment
|
|
1305 |
\def\noteadd{\par\addvspace{17pt}\small\rm
|
|
1306 |
\trivlist\item[\hskip\labelsep
|
|
1307 |
{\it\noteaddname}]}
|
|
1308 |
\def\endnoteadd{\endtrivlist\addvspace{6pt}}
|
|
1309 |
|
|
1310 |
|
|
1311 |
|
|
1312 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
1313 |
%
|
|
1314 |
% This is item.xxx
|
|
1315 |
%
|
|
1316 |
% It redefines the kind of label for "itemize", "enumerate"
|
|
1317 |
% and "description" environment. The last is extended by
|
|
1318 |
% an optional parameter. Its length is used for overall
|
|
1319 |
% indentation.
|
|
1320 |
%
|
|
1321 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
1322 |
|
|
1323 |
% labels of enumerate
|
|
1324 |
|
|
1325 |
\def\labelenumi{\theenumi.}
|
|
1326 |
\def\labelenumii{\theenumii)}
|
|
1327 |
\def\theenumii{\alph{enumii}}
|
|
1328 |
\def\p@enumii{\theenumi}
|
|
1329 |
|
|
1330 |
% labels of itemize
|
|
1331 |
|
|
1332 |
\def\labelitemi{\bf --}
|
|
1333 |
\def\labelitemii{\bf --}
|
|
1334 |
\def\labelitemiii{$\bullet$}
|
|
1335 |
\def\labelitemiv{$\cdot$}
|
|
1336 |
|
|
1337 |
% labels of description
|
|
1338 |
\def\descriptionlabel#1{\hspace\labelsep #1\hfil}
|
|
1339 |
|
|
1340 |
% make indentations changeable
|
|
1341 |
|
|
1342 |
\def\setitemindent#1{\settowidth{\labelwidth}{#1}%
|
|
1343 |
\leftmargini\labelwidth
|
|
1344 |
\advance\leftmargini\labelsep
|
|
1345 |
\def\@listi{\leftmargin\leftmargini
|
|
1346 |
\labelwidth\leftmargini\advance\labelwidth by -\labelsep
|
|
1347 |
\parsep=\parskip
|
|
1348 |
\topsep=\medskipamount
|
|
1349 |
\itemsep=\parskip \advance\itemsep by -\parsep}}
|
|
1350 |
\def\setitemitemindent#1{\settowidth{\labelwidth}{#1}%
|
|
1351 |
\leftmarginii\labelwidth
|
|
1352 |
\advance\leftmarginii\labelsep
|
|
1353 |
\def\@listii{\leftmargin\leftmarginii
|
|
1354 |
\labelwidth\leftmarginii\advance\labelwidth by -\labelsep
|
|
1355 |
\parsep=\parskip
|
|
1356 |
\topsep=\z@
|
|
1357 |
\itemsep=\parskip \advance\itemsep by -\parsep}}
|
|
1358 |
%
|
|
1359 |
% adjusted environment "description"
|
|
1360 |
% if an optional parameter (at the first two levels of lists)
|
|
1361 |
% is present, its width is considered to be the widest mark
|
|
1362 |
% throughout the current list.
|
|
1363 |
\def\description{\@ifnextchar[{\@describe}{\list{}{\labelwidth\z@
|
|
1364 |
\itemindent-\leftmargin \let\makelabel\descriptionlabel}}}
|
|
1365 |
%
|
|
1366 |
\def\describelabel#1{#1\hfil}
|
|
1367 |
\def\@describe[#1]{\relax\ifnum\@listdepth=0
|
|
1368 |
\setitemindent{#1}\else\ifnum\@listdepth=1
|
|
1369 |
\setitemitemindent{#1}\fi\fi
|
|
1370 |
\list{--}{\let\makelabel\describelabel}}
|
|
1371 |
|
|
1372 |
|
|
1373 |
|
|
1374 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
1375 |
%
|
|
1376 |
% This is index.xxx
|
|
1377 |
%
|
|
1378 |
% It defines miscelaneous addons used for the preparation
|
|
1379 |
% of an index.
|
|
1380 |
%
|
|
1381 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
1382 |
|
|
1383 |
\def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi
|
|
1384 |
\columnseprule \z@
|
|
1385 |
\columnsep 1cc\twocolumn[\@makeschapterhead{\indexname}%
|
|
1386 |
\csname indexstarthook\endcsname]%
|
|
1387 |
\@mkboth{\indexname}{\indexname}%
|
|
1388 |
\thispagestyle{empty}\parindent\z@
|
|
1389 |
\rightskip0\p@ plus 40\p@
|
|
1390 |
\parskip\z@ plus .3\p@\relax\let\item\@idxitem
|
|
1391 |
\def\,{\relax\ifmmode\mskip\thinmuskip
|
|
1392 |
\else\hskip0.2em\ignorespaces\fi}%
|
|
1393 |
\small\rm}
|
|
1394 |
|
|
1395 |
\def\idxquad{\hskip 10\p@}% space that divides entry from number
|
|
1396 |
|
|
1397 |
\def\@idxitem{\par\hangindent 10\p@}
|
|
1398 |
|
|
1399 |
\def\subitem{\par\setbox0=\hbox{--\enspace}% second order
|
|
1400 |
\noindent\hangindent\wd0\box0}% index entry
|
|
1401 |
|
|
1402 |
\def\subsubitem{\par\setbox0=\hbox{--\,--\enspace}% third
|
|
1403 |
\noindent\hangindent\wd0\box0}% order index entry
|
|
1404 |
|
|
1405 |
\def\endtheindex{\if@restonecol\onecolumn\else\clearpage\fi}
|
|
1406 |
|
|
1407 |
\def\indexspace{\par \vskip 10\p@ plus5\p@ minus3\p@\relax}
|
|
1408 |
|
|
1409 |
|
|
1410 |
|
|
1411 |
|
|
1412 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
1413 |
%
|
|
1414 |
% This is numberbk.xxx
|
|
1415 |
%
|
|
1416 |
% It redefines the kind of numeration for figures,
|
|
1417 |
% tables and equations. With style option "numart" they
|
|
1418 |
% are numbered with "no.", otherwise with "kapno.no."
|
|
1419 |
%
|
|
1420 |
% e.g. \documentstyle[numart]{article} gives a
|
|
1421 |
% numbering like in article.sty defined.
|
|
1422 |
%
|
|
1423 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
1424 |
\def\@takefromreset#1#2{%
|
|
1425 |
\def\@tempa{#1}%
|
|
1426 |
\let\@tempd\@elt
|
|
1427 |
\def\@elt##1{%
|
|
1428 |
\def\@tempb{##1}%
|
|
1429 |
\ifx\@tempa\@tempb\else
|
|
1430 |
\@addtoreset{##1}{#2}%
|
|
1431 |
\fi}%
|
|
1432 |
\expandafter\expandafter\let\expandafter\@tempc\csname cl@#2\endcsname
|
|
1433 |
\expandafter\def\csname cl@#2\endcsname{}%
|
|
1434 |
\@tempc
|
|
1435 |
\let\@elt\@tempd
|
|
1436 |
}
|
|
1437 |
%
|
|
1438 |
\def\ds@numart{\@numarttrue
|
|
1439 |
\@takefromreset{figure}{chapter}%
|
|
1440 |
\@takefromreset{table}{chapter}%
|
|
1441 |
\@takefromreset{equation}{chapter}%
|
|
1442 |
\def\thefigure{\@arabic\c@figure}%
|
|
1443 |
\def\thetable{\@arabic\c@table}%
|
|
1444 |
\def\theequation{\arabic{equation}}}
|
|
1445 |
%
|
|
1446 |
\def\thefigure{\thechapter.\@arabic\c@figure}
|
|
1447 |
\def\thetable{\thechapter.\@arabic\c@table}
|
|
1448 |
\def\theequation{\thechapter.\arabic{equation}}
|
|
1449 |
\@addtoreset{figure}{chapter}
|
|
1450 |
\@addtoreset{table}{chapter}
|
|
1451 |
\@addtoreset{equation}{chapter}
|
|
1452 |
\endinput
|
|
1453 |
|