]> www.fi.muni.cz Git - pan12-paper.git/blob - pan12-abstract-template/llncs.cls
yenya: aplikovany pripominky od Simona
[pan12-paper.git] / pan12-abstract-template / llncs.cls
1 % LLNCS DOCUMENT CLASS -- version 2.16 (15-Apr-2010)\r
2 % Springer Verlag LaTeX2e support for Lecture Notes in Computer Science\r
3 %\r
4 %%\r
5 %% \CharacterTable\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
20 %%\r
21 \NeedsTeXFormat{LaTeX2e}[1995/12/01]\r
22 \ProvidesClass{llncs}[2010/04/15 v2.16\r
23 ^^J LaTeX document class for Lecture Notes in Computer Science]\r
24 % Options\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
37 \r
38 \let\if@openbib\iffalse\r
39 \DeclareOption{openbib}{\let\if@openbib\iftrue}\r
40 \r
41 % languages\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
45 \r
46 \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}\r
47 \r
48 \ProcessOptions\r
49 \r
50 \LoadClass[twoside]{article}\r
51 \RequirePackage{multicol} % needed for the list of participants, index\r
52 \RequirePackage{aliascnt}\r
53 \r
54 \setlength{\textwidth}{12.2cm}\r
55 \setlength{\textheight}{19.3cm}\r
56 \renewcommand\@pnumwidth{2em}\r
57 \renewcommand\@tocrmarg{3.5em}\r
58 %\r
59 \def\@dottedtocline#1#2#3#4#5{%\r
60   \ifnum #1>\c@tocdepth \else\r
61     \vskip \z@ \@plus.2\p@\r
62     {\leftskip #2\relax \rightskip \@tocrmarg \advance\rightskip by 0pt plus 2cm\r
63                \parfillskip -\rightskip \pretolerance=10000\r
64      \parindent #2\relax\@afterindenttrue\r
65      \interlinepenalty\@M\r
66      \leavevmode\r
67      \@tempdima #3\relax\r
68      \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip\r
69      {#4}\nobreak\r
70      \leaders\hbox{$\m@th\r
71         \mkern \@dotsep mu\hbox{.}\mkern \@dotsep\r
72         mu$}\hfill\r
73      \nobreak\r
74      \hb@xt@\@pnumwidth{\hfil\normalfont \normalcolor #5}%\r
75      \par}%\r
76   \fi}\r
77 %\r
78 \def\switcht@albion{%\r
79 \def\abstractname{Abstract.}\r
80 \def\ackname{Acknowledgement.}\r
81 \def\andname{and}\r
82 \def\lastandname{\unskip, and}\r
83 \def\appendixname{Appendix}\r
84 \def\chaptername{Chapter}\r
85 \def\claimname{Claim}\r
86 \def\conjecturename{Conjecture}\r
87 \def\contentsname{Table of Contents}\r
88 \def\corollaryname{Corollary}\r
89 \def\definitionname{Definition}\r
90 \def\examplename{Example}\r
91 \def\exercisename{Exercise}\r
92 \def\figurename{Fig.}\r
93 \def\keywordname{{\bf Keywords:}}\r
94 \def\indexname{Index}\r
95 \def\lemmaname{Lemma}\r
96 \def\contriblistname{List of Contributors}\r
97 \def\listfigurename{List of Figures}\r
98 \def\listtablename{List of Tables}\r
99 \def\mailname{{\it Correspondence to\/}:}\r
100 \def\noteaddname{Note added in proof}\r
101 \def\notename{Note}\r
102 \def\partname{Part}\r
103 \def\problemname{Problem}\r
104 \def\proofname{Proof}\r
105 \def\propertyname{Property}\r
106 \def\propositionname{Proposition}\r
107 \def\questionname{Question}\r
108 \def\remarkname{Remark}\r
109 \def\seename{see}\r
110 \def\solutionname{Solution}\r
111 \def\subclassname{{\it Subject Classifications\/}:}\r
112 \def\tablename{Table}\r
113 \def\theoremname{Theorem}}\r
114 \switcht@albion\r
115 % Names of theorem like environments are already defined\r
116 % but must be translated if another language is chosen\r
117 %\r
118 % French section\r
119 \def\switcht@francais{%\typeout{On parle francais.}%\r
120  \def\abstractname{R\'esum\'e.}%\r
121  \def\ackname{Remerciements.}%\r
122  \def\andname{et}%\r
123  \def\lastandname{ et}%\r
124  \def\appendixname{Appendice}\r
125  \def\chaptername{Chapitre}%\r
126  \def\claimname{Pr\'etention}%\r
127  \def\conjecturename{Hypoth\`ese}%\r
128  \def\contentsname{Table des mati\`eres}%\r
129  \def\corollaryname{Corollaire}%\r
130  \def\definitionname{D\'efinition}%\r
131  \def\examplename{Exemple}%\r
132  \def\exercisename{Exercice}%\r
133  \def\figurename{Fig.}%\r
134  \def\keywordname{{\bf Mots-cl\'e:}}\r
135  \def\indexname{Index}\r
136  \def\lemmaname{Lemme}%\r
137  \def\contriblistname{Liste des contributeurs}\r
138  \def\listfigurename{Liste des figures}%\r
139  \def\listtablename{Liste des tables}%\r
140  \def\mailname{{\it Correspondence to\/}:}\r
141  \def\noteaddname{Note ajout\'ee \`a l'\'epreuve}%\r
142  \def\notename{Remarque}%\r
143  \def\partname{Partie}%\r
144  \def\problemname{Probl\`eme}%\r
145  \def\proofname{Preuve}%\r
146  \def\propertyname{Caract\'eristique}%\r
147 %\def\propositionname{Proposition}%\r
148  \def\questionname{Question}%\r
149  \def\remarkname{Remarque}%\r
150  \def\seename{voir}\r
151  \def\solutionname{Solution}%\r
152  \def\subclassname{{\it Subject Classifications\/}:}\r
153  \def\tablename{Tableau}%\r
154  \def\theoremname{Th\'eor\`eme}%\r
155 }\r
156 %\r
157 % German section\r
158 \def\switcht@deutsch{%\typeout{Man spricht deutsch.}%\r
159  \def\abstractname{Zusammenfassung.}%\r
160  \def\ackname{Danksagung.}%\r
161  \def\andname{und}%\r
162  \def\lastandname{ und}%\r
163  \def\appendixname{Anhang}%\r
164  \def\chaptername{Kapitel}%\r
165  \def\claimname{Behauptung}%\r
166  \def\conjecturename{Hypothese}%\r
167  \def\contentsname{Inhaltsverzeichnis}%\r
168  \def\corollaryname{Korollar}%\r
169 %\def\definitionname{Definition}%\r
170  \def\examplename{Beispiel}%\r
171  \def\exercisename{\"Ubung}%\r
172  \def\figurename{Abb.}%\r
173  \def\keywordname{{\bf Schl\"usselw\"orter:}}\r
174  \def\indexname{Index}\r
175 %\def\lemmaname{Lemma}%\r
176  \def\contriblistname{Mitarbeiter}\r
177  \def\listfigurename{Abbildungsverzeichnis}%\r
178  \def\listtablename{Tabellenverzeichnis}%\r
179  \def\mailname{{\it Correspondence to\/}:}\r
180  \def\noteaddname{Nachtrag}%\r
181  \def\notename{Anmerkung}%\r
182  \def\partname{Teil}%\r
183 %\def\problemname{Problem}%\r
184  \def\proofname{Beweis}%\r
185  \def\propertyname{Eigenschaft}%\r
186 %\def\propositionname{Proposition}%\r
187  \def\questionname{Frage}%\r
188  \def\remarkname{Anmerkung}%\r
189  \def\seename{siehe}\r
190  \def\solutionname{L\"osung}%\r
191  \def\subclassname{{\it Subject Classifications\/}:}\r
192  \def\tablename{Tabelle}%\r
193 %\def\theoremname{Theorem}%\r
194 }\r
195 \r
196 % Ragged bottom for the actual page\r
197 \def\thisbottomragged{\def\@textbottom{\vskip\z@ plus.0001fil\r
198 \global\let\@textbottom\relax}}\r
199 \r
200 \renewcommand\small{%\r
201    \@setfontsize\small\@ixpt{11}%\r
202    \abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@\r
203    \abovedisplayshortskip \z@ \@plus2\p@\r
204    \belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@\r
205    \def\@listi{\leftmargin\leftmargini\r
206                \parsep 0\p@ \@plus1\p@ \@minus\p@\r
207                \topsep 8\p@ \@plus2\p@ \@minus4\p@\r
208                \itemsep0\p@}%\r
209    \belowdisplayskip \abovedisplayskip\r
210 }\r
211 \r
212 \frenchspacing\r
213 \widowpenalty=10000\r
214 \clubpenalty=10000\r
215 \r
216 \setlength\oddsidemargin   {63\p@}\r
217 \setlength\evensidemargin  {63\p@}\r
218 \setlength\marginparwidth  {90\p@}\r
219 \r
220 \setlength\headsep   {16\p@}\r
221 \r
222 \setlength\footnotesep{7.7\p@}\r
223 \setlength\textfloatsep{8mm\@plus 2\p@ \@minus 4\p@}\r
224 \setlength\intextsep   {8mm\@plus 2\p@ \@minus 2\p@}\r
225 \r
226 \setcounter{secnumdepth}{2}\r
227 \r
228 \newcounter {chapter}\r
229 \renewcommand\thechapter      {\@arabic\c@chapter}\r
230 \r
231 \newif\if@mainmatter \@mainmattertrue\r
232 \newcommand\frontmatter{\cleardoublepage\r
233             \@mainmatterfalse\pagenumbering{Roman}}\r
234 \newcommand\mainmatter{\cleardoublepage\r
235        \@mainmattertrue\pagenumbering{arabic}}\r
236 \newcommand\backmatter{\if@openright\cleardoublepage\else\clearpage\fi\r
237       \@mainmatterfalse}\r
238 \r
239 \renewcommand\part{\cleardoublepage\r
240                  \thispagestyle{empty}%\r
241                  \if@twocolumn\r
242                      \onecolumn\r
243                      \@tempswatrue\r
244                    \else\r
245                      \@tempswafalse\r
246                  \fi\r
247                  \null\vfil\r
248                  \secdef\@part\@spart}\r
249 \r
250 \def\@part[#1]#2{%\r
251     \ifnum \c@secnumdepth >-2\relax\r
252       \refstepcounter{part}%\r
253       \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%\r
254     \else\r
255       \addcontentsline{toc}{part}{#1}%\r
256     \fi\r
257     \markboth{}{}%\r
258     {\centering\r
259      \interlinepenalty \@M\r
260      \normalfont\r
261      \ifnum \c@secnumdepth >-2\relax\r
262        \huge\bfseries \partname~\thepart\r
263        \par\r
264        \vskip 20\p@\r
265      \fi\r
266      \Huge \bfseries #2\par}%\r
267     \@endpart}\r
268 \def\@spart#1{%\r
269     {\centering\r
270      \interlinepenalty \@M\r
271      \normalfont\r
272      \Huge \bfseries #1\par}%\r
273     \@endpart}\r
274 \def\@endpart{\vfil\newpage\r
275               \if@twoside\r
276                 \null\r
277                 \thispagestyle{empty}%\r
278                 \newpage\r
279               \fi\r
280               \if@tempswa\r
281                 \twocolumn\r
282               \fi}\r
283 \r
284 \newcommand\chapter{\clearpage\r
285                     \thispagestyle{empty}%\r
286                     \global\@topnum\z@\r
287                     \@afterindentfalse\r
288                     \secdef\@chapter\@schapter}\r
289 \def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne\r
290                        \if@mainmatter\r
291                          \refstepcounter{chapter}%\r
292                          \typeout{\@chapapp\space\thechapter.}%\r
293                          \addcontentsline{toc}{chapter}%\r
294                                   {\protect\numberline{\thechapter}#1}%\r
295                        \else\r
296                          \addcontentsline{toc}{chapter}{#1}%\r
297                        \fi\r
298                     \else\r
299                       \addcontentsline{toc}{chapter}{#1}%\r
300                     \fi\r
301                     \chaptermark{#1}%\r
302                     \addtocontents{lof}{\protect\addvspace{10\p@}}%\r
303                     \addtocontents{lot}{\protect\addvspace{10\p@}}%\r
304                     \if@twocolumn\r
305                       \@topnewpage[\@makechapterhead{#2}]%\r
306                     \else\r
307                       \@makechapterhead{#2}%\r
308                       \@afterheading\r
309                     \fi}\r
310 \def\@makechapterhead#1{%\r
311 % \vspace*{50\p@}%\r
312   {\centering\r
313     \ifnum \c@secnumdepth >\m@ne\r
314       \if@mainmatter\r
315         \large\bfseries \@chapapp{} \thechapter\r
316         \par\nobreak\r
317         \vskip 20\p@\r
318       \fi\r
319     \fi\r
320     \interlinepenalty\@M\r
321     \Large \bfseries #1\par\nobreak\r
322     \vskip 40\p@\r
323   }}\r
324 \def\@schapter#1{\if@twocolumn\r
325                    \@topnewpage[\@makeschapterhead{#1}]%\r
326                  \else\r
327                    \@makeschapterhead{#1}%\r
328                    \@afterheading\r
329                  \fi}\r
330 \def\@makeschapterhead#1{%\r
331 % \vspace*{50\p@}%\r
332   {\centering\r
333     \normalfont\r
334     \interlinepenalty\@M\r
335     \Large \bfseries  #1\par\nobreak\r
336     \vskip 40\p@\r
337   }}\r
338 \r
339 \renewcommand\section{\@startsection{section}{1}{\z@}%\r
340                        {-18\p@ \@plus -4\p@ \@minus -4\p@}%\r
341                        {12\p@ \@plus 4\p@ \@minus 4\p@}%\r
342                        {\normalfont\large\bfseries\boldmath\r
343                         \rightskip=\z@ \@plus 8em\pretolerance=10000 }}\r
344 \renewcommand\subsection{\@startsection{subsection}{2}{\z@}%\r
345                        {-18\p@ \@plus -4\p@ \@minus -4\p@}%\r
346                        {8\p@ \@plus 4\p@ \@minus 4\p@}%\r
347                        {\normalfont\normalsize\bfseries\boldmath\r
348                         \rightskip=\z@ \@plus 8em\pretolerance=10000 }}\r
349 \renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%\r
350                        {-18\p@ \@plus -4\p@ \@minus -4\p@}%\r
351                        {-0.5em \@plus -0.22em \@minus -0.1em}%\r
352                        {\normalfont\normalsize\bfseries\boldmath}}\r
353 \renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%\r
354                        {-12\p@ \@plus -4\p@ \@minus -4\p@}%\r
355                        {-0.5em \@plus -0.22em \@minus -0.1em}%\r
356                        {\normalfont\normalsize\itshape}}\r
357 \renewcommand\subparagraph[1]{\typeout{LLNCS warning: You should not use\r
358                   \string\subparagraph\space with this class}\vskip0.5cm\r
359 You should not use \verb|\subparagraph| with this class.\vskip0.5cm}\r
360 \r
361 \DeclareMathSymbol{\Gamma}{\mathalpha}{letters}{"00}\r
362 \DeclareMathSymbol{\Delta}{\mathalpha}{letters}{"01}\r
363 \DeclareMathSymbol{\Theta}{\mathalpha}{letters}{"02}\r
364 \DeclareMathSymbol{\Lambda}{\mathalpha}{letters}{"03}\r
365 \DeclareMathSymbol{\Xi}{\mathalpha}{letters}{"04}\r
366 \DeclareMathSymbol{\Pi}{\mathalpha}{letters}{"05}\r
367 \DeclareMathSymbol{\Sigma}{\mathalpha}{letters}{"06}\r
368 \DeclareMathSymbol{\Upsilon}{\mathalpha}{letters}{"07}\r
369 \DeclareMathSymbol{\Phi}{\mathalpha}{letters}{"08}\r
370 \DeclareMathSymbol{\Psi}{\mathalpha}{letters}{"09}\r
371 \DeclareMathSymbol{\Omega}{\mathalpha}{letters}{"0A}\r
372 \r
373 \let\footnotesize\small\r
374 \r
375 \if@custvec\r
376 \def\vec#1{\mathchoice{\mbox{\boldmath$\displaystyle#1$}}\r
377 {\mbox{\boldmath$\textstyle#1$}}\r
378 {\mbox{\boldmath$\scriptstyle#1$}}\r
379 {\mbox{\boldmath$\scriptscriptstyle#1$}}}\r
380 \fi\r
381 \r
382 \def\squareforqed{\hbox{\rlap{$\sqcap$}$\sqcup$}}\r
383 \def\qed{\ifmmode\squareforqed\else{\unskip\nobreak\hfil\r
384 \penalty50\hskip1em\null\nobreak\hfil\squareforqed\r
385 \parfillskip=0pt\finalhyphendemerits=0\endgraf}\fi}\r
386 \r
387 \def\getsto{\mathrel{\mathchoice {\vcenter{\offinterlineskip\r
388 \halign{\hfil\r
389 $\displaystyle##$\hfil\cr\gets\cr\to\cr}}}\r
390 {\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr\gets\r
391 \cr\to\cr}}}\r
392 {\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr\gets\r
393 \cr\to\cr}}}\r
394 {\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr\r
395 \gets\cr\to\cr}}}}}\r
396 \def\lid{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil\r
397 $\displaystyle##$\hfil\cr<\cr\noalign{\vskip1.2pt}=\cr}}}\r
398 {\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr<\cr\r
399 \noalign{\vskip1.2pt}=\cr}}}\r
400 {\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr<\cr\r
401 \noalign{\vskip1pt}=\cr}}}\r
402 {\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr\r
403 <\cr\r
404 \noalign{\vskip0.9pt}=\cr}}}}}\r
405 \def\gid{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil\r
406 $\displaystyle##$\hfil\cr>\cr\noalign{\vskip1.2pt}=\cr}}}\r
407 {\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr>\cr\r
408 \noalign{\vskip1.2pt}=\cr}}}\r
409 {\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr>\cr\r
410 \noalign{\vskip1pt}=\cr}}}\r
411 {\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr\r
412 >\cr\r
413 \noalign{\vskip0.9pt}=\cr}}}}}\r
414 \def\grole{\mathrel{\mathchoice {\vcenter{\offinterlineskip\r
415 \halign{\hfil\r
416 $\displaystyle##$\hfil\cr>\cr\noalign{\vskip-1pt}<\cr}}}\r
417 {\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr\r
418 >\cr\noalign{\vskip-1pt}<\cr}}}\r
419 {\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr\r
420 >\cr\noalign{\vskip-0.8pt}<\cr}}}\r
421 {\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr\r
422 >\cr\noalign{\vskip-0.3pt}<\cr}}}}}\r
423 \def\bbbr{{\rm I\!R}} %reelle Zahlen\r
424 \def\bbbm{{\rm I\!M}}\r
425 \def\bbbn{{\rm I\!N}} %natuerliche Zahlen\r
426 \def\bbbf{{\rm I\!F}}\r
427 \def\bbbh{{\rm I\!H}}\r
428 \def\bbbk{{\rm I\!K}}\r
429 \def\bbbp{{\rm I\!P}}\r
430 \def\bbbone{{\mathchoice {\rm 1\mskip-4mu l} {\rm 1\mskip-4mu l}\r
431 {\rm 1\mskip-4.5mu l} {\rm 1\mskip-5mu l}}}\r
432 \def\bbbc{{\mathchoice {\setbox0=\hbox{$\displaystyle\rm C$}\hbox{\hbox\r
433 to0pt{\kern0.4\wd0\vrule height0.9\ht0\hss}\box0}}\r
434 {\setbox0=\hbox{$\textstyle\rm C$}\hbox{\hbox\r
435 to0pt{\kern0.4\wd0\vrule height0.9\ht0\hss}\box0}}\r
436 {\setbox0=\hbox{$\scriptstyle\rm C$}\hbox{\hbox\r
437 to0pt{\kern0.4\wd0\vrule height0.9\ht0\hss}\box0}}\r
438 {\setbox0=\hbox{$\scriptscriptstyle\rm C$}\hbox{\hbox\r
439 to0pt{\kern0.4\wd0\vrule height0.9\ht0\hss}\box0}}}}\r
440 \def\bbbq{{\mathchoice {\setbox0=\hbox{$\displaystyle\rm\r
441 Q$}\hbox{\raise\r
442 0.15\ht0\hbox to0pt{\kern0.4\wd0\vrule height0.8\ht0\hss}\box0}}\r
443 {\setbox0=\hbox{$\textstyle\rm Q$}\hbox{\raise\r
444 0.15\ht0\hbox to0pt{\kern0.4\wd0\vrule height0.8\ht0\hss}\box0}}\r
445 {\setbox0=\hbox{$\scriptstyle\rm Q$}\hbox{\raise\r
446 0.15\ht0\hbox to0pt{\kern0.4\wd0\vrule height0.7\ht0\hss}\box0}}\r
447 {\setbox0=\hbox{$\scriptscriptstyle\rm Q$}\hbox{\raise\r
448 0.15\ht0\hbox to0pt{\kern0.4\wd0\vrule height0.7\ht0\hss}\box0}}}}\r
449 \def\bbbt{{\mathchoice {\setbox0=\hbox{$\displaystyle\rm\r
450 T$}\hbox{\hbox to0pt{\kern0.3\wd0\vrule height0.9\ht0\hss}\box0}}\r
451 {\setbox0=\hbox{$\textstyle\rm T$}\hbox{\hbox\r
452 to0pt{\kern0.3\wd0\vrule height0.9\ht0\hss}\box0}}\r
453 {\setbox0=\hbox{$\scriptstyle\rm T$}\hbox{\hbox\r
454 to0pt{\kern0.3\wd0\vrule height0.9\ht0\hss}\box0}}\r
455 {\setbox0=\hbox{$\scriptscriptstyle\rm T$}\hbox{\hbox\r
456 to0pt{\kern0.3\wd0\vrule height0.9\ht0\hss}\box0}}}}\r
457 \def\bbbs{{\mathchoice\r
458 {\setbox0=\hbox{$\displaystyle     \rm S$}\hbox{\raise0.5\ht0\hbox\r
459 to0pt{\kern0.35\wd0\vrule height0.45\ht0\hss}\hbox\r
460 to0pt{\kern0.55\wd0\vrule height0.5\ht0\hss}\box0}}\r
461 {\setbox0=\hbox{$\textstyle        \rm S$}\hbox{\raise0.5\ht0\hbox\r
462 to0pt{\kern0.35\wd0\vrule height0.45\ht0\hss}\hbox\r
463 to0pt{\kern0.55\wd0\vrule height0.5\ht0\hss}\box0}}\r
464 {\setbox0=\hbox{$\scriptstyle      \rm S$}\hbox{\raise0.5\ht0\hbox\r
465 to0pt{\kern0.35\wd0\vrule height0.45\ht0\hss}\raise0.05\ht0\hbox\r
466 to0pt{\kern0.5\wd0\vrule height0.45\ht0\hss}\box0}}\r
467 {\setbox0=\hbox{$\scriptscriptstyle\rm S$}\hbox{\raise0.5\ht0\hbox\r
468 to0pt{\kern0.4\wd0\vrule height0.45\ht0\hss}\raise0.05\ht0\hbox\r
469 to0pt{\kern0.55\wd0\vrule height0.45\ht0\hss}\box0}}}}\r
470 \def\bbbz{{\mathchoice {\hbox{$\mathsf\textstyle Z\kern-0.4em Z$}}\r
471 {\hbox{$\mathsf\textstyle Z\kern-0.4em Z$}}\r
472 {\hbox{$\mathsf\scriptstyle Z\kern-0.3em Z$}}\r
473 {\hbox{$\mathsf\scriptscriptstyle Z\kern-0.2em Z$}}}}\r
474 \r
475 \let\ts\,\r
476 \r
477 \setlength\leftmargini  {17\p@}\r
478 \setlength\leftmargin    {\leftmargini}\r
479 \setlength\leftmarginii  {\leftmargini}\r
480 \setlength\leftmarginiii {\leftmargini}\r
481 \setlength\leftmarginiv  {\leftmargini}\r
482 \setlength  \labelsep  {.5em}\r
483 \setlength  \labelwidth{\leftmargini}\r
484 \addtolength\labelwidth{-\labelsep}\r
485 \r
486 \def\@listI{\leftmargin\leftmargini\r
487             \parsep 0\p@ \@plus1\p@ \@minus\p@\r
488             \topsep 8\p@ \@plus2\p@ \@minus4\p@\r
489             \itemsep0\p@}\r
490 \let\@listi\@listI\r
491 \@listi\r
492 \def\@listii {\leftmargin\leftmarginii\r
493               \labelwidth\leftmarginii\r
494               \advance\labelwidth-\labelsep\r
495               \topsep    0\p@ \@plus2\p@ \@minus\p@}\r
496 \def\@listiii{\leftmargin\leftmarginiii\r
497               \labelwidth\leftmarginiii\r
498               \advance\labelwidth-\labelsep\r
499               \topsep    0\p@ \@plus\p@\@minus\p@\r
500               \parsep    \z@\r
501               \partopsep \p@ \@plus\z@ \@minus\p@}\r
502 \r
503 \renewcommand\labelitemi{\normalfont\bfseries --}\r
504 \renewcommand\labelitemii{$\m@th\bullet$}\r
505 \r
506 \setlength\arraycolsep{1.4\p@}\r
507 \setlength\tabcolsep{1.4\p@}\r
508 \r
509 \def\tableofcontents{\chapter*{\contentsname\@mkboth{{\contentsname}}%\r
510                                                     {{\contentsname}}}\r
511  \def\authcount##1{\setcounter{auco}{##1}\setcounter{@auth}{1}}\r
512  \def\lastand{\ifnum\value{auco}=2\relax\r
513                  \unskip{} \andname\\r
514               \else\r
515                  \unskip \lastandname\\r
516               \fi}%\r
517  \def\and{\stepcounter{@auth}\relax\r
518           \ifnum\value{@auth}=\value{auco}%\r
519              \lastand\r
520           \else\r
521              \unskip,\r
522           \fi}%\r
523  \@starttoc{toc}\if@restonecol\twocolumn\fi}\r
524 \r
525 \def\l@part#1#2{\addpenalty{\@secpenalty}%\r
526    \addvspace{2em plus\p@}%  % space above part line\r
527    \begingroup\r
528      \parindent \z@\r
529      \rightskip \z@ plus 5em\r
530      \hrule\vskip5pt\r
531      \large               % same size as for a contribution heading\r
532      \bfseries\boldmath   % set line in boldface\r
533      \leavevmode          % TeX command to enter horizontal mode.\r
534      #1\par\r
535      \vskip5pt\r
536      \hrule\r
537      \vskip1pt\r
538      \nobreak             % Never break after part entry\r
539    \endgroup}\r
540 \r
541 \def\@dotsep{2}\r
542 \r
543 \let\phantomsection=\relax\r
544 \r
545 \def\hyperhrefextend{\ifx\hyper@anchor\@undefined\else\r
546 {}\fi}\r
547 \r
548 \def\addnumcontentsmark#1#2#3{%\r
549 \addtocontents{#1}{\protect\contentsline{#2}{\protect\numberline\r
550                      {\thechapter}#3}{\thepage}\hyperhrefextend}}%\r
551 \def\addcontentsmark#1#2#3{%\r
552 \addtocontents{#1}{\protect\contentsline{#2}{#3}{\thepage}\hyperhrefextend}}%\r
553 \def\addcontentsmarkwop#1#2#3{%\r
554 \addtocontents{#1}{\protect\contentsline{#2}{#3}{0}\hyperhrefextend}}%\r
555 \r
556 \def\@adcmk[#1]{\ifcase #1 \or\r
557 \def\@gtempa{\addnumcontentsmark}%\r
558   \or    \def\@gtempa{\addcontentsmark}%\r
559   \or    \def\@gtempa{\addcontentsmarkwop}%\r
560   \fi\@gtempa{toc}{chapter}%\r
561 }\r
562 \def\addtocmark{%\r
563 \phantomsection\r
564 \@ifnextchar[{\@adcmk}{\@adcmk[3]}%\r
565 }\r
566 \r
567 \def\l@chapter#1#2{\addpenalty{-\@highpenalty}\r
568  \vskip 1.0em plus 1pt \@tempdima 1.5em \begingroup\r
569  \parindent \z@ \rightskip \@tocrmarg\r
570  \advance\rightskip by 0pt plus 2cm\r
571  \parfillskip -\rightskip \pretolerance=10000\r
572  \leavevmode \advance\leftskip\@tempdima \hskip -\leftskip\r
573  {\large\bfseries\boldmath#1}\ifx0#2\hfil\null\r
574  \else\r
575       \nobreak\r
576       \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern\r
577       \@dotsep mu$}\hfill\r
578       \nobreak\hbox to\@pnumwidth{\hss #2}%\r
579  \fi\par\r
580  \penalty\@highpenalty \endgroup}\r
581 \r
582 \def\l@title#1#2{\addpenalty{-\@highpenalty}\r
583  \addvspace{8pt plus 1pt}\r
584  \@tempdima \z@\r
585  \begingroup\r
586  \parindent \z@ \rightskip \@tocrmarg\r
587  \advance\rightskip by 0pt plus 2cm\r
588  \parfillskip -\rightskip \pretolerance=10000\r
589  \leavevmode \advance\leftskip\@tempdima \hskip -\leftskip\r
590  #1\nobreak\r
591  \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern\r
592  \@dotsep mu$}\hfill\r
593  \nobreak\hbox to\@pnumwidth{\hss #2}\par\r
594  \penalty\@highpenalty \endgroup}\r
595 \r
596 \def\l@author#1#2{\addpenalty{\@highpenalty}\r
597  \@tempdima=15\p@ %\z@\r
598  \begingroup\r
599  \parindent \z@ \rightskip \@tocrmarg\r
600  \advance\rightskip by 0pt plus 2cm\r
601  \pretolerance=10000\r
602  \leavevmode \advance\leftskip\@tempdima %\hskip -\leftskip\r
603  \textit{#1}\par\r
604  \penalty\@highpenalty \endgroup}\r
605 \r
606 \setcounter{tocdepth}{0}\r
607 \newdimen\tocchpnum\r
608 \newdimen\tocsecnum\r
609 \newdimen\tocsectotal\r
610 \newdimen\tocsubsecnum\r
611 \newdimen\tocsubsectotal\r
612 \newdimen\tocsubsubsecnum\r
613 \newdimen\tocsubsubsectotal\r
614 \newdimen\tocparanum\r
615 \newdimen\tocparatotal\r
616 \newdimen\tocsubparanum\r
617 \tocchpnum=\z@            % no chapter numbers\r
618 \tocsecnum=15\p@          % section 88. plus 2.222pt\r
619 \tocsubsecnum=23\p@       % subsection 88.8 plus 2.222pt\r
620 \tocsubsubsecnum=27\p@    % subsubsection 88.8.8 plus 1.444pt\r
621 \tocparanum=35\p@         % paragraph 88.8.8.8 plus 1.666pt\r
622 \tocsubparanum=43\p@      % subparagraph 88.8.8.8.8 plus 1.888pt\r
623 \def\calctocindent{%\r
624 \tocsectotal=\tocchpnum\r
625 \advance\tocsectotal by\tocsecnum\r
626 \tocsubsectotal=\tocsectotal\r
627 \advance\tocsubsectotal by\tocsubsecnum\r
628 \tocsubsubsectotal=\tocsubsectotal\r
629 \advance\tocsubsubsectotal by\tocsubsubsecnum\r
630 \tocparatotal=\tocsubsubsectotal\r
631 \advance\tocparatotal by\tocparanum}\r
632 \calctocindent\r
633 \r
634 \def\l@section{\@dottedtocline{1}{\tocchpnum}{\tocsecnum}}\r
635 \def\l@subsection{\@dottedtocline{2}{\tocsectotal}{\tocsubsecnum}}\r
636 \def\l@subsubsection{\@dottedtocline{3}{\tocsubsectotal}{\tocsubsubsecnum}}\r
637 \def\l@paragraph{\@dottedtocline{4}{\tocsubsubsectotal}{\tocparanum}}\r
638 \def\l@subparagraph{\@dottedtocline{5}{\tocparatotal}{\tocsubparanum}}\r
639 \r
640 \def\listoffigures{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn\r
641  \fi\section*{\listfigurename\@mkboth{{\listfigurename}}{{\listfigurename}}}\r
642  \@starttoc{lof}\if@restonecol\twocolumn\fi}\r
643 \def\l@figure{\@dottedtocline{1}{0em}{1.5em}}\r
644 \r
645 \def\listoftables{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn\r
646  \fi\section*{\listtablename\@mkboth{{\listtablename}}{{\listtablename}}}\r
647  \@starttoc{lot}\if@restonecol\twocolumn\fi}\r
648 \let\l@table\l@figure\r
649 \r
650 \renewcommand\listoffigures{%\r
651     \section*{\listfigurename\r
652       \@mkboth{\listfigurename}{\listfigurename}}%\r
653     \@starttoc{lof}%\r
654     }\r
655 \r
656 \renewcommand\listoftables{%\r
657     \section*{\listtablename\r
658       \@mkboth{\listtablename}{\listtablename}}%\r
659     \@starttoc{lot}%\r
660     }\r
661 \r
662 \ifx\oribibl\undefined\r
663 \ifx\citeauthoryear\undefined\r
664 \renewenvironment{thebibliography}[1]\r
665      {\section*{\refname}\r
666       \def\@biblabel##1{##1.}\r
667       \small\r
668       \list{\@biblabel{\@arabic\c@enumiv}}%\r
669            {\settowidth\labelwidth{\@biblabel{#1}}%\r
670             \leftmargin\labelwidth\r
671             \advance\leftmargin\labelsep\r
672             \if@openbib\r
673               \advance\leftmargin\bibindent\r
674               \itemindent -\bibindent\r
675               \listparindent \itemindent\r
676               \parsep \z@\r
677             \fi\r
678             \usecounter{enumiv}%\r
679             \let\p@enumiv\@empty\r
680             \renewcommand\theenumiv{\@arabic\c@enumiv}}%\r
681       \if@openbib\r
682         \renewcommand\newblock{\par}%\r
683       \else\r
684         \renewcommand\newblock{\hskip .11em \@plus.33em \@minus.07em}%\r
685       \fi\r
686       \sloppy\clubpenalty4000\widowpenalty4000%\r
687       \sfcode`\.=\@m}\r
688      {\def\@noitemerr\r
689        {\@latex@warning{Empty `thebibliography' environment}}%\r
690       \endlist}\r
691 \def\@lbibitem[#1]#2{\item[{[#1]}\hfill]\if@filesw\r
692      {\let\protect\noexpand\immediate\r
693      \write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces}\r
694 \newcount\@tempcntc\r
695 \def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi\r
696   \@tempcnta\z@\@tempcntb\m@ne\def\@citea{}\@cite{\@for\@citeb:=#2\do\r
697     {\@ifundefined\r
698        {b@\@citeb}{\@citeo\@tempcntb\m@ne\@citea\def\@citea{,}{\bfseries\r
699         ?}\@warning\r
700        {Citation `\@citeb' on page \thepage \space undefined}}%\r
701     {\setbox\z@\hbox{\global\@tempcntc0\csname b@\@citeb\endcsname\relax}%\r
702      \ifnum\@tempcntc=\z@ \@citeo\@tempcntb\m@ne\r
703        \@citea\def\@citea{,}\hbox{\csname b@\@citeb\endcsname}%\r
704      \else\r
705       \advance\@tempcntb\@ne\r
706       \ifnum\@tempcntb=\@tempcntc\r
707       \else\advance\@tempcntb\m@ne\@citeo\r
708       \@tempcnta\@tempcntc\@tempcntb\@tempcntc\fi\fi}}\@citeo}{#1}}\r
709 \def\@citeo{\ifnum\@tempcnta>\@tempcntb\else\r
710                \@citea\def\@citea{,\,\hskip\z@skip}%\r
711                \ifnum\@tempcnta=\@tempcntb\the\@tempcnta\else\r
712                {\advance\@tempcnta\@ne\ifnum\@tempcnta=\@tempcntb \else\r
713                 \def\@citea{--}\fi\r
714       \advance\@tempcnta\m@ne\the\@tempcnta\@citea\the\@tempcntb}\fi\fi}\r
715 \else\r
716 \renewenvironment{thebibliography}[1]\r
717      {\section*{\refname}\r
718       \small\r
719       \list{}%\r
720            {\settowidth\labelwidth{}%\r
721             \leftmargin\parindent\r
722             \itemindent=-\parindent\r
723             \labelsep=\z@\r
724             \if@openbib\r
725               \advance\leftmargin\bibindent\r
726               \itemindent -\bibindent\r
727               \listparindent \itemindent\r
728               \parsep \z@\r
729             \fi\r
730             \usecounter{enumiv}%\r
731             \let\p@enumiv\@empty\r
732             \renewcommand\theenumiv{}}%\r
733       \if@openbib\r
734         \renewcommand\newblock{\par}%\r
735       \else\r
736         \renewcommand\newblock{\hskip .11em \@plus.33em \@minus.07em}%\r
737       \fi\r
738       \sloppy\clubpenalty4000\widowpenalty4000%\r
739       \sfcode`\.=\@m}\r
740      {\def\@noitemerr\r
741        {\@latex@warning{Empty `thebibliography' environment}}%\r
742       \endlist}\r
743       \def\@cite#1{#1}%\r
744       \def\@lbibitem[#1]#2{\item[]\if@filesw\r
745         {\def\protect##1{\string ##1\space}\immediate\r
746       \write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces}\r
747    \fi\r
748 \else\r
749 \@cons\@openbib@code{\noexpand\small}\r
750 \fi\r
751 \r
752 \def\idxquad{\hskip 10\p@}% space that divides entry from number\r
753 \r
754 \def\@idxitem{\par\hangindent 10\p@}\r
755 \r
756 \def\subitem{\par\setbox0=\hbox{--\enspace}% second order\r
757                 \noindent\hangindent\wd0\box0}% index entry\r
758 \r
759 \def\subsubitem{\par\setbox0=\hbox{--\,--\enspace}% third\r
760                 \noindent\hangindent\wd0\box0}% order index entry\r
761 \r
762 \def\indexspace{\par \vskip 10\p@ plus5\p@ minus3\p@\relax}\r
763 \r
764 \renewenvironment{theindex}\r
765                {\@mkboth{\indexname}{\indexname}%\r
766                 \thispagestyle{empty}\parindent\z@\r
767                 \parskip\z@ \@plus .3\p@\relax\r
768                 \let\item\par\r
769                 \def\,{\relax\ifmmode\mskip\thinmuskip\r
770                              \else\hskip0.2em\ignorespaces\fi}%\r
771                 \normalfont\small\r
772                 \begin{multicols}{2}[\@makeschapterhead{\indexname}]%\r
773                 }\r
774                 {\end{multicols}}\r
775 \r
776 \renewcommand\footnoterule{%\r
777   \kern-3\p@\r
778   \hrule\@width 2truecm\r
779   \kern2.6\p@}\r
780   \newdimen\fnindent\r
781   \fnindent1em\r
782 \long\def\@makefntext#1{%\r
783     \parindent \fnindent%\r
784     \leftskip \fnindent%\r
785     \noindent\r
786     \llap{\hb@xt@1em{\hss\@makefnmark\ }}\ignorespaces#1}\r
787 \r
788 \long\def\@makecaption#1#2{%\r
789   \small\r
790   \vskip\abovecaptionskip\r
791   \sbox\@tempboxa{{\bfseries #1.} #2}%\r
792   \ifdim \wd\@tempboxa >\hsize\r
793     {\bfseries #1.} #2\par\r
794   \else\r
795     \global \@minipagefalse\r
796     \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%\r
797   \fi\r
798   \vskip\belowcaptionskip}\r
799 \r
800 \def\fps@figure{htbp}\r
801 \def\fnum@figure{\figurename\thinspace\thefigure}\r
802 \def \@floatboxreset {%\r
803         \reset@font\r
804         \small\r
805         \@setnobreak\r
806         \@setminipage\r
807 }\r
808 \def\fps@table{htbp}\r
809 \def\fnum@table{\tablename~\thetable}\r
810 \renewenvironment{table}\r
811                {\setlength\abovecaptionskip{0\p@}%\r
812                 \setlength\belowcaptionskip{10\p@}%\r
813                 \@float{table}}\r
814                {\end@float}\r
815 \renewenvironment{table*}\r
816                {\setlength\abovecaptionskip{0\p@}%\r
817                 \setlength\belowcaptionskip{10\p@}%\r
818                 \@dblfloat{table}}\r
819                {\end@dblfloat}\r
820 \r
821 \long\def\@caption#1[#2]#3{\par\addcontentsline{\csname\r
822   ext@#1\endcsname}{#1}{\protect\numberline{\csname\r
823   the#1\endcsname}{\ignorespaces #2}}\begingroup\r
824     \@parboxrestore\r
825     \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par\r
826   \endgroup}\r
827 \r
828 % LaTeX does not provide a command to enter the authors institute\r
829 % addresses. The \institute command is defined here.\r
830 \r
831 \newcounter{@inst}\r
832 \newcounter{@auth}\r
833 \newcounter{auco}\r
834 \newdimen\instindent\r
835 \newbox\authrun\r
836 \newtoks\authorrunning\r
837 \newtoks\tocauthor\r
838 \newbox\titrun\r
839 \newtoks\titlerunning\r
840 \newtoks\toctitle\r
841 \r
842 \def\clearheadinfo{\gdef\@author{No Author Given}%\r
843                    \gdef\@title{No Title Given}%\r
844                    \gdef\@subtitle{}%\r
845                    \gdef\@institute{No Institute Given}%\r
846                    \gdef\@thanks{}%\r
847                    \global\titlerunning={}\global\authorrunning={}%\r
848                    \global\toctitle={}\global\tocauthor={}}\r
849 \r
850 \def\institute#1{\gdef\@institute{#1}}\r
851 \r
852 \def\institutename{\par\r
853  \begingroup\r
854  \parskip=\z@\r
855  \parindent=\z@\r
856  \setcounter{@inst}{1}%\r
857  \def\and{\par\stepcounter{@inst}%\r
858  \noindent$^{\the@inst}$\enspace\ignorespaces}%\r
859  \setbox0=\vbox{\def\thanks##1{}\@institute}%\r
860  \ifnum\c@@inst=1\relax\r
861    \gdef\fnnstart{0}%\r
862  \else\r
863    \xdef\fnnstart{\c@@inst}%\r
864    \setcounter{@inst}{1}%\r
865    \noindent$^{\the@inst}$\enspace\r
866  \fi\r
867  \ignorespaces\r
868  \@institute\par\r
869  \endgroup}\r
870 \r
871 \def\@fnsymbol#1{\ensuremath{\ifcase#1\or\star\or{\star\star}\or\r
872    {\star\star\star}\or \dagger\or \ddagger\or\r
873    \mathchar "278\or \mathchar "27B\or \|\or **\or \dagger\dagger\r
874    \or \ddagger\ddagger \else\@ctrerr\fi}}\r
875 \r
876 \def\inst#1{\unskip$^{#1}$}\r
877 \def\fnmsep{\unskip$^,$}\r
878 \def\email#1{{\tt#1}}\r
879 \AtBeginDocument{\@ifundefined{url}{\def\url#1{#1}}{}%\r
880 \@ifpackageloaded{babel}{%\r
881 \@ifundefined{extrasenglish}{}{\addto\extrasenglish{\switcht@albion}}%\r
882 \@ifundefined{extrasfrenchb}{}{\addto\extrasfrenchb{\switcht@francais}}%\r
883 \@ifundefined{extrasgerman}{}{\addto\extrasgerman{\switcht@deutsch}}%\r
884 }{\switcht@@therlang}%\r
885 \providecommand{\keywords}[1]{\par\addvspace\baselineskip\r
886 \noindent\keywordname\enspace\ignorespaces#1}%\r
887 }\r
888 \def\homedir{\~{ }}\r
889 \r
890 \def\subtitle#1{\gdef\@subtitle{#1}}\r
891 \clearheadinfo\r
892 %\r
893 %%% to avoid hyperref warnings\r
894 \providecommand*{\toclevel@author}{999}\r
895 %%% to make title-entry parent of section-entries\r
896 \providecommand*{\toclevel@title}{0}\r
897 %\r
898 \renewcommand\maketitle{\newpage\r
899 \phantomsection\r
900   \refstepcounter{chapter}%\r
901   \stepcounter{section}%\r
902   \setcounter{section}{0}%\r
903   \setcounter{subsection}{0}%\r
904   \setcounter{figure}{0}\r
905   \setcounter{table}{0}\r
906   \setcounter{equation}{0}\r
907   \setcounter{footnote}{0}%\r
908   \begingroup\r
909     \parindent=\z@\r
910     \renewcommand\thefootnote{\@fnsymbol\c@footnote}%\r
911     \if@twocolumn\r
912       \ifnum \col@number=\@ne\r
913         \@maketitle\r
914       \else\r
915         \twocolumn[\@maketitle]%\r
916       \fi\r
917     \else\r
918       \newpage\r
919       \global\@topnum\z@   % Prevents figures from going at top of page.\r
920       \@maketitle\r
921     \fi\r
922     \thispagestyle{empty}\@thanks\r
923 %\r
924     \def\\{\unskip\ \ignorespaces}\def\inst##1{\unskip{}}%\r
925     \def\thanks##1{\unskip{}}\def\fnmsep{\unskip}%\r
926     \instindent=\hsize\r
927     \advance\instindent by-\headlineindent\r
928     \if!\the\toctitle!\addcontentsline{toc}{title}{\@title}\else\r
929        \addcontentsline{toc}{title}{\the\toctitle}\fi\r
930     \if@runhead\r
931        \if!\the\titlerunning!\else\r
932          \edef\@title{\the\titlerunning}%\r
933        \fi\r
934        \global\setbox\titrun=\hbox{\small\rm\unboldmath\ignorespaces\@title}%\r
935        \ifdim\wd\titrun>\instindent\r
936           \typeout{Title too long for running head. Please supply}%\r
937           \typeout{a shorter form with \string\titlerunning\space prior to\r
938                    \string\maketitle}%\r
939           \global\setbox\titrun=\hbox{\small\rm\r
940           Title Suppressed Due to Excessive Length}%\r
941        \fi\r
942        \xdef\@title{\copy\titrun}%\r
943     \fi\r
944 %\r
945     \if!\the\tocauthor!\relax\r
946       {\def\and{\noexpand\protect\noexpand\and}%\r
947       \protected@xdef\toc@uthor{\@author}}%\r
948     \else\r
949       \def\\{\noexpand\protect\noexpand\newline}%\r
950       \protected@xdef\scratch{\the\tocauthor}%\r
951       \protected@xdef\toc@uthor{\scratch}%\r
952     \fi\r
953     \addtocontents{toc}{\noexpand\protect\noexpand\authcount{\the\c@auco}}%\r
954     \addcontentsline{toc}{author}{\toc@uthor}%\r
955     \if@runhead\r
956        \if!\the\authorrunning!\r
957          \value{@inst}=\value{@auth}%\r
958          \setcounter{@auth}{1}%\r
959        \else\r
960          \edef\@author{\the\authorrunning}%\r
961        \fi\r
962        \global\setbox\authrun=\hbox{\small\unboldmath\@author\unskip}%\r
963        \ifdim\wd\authrun>\instindent\r
964           \typeout{Names of authors too long for running head. Please supply}%\r
965           \typeout{a shorter form with \string\authorrunning\space prior to\r
966                    \string\maketitle}%\r
967           \global\setbox\authrun=\hbox{\small\rm\r
968           Authors Suppressed Due to Excessive Length}%\r
969        \fi\r
970        \xdef\@author{\copy\authrun}%\r
971        \markboth{\@author}{\@title}%\r
972      \fi\r
973   \endgroup\r
974   \setcounter{footnote}{\fnnstart}%\r
975   \clearheadinfo}\r
976 %\r
977 \def\@maketitle{\newpage\r
978  \markboth{}{}%\r
979  \def\lastand{\ifnum\value{@inst}=2\relax\r
980                  \unskip{} \andname\\r
981               \else\r
982                  \unskip \lastandname\\r
983               \fi}%\r
984  \def\and{\stepcounter{@auth}\relax\r
985           \ifnum\value{@auth}=\value{@inst}%\r
986              \lastand\r
987           \else\r
988              \unskip,\r
989           \fi}%\r
990  \begin{center}%\r
991  \let\newline\\\r
992  {\Large \bfseries\boldmath\r
993   \pretolerance=10000\r
994   \@title \par}\vskip .8cm\r
995 \if!\@subtitle!\else {\large \bfseries\boldmath\r
996   \vskip -.65cm\r
997   \pretolerance=10000\r
998   \@subtitle \par}\vskip .8cm\fi\r
999  \setbox0=\vbox{\setcounter{@auth}{1}\def\and{\stepcounter{@auth}}%\r
1000  \def\thanks##1{}\@author}%\r
1001  \global\value{@inst}=\value{@auth}%\r
1002  \global\value{auco}=\value{@auth}%\r
1003  \setcounter{@auth}{1}%\r
1004 {\lineskip .5em\r
1005 \noindent\ignorespaces\r
1006 \@author\vskip.35cm}\r
1007  {\small\institutename}\r
1008  \end{center}%\r
1009  }\r
1010 \r
1011 % definition of the "\spnewtheorem" command.\r
1012 %\r
1013 % Usage:\r
1014 %\r
1015 %     \spnewtheorem{env_nam}{caption}[within]{cap_font}{body_font}\r
1016 % or  \spnewtheorem{env_nam}[numbered_like]{caption}{cap_font}{body_font}\r
1017 % or  \spnewtheorem*{env_nam}{caption}{cap_font}{body_font}\r
1018 %\r
1019 % New is "cap_font" and "body_font". It stands for\r
1020 % fontdefinition of the caption and the text itself.\r
1021 %\r
1022 % "\spnewtheorem*" gives a theorem without number.\r
1023 %\r
1024 % A defined spnewthoerem environment is used as described\r
1025 % by Lamport.\r
1026 %\r
1027 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\r
1028 \r
1029 \def\@thmcountersep{}\r
1030 \def\@thmcounterend{.}\r
1031 \r
1032 \def\spnewtheorem{\@ifstar{\@sthm}{\@Sthm}}\r
1033 \r
1034 % definition of \spnewtheorem with number\r
1035 \r
1036 \def\@spnthm#1#2{%\r
1037   \@ifnextchar[{\@spxnthm{#1}{#2}}{\@spynthm{#1}{#2}}}\r
1038 \def\@Sthm#1{\@ifnextchar[{\@spothm{#1}}{\@spnthm{#1}}}\r
1039 \r
1040 \def\@spxnthm#1#2[#3]#4#5{\expandafter\@ifdefinable\csname #1\endcsname\r
1041    {\@definecounter{#1}\@addtoreset{#1}{#3}%\r
1042    \expandafter\xdef\csname the#1\endcsname{\expandafter\noexpand\r
1043      \csname the#3\endcsname \noexpand\@thmcountersep \@thmcounter{#1}}%\r
1044    \expandafter\xdef\csname #1name\endcsname{#2}%\r
1045    \global\@namedef{#1}{\@spthm{#1}{\csname #1name\endcsname}{#4}{#5}}%\r
1046                               \global\@namedef{end#1}{\@endtheorem}}}\r
1047 \r
1048 \def\@spynthm#1#2#3#4{\expandafter\@ifdefinable\csname #1\endcsname\r
1049    {\@definecounter{#1}%\r
1050    \expandafter\xdef\csname the#1\endcsname{\@thmcounter{#1}}%\r
1051    \expandafter\xdef\csname #1name\endcsname{#2}%\r
1052    \global\@namedef{#1}{\@spthm{#1}{\csname #1name\endcsname}{#3}{#4}}%\r
1053                                \global\@namedef{end#1}{\@endtheorem}}}\r
1054 \r
1055 \def\@spothm#1[#2]#3#4#5{%\r
1056   \@ifundefined{c@#2}{\@latexerr{No theorem environment `#2' defined}\@eha}%\r
1057   {\expandafter\@ifdefinable\csname #1\endcsname\r
1058   {\newaliascnt{#1}{#2}%\r
1059   \expandafter\xdef\csname #1name\endcsname{#3}%\r
1060   \global\@namedef{#1}{\@spthm{#1}{\csname #1name\endcsname}{#4}{#5}}%\r
1061   \global\@namedef{end#1}{\@endtheorem}}}}\r
1062 \r
1063 \def\@spthm#1#2#3#4{\topsep 7\p@ \@plus2\p@ \@minus4\p@\r
1064 \refstepcounter{#1}%\r
1065 \@ifnextchar[{\@spythm{#1}{#2}{#3}{#4}}{\@spxthm{#1}{#2}{#3}{#4}}}\r
1066 \r
1067 \def\@spxthm#1#2#3#4{\@spbegintheorem{#2}{\csname the#1\endcsname}{#3}{#4}%\r
1068                     \ignorespaces}\r
1069 \r
1070 \def\@spythm#1#2#3#4[#5]{\@spopargbegintheorem{#2}{\csname\r
1071        the#1\endcsname}{#5}{#3}{#4}\ignorespaces}\r
1072 \r
1073 \def\@spbegintheorem#1#2#3#4{\trivlist\r
1074                  \item[\hskip\labelsep{#3#1\ #2\@thmcounterend}]#4}\r
1075 \r
1076 \def\@spopargbegintheorem#1#2#3#4#5{\trivlist\r
1077       \item[\hskip\labelsep{#4#1\ #2}]{#4(#3)\@thmcounterend\ }#5}\r
1078 \r
1079 % definition of \spnewtheorem* without number\r
1080 \r
1081 \def\@sthm#1#2{\@Ynthm{#1}{#2}}\r
1082 \r
1083 \def\@Ynthm#1#2#3#4{\expandafter\@ifdefinable\csname #1\endcsname\r
1084    {\global\@namedef{#1}{\@Thm{\csname #1name\endcsname}{#3}{#4}}%\r
1085     \expandafter\xdef\csname #1name\endcsname{#2}%\r
1086     \global\@namedef{end#1}{\@endtheorem}}}\r
1087 \r
1088 \def\@Thm#1#2#3{\topsep 7\p@ \@plus2\p@ \@minus4\p@\r
1089 \@ifnextchar[{\@Ythm{#1}{#2}{#3}}{\@Xthm{#1}{#2}{#3}}}\r
1090 \r
1091 \def\@Xthm#1#2#3{\@Begintheorem{#1}{#2}{#3}\ignorespaces}\r
1092 \r
1093 \def\@Ythm#1#2#3[#4]{\@Opargbegintheorem{#1}\r
1094        {#4}{#2}{#3}\ignorespaces}\r
1095 \r
1096 \def\@Begintheorem#1#2#3{#3\trivlist\r
1097                            \item[\hskip\labelsep{#2#1\@thmcounterend}]}\r
1098 \r
1099 \def\@Opargbegintheorem#1#2#3#4{#4\trivlist\r
1100       \item[\hskip\labelsep{#3#1}]{#3(#2)\@thmcounterend\ }}\r
1101 \r
1102 \if@envcntsect\r
1103    \def\@thmcountersep{.}\r
1104    \spnewtheorem{theorem}{Theorem}[section]{\bfseries}{\itshape}\r
1105 \else\r
1106    \spnewtheorem{theorem}{Theorem}{\bfseries}{\itshape}\r
1107    \if@envcntreset\r
1108       \@addtoreset{theorem}{section}\r
1109    \else\r
1110       \@addtoreset{theorem}{chapter}\r
1111    \fi\r
1112 \fi\r
1113 \r
1114 %definition of divers theorem environments\r
1115 \spnewtheorem*{claim}{Claim}{\itshape}{\rmfamily}\r
1116 \spnewtheorem*{proof}{Proof}{\itshape}{\rmfamily}\r
1117 \if@envcntsame % alle Umgebungen wie Theorem.\r
1118    \def\spn@wtheorem#1#2#3#4{\@spothm{#1}[theorem]{#2}{#3}{#4}}\r
1119 \else % alle Umgebungen mit eigenem Zaehler\r
1120    \if@envcntsect % mit section numeriert\r
1121       \def\spn@wtheorem#1#2#3#4{\@spxnthm{#1}{#2}[section]{#3}{#4}}\r
1122    \else % nicht mit section numeriert\r
1123       \if@envcntreset\r
1124          \def\spn@wtheorem#1#2#3#4{\@spynthm{#1}{#2}{#3}{#4}\r
1125                                    \@addtoreset{#1}{section}}\r
1126       \else\r
1127          \def\spn@wtheorem#1#2#3#4{\@spynthm{#1}{#2}{#3}{#4}\r
1128                                    \@addtoreset{#1}{chapter}}%\r
1129       \fi\r
1130    \fi\r
1131 \fi\r
1132 \spn@wtheorem{case}{Case}{\itshape}{\rmfamily}\r
1133 \spn@wtheorem{conjecture}{Conjecture}{\itshape}{\rmfamily}\r
1134 \spn@wtheorem{corollary}{Corollary}{\bfseries}{\itshape}\r
1135 \spn@wtheorem{definition}{Definition}{\bfseries}{\itshape}\r
1136 \spn@wtheorem{example}{Example}{\itshape}{\rmfamily}\r
1137 \spn@wtheorem{exercise}{Exercise}{\itshape}{\rmfamily}\r
1138 \spn@wtheorem{lemma}{Lemma}{\bfseries}{\itshape}\r
1139 \spn@wtheorem{note}{Note}{\itshape}{\rmfamily}\r
1140 \spn@wtheorem{problem}{Problem}{\itshape}{\rmfamily}\r
1141 \spn@wtheorem{property}{Property}{\itshape}{\rmfamily}\r
1142 \spn@wtheorem{proposition}{Proposition}{\bfseries}{\itshape}\r
1143 \spn@wtheorem{question}{Question}{\itshape}{\rmfamily}\r
1144 \spn@wtheorem{solution}{Solution}{\itshape}{\rmfamily}\r
1145 \spn@wtheorem{remark}{Remark}{\itshape}{\rmfamily}\r
1146 \r
1147 \def\@takefromreset#1#2{%\r
1148     \def\@tempa{#1}%\r
1149     \let\@tempd\@elt\r
1150     \def\@elt##1{%\r
1151         \def\@tempb{##1}%\r
1152         \ifx\@tempa\@tempb\else\r
1153             \@addtoreset{##1}{#2}%\r
1154         \fi}%\r
1155     \expandafter\expandafter\let\expandafter\@tempc\csname cl@#2\endcsname\r
1156     \expandafter\def\csname cl@#2\endcsname{}%\r
1157     \@tempc\r
1158     \let\@elt\@tempd}\r
1159 \r
1160 \def\theopargself{\def\@spopargbegintheorem##1##2##3##4##5{\trivlist\r
1161       \item[\hskip\labelsep{##4##1\ ##2}]{##4##3\@thmcounterend\ }##5}\r
1162                   \def\@Opargbegintheorem##1##2##3##4{##4\trivlist\r
1163       \item[\hskip\labelsep{##3##1}]{##3##2\@thmcounterend\ }}\r
1164       }\r
1165 \r
1166 \renewenvironment{abstract}{%\r
1167       \list{}{\advance\topsep by0.35cm\relax\small\r
1168       \leftmargin=1cm\r
1169       \labelwidth=\z@\r
1170       \listparindent=\z@\r
1171       \itemindent\listparindent\r
1172       \rightmargin\leftmargin}\item[\hskip\labelsep\r
1173                                     \bfseries\abstractname]}\r
1174     {\endlist}\r
1175 \r
1176 \newdimen\headlineindent             % dimension for space between\r
1177 \headlineindent=1.166cm              % number and text of headings.\r
1178 \r
1179 \def\ps@headings{\let\@mkboth\@gobbletwo\r
1180    \let\@oddfoot\@empty\let\@evenfoot\@empty\r
1181    \def\@evenhead{\normalfont\small\rlap{\thepage}\hspace{\headlineindent}%\r
1182                   \leftmark\hfil}\r
1183    \def\@oddhead{\normalfont\small\hfil\rightmark\hspace{\headlineindent}%\r
1184                  \llap{\thepage}}\r
1185    \def\chaptermark##1{}%\r
1186    \def\sectionmark##1{}%\r
1187    \def\subsectionmark##1{}}\r
1188 \r
1189 \def\ps@titlepage{\let\@mkboth\@gobbletwo\r
1190    \let\@oddfoot\@empty\let\@evenfoot\@empty\r
1191    \def\@evenhead{\normalfont\small\rlap{\thepage}\hspace{\headlineindent}%\r
1192                   \hfil}\r
1193    \def\@oddhead{\normalfont\small\hfil\hspace{\headlineindent}%\r
1194                  \llap{\thepage}}\r
1195    \def\chaptermark##1{}%\r
1196    \def\sectionmark##1{}%\r
1197    \def\subsectionmark##1{}}\r
1198 \r
1199 \if@runhead\ps@headings\else\r
1200 \ps@empty\fi\r
1201 \r
1202 \setlength\arraycolsep{1.4\p@}\r
1203 \setlength\tabcolsep{1.4\p@}\r
1204 \r
1205 \endinput\r
1206 %end of file llncs.cls\r