1 % LLNCS DOCUMENT CLASS -- version 2.14 (17-Aug-2004)
\r
2 % Springer Verlag LaTeX2e support for Lecture Notes in Computer Science
\r
6 %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
\r
7 %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
\r
8 %% Digits \0\1\2\3\4\5\6\7\8\9
\r
9 %% Exclamation \! Double quote \" Hash (number) \#
\r
10 %% Dollar \$ Percent \% Ampersand \&
\r
11 %% Acute accent \' Left paren \( Right paren \)
\r
12 %% Asterisk \* Plus \+ Comma \,
\r
13 %% Minus \- Point \. Solidus \/
\r
14 %% Colon \: Semicolon \; Less than \<
\r
15 %% Equals \= Greater than \> Question mark \?
\r
16 %% Commercial at \@ Left bracket \[ Backslash \\
\r
17 %% Right bracket \] Circumflex \^ Underscore \_
\r
18 %% Grave accent \` Left brace \{ Vertical bar \|
\r
19 %% Right brace \} Tilde \~}
\r
21 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
\r
22 \ProvidesClass{llncs}[2004/08/17 v2.14
\r
23 ^^J LaTeX document class for Lecture Notes in Computer Science]
\r
25 \let\if@envcntreset\iffalse
\r
26 \DeclareOption{envcountreset}{\let\if@envcntreset\iftrue}
\r
27 \DeclareOption{citeauthoryear}{\let\citeauthoryear=Y}
\r
28 \DeclareOption{oribibl}{\let\oribibl=Y}
\r
29 \let\if@custvec\iftrue
\r
30 \DeclareOption{orivec}{\let\if@custvec\iffalse}
\r
31 \let\if@envcntsame\iffalse
\r
32 \DeclareOption{envcountsame}{\let\if@envcntsame\iftrue}
\r
33 \let\if@envcntsect\iffalse
\r
34 \DeclareOption{envcountsect}{\let\if@envcntsect\iftrue}
\r
35 \let\if@runhead\iffalse
\r
36 \DeclareOption{runningheads}{\let\if@runhead\iftrue}
\r
38 \let\if@openbib\iffalse
\r
39 \DeclareOption{openbib}{\let\if@openbib\iftrue}
\r
42 \let\switcht@@therlang\relax
\r
43 \def\ds@deutsch{\def\switcht@@therlang{\switcht@deutsch}}
\r
44 \def\ds@francais{\def\switcht@@therlang{\switcht@francais}}
\r
46 \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\r
50 \LoadClass[twoside]{article}
\r
51 \RequirePackage{multicol} % needed for the list of participants, index
\r
53 \setlength{\textwidth}{12.2cm}
\r
54 \setlength{\textheight}{19.3cm}
\r
55 \renewcommand\@pnumwidth{2em}
\r
56 \renewcommand\@tocrmarg{3.5em}
\r
58 \def\@dottedtocline#1#2#3#4#5{%
\r
59 \ifnum #1>\c@tocdepth \else
\r
60 \vskip \z@ \@plus.2\p@
\r
61 {\leftskip #2\relax \rightskip \@tocrmarg \advance\rightskip by 0pt plus 2cm
\r
62 \parfillskip -\rightskip \pretolerance=10000
\r
63 \parindent #2\relax\@afterindenttrue
\r
64 \interlinepenalty\@M
\r
67 \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip
\r
69 \leaders\hbox{$\m@th
\r
70 \mkern \@dotsep mu\hbox{.}\mkern \@dotsep
\r
73 \hb@xt@\@pnumwidth{\hfil\normalfont \normalcolor #5}%
\r
77 \def\switcht@albion{%
\r
78 \def\abstractname{Abstract.}
\r
79 \def\ackname{Acknowledgement.}
\r
81 \def\lastandname{\unskip, and}
\r
82 \def\appendixname{Appendix}
\r
83 \def\chaptername{Chapter}
\r
84 \def\claimname{Claim}
\r
85 \def\conjecturename{Conjecture}
\r
86 \def\contentsname{Table of Contents}
\r
87 \def\corollaryname{Corollary}
\r
88 \def\definitionname{Definition}
\r
89 \def\examplename{Example}
\r
90 \def\exercisename{Exercise}
\r
91 \def\figurename{Fig.}
\r
92 \def\keywordname{{\bf Key words:}}
\r
93 \def\indexname{Index}
\r
94 \def\lemmaname{Lemma}
\r
95 \def\contriblistname{List of Contributors}
\r
96 \def\listfigurename{List of Figures}
\r
97 \def\listtablename{List of Tables}
\r
98 \def\mailname{{\it Correspondence to\/}:}
\r
99 \def\noteaddname{Note added in proof}
\r
100 \def\notename{Note}
\r
101 \def\partname{Part}
\r
102 \def\problemname{Problem}
\r
103 \def\proofname{Proof}
\r
104 \def\propertyname{Property}
\r
105 \def\propositionname{Proposition}
\r
106 \def\questionname{Question}
\r
107 \def\remarkname{Remark}
\r
109 \def\solutionname{Solution}
\r
110 \def\subclassname{{\it Subject Classifications\/}:}
\r
111 \def\tablename{Table}
\r
112 \def\theoremname{Theorem}}
\r
114 % Names of theorem like environments are already defined
\r
115 % but must be translated if another language is chosen
\r
118 \def\switcht@francais{%\typeout{On parle francais.}%
\r
119 \def\abstractname{R\'esum\'e.}%
\r
120 \def\ackname{Remerciements.}%
\r
122 \def\lastandname{ et}%
\r
123 \def\appendixname{Appendice}
\r
124 \def\chaptername{Chapitre}%
\r
125 \def\claimname{Pr\'etention}%
\r
126 \def\conjecturename{Hypoth\`ese}%
\r
127 \def\contentsname{Table des mati\`eres}%
\r
128 \def\corollaryname{Corollaire}%
\r
129 \def\definitionname{D\'efinition}%
\r
130 \def\examplename{Exemple}%
\r
131 \def\exercisename{Exercice}%
\r
132 \def\figurename{Fig.}%
\r
133 \def\keywordname{{\bf Mots-cl\'e:}}
\r
134 \def\indexname{Index}
\r
135 \def\lemmaname{Lemme}%
\r
136 \def\contriblistname{Liste des contributeurs}
\r
137 \def\listfigurename{Liste des figures}%
\r
138 \def\listtablename{Liste des tables}%
\r
139 \def\mailname{{\it Correspondence to\/}:}
\r
140 \def\noteaddname{Note ajout\'ee \`a l'\'epreuve}%
\r
141 \def\notename{Remarque}%
\r
142 \def\partname{Partie}%
\r
143 \def\problemname{Probl\`eme}%
\r
144 \def\proofname{Preuve}%
\r
145 \def\propertyname{Caract\'eristique}%
\r
146 %\def\propositionname{Proposition}%
\r
147 \def\questionname{Question}%
\r
148 \def\remarkname{Remarque}%
\r
150 \def\solutionname{Solution}%
\r
151 \def\subclassname{{\it Subject Classifications\/}:}
\r
152 \def\tablename{Tableau}%
\r
153 \def\theoremname{Th\'eor\`eme}%
\r
157 \def\switcht@deutsch{%\typeout{Man spricht deutsch.}%
\r
158 \def\abstractname{Zusammenfassung.}%
\r
159 \def\ackname{Danksagung.}%
\r
161 \def\lastandname{ und}%
\r
162 \def\appendixname{Anhang}%
\r
163 \def\chaptername{Kapitel}%
\r
164 \def\claimname{Behauptung}%
\r
165 \def\conjecturename{Hypothese}%
\r
166 \def\contentsname{Inhaltsverzeichnis}%
\r
167 \def\corollaryname{Korollar}%
\r
168 %\def\definitionname{Definition}%
\r
169 \def\examplename{Beispiel}%
\r
170 \def\exercisename{\"Ubung}%
\r
171 \def\figurename{Abb.}%
\r
172 \def\keywordname{{\bf Schl\"usselw\"orter:}}
\r
173 \def\indexname{Index}
\r
174 %\def\lemmaname{Lemma}%
\r
175 \def\contriblistname{Mitarbeiter}
\r
176 \def\listfigurename{Abbildungsverzeichnis}%
\r
177 \def\listtablename{Tabellenverzeichnis}%
\r
178 \def\mailname{{\it Correspondence to\/}:}
\r
179 \def\noteaddname{Nachtrag}%
\r
180 \def\notename{Anmerkung}%
\r
181 \def\partname{Teil}%
\r
182 %\def\problemname{Problem}%
\r
183 \def\proofname{Beweis}%
\r
184 \def\propertyname{Eigenschaft}%
\r
185 %\def\propositionname{Proposition}%
\r
186 \def\questionname{Frage}%
\r
187 \def\remarkname{Anmerkung}%
\r
188 \def\seename{siehe}
\r
189 \def\solutionname{L\"osung}%
\r
190 \def\subclassname{{\it Subject Classifications\/}:}
\r
191 \def\tablename{Tabelle}%
\r
192 %\def\theoremname{Theorem}%
\r
195 % Ragged bottom for the actual page
\r
196 \def\thisbottomragged{\def\@textbottom{\vskip\z@ plus.0001fil
\r
197 \global\let\@textbottom\relax}}
\r
199 \renewcommand\small{%
\r
200 \@setfontsize\small\@ixpt{11}%
\r
201 \abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@
\r
202 \abovedisplayshortskip \z@ \@plus2\p@
\r
203 \belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@
\r
204 \def\@listi{\leftmargin\leftmargini
\r
205 \parsep 0\p@ \@plus1\p@ \@minus\p@
\r
206 \topsep 8\p@ \@plus2\p@ \@minus4\p@
\r
208 \belowdisplayskip \abovedisplayskip
\r
212 \widowpenalty=10000
\r
215 \setlength\oddsidemargin {63\p@}
\r
216 \setlength\evensidemargin {63\p@}
\r
217 \setlength\marginparwidth {90\p@}
\r
219 \setlength\headsep {16\p@}
\r
221 \setlength\footnotesep{7.7\p@}
\r
222 \setlength\textfloatsep{8mm\@plus 2\p@ \@minus 4\p@}
\r
223 \setlength\intextsep {8mm\@plus 2\p@ \@minus 2\p@}
\r
225 \setcounter{secnumdepth}{2}
\r
227 \newcounter {chapter}
\r
228 \renewcommand\thechapter {\@arabic\c@chapter}
\r
230 \newif\if@mainmatter \@mainmattertrue
\r
231 \newcommand\frontmatter{\cleardoublepage
\r
232 \@mainmatterfalse\pagenumbering{Roman}}
\r
233 \newcommand\mainmatter{\cleardoublepage
\r
234 \@mainmattertrue\pagenumbering{arabic}}
\r
235 \newcommand\backmatter{\if@openright\cleardoublepage\else\clearpage\fi
\r
238 \renewcommand\part{\cleardoublepage
\r
239 \thispagestyle{empty}%
\r
247 \secdef\@part\@spart}
\r
250 \ifnum \c@secnumdepth >-2\relax
\r
251 \refstepcounter{part}%
\r
252 \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
\r
254 \addcontentsline{toc}{part}{#1}%
\r
258 \interlinepenalty \@M
\r
260 \ifnum \c@secnumdepth >-2\relax
\r
261 \huge\bfseries \partname~\thepart
\r
265 \Huge \bfseries #2\par}%
\r
269 \interlinepenalty \@M
\r
271 \Huge \bfseries #1\par}%
\r
273 \def\@endpart{\vfil\newpage
\r
276 \thispagestyle{empty}%
\r
283 \newcommand\chapter{\clearpage
\r
284 \thispagestyle{empty}%
\r
287 \secdef\@chapter\@schapter}
\r
288 \def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
\r
290 \refstepcounter{chapter}%
\r
291 \typeout{\@chapapp\space\thechapter.}%
\r
292 \addcontentsline{toc}{chapter}%
\r
293 {\protect\numberline{\thechapter}#1}%
\r
295 \addcontentsline{toc}{chapter}{#1}%
\r
298 \addcontentsline{toc}{chapter}{#1}%
\r
301 \addtocontents{lof}{\protect\addvspace{10\p@}}%
\r
302 \addtocontents{lot}{\protect\addvspace{10\p@}}%
\r
304 \@topnewpage[\@makechapterhead{#2}]%
\r
306 \@makechapterhead{#2}%
\r
309 \def\@makechapterhead#1{%
\r
312 \ifnum \c@secnumdepth >\m@ne
\r
314 \large\bfseries \@chapapp{} \thechapter
\r
319 \interlinepenalty\@M
\r
320 \Large \bfseries #1\par\nobreak
\r
323 \def\@schapter#1{\if@twocolumn
\r
324 \@topnewpage[\@makeschapterhead{#1}]%
\r
326 \@makeschapterhead{#1}%
\r
329 \def\@makeschapterhead#1{%
\r
333 \interlinepenalty\@M
\r
334 \Large \bfseries #1\par\nobreak
\r
338 \renewcommand\section{\@startsection{section}{1}{\z@}%
\r
339 {-18\p@ \@plus -4\p@ \@minus -4\p@}%
\r
340 {12\p@ \@plus 4\p@ \@minus 4\p@}%
\r
341 {\normalfont\large\bfseries\boldmath
\r
342 \rightskip=\z@ \@plus 8em\pretolerance=10000 }}
\r
343 \renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
\r
344 {-18\p@ \@plus -4\p@ \@minus -4\p@}%
\r
345 {8\p@ \@plus 4\p@ \@minus 4\p@}%
\r
346 {\normalfont\normalsize\bfseries\boldmath
\r
347 \rightskip=\z@ \@plus 8em\pretolerance=10000 }}
\r
348 \renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
\r
349 {-18\p@ \@plus -4\p@ \@minus -4\p@}%
\r
350 {-0.5em \@plus -0.22em \@minus -0.1em}%
\r
351 {\normalfont\normalsize\bfseries\boldmath}}
\r
352 \renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
\r
353 {-12\p@ \@plus -4\p@ \@minus -4\p@}%
\r
354 {-0.5em \@plus -0.22em \@minus -0.1em}%
\r
355 {\normalfont\normalsize\itshape}}
\r
356 \renewcommand\subparagraph[1]{\typeout{LLNCS warning: You should not use
\r
357 \string\subparagraph\space with this class}\vskip0.5cm
\r
358 You should not use \verb|\subparagraph| with this class.\vskip0.5cm}
\r
360 \DeclareMathSymbol{\Gamma}{\mathalpha}{letters}{"00}
\r
361 \DeclareMathSymbol{\Delta}{\mathalpha}{letters}{"01}
\r
362 \DeclareMathSymbol{\Theta}{\mathalpha}{letters}{"02}
\r
363 \DeclareMathSymbol{\Lambda}{\mathalpha}{letters}{"03}
\r
364 \DeclareMathSymbol{\Xi}{\mathalpha}{letters}{"04}
\r
365 \DeclareMathSymbol{\Pi}{\mathalpha}{letters}{"05}
\r
366 \DeclareMathSymbol{\Sigma}{\mathalpha}{letters}{"06}
\r
367 \DeclareMathSymbol{\Upsilon}{\mathalpha}{letters}{"07}
\r
368 \DeclareMathSymbol{\Phi}{\mathalpha}{letters}{"08}
\r
369 \DeclareMathSymbol{\Psi}{\mathalpha}{letters}{"09}
\r
370 \DeclareMathSymbol{\Omega}{\mathalpha}{letters}{"0A}
\r
372 \let\footnotesize\small
\r
375 \def\vec#1{\mathchoice{\mbox{\boldmath$\displaystyle#1$}}
\r
376 {\mbox{\boldmath$\textstyle#1$}}
\r
377 {\mbox{\boldmath$\scriptstyle#1$}}
\r
378 {\mbox{\boldmath$\scriptscriptstyle#1$}}}
\r
381 \def\squareforqed{\hbox{\rlap{$\sqcap$}$\sqcup$}}
\r
382 \def\qed{\ifmmode\squareforqed\else{\unskip\nobreak\hfil
\r
383 \penalty50\hskip1em\null\nobreak\hfil\squareforqed
\r
384 \parfillskip=0pt\finalhyphendemerits=0\endgraf}\fi}
\r
386 \def\getsto{\mathrel{\mathchoice {\vcenter{\offinterlineskip
\r
388 $\displaystyle##$\hfil\cr\gets\cr\to\cr}}}
\r
389 {\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr\gets
\r
391 {\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr\gets
\r
393 {\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr
\r
394 \gets\cr\to\cr}}}}}
\r
395 \def\lid{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
\r
396 $\displaystyle##$\hfil\cr<\cr\noalign{\vskip1.2pt}=\cr}}}
\r
397 {\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr<\cr
\r
398 \noalign{\vskip1.2pt}=\cr}}}
\r
399 {\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr<\cr
\r
400 \noalign{\vskip1pt}=\cr}}}
\r
401 {\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr
\r
403 \noalign{\vskip0.9pt}=\cr}}}}}
\r
404 \def\gid{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
\r
405 $\displaystyle##$\hfil\cr>\cr\noalign{\vskip1.2pt}=\cr}}}
\r
406 {\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr>\cr
\r
407 \noalign{\vskip1.2pt}=\cr}}}
\r
408 {\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr>\cr
\r
409 \noalign{\vskip1pt}=\cr}}}
\r
410 {\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr
\r
412 \noalign{\vskip0.9pt}=\cr}}}}}
\r
413 \def\grole{\mathrel{\mathchoice {\vcenter{\offinterlineskip
\r
415 $\displaystyle##$\hfil\cr>\cr\noalign{\vskip-1pt}<\cr}}}
\r
416 {\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr
\r
417 >\cr\noalign{\vskip-1pt}<\cr}}}
\r
418 {\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr
\r
419 >\cr\noalign{\vskip-0.8pt}<\cr}}}
\r
420 {\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr
\r
421 >\cr\noalign{\vskip-0.3pt}<\cr}}}}}
\r
422 \def\bbbr{{\rm I\!R}} %reelle Zahlen
\r
423 \def\bbbm{{\rm I\!M}}
\r
424 \def\bbbn{{\rm I\!N}} %natuerliche Zahlen
\r
425 \def\bbbf{{\rm I\!F}}
\r
426 \def\bbbh{{\rm I\!H}}
\r
427 \def\bbbk{{\rm I\!K}}
\r
428 \def\bbbp{{\rm I\!P}}
\r
429 \def\bbbone{{\mathchoice {\rm 1\mskip-4mu l} {\rm 1\mskip-4mu l}
\r
430 {\rm 1\mskip-4.5mu l} {\rm 1\mskip-5mu l}}}
\r
431 \def\bbbc{{\mathchoice {\setbox0=\hbox{$\displaystyle\rm C$}\hbox{\hbox
\r
432 to0pt{\kern0.4\wd0\vrule height0.9\ht0\hss}\box0}}
\r
433 {\setbox0=\hbox{$\textstyle\rm C$}\hbox{\hbox
\r
434 to0pt{\kern0.4\wd0\vrule height0.9\ht0\hss}\box0}}
\r
435 {\setbox0=\hbox{$\scriptstyle\rm C$}\hbox{\hbox
\r
436 to0pt{\kern0.4\wd0\vrule height0.9\ht0\hss}\box0}}
\r
437 {\setbox0=\hbox{$\scriptscriptstyle\rm C$}\hbox{\hbox
\r
438 to0pt{\kern0.4\wd0\vrule height0.9\ht0\hss}\box0}}}}
\r
439 \def\bbbq{{\mathchoice {\setbox0=\hbox{$\displaystyle\rm
\r
441 0.15\ht0\hbox to0pt{\kern0.4\wd0\vrule height0.8\ht0\hss}\box0}}
\r
442 {\setbox0=\hbox{$\textstyle\rm Q$}\hbox{\raise
\r
443 0.15\ht0\hbox to0pt{\kern0.4\wd0\vrule height0.8\ht0\hss}\box0}}
\r
444 {\setbox0=\hbox{$\scriptstyle\rm Q$}\hbox{\raise
\r
445 0.15\ht0\hbox to0pt{\kern0.4\wd0\vrule height0.7\ht0\hss}\box0}}
\r
446 {\setbox0=\hbox{$\scriptscriptstyle\rm Q$}\hbox{\raise
\r
447 0.15\ht0\hbox to0pt{\kern0.4\wd0\vrule height0.7\ht0\hss}\box0}}}}
\r
448 \def\bbbt{{\mathchoice {\setbox0=\hbox{$\displaystyle\rm
\r
449 T$}\hbox{\hbox to0pt{\kern0.3\wd0\vrule height0.9\ht0\hss}\box0}}
\r
450 {\setbox0=\hbox{$\textstyle\rm T$}\hbox{\hbox
\r
451 to0pt{\kern0.3\wd0\vrule height0.9\ht0\hss}\box0}}
\r
452 {\setbox0=\hbox{$\scriptstyle\rm T$}\hbox{\hbox
\r
453 to0pt{\kern0.3\wd0\vrule height0.9\ht0\hss}\box0}}
\r
454 {\setbox0=\hbox{$\scriptscriptstyle\rm T$}\hbox{\hbox
\r
455 to0pt{\kern0.3\wd0\vrule height0.9\ht0\hss}\box0}}}}
\r
456 \def\bbbs{{\mathchoice
\r
457 {\setbox0=\hbox{$\displaystyle \rm S$}\hbox{\raise0.5\ht0\hbox
\r
458 to0pt{\kern0.35\wd0\vrule height0.45\ht0\hss}\hbox
\r
459 to0pt{\kern0.55\wd0\vrule height0.5\ht0\hss}\box0}}
\r
460 {\setbox0=\hbox{$\textstyle \rm S$}\hbox{\raise0.5\ht0\hbox
\r
461 to0pt{\kern0.35\wd0\vrule height0.45\ht0\hss}\hbox
\r
462 to0pt{\kern0.55\wd0\vrule height0.5\ht0\hss}\box0}}
\r
463 {\setbox0=\hbox{$\scriptstyle \rm S$}\hbox{\raise0.5\ht0\hbox
\r
464 to0pt{\kern0.35\wd0\vrule height0.45\ht0\hss}\raise0.05\ht0\hbox
\r
465 to0pt{\kern0.5\wd0\vrule height0.45\ht0\hss}\box0}}
\r
466 {\setbox0=\hbox{$\scriptscriptstyle\rm S$}\hbox{\raise0.5\ht0\hbox
\r
467 to0pt{\kern0.4\wd0\vrule height0.45\ht0\hss}\raise0.05\ht0\hbox
\r
468 to0pt{\kern0.55\wd0\vrule height0.45\ht0\hss}\box0}}}}
\r
469 \def\bbbz{{\mathchoice {\hbox{$\mathsf\textstyle Z\kern-0.4em Z$}}
\r
470 {\hbox{$\mathsf\textstyle Z\kern-0.4em Z$}}
\r
471 {\hbox{$\mathsf\scriptstyle Z\kern-0.3em Z$}}
\r
472 {\hbox{$\mathsf\scriptscriptstyle Z\kern-0.2em Z$}}}}
\r
476 \setlength\leftmargini {17\p@}
\r
477 \setlength\leftmargin {\leftmargini}
\r
478 \setlength\leftmarginii {\leftmargini}
\r
479 \setlength\leftmarginiii {\leftmargini}
\r
480 \setlength\leftmarginiv {\leftmargini}
\r
481 \setlength \labelsep {.5em}
\r
482 \setlength \labelwidth{\leftmargini}
\r
483 \addtolength\labelwidth{-\labelsep}
\r
485 \def\@listI{\leftmargin\leftmargini
\r
486 \parsep 0\p@ \@plus1\p@ \@minus\p@
\r
487 \topsep 8\p@ \@plus2\p@ \@minus4\p@
\r
491 \def\@listii {\leftmargin\leftmarginii
\r
492 \labelwidth\leftmarginii
\r
493 \advance\labelwidth-\labelsep
\r
494 \topsep 0\p@ \@plus2\p@ \@minus\p@}
\r
495 \def\@listiii{\leftmargin\leftmarginiii
\r
496 \labelwidth\leftmarginiii
\r
497 \advance\labelwidth-\labelsep
\r
498 \topsep 0\p@ \@plus\p@\@minus\p@
\r
500 \partopsep \p@ \@plus\z@ \@minus\p@}
\r
502 \renewcommand\labelitemi{\normalfont\bfseries --}
\r
503 \renewcommand\labelitemii{$\m@th\bullet$}
\r
505 \setlength\arraycolsep{1.4\p@}
\r
506 \setlength\tabcolsep{1.4\p@}
\r
508 \def\tableofcontents{\chapter*{\contentsname\@mkboth{{\contentsname}}%
\r
510 \def\authcount##1{\setcounter{auco}{##1}\setcounter{@auth}{1}}
\r
511 \def\lastand{\ifnum\value{auco}=2\relax
\r
512 \unskip{} \andname\
\r
514 \unskip \lastandname\
\r
516 \def\and{\stepcounter{@auth}\relax
\r
517 \ifnum\value{@auth}=\value{auco}%
\r
522 \@starttoc{toc}\if@restonecol\twocolumn\fi}
\r
524 \def\l@part#1#2{\addpenalty{\@secpenalty}%
\r
525 \addvspace{2em plus\p@}% % space above part line
\r
528 \rightskip \z@ plus 5em
\r
530 \large % same size as for a contribution heading
\r
531 \bfseries\boldmath % set line in boldface
\r
532 \leavevmode % TeX command to enter horizontal mode.
\r
537 \nobreak % Never break after part entry
\r
542 \def\hyperhrefextend{\ifx\hyper@anchor\@undefined\else
\r
543 {chapter.\thechapter}\fi}
\r
545 \def\addnumcontentsmark#1#2#3{%
\r
546 \addtocontents{#1}{\protect\contentsline{#2}{\protect\numberline
\r
547 {\thechapter}#3}{\thepage}\hyperhrefextend}}
\r
548 \def\addcontentsmark#1#2#3{%
\r
549 \addtocontents{#1}{\protect\contentsline{#2}{#3}{\thepage}\hyperhrefextend}}
\r
550 \def\addcontentsmarkwop#1#2#3{%
\r
551 \addtocontents{#1}{\protect\contentsline{#2}{#3}{0}\hyperhrefextend}}
\r
553 \def\@adcmk[#1]{\ifcase #1 \or
\r
554 \def\@gtempa{\addnumcontentsmark}%
\r
555 \or \def\@gtempa{\addcontentsmark}%
\r
556 \or \def\@gtempa{\addcontentsmarkwop}%
\r
557 \fi\@gtempa{toc}{chapter}}
\r
558 \def\addtocmark{\@ifnextchar[{\@adcmk}{\@adcmk[3]}}
\r
560 \def\l@chapter#1#2{\addpenalty{-\@highpenalty}
\r
561 \vskip 1.0em plus 1pt \@tempdima 1.5em \begingroup
\r
562 \parindent \z@ \rightskip \@tocrmarg
\r
563 \advance\rightskip by 0pt plus 2cm
\r
564 \parfillskip -\rightskip \pretolerance=10000
\r
565 \leavevmode \advance\leftskip\@tempdima \hskip -\leftskip
\r
566 {\large\bfseries\boldmath#1}\ifx0#2\hfil\null
\r
569 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern
\r
570 \@dotsep mu$}\hfill
\r
571 \nobreak\hbox to\@pnumwidth{\hss #2}%
\r
573 \penalty\@highpenalty \endgroup}
\r
575 \def\l@title#1#2{\addpenalty{-\@highpenalty}
\r
576 \addvspace{8pt plus 1pt}
\r
579 \parindent \z@ \rightskip \@tocrmarg
\r
580 \advance\rightskip by 0pt plus 2cm
\r
581 \parfillskip -\rightskip \pretolerance=10000
\r
582 \leavevmode \advance\leftskip\@tempdima \hskip -\leftskip
\r
584 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern
\r
585 \@dotsep mu$}\hfill
\r
586 \nobreak\hbox to\@pnumwidth{\hss #2}\par
\r
587 \penalty\@highpenalty \endgroup}
\r
589 \def\l@author#1#2{\addpenalty{\@highpenalty}
\r
590 \@tempdima=15\p@ %\z@
\r
592 \parindent \z@ \rightskip \@tocrmarg
\r
593 \advance\rightskip by 0pt plus 2cm
\r
594 \pretolerance=10000
\r
595 \leavevmode \advance\leftskip\@tempdima %\hskip -\leftskip
\r
597 \penalty\@highpenalty \endgroup}
\r
599 \setcounter{tocdepth}{0}
\r
600 \newdimen\tocchpnum
\r
601 \newdimen\tocsecnum
\r
602 \newdimen\tocsectotal
\r
603 \newdimen\tocsubsecnum
\r
604 \newdimen\tocsubsectotal
\r
605 \newdimen\tocsubsubsecnum
\r
606 \newdimen\tocsubsubsectotal
\r
607 \newdimen\tocparanum
\r
608 \newdimen\tocparatotal
\r
609 \newdimen\tocsubparanum
\r
610 \tocchpnum=\z@ % no chapter numbers
\r
611 \tocsecnum=15\p@ % section 88. plus 2.222pt
\r
612 \tocsubsecnum=23\p@ % subsection 88.8 plus 2.222pt
\r
613 \tocsubsubsecnum=27\p@ % subsubsection 88.8.8 plus 1.444pt
\r
614 \tocparanum=35\p@ % paragraph 88.8.8.8 plus 1.666pt
\r
615 \tocsubparanum=43\p@ % subparagraph 88.8.8.8.8 plus 1.888pt
\r
616 \def\calctocindent{%
\r
617 \tocsectotal=\tocchpnum
\r
618 \advance\tocsectotal by\tocsecnum
\r
619 \tocsubsectotal=\tocsectotal
\r
620 \advance\tocsubsectotal by\tocsubsecnum
\r
621 \tocsubsubsectotal=\tocsubsectotal
\r
622 \advance\tocsubsubsectotal by\tocsubsubsecnum
\r
623 \tocparatotal=\tocsubsubsectotal
\r
624 \advance\tocparatotal by\tocparanum}
\r
627 \def\l@section{\@dottedtocline{1}{\tocchpnum}{\tocsecnum}}
\r
628 \def\l@subsection{\@dottedtocline{2}{\tocsectotal}{\tocsubsecnum}}
\r
629 \def\l@subsubsection{\@dottedtocline{3}{\tocsubsectotal}{\tocsubsubsecnum}}
\r
630 \def\l@paragraph{\@dottedtocline{4}{\tocsubsubsectotal}{\tocparanum}}
\r
631 \def\l@subparagraph{\@dottedtocline{5}{\tocparatotal}{\tocsubparanum}}
\r
633 \def\listoffigures{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
\r
634 \fi\section*{\listfigurename\@mkboth{{\listfigurename}}{{\listfigurename}}}
\r
635 \@starttoc{lof}\if@restonecol\twocolumn\fi}
\r
636 \def\l@figure{\@dottedtocline{1}{0em}{1.5em}}
\r
638 \def\listoftables{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
\r
639 \fi\section*{\listtablename\@mkboth{{\listtablename}}{{\listtablename}}}
\r
640 \@starttoc{lot}\if@restonecol\twocolumn\fi}
\r
641 \let\l@table\l@figure
\r
643 \renewcommand\listoffigures{%
\r
644 \section*{\listfigurename
\r
645 \@mkboth{\listfigurename}{\listfigurename}}%
\r
649 \renewcommand\listoftables{%
\r
650 \section*{\listtablename
\r
651 \@mkboth{\listtablename}{\listtablename}}%
\r
655 \ifx\oribibl\undefined
\r
656 \ifx\citeauthoryear\undefined
\r
657 \renewenvironment{thebibliography}[1]
\r
658 {\section*{\refname}
\r
659 \def\@biblabel##1{##1.}
\r
661 \list{\@biblabel{\@arabic\c@enumiv}}%
\r
662 {\settowidth\labelwidth{\@biblabel{#1}}%
\r
663 \leftmargin\labelwidth
\r
664 \advance\leftmargin\labelsep
\r
666 \advance\leftmargin\bibindent
\r
667 \itemindent -\bibindent
\r
668 \listparindent \itemindent
\r
671 \usecounter{enumiv}%
\r
672 \let\p@enumiv\@empty
\r
673 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
\r
675 \renewcommand\newblock{\par}%
\r
677 \renewcommand\newblock{\hskip .11em \@plus.33em \@minus.07em}%
\r
679 \sloppy\clubpenalty4000\widowpenalty4000%
\r
682 {\@latex@warning{Empty `thebibliography' environment}}%
\r
684 \def\@lbibitem[#1]#2{\item[{[#1]}\hfill]\if@filesw
\r
685 {\let\protect\noexpand\immediate
\r
686 \write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces}
\r
687 \newcount\@tempcntc
\r
688 \def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
\r
689 \@tempcnta\z@\@tempcntb\m@ne\def\@citea{}\@cite{\@for\@citeb:=#2\do
\r
691 {b@\@citeb}{\@citeo\@tempcntb\m@ne\@citea\def\@citea{,}{\bfseries
\r
693 {Citation `\@citeb' on page \thepage \space undefined}}%
\r
694 {\setbox\z@\hbox{\global\@tempcntc0\csname b@\@citeb\endcsname\relax}%
\r
695 \ifnum\@tempcntc=\z@ \@citeo\@tempcntb\m@ne
\r
696 \@citea\def\@citea{,}\hbox{\csname b@\@citeb\endcsname}%
\r
698 \advance\@tempcntb\@ne
\r
699 \ifnum\@tempcntb=\@tempcntc
\r
700 \else\advance\@tempcntb\m@ne\@citeo
\r
701 \@tempcnta\@tempcntc\@tempcntb\@tempcntc\fi\fi}}\@citeo}{#1}}
\r
702 \def\@citeo{\ifnum\@tempcnta>\@tempcntb\else
\r
703 \@citea\def\@citea{,\,\hskip\z@skip}%
\r
704 \ifnum\@tempcnta=\@tempcntb\the\@tempcnta\else
\r
705 {\advance\@tempcnta\@ne\ifnum\@tempcnta=\@tempcntb \else
\r
707 \advance\@tempcnta\m@ne\the\@tempcnta\@citea\the\@tempcntb}\fi\fi}
\r
709 \renewenvironment{thebibliography}[1]
\r
710 {\section*{\refname}
\r
713 {\settowidth\labelwidth{}%
\r
714 \leftmargin\parindent
\r
715 \itemindent=-\parindent
\r
718 \advance\leftmargin\bibindent
\r
719 \itemindent -\bibindent
\r
720 \listparindent \itemindent
\r
723 \usecounter{enumiv}%
\r
724 \let\p@enumiv\@empty
\r
725 \renewcommand\theenumiv{}}%
\r
727 \renewcommand\newblock{\par}%
\r
729 \renewcommand\newblock{\hskip .11em \@plus.33em \@minus.07em}%
\r
731 \sloppy\clubpenalty4000\widowpenalty4000%
\r
734 {\@latex@warning{Empty `thebibliography' environment}}%
\r
737 \def\@lbibitem[#1]#2{\item[]\if@filesw
\r
738 {\def\protect##1{\string ##1\space}\immediate
\r
739 \write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces}
\r
742 \@cons\@openbib@code{\noexpand\small}
\r
745 \def\idxquad{\hskip 10\p@}% space that divides entry from number
\r
747 \def\@idxitem{\par\hangindent 10\p@}
\r
749 \def\subitem{\par\setbox0=\hbox{--\enspace}% second order
\r
750 \noindent\hangindent\wd0\box0}% index entry
\r
752 \def\subsubitem{\par\setbox0=\hbox{--\,--\enspace}% third
\r
753 \noindent\hangindent\wd0\box0}% order index entry
\r
755 \def\indexspace{\par \vskip 10\p@ plus5\p@ minus3\p@\relax}
\r
757 \renewenvironment{theindex}
\r
758 {\@mkboth{\indexname}{\indexname}%
\r
759 \thispagestyle{empty}\parindent\z@
\r
760 \parskip\z@ \@plus .3\p@\relax
\r
762 \def\,{\relax\ifmmode\mskip\thinmuskip
\r
763 \else\hskip0.2em\ignorespaces\fi}%
\r
765 \begin{multicols}{2}[\@makeschapterhead{\indexname}]%
\r
769 \renewcommand\footnoterule{%
\r
771 \hrule\@width 2truecm
\r
775 \long\def\@makefntext#1{%
\r
776 \parindent \fnindent%
\r
777 \leftskip \fnindent%
\r
779 \llap{\hb@xt@1em{\hss\@makefnmark\ }}\ignorespaces#1}
\r
781 \long\def\@makecaption#1#2{%
\r
782 \vskip\abovecaptionskip
\r
783 \sbox\@tempboxa{{\bfseries #1.} #2}%
\r
784 \ifdim \wd\@tempboxa >\hsize
\r
785 {\bfseries #1.} #2\par
\r
787 \global \@minipagefalse
\r
788 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
\r
790 \vskip\belowcaptionskip}
\r
792 \def\fps@figure{htbp}
\r
793 \def\fnum@figure{\figurename\thinspace\thefigure}
\r
794 \def \@floatboxreset {%
\r
800 \def\fps@table{htbp}
\r
801 \def\fnum@table{\tablename~\thetable}
\r
802 \renewenvironment{table}
\r
803 {\setlength\abovecaptionskip{0\p@}%
\r
804 \setlength\belowcaptionskip{10\p@}%
\r
807 \renewenvironment{table*}
\r
808 {\setlength\abovecaptionskip{0\p@}%
\r
809 \setlength\belowcaptionskip{10\p@}%
\r
813 \long\def\@caption#1[#2]#3{\par\addcontentsline{\csname
\r
814 ext@#1\endcsname}{#1}{\protect\numberline{\csname
\r
815 the#1\endcsname}{\ignorespaces #2}}\begingroup
\r
817 \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
\r
820 % LaTeX does not provide a command to enter the authors institute
\r
821 % addresses. The \institute command is defined here.
\r
826 \newdimen\instindent
\r
828 \newtoks\authorrunning
\r
831 \newtoks\titlerunning
\r
834 \def\clearheadinfo{\gdef\@author{No Author Given}%
\r
835 \gdef\@title{No Title Given}%
\r
837 \gdef\@institute{No Institute Given}%
\r
839 \global\titlerunning={}\global\authorrunning={}%
\r
840 \global\toctitle={}\global\tocauthor={}}
\r
842 \def\institute#1{\gdef\@institute{#1}}
\r
844 \def\institutename{\par
\r
848 \setcounter{@inst}{1}%
\r
849 \def\and{\par\stepcounter{@inst}%
\r
850 \noindent$^{\the@inst}$\enspace\ignorespaces}%
\r
851 \setbox0=\vbox{\def\thanks##1{}\@institute}%
\r
852 \ifnum\c@@inst=1\relax
\r
855 \xdef\fnnstart{\c@@inst}%
\r
856 \setcounter{@inst}{1}%
\r
857 \noindent$^{\the@inst}$\enspace
\r
863 \def\@fnsymbol#1{\ensuremath{\ifcase#1\or\star\or{\star\star}\or
\r
864 {\star\star\star}\or \dagger\or \ddagger\or
\r
865 \mathchar "278\or \mathchar "27B\or \|\or **\or \dagger\dagger
\r
866 \or \ddagger\ddagger \else\@ctrerr\fi}}
\r
868 \def\inst#1{\unskip$^{#1}$}
\r
869 \def\fnmsep{\unskip$^,$}
\r
870 \def\email#1{{\tt#1}}
\r
871 \AtBeginDocument{\@ifundefined{url}{\def\url#1{#1}}{}%
\r
872 \@ifpackageloaded{babel}{%
\r
873 \@ifundefined{extrasenglish}{}{\addto\extrasenglish{\switcht@albion}}%
\r
874 \@ifundefined{extrasfrenchb}{}{\addto\extrasfrenchb{\switcht@francais}}%
\r
875 \@ifundefined{extrasgerman}{}{\addto\extrasgerman{\switcht@deutsch}}%
\r
876 }{\switcht@@therlang}%
\r
878 \def\homedir{\~{ }}
\r
880 \def\subtitle#1{\gdef\@subtitle{#1}}
\r
883 \renewcommand\maketitle{\newpage
\r
884 \refstepcounter{chapter}%
\r
885 \stepcounter{section}%
\r
886 \setcounter{section}{0}%
\r
887 \setcounter{subsection}{0}%
\r
888 \setcounter{figure}{0}
\r
889 \setcounter{table}{0}
\r
890 \setcounter{equation}{0}
\r
891 \setcounter{footnote}{0}%
\r
894 \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
\r
896 \ifnum \col@number=\@ne
\r
899 \twocolumn[\@maketitle]%
\r
903 \global\@topnum\z@ % Prevents figures from going at top of page.
\r
906 \thispagestyle{empty}\@thanks
\r
908 \def\\{\unskip\ \ignorespaces}\def\inst##1{\unskip{}}%
\r
909 \def\thanks##1{\unskip{}}\def\fnmsep{\unskip}%
\r
911 \advance\instindent by-\headlineindent
\r
912 \if!\the\toctitle!\addcontentsline{toc}{title}{\@title}\else
\r
913 \addcontentsline{toc}{title}{\the\toctitle}\fi
\r
915 \if!\the\titlerunning!\else
\r
916 \edef\@title{\the\titlerunning}%
\r
918 \global\setbox\titrun=\hbox{\small\rm\unboldmath\ignorespaces\@title}%
\r
919 \ifdim\wd\titrun>\instindent
\r
920 \typeout{Title too long for running head. Please supply}%
\r
921 \typeout{a shorter form with \string\titlerunning\space prior to
\r
922 \string\maketitle}%
\r
923 \global\setbox\titrun=\hbox{\small\rm
\r
924 Title Suppressed Due to Excessive Length}%
\r
926 \xdef\@title{\copy\titrun}%
\r
929 \if!\the\tocauthor!\relax
\r
930 {\def\and{\noexpand\protect\noexpand\and}%
\r
931 \protected@xdef\toc@uthor{\@author}}%
\r
933 \def\\{\noexpand\protect\noexpand\newline}%
\r
934 \protected@xdef\scratch{\the\tocauthor}%
\r
935 \protected@xdef\toc@uthor{\scratch}%
\r
937 \addtocontents{toc}{\noexpand\protect\noexpand\authcount{\the\c@auco}}%
\r
938 \addcontentsline{toc}{author}{\toc@uthor}%
\r
940 \if!\the\authorrunning!
\r
941 \value{@inst}=\value{@auth}%
\r
942 \setcounter{@auth}{1}%
\r
944 \edef\@author{\the\authorrunning}%
\r
946 \global\setbox\authrun=\hbox{\small\unboldmath\@author\unskip}%
\r
947 \ifdim\wd\authrun>\instindent
\r
948 \typeout{Names of authors too long for running head. Please supply}%
\r
949 \typeout{a shorter form with \string\authorrunning\space prior to
\r
950 \string\maketitle}%
\r
951 \global\setbox\authrun=\hbox{\small\rm
\r
952 Authors Suppressed Due to Excessive Length}%
\r
954 \xdef\@author{\copy\authrun}%
\r
955 \markboth{\@author}{\@title}%
\r
958 \setcounter{footnote}{\fnnstart}%
\r
961 \def\@maketitle{\newpage
\r
963 \def\lastand{\ifnum\value{@inst}=2\relax
\r
964 \unskip{} \andname\
\r
966 \unskip \lastandname\
\r
968 \def\and{\stepcounter{@auth}\relax
\r
969 \ifnum\value{@auth}=\value{@inst}%
\r
976 {\Large \bfseries\boldmath
\r
977 \pretolerance=10000
\r
978 \@title \par}\vskip .8cm
\r
979 \if!\@subtitle!\else {\large \bfseries\boldmath
\r
981 \pretolerance=10000
\r
982 \@subtitle \par}\vskip .8cm\fi
\r
983 \setbox0=\vbox{\setcounter{@auth}{1}\def\and{\stepcounter{@auth}}%
\r
984 \def\thanks##1{}\@author}%
\r
985 \global\value{@inst}=\value{@auth}%
\r
986 \global\value{auco}=\value{@auth}%
\r
987 \setcounter{@auth}{1}%
\r
989 \noindent\ignorespaces
\r
990 \@author\vskip.35cm}
\r
991 {\small\institutename}
\r
995 % definition of the "\spnewtheorem" command.
\r
999 % \spnewtheorem{env_nam}{caption}[within]{cap_font}{body_font}
\r
1000 % or \spnewtheorem{env_nam}[numbered_like]{caption}{cap_font}{body_font}
\r
1001 % or \spnewtheorem*{env_nam}{caption}{cap_font}{body_font}
\r
1003 % New is "cap_font" and "body_font". It stands for
\r
1004 % fontdefinition of the caption and the text itself.
\r
1006 % "\spnewtheorem*" gives a theorem without number.
\r
1008 % A defined spnewthoerem environment is used as described
\r
1011 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\r
1013 \def\@thmcountersep{}
\r
1014 \def\@thmcounterend{.}
\r
1016 \def\spnewtheorem{\@ifstar{\@sthm}{\@Sthm}}
\r
1018 % definition of \spnewtheorem with number
\r
1020 \def\@spnthm#1#2{%
\r
1021 \@ifnextchar[{\@spxnthm{#1}{#2}}{\@spynthm{#1}{#2}}}
\r
1022 \def\@Sthm#1{\@ifnextchar[{\@spothm{#1}}{\@spnthm{#1}}}
\r
1024 \def\@spxnthm#1#2[#3]#4#5{\expandafter\@ifdefinable\csname #1\endcsname
\r
1025 {\@definecounter{#1}\@addtoreset{#1}{#3}%
\r
1026 \expandafter\xdef\csname the#1\endcsname{\expandafter\noexpand
\r
1027 \csname the#3\endcsname \noexpand\@thmcountersep \@thmcounter{#1}}%
\r
1028 \expandafter\xdef\csname #1name\endcsname{#2}%
\r
1029 \global\@namedef{#1}{\@spthm{#1}{\csname #1name\endcsname}{#4}{#5}}%
\r
1030 \global\@namedef{end#1}{\@endtheorem}}}
\r
1032 \def\@spynthm#1#2#3#4{\expandafter\@ifdefinable\csname #1\endcsname
\r
1033 {\@definecounter{#1}%
\r
1034 \expandafter\xdef\csname the#1\endcsname{\@thmcounter{#1}}%
\r
1035 \expandafter\xdef\csname #1name\endcsname{#2}%
\r
1036 \global\@namedef{#1}{\@spthm{#1}{\csname #1name\endcsname}{#3}{#4}}%
\r
1037 \global\@namedef{end#1}{\@endtheorem}}}
\r
1039 \def\@spothm#1[#2]#3#4#5{%
\r
1040 \@ifundefined{c@#2}{\@latexerr{No theorem environment `#2' defined}\@eha}%
\r
1041 {\expandafter\@ifdefinable\csname #1\endcsname
\r
1042 {\global\@namedef{the#1}{\@nameuse{the#2}}%
\r
1043 \expandafter\xdef\csname #1name\endcsname{#3}%
\r
1044 \global\@namedef{#1}{\@spthm{#2}{\csname #1name\endcsname}{#4}{#5}}%
\r
1045 \global\@namedef{end#1}{\@endtheorem}}}}
\r
1047 \def\@spthm#1#2#3#4{\topsep 7\p@ \@plus2\p@ \@minus4\p@
\r
1048 \refstepcounter{#1}%
\r
1049 \@ifnextchar[{\@spythm{#1}{#2}{#3}{#4}}{\@spxthm{#1}{#2}{#3}{#4}}}
\r
1051 \def\@spxthm#1#2#3#4{\@spbegintheorem{#2}{\csname the#1\endcsname}{#3}{#4}%
\r
1054 \def\@spythm#1#2#3#4[#5]{\@spopargbegintheorem{#2}{\csname
\r
1055 the#1\endcsname}{#5}{#3}{#4}\ignorespaces}
\r
1057 \def\@spbegintheorem#1#2#3#4{\trivlist
\r
1058 \item[\hskip\labelsep{#3#1\ #2\@thmcounterend}]#4}
\r
1060 \def\@spopargbegintheorem#1#2#3#4#5{\trivlist
\r
1061 \item[\hskip\labelsep{#4#1\ #2}]{#4(#3)\@thmcounterend\ }#5}
\r
1063 % definition of \spnewtheorem* without number
\r
1065 \def\@sthm#1#2{\@Ynthm{#1}{#2}}
\r
1067 \def\@Ynthm#1#2#3#4{\expandafter\@ifdefinable\csname #1\endcsname
\r
1068 {\global\@namedef{#1}{\@Thm{\csname #1name\endcsname}{#3}{#4}}%
\r
1069 \expandafter\xdef\csname #1name\endcsname{#2}%
\r
1070 \global\@namedef{end#1}{\@endtheorem}}}
\r
1072 \def\@Thm#1#2#3{\topsep 7\p@ \@plus2\p@ \@minus4\p@
\r
1073 \@ifnextchar[{\@Ythm{#1}{#2}{#3}}{\@Xthm{#1}{#2}{#3}}}
\r
1075 \def\@Xthm#1#2#3{\@Begintheorem{#1}{#2}{#3}\ignorespaces}
\r
1077 \def\@Ythm#1#2#3[#4]{\@Opargbegintheorem{#1}
\r
1078 {#4}{#2}{#3}\ignorespaces}
\r
1080 \def\@Begintheorem#1#2#3{#3\trivlist
\r
1081 \item[\hskip\labelsep{#2#1\@thmcounterend}]}
\r
1083 \def\@Opargbegintheorem#1#2#3#4{#4\trivlist
\r
1084 \item[\hskip\labelsep{#3#1}]{#3(#2)\@thmcounterend\ }}
\r
1087 \def\@thmcountersep{.}
\r
1088 \spnewtheorem{theorem}{Theorem}[section]{\bfseries}{\itshape}
\r
1090 \spnewtheorem{theorem}{Theorem}{\bfseries}{\itshape}
\r
1092 \@addtoreset{theorem}{section}
\r
1094 \@addtoreset{theorem}{chapter}
\r
1098 %definition of divers theorem environments
\r
1099 \spnewtheorem*{claim}{Claim}{\itshape}{\rmfamily}
\r
1100 \spnewtheorem*{proof}{Proof}{\itshape}{\rmfamily}
\r
1101 \if@envcntsame % alle Umgebungen wie Theorem.
\r
1102 \def\spn@wtheorem#1#2#3#4{\@spothm{#1}[theorem]{#2}{#3}{#4}}
\r
1103 \else % alle Umgebungen mit eigenem Zaehler
\r
1104 \if@envcntsect % mit section numeriert
\r
1105 \def\spn@wtheorem#1#2#3#4{\@spxnthm{#1}{#2}[section]{#3}{#4}}
\r
1106 \else % nicht mit section numeriert
\r
1108 \def\spn@wtheorem#1#2#3#4{\@spynthm{#1}{#2}{#3}{#4}
\r
1109 \@addtoreset{#1}{section}}
\r
1111 \def\spn@wtheorem#1#2#3#4{\@spynthm{#1}{#2}{#3}{#4}
\r
1112 \@addtoreset{#1}{chapter}}%
\r
1116 \spn@wtheorem{case}{Case}{\itshape}{\rmfamily}
\r
1117 \spn@wtheorem{conjecture}{Conjecture}{\itshape}{\rmfamily}
\r
1118 \spn@wtheorem{corollary}{Corollary}{\bfseries}{\itshape}
\r
1119 \spn@wtheorem{definition}{Definition}{\bfseries}{\itshape}
\r
1120 \spn@wtheorem{example}{Example}{\itshape}{\rmfamily}
\r
1121 \spn@wtheorem{exercise}{Exercise}{\itshape}{\rmfamily}
\r
1122 \spn@wtheorem{lemma}{Lemma}{\bfseries}{\itshape}
\r
1123 \spn@wtheorem{note}{Note}{\itshape}{\rmfamily}
\r
1124 \spn@wtheorem{problem}{Problem}{\itshape}{\rmfamily}
\r
1125 \spn@wtheorem{property}{Property}{\itshape}{\rmfamily}
\r
1126 \spn@wtheorem{proposition}{Proposition}{\bfseries}{\itshape}
\r
1127 \spn@wtheorem{question}{Question}{\itshape}{\rmfamily}
\r
1128 \spn@wtheorem{solution}{Solution}{\itshape}{\rmfamily}
\r
1129 \spn@wtheorem{remark}{Remark}{\itshape}{\rmfamily}
\r
1131 \def\@takefromreset#1#2{%
\r
1136 \ifx\@tempa\@tempb\else
\r
1137 \@addtoreset{##1}{#2}%
\r
1139 \expandafter\expandafter\let\expandafter\@tempc\csname cl@#2\endcsname
\r
1140 \expandafter\def\csname cl@#2\endcsname{}%
\r
1144 \def\theopargself{\def\@spopargbegintheorem##1##2##3##4##5{\trivlist
\r
1145 \item[\hskip\labelsep{##4##1\ ##2}]{##4##3\@thmcounterend\ }##5}
\r
1146 \def\@Opargbegintheorem##1##2##3##4{##4\trivlist
\r
1147 \item[\hskip\labelsep{##3##1}]{##3##2\@thmcounterend\ }}
\r
1150 \renewenvironment{abstract}{%
\r
1151 \list{}{\advance\topsep by0.35cm\relax\small
\r
1154 \listparindent=\z@
\r
1155 \itemindent\listparindent
\r
1156 \rightmargin\leftmargin}\item[\hskip\labelsep
\r
1157 \bfseries\abstractname]}
\r
1160 \newdimen\headlineindent % dimension for space between
\r
1161 \headlineindent=1.166cm % number and text of headings.
\r
1163 \def\ps@headings{\let\@mkboth\@gobbletwo
\r
1164 \let\@oddfoot\@empty\let\@evenfoot\@empty
\r
1165 \def\@evenhead{\normalfont\small\rlap{\thepage}\hspace{\headlineindent}%
\r
1167 \def\@oddhead{\normalfont\small\hfil\rightmark\hspace{\headlineindent}%
\r
1169 \def\chaptermark##1{}%
\r
1170 \def\sectionmark##1{}%
\r
1171 \def\subsectionmark##1{}}
\r
1173 \def\ps@titlepage{\let\@mkboth\@gobbletwo
\r
1174 \let\@oddfoot\@empty\let\@evenfoot\@empty
\r
1175 \def\@evenhead{\normalfont\small\rlap{\thepage}\hspace{\headlineindent}%
\r
1177 \def\@oddhead{\normalfont\small\hfil\hspace{\headlineindent}%
\r
1179 \def\chaptermark##1{}%
\r
1180 \def\sectionmark##1{}%
\r
1181 \def\subsectionmark##1{}}
\r
1183 \if@runhead\ps@headings\else
\r
1186 \setlength\arraycolsep{1.4\p@}
\r
1187 \setlength\tabcolsep{1.4\p@}
\r
1190 %end of file llncs.cls
\r