]> AND Private Git Repository - fusion.git/blob - chapitre-2009/svmult.cls
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Added reviewers comments.
[fusion.git] / chapitre-2009 / svmult.cls
1 % SVMULT DOCUMENT CLASS -- version 5.4 (25-Jun-07)
2 % Springer Verlag global LaTeX2e support for multi authored books
3 %%
4 %%
5 %% \CharacterTable
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
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
8 %%   Digits        \0\1\2\3\4\5\6\7\8\9
9 %%   Exclamation   \!     Double quote  \"     Hash (number) \#
10 %%   Dollar        \$     Percent       \%     Ampersand     \&
11 %%   Acute accent  \'     Left paren    \(     Right paren   \)
12 %%   Asterisk      \*     Plus          \+     Comma         \,
13 %%   Minus         \-     Point         \.     Solidus       \/
14 %%   Colon         \:     Semicolon     \;     Less than     \<
15 %%   Equals        \=     Greater than  \>     Question mark \?
16 %%   Commercial at \@     Left bracket  \[     Backslash     \\
17 %%   Right bracket \]     Circumflex    \^     Underscore    \_
18 %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
19 %%   Right brace   \}     Tilde         \~}
20 %%
21 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
22 \ProvidesClass{svmult}[2007/06/25 v5.4
23 ^^JSpringer Verlag global LaTeX document class for multi authored books]
24 % Options
25 % citations
26 \DeclareOption{natbib}{\ExecuteOptions{oribibl}%
27 \AtEndOfClass{% Loading package 'NATBIB'
28 \RequirePackage{natbib}
29 % Changing some parameters of NATBIB
30 \setlength{\bibhang}{\parindent}
31 %\setlength{\bibsep}{0mm}
32 \let\bibfont=\small
33 \def\@biblabel#1{#1.}
34 \newcommand{\etal}{\textit{et al}.}
35 %\bibpunct[,]{(}{)}{;}{a}{}{,}}}
36 }}
37 % Springer environment
38 \let\if@spthms\iftrue
39 \DeclareOption{nospthms}{\let\if@spthms\iffalse}
40 %
41 \let\envankh\@empty   % no anchor for "theorems"
42 %
43 \let\if@envcntreset\iffalse % environment counter is not reset
44 \let\if@envcntresetsect=\iffalse % reset each section
45 \DeclareOption{envcountresetchap}{\let\if@envcntreset\iftrue}
46 \DeclareOption{envcountresetsect}{\let\if@envcntreset\iftrue
47 \let\if@envcntresetsect=\iftrue}
48 %
49 \let\if@envcntsame\iffalse  % NOT all environments work like "Theorem",
50                             % each using its own counter
51 \DeclareOption{envcountsame}{\let\if@envcntsame\iftrue}
52 %
53 \let\if@envcntshowhiercnt=\iffalse % do not show hierarchy counter at all
54 %
55 % enhance theorem counter
56 \DeclareOption{envcountchap}{\def\envankh{chapter}% show \thechapter along with theorem number
57 \let\if@envcntshowhiercnt=\iftrue}
58 %
59 \DeclareOption{envcountsect}{\def\envankh{section}% show \thesection along with theorem number
60 \let\if@envcntshowhiercnt=\iftrue
61 \ExecuteOptions{envcountresetsect}}
62 % reset environment counters every new contribution by default
63 \ExecuteOptions{envcountresetchap}
64 %
65 % languages
66 \let\switcht@@therlang\relax
67 \let\svlanginfo\relax
68 \def\ds@deutsch{\def\switcht@@therlang{\switcht@deutsch}%
69 \gdef\svlanginfo{\typeout{Man spricht deutsch.}\global\let\svlanginfo\relax}}
70 \def\ds@francais{\def\switcht@@therlang{\switcht@francais}%
71 \gdef\svlanginfo{\typeout{On parle francais.}\global\let\svlanginfo\relax}}
72 %
73 \AtBeginDocument{\@ifundefined{url}{\def\url#1{#1}}{}%
74 \@ifpackageloaded{babel}{%
75 \@ifundefined{extrasamerican}{}{\addto\extrasamerican{\switcht@albion}}%
76 \@ifundefined{extrasaustralian}{}{\addto\extrasaustralian{\switcht@albion}}%
77 \@ifundefined{extrasbritish}{}{\addto\extrasbritish{\switcht@albion}}%
78 \@ifundefined{extrascanadian}{}{\addto\extrascanadian{\switcht@albion}}%
79 \@ifundefined{extrasenglish}{}{\addto\extrasenglish{\switcht@albion}}%
80 \@ifundefined{extrasnewzealand}{}{\addto\extrasnewzealand{\switcht@albion}}%
81 \@ifundefined{extrasUKenglish}{}{\addto\extrasUKenglish{\switcht@albion}}%
82 \@ifundefined{extrasUSenglish}{}{\addto\extrasUSenglish{\switcht@albion}}%
83 \@ifundefined{captionsfrench}{}{\addto\captionsfrench{\switcht@francais}}%
84 \@ifundefined{extrasgerman}{}{\addto\extrasgerman{\switcht@deutsch}}%
85 \@ifundefined{extrasngerman}{}{\addto\extrasngerman{\switcht@deutsch}}%
86 }{\switcht@@therlang}%
87 }
88 % numbering style of floats, equations
89 % \newif\if@numart   \@numartfalse
90 % \DeclareOption{numart}{\@numarttrue}
91 % numbering of headings
92 \let\if@chapnum=\iftrue
93 \def\nixchapnum{\let\if@chapnum\iffalse}
94 \def\numstyle{0}
95 \DeclareOption{nosecnum}{\def\numstyle{1}}%
96 % \DeclareOption{nochapnum}{\def\numstyle{2}}%
97 % \DeclareOption{nonum}{\def\numstyle{3}}%
98 \def\set@numbering{\ifcase\numstyle %\if@numart\else\num@book\fi %default
99 \or % 1-case - no \section-numbers
100 \setcounter{secnumdepth}{0}% \if@numart\else\num@book\fi
101 % \or % 2-case
102 % % chapter not numbered, but \sections are
103 % \def\thesection{\@arabic\c@section}%
104 % \nixchapnum
105 % \or % 3-case
106 % % neither chapter nor sections numbered + "numart"
107 % \nixchapnum
108 % \setcounter{secnumdepth}{0}%
109 \else\fi}
110 \AtEndOfClass{\set@numbering}
111 % style for vectors
112 \DeclareOption{vecphys}{\def\vec@style{phys}}
113 \DeclareOption{vecarrow}{\def\vec@style{arrow}}
114 % running heads
115 \let\if@runhead\iftrue
116 \DeclareOption{norunningheads}{\let\if@runhead\iffalse}
117 % referee option
118 \let\if@referee\iffalse
119 \def\makereferee{\def\baselinestretch{2}\selectfont
120 \newbox\refereebox
121 \setbox\refereebox=\vbox to\z@{\vskip0.5cm%
122   \hbox to\textwidth{\normalsize\tt\hrulefill\lower0.5ex
123         \hbox{\kern5\p@ referee's copy\kern5\p@}\hrulefill}\vss}%
124 \def\@oddfoot{\copy\refereebox}\let\@evenfoot=\@oddfoot}
125 \DeclareOption{referee}{\let\if@referee\iftrue
126 \AtBeginDocument{\makereferee\small\normalsize}}
127 % modification of thebibliography
128 \let\if@openbib\iffalse
129 \DeclareOption{openbib}{\let\if@openbib\iftrue}
130 % LaTeX standard, sectionwise references
131 \DeclareOption{oribibl}{\let\oribibl=Y}
132 \DeclareOption{chaprefs}{\let\chpbibl=Y}
133 %
134 % footinfo option (provides an informatory line on every page)
135 \def\SpringerMacroPackageNameA{svmult.cls}
136 % \thetime, \thedate and \timstamp are macros to include
137 % time, date (or both) of the TeX run in the document
138 \def\maketimestamp{\count255=\time
139 \divide\count255 by 60\relax
140 \edef\thetime{\the\count255:}%
141 \multiply\count255 by-60\relax
142 \advance\count255 by\time
143 \edef\thetime{\thetime\ifnum\count255<10 0\fi\the\count255}
144 \edef\thedate{\number\day-\ifcase\month\or Jan\or Feb\or Mar\or
145              Apr\or May\or Jun\or Jul\or Aug\or Sep\or Oct\or
146              Nov\or Dec\fi-\number\year}
147 \def\timstamp{\hbox to\hsize{\tt\hfil\thedate\hfil\thetime\hfil}}}
148 \maketimestamp
149 %
150 % \footinfo generates a info footline on every page containing
151 % pagenumber, jobname, macroname, and timestamp
152 \DeclareOption{footinfo}{\AtBeginDocument{\maketimestamp
153    \def\ps@empty{\let\@mkboth\@gobbletwo
154    \let\@oddhead\@empty\let\@evenhead\@empty}%
155    \def\@oddfoot{\scriptsize\tt Page:\,\thepage\space\hfil
156                  job:\,\jobname\space\hfil
157                  macro:\,\SpringerMacroPackageNameA\space\hfil
158                  date/time:\,\thedate/\thetime}%
159    \let\@evenfoot=\@oddfoot}}
160 %
161 % start new chapter on any page
162 \newif\if@openright \@openrighttrue
163 \DeclareOption{openany}{\@openrightfalse}
164 %
165 % no size changing allowed
166 \DeclareOption{11pt}{\OptionNotUsed}
167 \DeclareOption{12pt}{\OptionNotUsed}
168 % options for the article class
169 \def\@rticle@options{10pt,twoside}
170 % fleqn
171 \DeclareOption{fleqn}{\def\@rticle@options{10pt,twoside,fleqn}%
172 \AtEndOfClass{\let\leftlegendglue\relax}%
173 \AtBeginDocument{\mathindent\parindent}}
174 % hanging sectioning titles
175 \let\if@sechang\iftrue
176 \DeclareOption{nosechang}{\let\if@sechang\iffalse}
177 % hanging sectioning titles
178 \def\ClassInfoNoLine#1#2{%
179    \ClassInfo{#1}{#2\@gobble}%
180 }
181 %
182 \DeclareOption{graybox}{%
183 \AtEndOfClass{% Loading color package
184 \RequirePackage{color}%
185 % defining values of gray
186 \definecolor{shadecolor}{gray}{.85}%
187 \definecolor{tintedcolor}{gray}{.80}%
188 \RequirePackage{framed}%
189 %
190 \newenvironment{tinted}{%
191   \def\FrameCommand{\colorbox{tintedcolor}}%
192   \MakeFramed {\FrameRestore}}%
193  {\endMakeFramed}%
194 %
195 \renewenvironment{svgraybox}%
196        {\fboxsep=12pt\relax
197         \begin{shaded}%
198         \list{}{\leftmargin=12pt\rightmargin=2\leftmargin\leftmargin=\z@\topsep=\z@\relax}%
199         \expandafter\item\parindent=\svparindent
200         \hskip-\listparindent}%
201        {\endlist\end{shaded}}%
202 %
203 \renewenvironment{svtintedbox}%
204        {\fboxsep=12pt\relax
205         \begin{tinted}%
206         \list{}{\leftmargin=12pt\rightmargin=2\leftmargin\leftmargin=\z@\topsep=\z@\relax}%
207         \expandafter\item\parindent=\svparindent
208         \relax}%
209        {\endlist\end{tinted}}%
210 %
211 }}
212 %
213 \let\SVMultOpt\@empty
214 \DeclareOption*{\InputIfFileExists{sv\CurrentOption.clo}{%
215 \global\let\SVMultOpt\CurrentOption}{%
216 \ClassWarning{Springer-SVMult}{Specified option or subpackage
217 "\CurrentOption" \MessageBreak not found -
218 passing it to article class \MessageBreak
219 -}\PassOptionsToClass{\CurrentOption}{article}%
220 }}
221 \ProcessOptions\relax
222 \ifx\SVMultOpt\@empty\relax
223 \ClassInfoNoLine{Springer-SVMult}{extra/valid Springer sub-package
224 \MessageBreak not found in option list - using "global" style}{}
225 \fi
226 \LoadClass[\@rticle@options]{article}
227 \raggedbottom
228
229 % various sizes and settings for contributed works
230
231 \setlength{\textwidth}{117mm}
232 %\setlength{\textheight}{12pt}\multiply\textheight by 45\relax
233 \setlength{\textheight}{191mm}
234 \setlength{\topmargin}{0cm}
235 \setlength\oddsidemargin   {63\p@}
236 \setlength\evensidemargin  {63\p@}
237 \setlength\marginparwidth{90\p@}
238 \setlength\headsep   {12\p@}
239
240 \newdimen\svparindent
241 \setlength{\svparindent}{12\p@}
242 \parindent\svparindent
243
244 \newdimen\bibindent
245 \setlength\bibindent{\parindent}
246
247 \setlength{\parskip}{\z@ \@plus \p@}
248 \setlength{\hfuzz}{2\p@}
249 \setlength{\arraycolsep}{1.5\p@}
250
251 \frenchspacing
252
253 \tolerance=500
254
255 \predisplaypenalty=0
256 \clubpenalty=10000
257 \widowpenalty=10000
258
259 \setlength\footnotesep{7.7\p@}
260
261 \newdimen\betweenumberspace          % dimension for space between
262 \betweenumberspace=5\p@              % number and text of titles
263 \newdimen\headlineindent             % dimension for space of
264 \headlineindent=2.5cc                % number and gap of running heads
265
266 % fonts, sizes, and the like
267 \renewcommand\normalsize{%
268    \@setfontsize\normalsize\@xpt\@xiipt
269    \abovedisplayskip 10\p@ % \@plus2\p@ \@minus5\p@
270    \abovedisplayshortskip \z@ % \@plus3\p@
271    \belowdisplayshortskip 6\p@ %\@plus3\p@ \@minus3\p@
272    \belowdisplayskip \abovedisplayskip
273    \let\@listi\@listI}
274 \normalsize
275 \renewcommand\small{%
276    \@setfontsize\small{8.5}{10}%
277    \abovedisplayskip 8.5\p@ % \@plus3\p@ \@minus4\p@
278    \abovedisplayshortskip \z@ %\@plus2\p@
279    \belowdisplayshortskip 4\p@ %\@plus2\p@ \@minus2\p@
280    \def\@listi{\leftmargin\leftmargini
281                \parsep \z@ \@plus\p@ \@minus\p@
282                \topsep 6\p@ \@plus2\p@ \@minus4\p@
283                \itemsep\z@}%
284    \belowdisplayskip \abovedisplayskip
285 }
286 %
287 \let\footnotesize=\small
288 %
289 \renewcommand\Large{\@setfontsize\large{14}{16}}
290 \newcommand\LArge{\@setfontsize\Large{16}{18}}
291 \renewcommand\LARGE{\@setfontsize\LARGE{18}{20}}
292 %
293 \newenvironment{petit}{\par\addvspace{6\p@}\small}{\par\addvspace{6\p@}}
294 %
295
296 % modification of automatic positioning of floating objects
297 \setlength\@fptop{\z@ }
298 \setlength\@fpsep{12\p@ }
299 \setlength\@fpbot{\z@ \@plus 1fil }
300 \def\textfraction{.01}
301 \def\floatpagefraction{.8}
302 \setlength{\intextsep}{20\p@ \@plus 2\p@ \@minus 2\p@}
303 \setlength\textfloatsep{24\p@ \@plus 2\p@ \@minus 4\p@}
304 \setcounter{topnumber}{4}
305 \def\topfraction{.9}
306 \setcounter{bottomnumber}{2}
307 \def\bottomfraction{.7}
308 \setcounter{totalnumber}{6}
309 %
310 % size and style of headings
311 \newcommand{\partnumsize}{\LArge}
312 \newcommand{\partnumstyle}{\bfseries\boldmath}
313 \newcommand{\partsize}{\LARGE}
314 \newcommand{\partstyle}{\bfseries\boldmath}
315 \newcommand{\chapnumsize}{\Large}
316 \newcommand{\chapnumstyle}{\bfseries\boldmath}
317 \newcommand{\chapsize}{\LArge}
318 \newcommand{\chapstyle}{\bfseries\boldmath}
319 \newcommand{\chapauthsize}{\normalsize}
320 \newcommand{\chapauthstyle}{\bfseries\boldmath}
321 \newcommand{\mottosize}{\small}
322 \newcommand{\mottostyle}{\itshape\unboldmath\raggedright}
323 \newcommand{\secsize}{\large}
324 \newcommand{\secstyle}{\bfseries\boldmath}
325 \newcommand{\subsecsize}{\large}
326 \newcommand{\subsecstyle}{\bfseries\itshape\boldmath}
327 \newcommand{\subsubsecstyle}{\bfseries\boldmath}
328 %
329 \def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
330     \hbox{}\newpage\if@twocolumn\hbox{}\newpage\fi\fi\fi}
331
332 \newcommand{\clearemptydoublepage}{%
333         \clearpage{\pagestyle{empty}\cleardoublepage}}
334 \newcommand{\startnewpage}{\if@openright\clearemptydoublepage\else\clearpage\fi}
335
336 % MiniTOC
337 % one outputstream for all minitocs
338 \newwrite\minitoc
339 \let\MiniTOC=N % switch for MT processing in .aux files
340 \newcounter{minitocdepth}
341 \setcounter{minitocdepth}{0}
342
343 % stolen from LaTeX.ltx - read miniTOC and redirect output stream
344 \long\def \protected@immwrite#1#2#3{%
345       \begingroup
346        \let\thepage\relax
347        #2%
348        \let\protect\@unexpandable@protect
349        \edef\reserved@a{\immediate\write#1{#3}}%
350        \reserved@a
351       \endgroup
352       \if@nobreak\ifvmode\nobreak\fi\fi}
353 %
354 \newcommand{\@mtstarttoc}[1]
355 {\begingroup
356  \makeatletter
357  \immediate\write\@auxout{\string\immediate\string\closeout\string\minitoc}%
358  \typeout{input jobname.#1}%
359 \small
360  \@input{\jobname.#1}%
361  \protected@immwrite\@auxout
362    {\let\label\@gobble \let\index\@gobble
363     \let\glossary\@gobble}%
364    {\immediate\openout\minitoc \jobname.#1\relax}
365  \global\@nobreakfalse\endgroup}
366 %
367 \newcommand{\@mtstarttocquiet}[1]
368 {\begingroup
369  \makeatletter
370  \protected@write\@auxout
371    {\let\label\@gobble \let\index\@gobble
372     \let\glossary\@gobble}%
373    {\immediate\openout\minitoc \jobname.#1\relax}
374  \global\@nobreakfalse\endgroup}
375 %
376 \newcommand{\mtaddtocont}[1]
377 {\protected@write \@auxout
378   {\let\label\@gobble \let\index\@gobble
379    \let\glossary\@gobble}%
380   {\string\@mtwritefile{#1}}}
381 %
382 \newcommand{\@mtwritefile}[1]{\if Y\MiniTOC
383 \@temptokena{#1} \immediate\write\minitoc{\the\@temptokena}\fi}
384
385 \AtEndDocument{\immediate\write\@auxout{\string\immediate\string\closeout\string\minitoc}}
386
387 \newcommand{\dominitoc}{% switch \let\MiniTOC=Y
388     \protected@immwrite\@auxout{}{\let\MiniTOC=Y}%
389     \ifnum \c@minitocdepth<1
390         \@mtstarttocquiet{t\thecontribution}\relax
391     \else
392         \@mtstarttoc{t\thecontribution}\par\addvspace\bigskipamount
393     \fi}
394
395 % redefinition of \part
396 \renewcommand\part{\clearemptydoublepage
397          \thispagestyle{empty}
398          \if@twocolumn
399             \onecolumn
400             \@tempswatrue
401          \else
402             \@tempswafalse
403          \fi
404          \@ifundefined{thispagecropped}{}{\thispagecropped}
405          \secdef\@part\@spart}
406
407 \def\@part[#1]#2{\ifnum \c@secnumdepth >-2\relax
408         \refstepcounter{part}
409         \addcontentsline{toc}{part}{\partname\
410         \thepart\thechapterend\hspace{\betweenumberspace}%
411         #1}\else
412         \addcontentsline{toc}{part}{#1}\fi
413    \markboth{}{}
414    {\raggedleft
415     \hyphenpenalty \@M
416     \interlinepenalty\@M
417     \ifnum \c@secnumdepth >-2\relax
418       \normalfont\partnumsize\partnumstyle %\vrule height 34pt width 0pt depth 0pt%
419      \partname\ \thepart %\llap{\smash{\lower 5pt\hbox to\textwidth{\hrulefill}}}
420     \par
421     \vskip 2\p@ \fi
422     \partsize\partstyle #2\par}\@endpart}
423 %
424 % \@endpart finishes the part page
425 %
426 \def\@endpart{\vfil\newpage
427    \if@twoside
428        \hbox{}
429        \thispagestyle{empty}
430        \newpage
431    \fi
432    \if@tempswa
433      \twocolumn
434    \fi}
435 %
436 \def\@spart#1{{\raggedleft
437    \normalfont\partsize\partstyle
438    #1\par}\@endpart}
439 %
440 \newenvironment{partbacktext}{\def\@endpart{\vfil\newpage}}
441 {\thispagestyle{empty} \newpage}
442 %
443 % (re)define sectioning
444 \setcounter{secnumdepth}{3}
445
446 \def\seccounterend{}
447 \def\seccountergap{\hskip\betweenumberspace}
448 \def\@seccntformat#1{\csname the#1\endcsname\seccounterend\seccountergap\ignorespaces}
449 %
450 \let\firstmark=\botmark
451 %
452 \@ifundefined{thechapterend}{\def\thechapterend{}}{}
453 %
454 \if@sechang
455    \def\sec@hangfrom#1{\setbox\@tempboxa\hbox{#1}%
456          \hangindent\wd\@tempboxa\noindent\box\@tempboxa}
457 \else
458    \def\sec@hangfrom#1{\setbox\@tempboxa\hbox{#1}%
459          \hangindent\z@\noindent\box\@tempboxa}
460 \fi
461
462 \def\chap@hangfrom#1{\if!#1!\else
463 \@chapapp\ #1\vskip2pt\fi}
464 \def\schap@hangfrom{\chap@hangfrom{}}
465
466 \newcounter{chapter}
467
468 \newif\if@mainmatter \@mainmattertrue
469 \newcommand\frontmatter{\startnewpage
470             \@mainmatterfalse\pagenumbering{roman}
471             \setcounter{page}{5}}
472 %
473 \newcommand\mainmatter{\clearemptydoublepage
474             \@mainmattertrue
475             \markboth{}{}
476             \pagenumbering{arabic}}
477 %
478 \newcommand\backmatter{%
479 \setcounter{minitocdepth}{0}%
480 \pagestyle{headings}%
481 \clearemptydoublepage %\@mainmatterfalse
482 \let\appendix=\bppendix
483 \def\bibsection{\chapter*{\refname}\@mkboth{\refname}{\refname}%
484      \addcontentsline{toc}{chapter}{\refname}%
485      \csname biblst@rthook\endcsname\par}%
486 }
487
488 \renewenvironment{titlepage}
489     {%
490       \cleardoublepage
491       \if@twocolumn
492         \@restonecoltrue\onecolumn
493       \else
494         \@restonecolfalse\newpage
495       \fi
496       \thispagestyle{empty}%
497       \addtocounter{page}\m@ne
498   \def\and{\unskip, }
499   \parindent=\z@
500   \pretolerance=10000
501   \rightskip=0pt plus 1fil
502   \large                    % default size for titlepage
503   \vspace*{2em}             % Vertical space above title.
504  }{{\LARGE                   % each author set in \LARGE
505    \lineskip .5em
506    \@author
507    \par}%
508   \vskip 2cm                % Vertical space after author.
509   {\Huge\bfseries\@title \par}% Title set in \Huge size and bold face
510   \vskip 1cm                % Vertical space after title.
511   \if!\@subtitle!\else
512    {\LARGE\ignorespaces\@subtitle \par}
513    \vskip 1cm               % Vertical space after subtitle.
514   \fi
515   \if!\@date!\else
516     \@date
517     \par
518     \vskip 1.5em            % Vertical space after date.
519   \fi
520  \vfill
521  {\Large\bfseries Springer\par}
522 %\vskip 3pt
523 %\itshape
524 %  Berlin\enspace Heidelberg\enspace New\kern0.1em York\\
525 %  Hong\kern0.2em Kong\enspace London\\
526 %  Milan\enspace Paris\enspace Tokyo\par
527      \if@restonecol\twocolumn \else \newpage \fi
528      \if@twoside\else
529         \setcounter{page}\@ne
530      \fi
531  \clearheadinfo
532 }
533
534 \def\@chapapp{\chaptername}
535
536 \newdimen\mottowidth
537 \newcommand\motto[2][77mm]{%
538 \setlength{\mottowidth}{#1}%
539 \gdef\m@ttotext{#2}}
540 %
541 \newcommand{\processmotto}{\@ifundefined{m@ttotext}{}{%
542     \setbox0=\hbox{\vbox{\hyphenpenalty=50
543     \begin{flushright}
544     \begin{minipage}{\mottowidth}
545        \vrule\@width\z@\@height21\p@\@depth\z@
546        \normalfont\mottosize\mottostyle\m@ttotext
547     \end{minipage}
548     \end{flushright}}}%
549     \@tempdima=\pagetotal
550     \advance\@tempdima by\ht0
551     \ifdim\@tempdima<157\p@
552        \multiply\@tempdima by-1
553        \advance\@tempdima by157\p@
554        \vskip\@tempdima
555     \fi
556     \box0\par
557     \global\let\m@ttotext=\undefined}}
558
559 \newcommand{\chapsubtitle}[1]{%
560 \gdef\ch@psubtitle{#1}}
561 %
562 \newcommand{\processchapsubtit}{\@ifundefined{ch@psubtitle}{}{%
563     {\normalfont\chapnumsize\chapnumstyle
564     \vskip 14\p@
565     \ch@psubtitle
566     \par}
567     \global\let\ch@psubtitle=\undefined}}
568
569 \newcommand{\chapauthor}[1]{%
570 \gdef\ch@pauthor{#1}}
571 %
572 \newcommand{\processchapauthor}{\@ifundefined{ch@pauthor}{}{%
573     {\normalfont\chapauthsize\chapauthstyle
574     \vskip 20\p@
575     \ch@pauthor
576     \par}
577     \global\let\ch@pauthor=\undefined}}
578
579 \newcommand\chapter{\startnewpage
580                     \@ifundefined{thispagecropped}{}{\thispagecropped}
581                     \thispagestyle{bchap}%
582                     \if@chapnum\else
583                        \begingroup
584                          \let\@elt\@stpelt
585                          \csname cl@chapter\endcsname
586                        \endgroup
587                     \fi
588                     \global\@topnum\z@
589                     \@afterindentfalse
590                     \secdef\@chapter\@schapter}
591
592 \def\@chapter[#1]#2{\if@chapnum  % war mal \ifnum \c@secnumdepth >\m@ne
593                        \refstepcounter{chapter}%
594                        \if@mainmatter
595                          \typeout{\@chapapp\space\thechapter.}%
596                          \addcontentsline{toc}{chapter}{\protect
597                                   \numberline{\thechapter\thechapterend}#1}%
598                        \else
599                          \addcontentsline{toc}{chapter}{#1}%
600                        \fi
601                     \else
602                       \addcontentsline{toc}{chapter}{#1}%
603                     \fi
604                     \chaptermark{#1}%
605                     \addtocontents{lof}{\protect\addvspace{10\p@}}%
606                     \addtocontents{lot}{\protect\addvspace{10\p@}}%
607                     \if@twocolumn
608                       \@topnewpage[\@makechapterhead{#2}]%
609                     \else
610                       \@makechapterhead{#2}%
611                       \@afterheading
612                     \fi}
613
614 \def\@schapter#1{\if@twocolumn
615                    \@topnewpage[\@makeschapterhead{#1}]%
616                  \else
617                    \@makeschapterhead{#1}%
618                    \@afterheading
619                  \fi}
620
621 %%changes position and layout of numbered chapter headings
622 \def\@makechapterhead#1{{\parindent\z@\raggedright\normalfont
623   \hyphenpenalty \@M
624   \interlinepenalty\@M
625   \if@chapnum
626      \chapnumsize\chapnumstyle
627      \@chapapp\ \thechapter\thechapterend\par
628      \vskip 2\p@
629   \fi
630   \chapsize\chapstyle
631   \ignorespaces#1\par\nobreak
632   \processchapsubtit
633   \processchapauthor
634   \processmotto
635   \ifdim\pagetotal>167\p@
636      \vskip 11\p@
637   \else
638      \@tempdima=167\p@\advance\@tempdima by-\pagetotal
639      \vskip\@tempdima
640   \fi}}
641
642 %%changes position and layout of unnumbered chapter headings
643 \def\@makeschapterhead#1{{\parindent \z@ \raggedright\normalfont
644   \hyphenpenalty \@M
645   \interlinepenalty\@M
646   \chapsize\chapstyle
647   \ignorespaces#1\par\nobreak
648   \processmotto
649   \ifdim\pagetotal>167\p@
650      \vskip 11\p@
651   \else
652      \@tempdima=168\p@\advance\@tempdima by-\pagetotal
653      \vskip\@tempdima
654   \fi}}
655 %
656 % dedication environment
657 \newenvironment{dedication}
658 {\clearemptydoublepage
659 \thispagestyle{empty}
660 \vspace*{13\baselineskip}
661 \large\itshape
662 \let\\\@centercr\@rightskip\@flushglue \rightskip\@rightskip
663 \leftskip4cm\parindent\z@\relax
664 \everypar{\parindent=\svparindent\let\everypar\empty}}{\clearpage}
665 %
666 % predefined unnumbered headings
667 \newcommand{\preface}[1][\prefacename]{\chapter*{#1}\markboth{#1}{#1}}
668 \newcommand{\foreword}[1][\forewordname]{\chapter*{#1}\markboth{#1}{#1}}
669 \newcommand{\contributors}[1][\contriblistname]{\chapter*{#1}\markboth{#1}{#1}}
670 \newcommand{\extrachap}[1]{\chapter*{#1}\markboth{#1}{#1}}
671 % same with TOC entry
672 \newcommand{\Extrachap}[1]{\chapter*{#1}\markboth{#1}{#1}%
673 \addcontentsline{toc}{chapter}{#1}}
674
675 % measures and setting of sections
676 \renewcommand\section{\@startsection{section}{1}{\z@}%
677                        {-30\p@}% \p@lus -4\p@ \@minus -4\p@}%
678                        {16\p@}% \p@lus 4\p@ \@minus 4\p@}%
679                        {\normalfont\secsize\secstyle
680                         \rightskip=\z@ \@plus 8em\pretolerance=10000 }}
681 \renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
682                        {-30\p@}% \p@lus -4\p@ \@minus -4\p@}%
683                        {16\p@}% \p@lus 4\p@ \@minus 4\p@}%
684                        {\normalfont\subsecsize\subsecstyle
685                         \rightskip=\z@ \@plus 8em\pretolerance=10000 }}
686 \renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
687                        {-24\p@}% \p@lus -4\p@ \@minus -4\p@}%
688                        {12\p@}% \p@lus 4\p@ \@minus 4\p@}%
689                        {\normalfont\normalsize\subsubsecstyle
690                         \rightskip=\z@ \@plus 8em\pretolerance=10000 }}
691 \renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
692                        {-24\p@}% \p@lus -4\p@ \@minus -4\p@}%
693                        {12\p@}% \p@lus 4\p@ \@minus 4\p@}%
694                        {\normalfont\normalsize\upshape
695                         \rightskip=\z@ \@plus 8em\pretolerance=10000 }}
696 \renewcommand\subparagraph{\@startsection{paragraph}{4}{\z@}%
697                        {-18\p@}% \p@lus -4\p@ \@minus -4\p@}%
698                        {6\p@}% \p@lus 4\p@ \@minus 4\p@}%
699                        {\normalfont\normalsize\itshape
700                         \rightskip=\z@ \@plus 8em\pretolerance=10000 }}
701 \newcommand\runinhead{\@startsection{paragraph}{4}{\z@}%
702                        {-6\p@}% \p@lus -4\p@ \@minus -4\p@}%
703                        {-6\p@}%
704                        {\normalfont\normalsize\bfseries\boldmath
705                         \rightskip=\z@ \@plus 8em\pretolerance=10000 }}
706 \newcommand\subruninhead{\@startsection{paragraph}{4}{\z@}%
707                        {-6\p@}% \p@lus -4\p@ \@minus -4\p@}%
708                        {-6\p@}%
709                        {\normalfont\normalsize\itshape
710                         \rightskip=\z@ \@plus 8em\pretolerance=10000 }}
711
712 % Appendix
713 \renewcommand\appendix{\par}         %article appendix
714
715 \newcommand\bppendix{\startnewpage            %book appendix
716                 \pagestyle{headings}
717                 \stepcounter{chapter}
718                 \setcounter{chapter}{0}
719                 \stepcounter{section}
720                 \setcounter{section}{0}
721                 \setcounter{equation}{0}
722                 \setcounter{figure}{0}
723                 \setcounter{table}{0}
724                 \setcounter{footnote}{0}
725 \let\if@chapnum=\iftrue
726 \def\@chapapp{\appendixname}
727 \renewcommand\thechapter{\@Alph\c@chapter}
728 \renewcommand\thesection{\thechapter.\@arabic\c@section}
729 \renewcommand\thesubsection{\thesection.\@arabic\c@subsection}
730 \renewcommand\theequation{\thechapter.\@arabic\c@equation}
731 \renewcommand\thefigure{\thechapter.\@arabic\c@figure}
732 \renewcommand\thetable{\thechapter.\@arabic\c@table}}
733
734 \def\hyperhrefextend{\ifx\hyper@anchor\@undefined\else
735 {\@currentHref}\fi}
736
737 \def\runinsep{}
738 \def\aftertext{\unskip\runinsep}
739 %
740 %
741 \def\@ssect#1#2#3#4#5{%
742   \@tempskipa #3\relax
743   \ifdim \@tempskipa>\z@
744     \begingroup
745       #4{%
746         \@hangfrom{\hskip #1}%
747           \raggedright
748           \hyphenpenalty \@M
749           \interlinepenalty \@M #5\@@par}%
750     \endgroup
751   \else
752     \def\@svsechd{#4{\hskip #1\relax #5}}%
753   \fi
754   \@xsect{#3}}
755 %
756 \def\@sect#1#2#3#4#5#6[#7]#8{%
757    \ifnum #2>\c@secnumdepth
758       \let\@svsec\@empty
759    \else
760       \refstepcounter{#1}%
761       \protected@edef\@svsec{\@seccntformat{#1}\relax}%
762    \fi
763    \@tempskipa #5\relax
764    \ifdim \@tempskipa>\z@
765       \begingroup #6\relax
766          \sec@hangfrom{\hskip #3\relax\@svsec}%
767          {\raggedright
768           \hyphenpenalty \@M
769           \interlinepenalty \@M #8\@@par}%
770       \endgroup
771       \csname #1mark\endcsname{#7}%
772       \addcontentsline{toc}{#1}{%
773         \ifnum #2>\c@secnumdepth \else
774           \protect\numberline{\csname the#1\endcsname}%
775         \fi
776         #7}%
777       \ifnum #2>\c@minitocdepth \else
778          \mtaddtocont{\protect\contentsline
779              \ifnum #2>\@ne{mtsec}\else{mtchap}\fi
780              \ifnum #2>\c@secnumdepth
781                 {#7}%
782              \else
783                 {\protect\numberline{\csname the#1\endcsname}#7}%
784              \fi
785              {\thepage}\hyperhrefextend}%
786       \fi
787    \else
788       \def\@svsechd{%
789          #6\hskip #3\relax
790          \@svsec #8\aftertext\ignorespaces
791          \csname #1mark\endcsname{#7}%
792          \addcontentsline{toc}{#1}{%
793             \ifnum #2>\c@secnumdepth \else
794                 \protect\numberline{\csname the#1\endcsname}%
795             \fi
796             #7}}%
797    \fi
798    \@xsect{#5}}
799
800 % figures and tables are processed in small print
801 \def \@floatboxreset {%
802         \reset@font
803         \small
804         \@setnobreak
805         \@setminipage
806 }
807 \def\fps@figure{htbp}
808 \def\fps@table{htbp}
809 %
810 % Frame for paste-in figures or tables
811 \def\mpicplace#1#2{%  #1 =width   #2 =height
812 \vbox{\hbox to #1{\vrule\@width \fboxrule \@height #2\hfill}}}
813 %
814 \newenvironment{svgraybox}%
815        {\ClassWarning{Springer-SVMono}{Environment "svgraybox" not available,\MessageBreak
816          switching over to "quotation" environment;\MessageBreak
817          specify documentclass option "graybox",\MessageBreak
818          see SVMono documentation -}%
819                 \par\addvspace{6pt}
820                 \list{}{\listparindent12\p@%
821                         \leftmargin=12\p@%
822                         \itemindent    \listparindent
823                         \rightmargin   \leftmargin
824                         \parsep        \z@ \@plus\p@}%
825                 \expandafter\item\parindent=\svparindent
826                 \relax\hskip-\listparindent}%
827        {\endlist}%
828 %
829 \newenvironment{svtintedbox}%
830        {\ClassWarning{Springer-SVMono}{Environment "svtintedbox" not available,\MessageBreak
831          switching over to "quotation" environment;\MessageBreak
832          specify documentclass option "graybox",\MessageBreak
833          see SVMono documentation -}%
834                 \par\addvspace{6pt}
835                 \list{}{\listparindent12\p@%
836                         \leftmargin=12\p@%
837                         \itemindent    \listparindent
838                         \rightmargin   \leftmargin
839                         \parsep        \z@ \@plus\p@}%
840                 \expandafter\item\parindent=\svparindent
841                 \relax\hskip-\listparindent}%
842        {\endlist}%
843 %
844 \renewenvironment{quotation}
845                {\par\addvspace{6pt}
846                 \list{}{\listparindent12\p@%
847                         \leftmargin=12\p@%
848                         \itemindent    \listparindent
849                         \rightmargin   \leftmargin
850                         \parsep        \z@ \@plus\p@%
851                         \small}%
852                 \item\relax\hskip-\listparindent}
853                {\endlist}
854 %
855 \renewenvironment{quote}
856                {\par\addvspace{6pt}
857                 \list{}{\leftmargin=12\p@%
858                 \rightmargin\leftmargin
859                 \parsep=3\p@
860                 \small}%
861                 \item\relax}
862                {\endlist}
863
864 % labels of enumerate
865 \renewcommand\labelenumii{\theenumii.}
866 \renewcommand\theenumii{\@alph\c@enumii}
867
868 % labels of itemize
869 \renewcommand\labelitemi{\textbullet}
870 \renewcommand\labelitemii{\textendash}
871 \let\labelitemiii=\labelitemiv
872
873 % labels of description
874 \renewcommand*\descriptionlabel[1]{\hspace\labelsep #1\hfil}
875
876 % fixed indentation for standard itemize-environment
877 \newdimen\svitemindent \setlength{\svitemindent}{\parindent}
878
879
880 % make indentations changeable
881
882 \def\setitemindent#1{\settowidth{\labelwidth}{#1}%
883         \let\setit@m=Y%
884         \leftmargini\labelwidth
885         \advance\leftmargini\labelsep
886    \def\@listi{\leftmargin\leftmargini
887         \labelwidth\leftmargini\advance\labelwidth by -\labelsep
888         \parsep=\parskip
889         \topsep=\medskipamount
890         \itemsep=\parskip \advance\itemsep by -\parsep}}
891 \def\setitemitemindent#1{\settowidth{\labelwidth}{#1}%
892         \let\setit@m=Y%
893         \leftmarginii\labelwidth
894         \advance\leftmarginii\labelsep
895 \def\@listii{\leftmargin\leftmarginii
896         \labelwidth\leftmarginii\advance\labelwidth by -\labelsep
897         \parsep=\parskip
898         \topsep=6\p@
899         \itemsep=\parskip \advance\itemsep by -\parsep}}
900 %
901 % adjusted environment "description"
902 % if an optional parameter (at the first two levels of lists)
903 % is present, its width is considered to be the widest mark
904 % throughout the current list.
905 \def\description{\@ifnextchar[{\@describe}{\list{}{\labelwidth\z@
906 \labelsep=12pt\relax  %!!!!!!!!!
907 \leftmargini=12pt\relax  %!!!!!!!!!
908 \leftmargin=12pt\relax  %!!!!!!!!!
909           \itemindent-\leftmargin \let\makelabel\descriptionlabel}}}
910 %
911 \def\describelabel#1{#1\hfil}
912 \def\@describe[#1]{\labelsep=12pt\relax
913 \relax\ifnum\@listdepth=0
914 \setitemindent{#1}\else\ifnum\@listdepth=1
915 \setitemitemindent{#1}\fi\fi
916 \list{--}{\let\makelabel\describelabel}}
917 %
918 \def\itemize{%
919   \ifnum \@itemdepth >\thr@@\@toodeep\else
920     \advance\@itemdepth\@ne
921     \ifx\setit@m\undefined
922        \ifnum \@itemdepth=1 \leftmargini=\svitemindent
923           \labelwidth\leftmargini\advance\labelwidth-\labelsep
924           \leftmarginii=\leftmargini \leftmarginiii=\leftmargini
925        \fi
926     \fi
927     \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
928     \expandafter\list
929       \csname\@itemitem\endcsname
930       {\def\makelabel##1{\rlap{##1}\hss}}%
931   \fi}
932 %
933 \def\enumerate{%
934   \ifnum \@enumdepth >\thr@@\@toodeep\else
935     \advance\@enumdepth\@ne
936     \ifx\setit@m\undefined
937        \ifnum \@enumdepth=1 \leftmargini=\svitemindent
938           \labelwidth\leftmargini\advance\labelwidth-\labelsep
939           \leftmarginii=\leftmargini \leftmarginiii=\leftmargini
940        \fi
941     \fi
942     \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
943       \expandafter
944       \list
945         \csname label\@enumctr\endcsname
946         {\usecounter\@enumctr\def\makelabel##1{\hss\llap{##1}}}%
947   \fi}
948 %
949 \newdimen\verbatimindent \verbatimindent\parindent
950 \def\verbatim{\advance\@totalleftmargin by\verbatimindent
951 \@verbatim \frenchspacing\@vobeyspaces \@xverbatim}
952
953 %
954 %  special signs and characters
955 \newcommand{\D}{\mathrm{d}}
956 \newcommand{\E}{\mathrm{e}}
957 \let\eul=\E
958 \newcommand{\I}{{\rm i}}
959 \let\imag=\I
960 %
961 % the definition of uppercase Greek characters
962 % Springer likes them as italics to depict variables
963 \DeclareMathSymbol{\Gamma}{\mathalpha}{letters}{"00}
964 \DeclareMathSymbol{\Delta}{\mathalpha}{letters}{"01}
965 \DeclareMathSymbol{\Theta}{\mathalpha}{letters}{"02}
966 \DeclareMathSymbol{\Lambda}{\mathalpha}{letters}{"03}
967 \DeclareMathSymbol{\Xi}{\mathalpha}{letters}{"04}
968 \DeclareMathSymbol{\Pi}{\mathalpha}{letters}{"05}
969 \DeclareMathSymbol{\Sigma}{\mathalpha}{letters}{"06}
970 \DeclareMathSymbol{\Upsilon}{\mathalpha}{letters}{"07}
971 \DeclareMathSymbol{\Phi}{\mathalpha}{letters}{"08}
972 \DeclareMathSymbol{\Psi}{\mathalpha}{letters}{"09}
973 \DeclareMathSymbol{\Omega}{\mathalpha}{letters}{"0A}
974 % the upright forms are defined here as \var<Character>
975 \DeclareMathSymbol{\varGamma}{\mathalpha}{operators}{"00}
976 \DeclareMathSymbol{\varDelta}{\mathalpha}{operators}{"01}
977 \DeclareMathSymbol{\varTheta}{\mathalpha}{operators}{"02}
978 \DeclareMathSymbol{\varLambda}{\mathalpha}{operators}{"03}
979 \DeclareMathSymbol{\varXi}{\mathalpha}{operators}{"04}
980 \DeclareMathSymbol{\varPi}{\mathalpha}{operators}{"05}
981 \DeclareMathSymbol{\varSigma}{\mathalpha}{operators}{"06}
982 \DeclareMathSymbol{\varUpsilon}{\mathalpha}{operators}{"07}
983 \DeclareMathSymbol{\varPhi}{\mathalpha}{operators}{"08}
984 \DeclareMathSymbol{\varPsi}{\mathalpha}{operators}{"09}
985 \DeclareMathSymbol{\varOmega}{\mathalpha}{operators}{"0A}
986 % Upright Lower Case Greek letters without using a new MathAlphabet
987 \newcommand{\greeksym}[1]{\usefont{U}{psy}{m}{n}#1}
988 \newcommand{\greeksymbold}[1]{{\usefont{U}{psy}{b}{n}#1}}
989 \newcommand{\allmodesymb}[2]{\relax\ifmmode{\mathchoice
990 {\mbox{\fontsize{\tf@size}{\tf@size}#1{#2}}}
991 {\mbox{\fontsize{\tf@size}{\tf@size}#1{#2}}}
992 {\mbox{\fontsize{\sf@size}{\sf@size}#1{#2}}}
993 {\mbox{\fontsize{\ssf@size}{\ssf@size}#1{#2}}}}
994 \else
995 \mbox{#1{#2}}\fi}
996 % Definition of lower case Greek letters
997 \newcommand{\ualpha}{\allmodesymb{\greeksym}{a}}
998 \newcommand{\ubeta}{\allmodesymb{\greeksym}{b}}
999 \newcommand{\uchi}{\allmodesymb{\greeksym}{c}}
1000 \newcommand{\udelta}{\allmodesymb{\greeksym}{d}}
1001 \newcommand{\ugamma}{\allmodesymb{\greeksym}{g}}
1002 \newcommand{\umu}{\allmodesymb{\greeksym}{m}}
1003 \newcommand{\unu}{\allmodesymb{\greeksym}{n}}
1004 \newcommand{\upi}{\allmodesymb{\greeksym}{p}}
1005 \newcommand{\utau}{\allmodesymb{\greeksym}{t}}
1006 % redefines the \vec accent to a bold character - if desired
1007 \def\fig@type{arrow}% temporarily abused
1008 \ifx\vec@style\fig@type\else
1009 \@ifundefined{vec@style}{%
1010  \def\vec#1{\ensuremath{\mathchoice
1011                      {\mbox{\boldmath$\displaystyle\mathbf{#1}$}}
1012                      {\mbox{\boldmath$\textstyle\mathbf{#1}$}}
1013                      {\mbox{\boldmath$\scriptstyle\mathbf{#1}$}}
1014                      {\mbox{\boldmath$\scriptscriptstyle\mathbf{#1}$}}}}%
1015 }
1016 {\def\vec#1{\ensuremath{\mathchoice
1017                      {\mbox{\boldmath$\displaystyle#1$}}
1018                      {\mbox{\boldmath$\textstyle#1$}}
1019                      {\mbox{\boldmath$\scriptstyle#1$}}
1020                      {\mbox{\boldmath$\scriptscriptstyle#1$}}}}%
1021 }
1022 \fi
1023 % tensor
1024 \def\tens#1{\relax\ifmmode\mathsf{#1}\else\textsf{#1}\fi}
1025
1026 % end of proof symbol
1027 \newcommand\qedsymbol{\hbox{\rlap{$\sqcap$}$\sqcup$}}
1028 \newcommand\qed{\relax\ifmmode\else\unskip\quad\fi\qedsymbol}
1029 \newcommand\smartqed{\renewcommand\qed{\relax\ifmmode\qedsymbol\else
1030   {\unskip\nobreak\hfil\penalty50\hskip1em\null\nobreak\hfil\qedsymbol
1031   \parfillskip=\z@\finalhyphendemerits=0\endgraf}\fi}}
1032 %
1033 \newif\if@numart   \@numarttrue
1034 \def\ds@numart{\@numarttrue
1035   \@takefromreset{figure}{chapter}%
1036   \@takefromreset{table}{chapter}%
1037   \@takefromreset{equation}{chapter}%
1038   \def\thesection{\@arabic\c@section}%
1039   \def\thefigure{\@arabic\c@figure}%
1040   \def\thetable{\@arabic\c@table}%
1041   \def\theequation{\arabic{equation}}%
1042   \def\thesubequation{\arabic{equation}\alph{subequation}}}
1043 %
1044 \def\ds@book{\@numartfalse
1045 \def\thesection{\thechapter.\@arabic\c@section}%
1046 \def\thefigure{\thechapter.\@arabic\c@figure}%
1047 \def\thetable{\thechapter.\@arabic\c@table}%
1048 \def\theequation{\thechapter.\arabic{equation}}%
1049 \@addtoreset{section}{chapter}%
1050 \@addtoreset{figure}{chapter}%
1051 \@addtoreset{table}{chapter}%
1052 \@addtoreset{equation}{chapter}}
1053 %
1054 % Ragged bottom for the actual page
1055 \def\thisbottomragged{\def\@textbottom{\vskip\z@ \@plus.0001fil
1056 \global\let\@textbottom\relax}}
1057
1058 % This is texte.tex
1059 % it defines various texts and their translations
1060 % called up with documentstyle options
1061 \def\switcht@albion{%
1062 \def\abbrsymbname{List of Abbreviations and Symbols}%
1063 \def\abstractname{Abstract}%
1064 \def\ackname{Acknowledgements}%
1065 \def\andname{and}%
1066 \def\bibname{References}%
1067 \def\lastandname{, and}%
1068 \def\appendixname{Appendix}%
1069 \def\chaptername{Chapter}%
1070 \def\claimname{Claim}%
1071 \def\conjecturename{Conjecture}%
1072 \def\contentsname{Contents}%
1073 \def\corollaryname{Corollary}%
1074 \def\definitionname{Definition}%
1075 \def\emailname{e-mail}%
1076 \def\examplename{Example}%
1077 \def\exercisename{Exercise}%
1078 \def\figurename{Fig.}%
1079 \def\forewordname{Foreword}%
1080 \def\keywordname{{\bf Key words:}}%
1081 \def\indexname{Index}%
1082 \def\lemmaname{Lemma}%
1083 \def\contriblistname{List of Contributors}%
1084 \def\listfigurename{List of Figures}%
1085 \def\listtablename{List of Tables}%
1086 \def\mailname{{\it Correspondence to\/}:}%
1087 \def\noteaddname{Note added in proof}%
1088 \def\notename{Note}%
1089 \def\partname{Part}%
1090 \def\prefacename{Preface}%
1091 \def\problemname{Problem}%
1092 \def\proofname{Proof}%
1093 \def\propertyname{Property}%
1094 \def\propositionname{Proposition}%
1095 \def\questionname{Question}%
1096 \def\refname{References}%
1097 \def\remarkname{Remark}%
1098 \def\seename{see}%
1099 \def\solutionname{Solution}%
1100 \def\subclassname{{\it Subject Classifications\/}:}%
1101 \def\tablename{Table}%
1102 \def\theoremname{Theorem}}
1103 \switcht@albion
1104 % Names of theorem like environments are already defined
1105 % but must be translated if another language is chosen
1106 %
1107 % French section
1108 \def\switcht@francais{\svlanginfo
1109  \def\abbrsymbname{Liste des abbr\'eviations et symboles}%
1110  \def\abstractname{R\'esum\'e.}%
1111  \def\ackname{Remerciements.}%
1112  \def\andname{et}%
1113  \def\lastandname{ et}%
1114  \def\appendixname{Appendice}%
1115  \def\bibname{Bibliographie}%
1116  \def\chaptername{Chapitre}%
1117  \def\claimname{Pr\'etention}%
1118  \def\conjecturename{Hypoth\`ese}%
1119  \def\contentsname{Table des mati\`eres}%
1120  \def\corollaryname{Corollaire}%
1121  \def\definitionname{D\'efinition}%
1122  \def\emailname{e-mail}%
1123  \def\examplename{Exemple}%
1124  \def\exercisename{Exercice}%
1125  \def\figurename{Fig.}%
1126  \def\forewordname{Avant-propos}%
1127  \def\keywordname{{\bf Mots-cl\'e:}}%
1128  \def\indexname{Index}%
1129  \def\lemmaname{Lemme}%
1130  \def\contriblistname{Liste des contributeurs}%
1131  \def\listfigurename{Liste des figures}%
1132  \def\listtablename{Liste des tables}%
1133  \def\mailname{{\it Correspondence to\/}:}%
1134  \def\noteaddname{Note ajout\'ee \`a l'\'epreuve}%
1135  \def\notename{Remarque}%
1136  \def\partname{Partie}%
1137  \def\prefacename{Pr\'eface}%
1138  \def\problemname{Probl\`eme}%
1139  \def\proofname{Preuve}%
1140  \def\propertyname{Caract\'eristique}%
1141 %\def\propositionname{Proposition}%
1142  \def\questionname{Question}%
1143  \def\refname{Litt\'erature}%
1144  \def\remarkname{Remarque}%
1145  \def\seename{voir}%
1146  \def\solutionname{Solution}%
1147  \def\subclassname{{\it Subject Classifications\/}:}%
1148  \def\tablename{Tableau}%
1149  \def\theoremname{Th\'eor\`eme}%
1150 }
1151 %
1152 % German section
1153 \def\switcht@deutsch{\svlanginfo
1154  \def\abbrsymbname{Abk\"urzungs- und Symbolverzeichnis}%
1155  \def\abstractname{Zusammenfassung}%
1156  \def\ackname{Danksagung}%
1157  \def\andname{und}%
1158  \def\lastandname{ und}%
1159  \def\appendixname{Anhang}%
1160  \def\bibname{Literaturverzeichnis}%
1161  \def\chaptername{Kapitel}%
1162  \def\claimname{Behauptung}%
1163  \def\conjecturename{Hypothese}%
1164  \def\contentsname{Inhaltsverzeichnis}%
1165  \def\corollaryname{Korollar}%
1166 %\def\definitionname{Definition}%
1167  \def\emailname{E-mail}%
1168  \def\examplename{Beispiel}%
1169  \def\exercisename{\"Ubung}%
1170  \def\figurename{Abb.}%
1171  \def\forewordname{Geleitwort}%
1172  \def\keywordname{{\bf Schl\"usselw\"orter:}}%
1173  \def\indexname{Sachverzeichnis}%
1174 %\def\lemmaname{Lemma}%
1175  \def\contriblistname{Mitarbeiter}%
1176  \def\listfigurename{Abbildungsverzeichnis}%
1177  \def\listtablename{Tabellenverzeichnis}%
1178  \def\mailname{{\it Correspondence to\/}:}%
1179  \def\noteaddname{Nachtrag}%
1180  \def\notename{Anmerkung}%
1181  \def\partname{Teil}%
1182  \def\prefacename{Vorwort}%
1183 %\def\problemname{Problem}%
1184  \def\proofname{Beweis}%
1185  \def\propertyname{Eigenschaft}%
1186 %\def\propositionname{Proposition}%
1187  \def\questionname{Frage}%
1188  \def\refname{Literaturverzeichnis}%
1189  \def\remarkname{Anmerkung}%
1190  \def\seename{siehe}%
1191  \def\solutionname{L\"osung}%
1192  \def\subclassname{{\it Subject Classifications\/}:}%
1193  \def\tablename{Tabelle}%
1194 %\def\theoremname{Theorem}%
1195 }
1196
1197 \def\getsto{\mathrel{\mathchoice {\vcenter{\offinterlineskip
1198 \halign{\hfil
1199 $\displaystyle##$\hfil\cr\gets\cr\to\cr}}}
1200 {\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr\gets
1201 \cr\to\cr}}}
1202 {\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr\gets
1203 \cr\to\cr}}}
1204 {\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr
1205 \gets\cr\to\cr}}}}}
1206 \def\lid{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
1207 $\displaystyle##$\hfil\cr<\cr\noalign{\vskip1.2\p@}=\cr}}}
1208 {\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr<\cr
1209 \noalign{\vskip1.2\p@}=\cr}}}
1210 {\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr<\cr
1211 \noalign{\vskip\p@}=\cr}}}
1212 {\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr
1213 <\cr
1214 \noalign{\vskip0.9\p@}=\cr}}}}}
1215 \def\gid{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
1216 $\displaystyle##$\hfil\cr>\cr\noalign{\vskip1.2\p@}=\cr}}}
1217 {\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr>\cr
1218 \noalign{\vskip1.2\p@}=\cr}}}
1219 {\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr>\cr
1220 \noalign{\vskip\p@}=\cr}}}
1221 {\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr
1222 >\cr
1223 \noalign{\vskip0.9\p@}=\cr}}}}}
1224 \def\grole{\mathrel{\mathchoice {\vcenter{\offinterlineskip
1225 \halign{\hfil
1226 $\displaystyle##$\hfil\cr>\cr\noalign{\vskip-\p@}<\cr}}}
1227 {\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr
1228 >\cr\noalign{\vskip-\p@}<\cr}}}
1229 {\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr
1230 >\cr\noalign{\vskip-0.8\p@}<\cr}}}
1231 {\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr
1232 >\cr\noalign{\vskip-0.3\p@}<\cr}}}}}
1233 \def\bbbr{{\rm I\!R}} %reelle Zahlen
1234 \def\bbbm{{\rm I\!M}}
1235 \def\bbbn{{\rm I\!N}} %natuerliche Zahlen
1236 \def\bbbf{{\rm I\!F}}
1237 \def\bbbh{{\rm I\!H}}
1238 \def\bbbk{{\rm I\!K}}
1239 \def\bbbp{{\rm I\!P}}
1240 \def\bbbone{{\mathchoice {\rm 1\mskip-4mu l} {\rm 1\mskip-4mu l}
1241 {\rm 1\mskip-4.5mu l} {\rm 1\mskip-5mu l}}}
1242 \def\bbbc{{\mathchoice {\setbox0=\hbox{$\displaystyle\rm C$}\hbox{\hbox
1243 to\z@{\kern0.4\wd0\vrule\@height0.9\ht0\hss}\box0}}
1244 {\setbox0=\hbox{$\textstyle\rm C$}\hbox{\hbox
1245 to\z@{\kern0.4\wd0\vrule\@height0.9\ht0\hss}\box0}}
1246 {\setbox0=\hbox{$\scriptstyle\rm C$}\hbox{\hbox
1247 to\z@{\kern0.4\wd0\vrule\@height0.9\ht0\hss}\box0}}
1248 {\setbox0=\hbox{$\scriptscriptstyle\rm C$}\hbox{\hbox
1249 to\z@{\kern0.4\wd0\vrule\@height0.9\ht0\hss}\box0}}}}
1250 \def\bbbq{{\mathchoice {\setbox0=\hbox{$\displaystyle\rm
1251 Q$}\hbox{\raise
1252 0.15\ht0\hbox to\z@{\kern0.4\wd0\vrule\@height0.8\ht0\hss}\box0}}
1253 {\setbox0=\hbox{$\textstyle\rm Q$}\hbox{\raise
1254 0.15\ht0\hbox to\z@{\kern0.4\wd0\vrule\@height0.8\ht0\hss}\box0}}
1255 {\setbox0=\hbox{$\scriptstyle\rm Q$}\hbox{\raise
1256 0.15\ht0\hbox to\z@{\kern0.4\wd0\vrule\@height0.7\ht0\hss}\box0}}
1257 {\setbox0=\hbox{$\scriptscriptstyle\rm Q$}\hbox{\raise
1258 0.15\ht0\hbox to\z@{\kern0.4\wd0\vrule\@height0.7\ht0\hss}\box0}}}}
1259 \def\bbbt{{\mathchoice {\setbox0=\hbox{$\displaystyle\rm
1260 T$}\hbox{\hbox to\z@{\kern0.3\wd0\vrule\@height0.9\ht0\hss}\box0}}
1261 {\setbox0=\hbox{$\textstyle\rm T$}\hbox{\hbox
1262 to\z@{\kern0.3\wd0\vrule\@height0.9\ht0\hss}\box0}}
1263 {\setbox0=\hbox{$\scriptstyle\rm T$}\hbox{\hbox
1264 to\z@{\kern0.3\wd0\vrule\@height0.9\ht0\hss}\box0}}
1265 {\setbox0=\hbox{$\scriptscriptstyle\rm T$}\hbox{\hbox
1266 to\z@{\kern0.3\wd0\vrule\@height0.9\ht0\hss}\box0}}}}
1267 \def\bbbs{{\mathchoice
1268 {\setbox0=\hbox{$\displaystyle     \rm S$}\hbox{\raise0.5\ht0\hbox
1269 to\z@{\kern0.35\wd0\vrule\@height0.45\ht0\hss}\hbox
1270 to\z@{\kern0.55\wd0\vrule\@height0.5\ht0\hss}\box0}}
1271 {\setbox0=\hbox{$\textstyle        \rm S$}\hbox{\raise0.5\ht0\hbox
1272 to\z@{\kern0.35\wd0\vrule\@height0.45\ht0\hss}\hbox
1273 to\z@{\kern0.55\wd0\vrule\@height0.5\ht0\hss}\box0}}
1274 {\setbox0=\hbox{$\scriptstyle      \rm S$}\hbox{\raise0.5\ht0\hbox
1275 to\z@{\kern0.35\wd0\vrule\@height0.45\ht0\hss}\raise0.05\ht0\hbox
1276 to\z@{\kern0.5\wd0\vrule\@height0.45\ht0\hss}\box0}}
1277 {\setbox0=\hbox{$\scriptscriptstyle\rm S$}\hbox{\raise0.5\ht0\hbox
1278 to\z@{\kern0.4\wd0\vrule\@height0.45\ht0\hss}\raise0.05\ht0\hbox
1279 to\z@{\kern0.55\wd0\vrule\@height0.45\ht0\hss}\box0}}}}
1280 \def\bbbz{{\mathchoice {\hbox{$\textstyle\sf Z\kern-0.4em Z$}}
1281 {\hbox{$\textstyle\sf Z\kern-0.4em Z$}}
1282 {\hbox{$\scriptstyle\sf Z\kern-0.3em Z$}}
1283 {\hbox{$\scriptscriptstyle\sf Z\kern-0.2em Z$}}}}
1284
1285 \let\ts\,
1286
1287 \setlength\arrayrulewidth{.5\p@}
1288 \def\svhline{%
1289   \noalign{\ifnum0=`}\fi\hrule \@height2\arrayrulewidth \futurelet
1290    \reserved@a\@xhline}
1291
1292 \setlength \labelsep     {5\p@}
1293 \setlength\leftmargini   {17\p@}
1294 \setlength\leftmargin    {\leftmargini}
1295 \setlength\leftmarginii  {\leftmargini}
1296 \setlength\leftmarginiii {\leftmargini}
1297 \setlength\leftmarginiv  {\leftmargini}
1298 \setlength\labelwidth    {\leftmargini}
1299 \addtolength\labelwidth{-\labelsep}
1300
1301 \def\@listI{\leftmargin\leftmargini
1302         \parsep=\parskip
1303         \topsep=\medskipamount
1304         \itemsep=\parskip \advance\itemsep by -\parsep}
1305 \let\@listi\@listI
1306 \@listi
1307
1308 \def\@listii{\leftmargin\leftmarginii
1309         \labelwidth\leftmarginii
1310         \advance\labelwidth by -\labelsep
1311         \parsep=\parskip
1312         \topsep=6\p@
1313         \itemsep=\parskip
1314         \advance\itemsep by -\parsep}
1315
1316 \def\@listiii{\leftmargin\leftmarginiii
1317         \labelwidth\leftmarginiii\advance\labelwidth by -\labelsep
1318         \parsep=\parskip
1319         \topsep=\z@
1320         \itemsep=\parskip
1321         \advance\itemsep by -\parsep
1322         \partopsep=\topsep}
1323
1324 \setlength\arraycolsep{1.5\p@}
1325 \setlength\tabcolsep{1.5\p@}
1326
1327 \def\tableofcontents{\chapter*{\contentsname\markboth{{\contentsname}}%
1328                                                     {{\contentsname}}}
1329  \def\authcount##1{\setcounter{auco}{##1}\setcounter{@auth}{1}}
1330  \def\lastand{\ifnum\value{auco}=2\relax
1331                  \unskip{} \andname\
1332               \else
1333                  \unskip \lastandname\
1334               \fi}%
1335  \def\and{\stepcounter{@auth}\relax
1336           \ifnum\value{@auth}=\value{auco}%
1337              \lastand
1338           \else
1339              \unskip,
1340           \fi}%
1341  \@starttoc{toc}\if@restonecol\twocolumn\fi}
1342
1343 \setcounter{tocdepth}{2}
1344
1345 \def\l@part#1#2{\addpenalty{\@secpenalty}%
1346    \addvspace{1em \@plus\p@}%
1347    \begingroup
1348      \parindent \z@
1349      \rightskip \z@ \@plus 5em
1350 %    \hrule\vskip5\p@
1351      \bfseries\boldmath
1352      \leavevmode
1353      #1\par
1354 %    \vskip5\p@
1355 %    \hrule
1356      \vskip\p@
1357      \nobreak
1358    \addvspace{1em \@plus\p@}%
1359    \endgroup}
1360
1361 \def\@dotsep{2}
1362
1363 \def\addnumcontentsmark#1#2#3{%
1364 \addtocontents{#1}{\protect\contentsline{#2}{\protect\numberline
1365                                     {\thechapter}#3}{\thepage}}}
1366 \def\addcontentsmark#1#2#3{%
1367 \addtocontents{#1}{\protect\contentsline{#2}{#3}{\thepage}}}
1368 \def\addcontentsmarkwop#1#2#3{%
1369 \addtocontents{#1}{\protect\contentsline{#2}{#3}{0}}}
1370
1371 \def\@adcmk[#1]{\ifcase #1 \or
1372 \def\@gtempa{\addnumcontentsmark}%
1373   \or    \def\@gtempa{\addcontentsmark}%
1374   \or    \def\@gtempa{\addcontentsmarkwop}%
1375   \fi\@gtempa{toc}{chapter}}
1376 \def\addtocmark{\@ifnextchar[{\@adcmk}{\@adcmk[3]}}
1377
1378 \def\l@chapter#1#2{\par\addpenalty{-\@highpenalty}
1379  \addvspace{1.0em \@plus \p@}
1380  \@tempdima \tocchpnum \begingroup
1381  \parindent \z@ \rightskip \@tocrmarg
1382  \advance\rightskip by \z@ \@plus 2cm
1383  \parfillskip -\rightskip \pretolerance=10000
1384  \leavevmode \advance\leftskip\@tempdima \hskip -\leftskip
1385  {\bfseries\boldmath#1}\ifx0#2\hfil\null
1386  \else
1387       \nobreak
1388       \leaders\hbox{$\m@th \mkern \@dotsep mu\hbox{.}\mkern
1389       \@dotsep mu$}\hfill
1390       \nobreak\hbox to\@pnumwidth{\hfil #2}%
1391  \fi\par
1392  \penalty\@highpenalty \endgroup}
1393
1394 \newcommand{\tocauthorstyle}{\upshape}
1395 \newcommand{\toctitlestyle}{\bfseries}
1396
1397 \def\l@title#1#2{\addpenalty{-\@highpenalty}
1398  \addvspace{8\p@ \@plus \p@}
1399  \@tempdima \z@
1400  \begingroup
1401  \tocchpnum \z@ \calctocindent
1402  \parindent \z@ \rightskip \@tocrmarg
1403  \advance\rightskip by \z@ \@plus 2cm
1404  \pretolerance=10000
1405  \parfillskip -\@tocrmarg
1406  \leavevmode \advance\leftskip\@tempdima \hskip -\leftskip
1407  {\toctitlestyle#1}%\nobreak
1408  \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern
1409  \@dotsep mu$}\hfill
1410  \nobreak\hbox to\@pnumwidth{\hss #2}%
1411  \par
1412  \penalty\@highpenalty \endgroup}
1413
1414 \def\l@titlech#1#2{\addpenalty{-\@highpenalty}
1415  \addvspace{8\p@ \@plus \p@}
1416  \@tempdima=\tocchpnum
1417  \begingroup
1418  \parindent \z@ \rightskip \@tocrmarg
1419  \advance\rightskip by \z@ \@plus 2cm
1420  \pretolerance=10000
1421  \parfillskip -\@tocrmarg
1422  \leavevmode \advance\leftskip\@tempdima \hskip -\leftskip
1423  {\toctitlestyle#1}%\nobreak
1424  \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern
1425  \@dotsep mu$}\hfill
1426  \nobreak\hbox to\@pnumwidth{\hss #2}%
1427  \par
1428  \penalty\@highpenalty \endgroup}
1429
1430 \newcommand{\tocaftauthskip}{\z@}
1431 \def\l@author#1#2{%\addpenalty{\@highpenalty}
1432  \@tempdima \z@
1433  \begingroup
1434  \pretolerance=10000
1435  \parindent \z@ \rightskip \@tocrmarg
1436  \advance\rightskip by \z@ \@plus 2cm
1437 %\parfillskip -\@tocrmarg
1438  \leavevmode \advance\leftskip\@tempdima \hskip -\leftskip
1439  {\tocauthorstyle#1}\nobreak
1440 %\leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern
1441 %\@dotsep mu$}\hfill
1442 %\nobreak\hbox to\@pnumwidth{\hss #2}%
1443  \par
1444  \penalty\@highpenalty
1445  \addvspace{\tocaftauthskip}\endgroup}
1446
1447 \def\l@authorch#1#2{%\addpenalty{\@highpenalty}
1448  \@tempdima=\tocchpnum
1449  \begingroup
1450  \pretolerance=10000
1451  \parindent \z@ \rightskip \@tocrmarg
1452  \advance\rightskip by \z@ \@plus 2cm
1453 %\parfillskip -\@tocrmarg
1454  \leavevmode \advance\leftskip\@tempdima %\hskip -\leftskip
1455  {\tocauthorstyle#1}\nobreak
1456 %\leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern
1457 %\@dotsep mu$}\hfill
1458 %\nobreak\hbox to\@pnumwidth{\hss #2}%
1459  \par
1460  \penalty\@highpenalty
1461  \addvspace{\tocaftauthskip}\endgroup}
1462
1463 \newdimen\tocchpnum
1464 \newdimen\tocsecnum
1465 \newdimen\tocsectotal
1466 \newdimen\tocsubsecnum
1467 \newdimen\tocsubsectotal
1468 \newdimen\tocsubsubsecnum
1469 \newdimen\tocsubsubsectotal
1470 \newdimen\tocparanum
1471 \newdimen\tocparatotal
1472 \newdimen\tocsubparanum
1473 \tocchpnum=20\p@            % chapter {\bf 88.} \@plus 5.3\p@
1474 \tocsecnum=28.5\p@          % section 88.8. plus 4.722\p@
1475 \tocsubsecnum=36.5\p@       % subsection 88.8.8 plus 4.944\p@
1476 \tocsubsubsecnum=43\p@      % subsubsection 88.8.8.8 plus 4.666\p@
1477 \tocparanum=45\p@           % paragraph 88.8.8.8.8 plus 3.888\p@
1478 \tocsubparanum=53\p@        % subparagraph 88.8.8.8.8.8 plus 4.11\p@
1479 \def\calctocindent{%
1480 \tocsectotal=\tocchpnum
1481 \advance\tocsectotal by\tocsecnum
1482 \tocsubsectotal=\tocsectotal
1483 \advance\tocsubsectotal by\tocsubsecnum
1484 \tocsubsubsectotal=\tocsubsectotal
1485 \advance\tocsubsubsectotal by\tocsubsubsecnum
1486 \tocparatotal=\tocsubsubsectotal
1487 \advance\tocparatotal by\tocparanum}
1488 \calctocindent
1489
1490 \def\@dottedtocline#1#2#3#4#5{%
1491   \ifnum #1>\c@tocdepth \else
1492     \vskip \z@ \@plus.2\p@
1493     {\leftskip #2\relax \rightskip \@tocrmarg \advance\rightskip by \z@ \@plus 2cm
1494                \parfillskip -\rightskip \pretolerance=10000
1495      \parindent #2\relax\@afterindenttrue
1496      \interlinepenalty\@M
1497      \leavevmode
1498      \@tempdima #3\relax
1499      \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip
1500      {#4}\nobreak
1501      \leaders\hbox{$\m@th
1502         \mkern \@dotsep mu\hbox{.}\mkern \@dotsep
1503         mu$}\hfill
1504      \nobreak
1505      \hb@xt@\@pnumwidth{\hfil\normalfont \normalcolor #5}%
1506      \par}%
1507   \fi}
1508 %
1509 \def\l@section{\@dottedtocline{1}{\tocchpnum}{\tocsecnum}}
1510 \def\l@subsection{\@dottedtocline{2}{\tocsectotal}{\tocsubsecnum}}
1511 \def\l@subsubsection{\@dottedtocline{3}{\tocsubsectotal}{\tocsubsubsecnum}}
1512 \def\l@paragraph{\@dottedtocline{4}{\tocsubsubsectotal}{\tocparanum}}
1513 \def\l@subparagraph{\@dottedtocline{5}{\tocparatotal}{\tocsubparanum}}
1514
1515 \renewcommand\listoffigures{%
1516     \chapter*{\listfigurename
1517       \markboth{\listfigurename}{\listfigurename}}%
1518     \@starttoc{lof}%
1519     }
1520
1521 \renewcommand\listoftables{%
1522     \chapter*{\listtablename
1523       \markboth{\listtablename}{\listtablename}}%
1524     \@starttoc{lot}%
1525     }
1526
1527 \newenvironment{thecontriblist}
1528                {\par
1529                 \addvspace{\bigskipamount}
1530                 \parindent\z@
1531                 \rightskip\z@ \@plus 40\p@
1532                 \def\iand{\\[\medskipamount]\let\and=\nand}%
1533                 \def\nand{\ifhmode\unskip\nobreak\fi\ $\cdot$ }%
1534                 \let\and=\nand
1535                 \def\at{\\\let\and=\iand}%
1536                 }
1537                {\par
1538                 \addvspace{\bigskipamount}}
1539
1540 \renewcommand\footnoterule{%
1541     \kern-3\p@
1542     \hrule\@width 36mm
1543     \kern2.6\p@}
1544
1545 \newdimen\foot@parindent
1546 \foot@parindent 10.83\p@
1547 \footnotesep 9\p@
1548
1549 \AtBeginDocument{%
1550 \renewcommand\@makefntext[1]{%
1551     \parindent 12\p@
1552     \noindent
1553     \mbox{\@makefnmark} #1}}
1554 %
1555 \if@spthms
1556 % Definition of the "\spnewtheorem" command.
1557 %
1558 % Usage:
1559 %
1560 %     \spnewtheorem{env_nam}{caption}[within]{cap_font}{body_font}
1561 % or  \spnewtheorem{env_nam}[numbered_like]{caption}{cap_font}{body_font}
1562 % or  \spnewtheorem*{env_nam}{caption}{cap_font}{body_font}
1563 %
1564 % New is "cap_font" and "body_font". It stands for
1565 % fontdefinition of the caption and the text itself.
1566 %
1567 % "\spnewtheorem*" gives a theorem without number.
1568 %
1569 % A defined spnewthoerem environment is used as described
1570 % by Lamport.
1571 %
1572 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1573
1574 \def\@thmcountersep{.}
1575 \def\@thmcounterend{.}
1576 \newcommand\nocaption{\noexpand\@gobble}
1577 \newdimen\spthmsep \spthmsep=3pt
1578
1579 \def\spnewtheorem{\@ifstar{\@sthm}{\@Sthm}}
1580
1581 % definition of \spnewtheorem with number
1582
1583 \def\@spnthm#1#2{%
1584   \@ifnextchar[{\@spxnthm{#1}{#2}}{\@spynthm{#1}{#2}}}
1585 \def\@Sthm#1{\@ifnextchar[{\@spothm{#1}}{\@spnthm{#1}}}
1586
1587 \def\@spxnthm#1#2[#3]#4#5{\expandafter\@ifdefinable\csname #1\endcsname
1588    {\@definecounter{#1}\@addtoreset{#1}{#3}%
1589    \expandafter\xdef\csname the#1\endcsname{\expandafter\noexpand
1590      \csname the#3\endcsname \noexpand\@thmcountersep \@thmcounter{#1}}%
1591    \expandafter\xdef\csname #1name\endcsname{#2}%
1592    \global\@namedef{#1}{\@spthm{#1}{\csname #1name\endcsname}{#4}{#5}}%
1593                               \global\@namedef{end#1}{\@endtheorem}}}
1594
1595 \def\@spynthm#1#2#3#4{\expandafter\@ifdefinable\csname #1\endcsname
1596    {\@definecounter{#1}%
1597    \expandafter\xdef\csname the#1\endcsname{\@thmcounter{#1}}%
1598    \expandafter\xdef\csname #1name\endcsname{#2}%
1599    \global\@namedef{#1}{\@spthm{#1}{\csname #1name\endcsname}{#3}{#4}}%
1600                                \global\@namedef{end#1}{\@endtheorem}}}
1601
1602 \def\@spothm#1[#2]#3#4#5{%
1603   \@ifundefined{c@#2}{\@latexerr{No theorem environment `#2' defined}\@eha}%
1604   {\expandafter\@ifdefinable\csname #1\endcsname
1605   {\global\@namedef{the#1}{\@nameuse{the#2}}%
1606   \expandafter\xdef\csname #1name\endcsname{#3}%
1607   \global\@namedef{#1}{\@spthm{#2}{\csname #1name\endcsname}{#4}{#5}}%
1608   \global\@namedef{end#1}{\@endtheorem}}}}
1609
1610 \def\@spthm#1#2#3#4{\topsep 7\p@ \@plus2\p@ \@minus4\p@
1611 \labelsep=\spthmsep\refstepcounter{#1}%
1612 \@ifnextchar[{\@spythm{#1}{#2}{#3}{#4}}{\@spxthm{#1}{#2}{#3}{#4}}}
1613
1614 \def\@spxthm#1#2#3#4{\@spbegintheorem{#2}{\csname the#1\endcsname}{#3}{#4}%
1615                     \ignorespaces}
1616
1617 \def\@spythm#1#2#3#4[#5]{\@spopargbegintheorem{#2}{\csname
1618        the#1\endcsname}{#5}{#3}{#4}\ignorespaces}
1619
1620 \def\normalthmheadings{\def\@spbegintheorem##1##2##3##4{\trivlist
1621                  \item[\hskip\labelsep{##3##1\ ##2\@thmcounterend}]##4}
1622 \def\@spopargbegintheorem##1##2##3##4##5{\trivlist
1623       \item[\hskip\labelsep{##4##1\ ##2}]{##4(##3)\@thmcounterend\ }##5}}
1624 \normalthmheadings
1625
1626 \def\reversethmheadings{\def\@spbegintheorem##1##2##3##4{\trivlist
1627                  \item[\hskip\labelsep{##3##2\ ##1\@thmcounterend}]##4}
1628 \def\@spopargbegintheorem##1##2##3##4##5{\trivlist
1629       \item[\hskip\labelsep{##4##2\ ##1}]{##4(##3)\@thmcounterend\ }##5}}
1630
1631 % definition of \spnewtheorem* without number
1632
1633 \def\@sthm#1#2{\@Ynthm{#1}{#2}}
1634
1635 \def\@Ynthm#1#2#3#4{\expandafter\@ifdefinable\csname #1\endcsname
1636    {\global\@namedef{#1}{\@Thm{\csname #1name\endcsname}{#3}{#4}}%
1637     \expandafter\xdef\csname #1name\endcsname{#2}%
1638     \global\@namedef{end#1}{\@endtheorem}}}
1639
1640 \def\@Thm#1#2#3{\topsep 7\p@ \@plus2\p@ \@minus4\p@
1641 \@ifnextchar[{\@Ythm{#1}{#2}{#3}}{\@Xthm{#1}{#2}{#3}}}
1642
1643 \def\@Xthm#1#2#3{\@Begintheorem{#1}{#2}{#3}\ignorespaces}
1644
1645 \def\@Ythm#1#2#3[#4]{\@Opargbegintheorem{#1}
1646        {#4}{#2}{#3}\ignorespaces}
1647
1648 \def\@Begintheorem#1#2#3{#3\trivlist
1649                            \item[\hskip\labelsep{#2#1\@thmcounterend}]}
1650
1651 \def\@Opargbegintheorem#1#2#3#4{#4\trivlist
1652       \item[\hskip\labelsep{#3#1}]{#3(#2)\@thmcounterend\ }}
1653
1654 % initialize theorem environment
1655
1656 \if@envcntshowhiercnt % show hierarchy counter
1657    \def\@thmcountersep{.}
1658    \spnewtheorem{theorem}{Theorem}[\envankh]{\bfseries}{\itshape}
1659    \@addtoreset{theorem}{chapter}
1660 \else          % theorem counter only
1661    \spnewtheorem{theorem}{Theorem}{\bfseries}{\itshape}
1662    \if@envcntreset
1663       \@addtoreset{theorem}{chapter}
1664       \if@envcntresetsect
1665          \@addtoreset{theorem}{section}
1666       \fi
1667    \fi
1668 \fi
1669
1670 %definition of divers theorem environments
1671 \spnewtheorem*{claim}{Claim}{\itshape}{\rmfamily}
1672 \spnewtheorem*{proof}{Proof}{\itshape}{\rmfamily}
1673 %
1674 \if@envcntsame % all environments like "Theorem" - using its counter
1675    \def\spn@wtheorem#1#2#3#4{\@spothm{#1}[theorem]{#2}{#3}{#4}}
1676 \else % all environments with their own counter
1677    \if@envcntshowhiercnt % show hierarchy counter
1678       \def\spn@wtheorem#1#2#3#4{\@spxnthm{#1}{#2}[\envankh]{#3}{#4}}
1679    \else          % environment counter only
1680       \if@envcntreset % environment counter is reset each section
1681          \if@envcntresetsect
1682             \def\spn@wtheorem#1#2#3#4{\@spynthm{#1}{#2}{#3}{#4}
1683              \@addtoreset{#1}{chapter}\@addtoreset{#1}{section}}
1684          \else
1685             \def\spn@wtheorem#1#2#3#4{\@spynthm{#1}{#2}{#3}{#4}
1686                                       \@addtoreset{#1}{chapter}}
1687          \fi
1688       \else
1689          \let\spn@wtheorem=\@spynthm
1690       \fi
1691    \fi
1692 \fi
1693 %
1694 \let\spdefaulttheorem=\spn@wtheorem
1695 %
1696 \spn@wtheorem{case}{Case}{\itshape}{\rmfamily}
1697 \spn@wtheorem{conjecture}{Conjecture}{\itshape}{\rmfamily}
1698 \spn@wtheorem{corollary}{Corollary}{\bfseries}{\itshape}
1699 \spn@wtheorem{definition}{Definition}{\bfseries}{\rmfamily}
1700 \spn@wtheorem{example}{Example}{\itshape}{\rmfamily}
1701 \spn@wtheorem{exercise}{Exercise}{\bfseries}{\rmfamily}
1702 \spn@wtheorem{lemma}{Lemma}{\bfseries}{\itshape}
1703 \spn@wtheorem{note}{Note}{\itshape}{\rmfamily}
1704 \spn@wtheorem{problem}{Problem}{\bfseries}{\rmfamily}
1705 \spn@wtheorem{property}{Property}{\itshape}{\rmfamily}
1706 \spn@wtheorem{proposition}{Proposition}{\bfseries}{\itshape}
1707 \spn@wtheorem{question}{Question}{\itshape}{\rmfamily}
1708 \spn@wtheorem{solution}{Solution}{\bfseries}{\rmfamily}
1709 \spn@wtheorem{remark}{Remark}{\itshape}{\rmfamily}
1710 %
1711 \newenvironment{theopargself}
1712     {\def\@spopargbegintheorem##1##2##3##4##5{\trivlist
1713          \item[\hskip\labelsep{##4##1\ ##2}]{##4##3\@thmcounterend\ }##5}
1714      \def\@Opargbegintheorem##1##2##3##4{##4\trivlist
1715          \item[\hskip\labelsep{##3##1}]{##3##2\@thmcounterend\ }}}{}
1716 \newenvironment{theopargself*}
1717     {\def\@spopargbegintheorem##1##2##3##4##5{\trivlist
1718          \item[\hskip\labelsep{##4##1\ ##2}]{\hspace*{-\labelsep}##4##3\@thmcounterend}##5}
1719      \def\@Opargbegintheorem##1##2##3##4{##4\trivlist
1720          \item[\hskip\labelsep{##3##1}]{\hspace*{-\labelsep}##3##2\@thmcounterend}}}{}
1721 %
1722 \spn@wtheorem{prob}{\nocaption}{\bfseries}{\rmfamily}
1723 \newcommand{\probref}[1]{\textbf{\ref{#1}} }
1724 \newenvironment{sol}{\par\addvspace{6pt}\noindent\probref}{\par\addvspace{6pt}}
1725 %
1726 \fi
1727
1728 \def\@takefromreset#1#2{%
1729     \def\@tempa{#1}%
1730     \let\@tempd\@elt
1731     \def\@elt##1{%
1732         \def\@tempb{##1}%
1733         \ifx\@tempa\@tempb\else
1734             \@addtoreset{##1}{#2}%
1735         \fi}%
1736     \expandafter\expandafter\let\expandafter\@tempc\csname cl@#2\endcsname
1737     \expandafter\def\csname cl@#2\endcsname{}%
1738     \@tempc
1739     \let\@elt\@tempd}
1740
1741 % redefininition of the captions for "figure" and "table" environments
1742 %
1743 \@ifundefined{floatlegendstyle}{\def\floatlegendstyle{\bfseries}}{}
1744 \def\floatcounterend{\enspace}
1745 \def\capstrut{\vrule\@width\z@\@height\topskip}
1746 \@ifundefined{captionstyle}{\def\captionstyle{\normalfont\small}}{}
1747 \@ifundefined{instindent}{\newdimen\instindent}{}
1748
1749 \long\def\@caption#1[#2]#3{\par\addcontentsline{\csname
1750   ext@#1\endcsname}{#1}{\protect\numberline{\csname
1751   the#1\endcsname}{\ignorespaces #2}}\begingroup
1752     \@parboxrestore\if@minipage\@setminipage\fi
1753     \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
1754   \endgroup}
1755
1756 \def\twocaptionwidth#1#2{\def\first@capwidth{#1}\def\second@capwidth{#2}}
1757 % Default: .46\textwidth
1758 \twocaptionwidth{.46\textwidth}{.46\textwidth}
1759
1760 \def\leftcaption{\refstepcounter\@captype\@dblarg%
1761             {\@leftcaption\@captype}}
1762
1763 \def\rightcaption{\refstepcounter\@captype\@dblarg%
1764             {\@rightcaption\@captype}}
1765
1766 \long\def\@leftcaption#1[#2]#3{\addcontentsline{\csname
1767   ext@#1\endcsname}{#1}{\protect\numberline{\csname
1768   the#1\endcsname}{\ignorespaces #2}}\begingroup
1769     \@parboxrestore
1770     \vskip\figcapgap
1771     \@maketwocaptions{\csname fnum@#1\endcsname}{\ignorespaces #3}%
1772     {\first@capwidth}\ignorespaces\hspace{.073\textwidth}\hfill%
1773   \endgroup}
1774
1775 \long\def\@rightcaption#1[#2]#3{\addcontentsline{\csname
1776   ext@#1\endcsname}{#1}{\protect\numberline{\csname
1777   the#1\endcsname}{\ignorespaces #2}}\begingroup
1778     \@parboxrestore
1779     \@maketwocaptions{\csname fnum@#1\endcsname}{\ignorespaces #3}%
1780     {\second@capwidth}\par
1781   \endgroup}
1782
1783 \long\def\@maketwocaptions#1#2#3{%
1784    \parbox[t]{#3}{{\floatlegendstyle #1\floatcounterend}#2}}
1785
1786 \def\fig@pos{l}
1787 \newcommand{\leftfigure}[2][\fig@pos]{\makebox[.4635\textwidth][#1]{#2}}
1788 \let\rightfigure\leftfigure
1789
1790 \newdimen\figgap\figgap=0.5cm  % hgap between figure and sidecaption
1791 %
1792 \long\def\@makesidecaption#1#2{\@tempdimb=3.6cm
1793    \setbox0=\vbox{\hsize=\@tempdimb
1794                   \captionstyle{\floatlegendstyle
1795                                          #1\floatcounterend}#2}%
1796    \ifdim\instindent<\z@
1797       \ifdim\ht0>-\instindent
1798          \advance\instindent by\ht0
1799          \typeout{^^JClass-Warning: Legend of \string\sidecaption\space for
1800                      \@captype\space\csname the\@captype\endcsname
1801                   ^^Jis \the\instindent\space taller than the corresponding float -
1802                   ^^Jyou'd better switch the environment. }%
1803          \instindent\z@
1804       \fi
1805    \else
1806       \ifdim\ht0<\instindent
1807          \advance\instindent by-\ht0
1808          \advance\instindent by-\dp0\relax
1809          \advance\instindent by\topskip
1810          \advance\instindent by-11\p@
1811       \else
1812          \advance\instindent by-\ht0
1813          \instindent=-\instindent
1814          \typeout{^^JClass-Warning: Legend of \string\sidecaption\space for
1815                      \@captype\space\csname the\@captype\endcsname
1816                   ^^Jis \the\instindent\space taller than the corresponding float -
1817                   ^^Jyou'd better switch the environment. }%
1818          \instindent\z@
1819       \fi
1820    \fi
1821    \parbox[b]{\@tempdimb}{\captionstyle{\floatlegendstyle
1822                                         #1\floatcounterend}#2%
1823                           \ifdim\instindent>\z@ \\
1824                                \vrule\@width\z@\@height\instindent
1825                                      \@depth\z@
1826                           \fi}}
1827 \def\sidecaption{\@ifnextchar[\sidec@ption{\sidec@ption[b]}}
1828 %
1829 \newbox\bildb@x
1830 %
1831 \def\sidec@ption[#1]#2\caption{%
1832 \setbox\bildb@x=\hbox{\ignorespaces#2\unskip}%
1833 \if@twocolumn
1834  \ifdim\hsize<\textwidth\else
1835    \ifdim\wd\bildb@x<\columnwidth
1836       \typeout{Double column float fits into single column -
1837             ^^Jyou'd better switch the environment. }%
1838    \fi
1839  \fi
1840 \fi
1841   \instindent=\ht\bildb@x
1842   \advance\instindent by\dp\bildb@x
1843 \if t#1
1844 \else
1845   \instindent=-\instindent
1846 \fi
1847 \@tempdimb=\hsize
1848 \advance\@tempdimb by-\figgap
1849 \advance\@tempdimb by-\wd\bildb@x
1850 \ifdim\@tempdimb<3.6cm
1851    \ClassWarning{SVMult}{\string\sidecaption: No sufficient room for the legend;
1852              ^^Jusing normal \string\caption}%
1853    \unhbox\bildb@x
1854    \let\@capcommand=\@caption
1855 \else
1856 %  \ifdim\@tempdimb<4.5cm
1857 %     \ClassWarning{SVMono}{\string\sidecaption: Room for the legend very narrow;
1858 %              ^^Jusing \string\raggedright}%
1859       \toks@\expandafter{\captionstyle\sloppy
1860                          \rightskip=\z@\@plus6mm\relax}%
1861       \def\captionstyle{\the\toks@}%
1862 %  \fi
1863    \let\@capcommand=\@sidecaption
1864 %  \leavevmode
1865 %  \unhbox\bildb@x
1866 %  \hfill
1867 \fi
1868 \refstepcounter\@captype
1869 \@dblarg{\@capcommand\@captype}}
1870 \long\def\@sidecaption#1[#2]#3{\addcontentsline{\csname
1871   ext@#1\endcsname}{#1}{\protect\numberline{\csname
1872   the#1\endcsname}{\ignorespaces #2}}\begingroup
1873     \@parboxrestore
1874     \@makesidecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}%
1875     \hfill
1876     \unhbox\bildb@x
1877     \par
1878   \endgroup}
1879 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1880
1881 \def\fig@type{figure}
1882
1883 \def\leftlegendglue{\relax}
1884 \newdimen\figcapgap\figcapgap=5\p@   % vgap between figure and caption
1885 \newdimen\tabcapgap\tabcapgap=3\p@ % vgap between caption and table
1886
1887 \long\def\@makecaption#1#2{%
1888  \captionstyle
1889  \ifx\@captype\fig@type
1890    \vskip\figcapgap
1891  \fi
1892  \setbox\@tempboxa\hbox{{\floatlegendstyle #1\floatcounterend}%
1893  \capstrut #2}%
1894  \ifdim \wd\@tempboxa >\hsize
1895    {\floatlegendstyle #1\floatcounterend}\capstrut #2\par
1896  \else
1897    \hbox to\hsize{\leftlegendglue\unhbox\@tempboxa\hfil}%
1898  \fi
1899  \ifx\@captype\fig@type\else
1900    \vskip\tabcapgap
1901  \fi}
1902
1903 \newcounter{merk}
1904
1905 \def\endfigure{\resetsubfig\end@float}
1906
1907 \@namedef{endfigure*}{\resetsubfig\end@dblfloat}
1908
1909 \def\resetsubfig{\global\let\last@subfig=\undefined}
1910
1911 \def\r@setsubfig{\xdef\last@subfig{\number\value{figure}}%
1912 \setcounter{figure}{\value{merk}}%
1913 \setcounter{merk}{0}}
1914
1915 \def\subfigures{\refstepcounter{figure}%
1916    \@tempcnta=\value{merk}%
1917    \setcounter{merk}{\value{figure}}%
1918    \setcounter{figure}{\the\@tempcnta}%
1919    \def\thefigure{\if@numart\else\thechapter.\fi
1920    \@arabic\c@merk\alph{figure}}%
1921    \let\resetsubfig=\r@setsubfig}
1922
1923 \def\samenumber{\addtocounter{\@captype}{-1}%
1924 \@ifundefined{last@subfig}{}{\setcounter{merk}{\last@subfig}}}
1925
1926 % redefinition of the "bibliography" environment
1927 %
1928 \def\biblstarthook#1{\gdef\biblst@rthook{#1}}
1929 %
1930 \AtBeginDocument{%
1931 \ifx\chpbibl\undefined
1932   \def\bibsection{\section*{\refname}\ifx\sectionmark\@gobble\else
1933       \markright{\refname}\fi
1934       \addcontentsline{toc}{section}{\refname}%
1935       \mtaddtocont{\protect\contentsline{mtchap}{\refname}{\thepage}\hyperhrefextend}%
1936       \csname biblst@rthook\endcsname\par}
1937 \else
1938  \def\bibsection{\chapter*{\refname}\@mkboth{\refname}{\refname}%
1939      \addcontentsline{toc}{chapter}{\refname}%
1940      \csname biblst@rthook\endcsname\par}
1941 \fi}
1942 \ifx\oribibl\undefined % Springer way of life
1943    \renewenvironment{thebibliography}[1]{\bibsection
1944          \global\let\biblst@rthook=\undefined
1945          \def\@biblabel##1{##1.}
1946          \small
1947          \list{\@biblabel{\@arabic\c@enumiv}}%
1948               {\settowidth\labelwidth{\@biblabel{#1}}%
1949                \leftmargin\labelwidth
1950                \advance\leftmargin\labelsep
1951                \if@openbib
1952                  \advance\leftmargin\bibindent
1953                  \itemindent -\bibindent
1954                  \listparindent \itemindent
1955                  \parsep \z@
1956                \fi
1957                \usecounter{enumiv}%
1958                \let\p@enumiv\@empty
1959                \renewcommand\theenumiv{\@arabic\c@enumiv}}%
1960          \if@openbib
1961            \renewcommand\newblock{\par}%
1962          \else
1963            \renewcommand\newblock{\hskip .11em \@plus.33em \@minus.07em}%
1964          \fi
1965          \sloppy\clubpenalty4000\widowpenalty4000%
1966          \sfcode`\.=\@m}
1967         {\def\@noitemerr
1968           {\@latex@warning{Empty `thebibliography' environment}}%
1969          \endlist}
1970    \def\@lbibitem[#1]#2{\item[{[#1]}\hfill]\if@filesw
1971         {\let\protect\noexpand\immediate
1972         \write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces}
1973 \else % original bibliography is required
1974    \let\bibname=\refname
1975    \renewenvironment{thebibliography}[1]
1976      {\chapter*{\bibname
1977         \markboth{\bibname}{\bibname}}%
1978       \list{\@biblabel{\@arabic\c@enumiv}}%
1979            {\settowidth\labelwidth{\@biblabel{#1}}%
1980             \leftmargin\labelwidth
1981             \advance\leftmargin\labelsep
1982             \@openbib@code
1983             \usecounter{enumiv}%
1984             \let\p@enumiv\@empty
1985             \renewcommand\theenumiv{\@arabic\c@enumiv}}%
1986       \sloppy
1987       \clubpenalty4000
1988       \@clubpenalty \clubpenalty
1989       \widowpenalty4000%
1990       \sfcode`\.\@m}
1991      {\def\@noitemerr
1992        {\@latex@warning{Empty `thebibliography' environment}}%
1993       \endlist}
1994 \fi
1995
1996 \let\if@threecolind\iffalse
1997 \def\threecolindex{\let\if@threecolind\iftrue}
1998 \def\indexstarthook#1{\gdef\indexst@rthook{#1}}
1999 \renewenvironment{theindex}
2000                {\if@twocolumn
2001                   \@restonecolfalse
2002                 \else
2003                   \@restonecoltrue
2004                 \fi
2005                 \columnseprule \z@
2006                 \columnsep 1cc
2007                 \@nobreaktrue
2008                 \if@threecolind
2009                    \begin{multicols}{3}[\chapter*{\indexname}%
2010                 \else
2011                    \begin{multicols}{2}[\chapter*{\indexname}%
2012                 \fi
2013                 {\csname indexst@rthook\endcsname}]%
2014                 \global\let\indexst@rthook=\undefined
2015                 \markboth{\indexname}{\indexname}%
2016                 \addcontentsline{toc}{chapter}{\indexname}%
2017                 \parindent\z@
2018                 \rightskip\z@ \@plus 40\p@
2019                 \parskip\z@ \@plus .3\p@\relax
2020                 \flushbottom
2021                 \let\item\@idxitem
2022                 \def\,{\relax\ifmmode\mskip\thinmuskip
2023                              \else\hskip0.2em\ignorespaces\fi}%
2024                 \normalfont\small}
2025                {\end{multicols}
2026                 \global\let\if@threecolind\iffalse
2027                 \if@restonecol\onecolumn\else\clearpage\fi}
2028
2029 \def\idxquad{\hskip 10\p@}% space that divides entry from number
2030
2031 \def\@idxitem{\par\setbox0=\hbox{--\,--\,--\enspace}%
2032                   \hangindent\wd0\relax}
2033
2034 \def\subitem{\par\noindent\setbox0=\hbox{--\enspace}% second order
2035                 \kern\wd0\setbox0=\hbox{--\,--\,--\enspace}%
2036                 \hangindent\wd0\relax}% indexentry
2037
2038 \def\subsubitem{\par\noindent\setbox0=\hbox{--\,--\enspace}% third order
2039                 \kern\wd0\setbox0=\hbox{--\,--\,--\enspace}%
2040                 \hangindent\wd0\relax}% indexentry
2041
2042 \def\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
2043
2044 % LaTeX does not provide a command to enter the authors institute
2045 % addresses. The \institute command is defined here.
2046
2047 \newcounter{@inst}
2048 \newcounter{@auth}
2049 \newcounter{auco}
2050 \newdimen\instindent
2051 \newbox\authrun
2052 \newtoks\authorrunning
2053 \newtoks\tocauthor
2054 \newbox\titrun
2055 \newtoks\titlerunning
2056 \newtoks\toctitle
2057
2058 \def\clearheadinfo{\gdef\@author{No Author Given}%
2059                    \gdef\@title{No Title Given}%
2060                    \gdef\@subtitle{}%
2061                    \gdef\@institute{}%
2062                    \gdef\@thanks{}%
2063                    \global\titlerunning={}\global\authorrunning={}%
2064                    \global\toctitle={}\global\tocauthor={}}
2065
2066 \def\institute#1{\gdef\@institute{#1}}
2067
2068 \def\title{\@ifstar\s@title\n@title}
2069 \def\s@title#1{\gdef\@title{#1}\ds@numart}
2070 \def\n@title#1{\gdef\@title{#1}\ds@book}
2071
2072 \def\institutename
2073  {\begingroup
2074  \if!\@institute!\else
2075  \def\thanks##1{\unskip{}}%
2076  \def\iand{\\[5pt]\let\and=\nand}%
2077  \def\nand{\ifhmode\unskip\nobreak\fi\ $\cdot$ }%
2078  \let\and=\nand
2079  \def\at{\\\let\and=\iand}%
2080  \footnotetext[0]{\kern-\bibindent
2081  \ignorespaces\@institute}\vspace{5dd}\fi
2082  \endgroup
2083  }%
2084
2085 \def\@fnsymbol#1{\ensuremath{\ifcase#1\or\star\or{\star\star}\or
2086    {\star{\star}\star}\or \dagger\or \ddagger\or
2087    \mathchar "278\or \mathchar "27B\or \|\or **\or \dagger\dagger
2088    \or \ddagger\ddagger \else\@ctrerr\fi}}
2089
2090 \def\inst#1{\unskip$^{#1}$}
2091 \def\fnmsep{\unskip$^,$}
2092
2093 \def\subtitle#1{\gdef\@subtitle{#1}}
2094 \clearheadinfo
2095
2096 \def\@bfdottedtocline#1#2#3#4#5{%
2097   \ifnum #1>\c@minitocdepth \else
2098     \par
2099     \if@minipage\else\addvspace{5\p@}\fi
2100     {\leftskip #2\relax \rightskip \@tocrmarg \advance\rightskip by \z@ \@plus 2cm
2101                \parfillskip -\rightskip \pretolerance=10000
2102      \parindent #2\relax\@afterindenttrue
2103      \interlinepenalty\@M
2104      \leavevmode
2105      \@tempdima #3\relax
2106      \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip
2107      {\bfseries#4}\nobreak
2108      \leaders\hbox{$\m@th
2109         \mkern \@dotsep mu\hbox{.}\mkern \@dotsep
2110         mu$}\hfill
2111      \nobreak
2112      \hb@xt@\@pnumwidth{\hfil\normalfont \normalcolor #5}%
2113      \par\addvspace{5\p@}}%
2114   \fi}
2115
2116 \def\@rmdottedtocline#1#2#3#4#5{%
2117   \ifnum #1>\c@minitocdepth \else
2118     \vskip \z@ \@plus.2\p@
2119     {\leftskip #2\relax \rightskip \@tocrmarg \advance\rightskip by \z@ \@plus 2cm
2120                \parfillskip -\rightskip \pretolerance=10000
2121      \parindent #2\relax\@afterindenttrue
2122      \interlinepenalty\@M
2123      \leavevmode
2124      \@tempdima #3\relax
2125      \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip
2126      {#4}\nobreak
2127      \leaders\hbox{$\m@th
2128         \mkern \@dotsep mu\hbox{.}\mkern \@dotsep
2129         mu$}\hfill
2130      \nobreak
2131      \hb@xt@\@pnumwidth{\hfil\normalfont \normalcolor #5}%
2132      \par}%
2133   \fi}
2134
2135 %def\l@mtchap{\@bfdottedtocline{1}{\z@}{\tocsectotal}}
2136 \def\l@mtchap{\@rmdottedtocline{1}{\z@}{\tocsecnum}}
2137 \def\l@mtsec{\@rmdottedtocline{1}{\tocsecnum}{\tocsubsecnum}}
2138
2139 \newcounter{contribution}
2140
2141 \renewcommand\maketitle{\par\startnewpage
2142   \stepcounter{section}%
2143   \setcounter{section}{0}%
2144   \setcounter{subsection}{0}%
2145   \setcounter{figure}{0}
2146   \setcounter{table}{0}
2147   \setcounter{equation}{0}
2148   \setcounter{footnote}{0}%
2149   \if@numart
2150      \stepcounter{chapter}%
2151      \addtocounter{chapter}{-1}%
2152   \else
2153      \refstepcounter{chapter}%
2154   \fi
2155   \stepcounter{contribution}%
2156   \immediate\write\@auxout{\string\immediate\string\closeout\string\minitoc}%
2157   \immediate\write\@auxout{\let\MiniTOC=N}%
2158 % try to be hyperref-compatible
2159   \csname phantomsection\endcsname
2160   \begingroup
2161     \parindent=\z@
2162 %%%%%%%%%    \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
2163 %
2164     \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
2165     \def\@makefnmark{$^{\@thefnmark}$}%
2166     \renewcommand\@makefntext[1]{%
2167     \noindent
2168     \hb@xt@\bibindent{\hss\@makefnmark\enspace}##1\vrule height0pt
2169     width0pt depth8pt}
2170 %
2171     \if@twocolumn
2172       \ifnum \col@number=\@ne
2173         \@maketitle
2174       \else
2175         \twocolumn[\@maketitle]%
2176       \fi
2177     \else
2178       \newpage
2179       \global\@topnum\z@   % Prevents figures from going at top of page.
2180       \@maketitle
2181     \fi
2182     \@ifundefined{thispagecropped}{}{\thispagecropped}
2183     \thispagestyle{bchap}\@thanks
2184 %
2185     \def\\{\unskip\ \ignorespaces}\def\inst##1{\unskip{}}%
2186     \def\thanks##1{\unskip{}}\def\fnmsep{\unskip}%
2187     \instindent=\hsize
2188     \advance\instindent by-\headlineindent
2189     \if@numart % keine Nummer
2190         \if!\the\toctitle!\addcontentsline{toc}{title}{\@title}\else
2191         \addcontentsline{toc}{title}{\the\toctitle}\fi
2192     \else
2193         \if!\the\toctitle!\addcontentsline{toc}{titlech}{\protect\numberline{\thechapter\thechapterend}\@title}\else
2194         \addcontentsline{toc}{titlech}{\protect\numberline{\thechapter\thechapterend}\the\toctitle}\fi
2195     \fi
2196     \if@runhead
2197        \if!\the\titlerunning!\else
2198          \edef\@title{\the\titlerunning}%
2199        \fi
2200        \global\setbox\titrun=\hbox{\small\rm\unboldmath\if@numart\else
2201                                    \@seccntformat{chapter}\fi
2202                                    \ignorespaces\@title}%
2203        \ifdim\wd\titrun>\instindent
2204           \typeout{Title too long for running head. Please supply}%
2205           \typeout{a shorter form with \string\titlerunning\space prior to
2206                    \string\maketitle}%
2207           \global\setbox\titrun=\hbox{\small\rm
2208           Title Suppressed Due to Excessive Length}%
2209        \fi
2210        \xdef\@title{\copy\titrun}%
2211     \fi
2212 %
2213     \if!\the\tocauthor!\relax
2214       {\def\and{\noexpand\protect\noexpand\and}%
2215       \protected@xdef\toc@uthor{\@author}}%
2216     \else
2217       \def\\{\noexpand\protect\noexpand\newline}%
2218       \protected@xdef\scratch{\the\tocauthor}%
2219       \protected@xdef\toc@uthor{\scratch}%
2220     \fi
2221     \addtocontents{toc}{\noexpand\protect\noexpand\authcount{\the\c@auco}}%
2222     \if@numart
2223        \addcontentsline{toc}{author}{\toc@uthor}%
2224     \else
2225        \addcontentsline{toc}{authorch}{\toc@uthor}%
2226     \fi
2227     \if@runhead
2228        \if!\the\authorrunning!
2229          \value{@inst}=\value{@auth}%
2230          \setcounter{@auth}{1}%
2231        \else
2232          \edef\@author{\the\authorrunning}%
2233        \fi
2234        \global\setbox\authrun=\hbox{\small\unboldmath\@author\unskip}%
2235        \ifdim\wd\authrun>\instindent
2236           \typeout{Names of authors too long for running head. Please supply}%
2237           \typeout{a shorter form with \string\authorrunning\space prior to
2238                    \string\maketitle}%
2239           \global\setbox\authrun=\hbox{\small\rm
2240           Authors Suppressed Due to Excessive Length}%
2241        \fi
2242        \xdef\scratch{\copy\authrun}%
2243        \markboth{\scratch}{\@title}%
2244      \fi
2245   \endgroup
2246 % \setcounter{footnote}{0}% footnote starts at (\inst+1)
2247   \@afterindentfalse\@afterheading
2248   \clearheadinfo}
2249 %
2250 \def\@maketitle{\newpage
2251  \markboth{}{}%
2252  \def\lastand{\ifnum\value{@inst}=2\relax
2253                  \unskip{} \andname\
2254               \else
2255                  \unskip \lastandname\
2256               \fi}%
2257  \def\and{\stepcounter{@auth}\relax
2258           \ifnum\value{@auth}=\value{@inst}%
2259              \lastand
2260           \else
2261              \unskip,
2262           \fi}%
2263   \raggedright
2264  {\chapnumsize
2265   \chapnumstyle
2266   \pretolerance=10000
2267   \let\\=\newline
2268 % \@hangfrom{\@svsec}%
2269 %%%  \@svsec
2270   \raggedright
2271   \hyphenpenalty \@M
2272   \interlinepenalty \@M
2273   \if@numart
2274      \chap@hangfrom{}%!!!
2275   \else
2276      \chap@hangfrom{\thechapter\thechapterend\hskip\betweenumberspace}%!!!
2277   \fi
2278   \ignorespaces
2279   \chapsize
2280   \chapstyle
2281   \@title \par}\vskip .8cm
2282 \if!\@subtitle!\else {\chapnumsize\chapnumstyle
2283   \vskip -.65cm
2284   \pretolerance=10000
2285   \@subtitle \par}\vskip .8cm\fi
2286  \setbox0=\vbox{\setcounter{@auth}{1}\def\and{\stepcounter{@auth}}%
2287  \def\thanks##1{}\@author}%
2288  \global\value{@inst}=\value{@auth}%
2289  \global\value{auco}=\value{@auth}%
2290  \setcounter{@auth}{1}%
2291 {\lineskip .5em
2292  \noindent\ignorespaces
2293  \@author\vskip.35cm}
2294  \processmotto % {\small\institutename\par}
2295  \institutename
2296  \ifdim\pagetotal>157\p@
2297      \vskip 11\p@
2298  \else
2299      \@tempdima=168\p@\advance\@tempdima by-\pagetotal
2300      \vskip\@tempdima
2301  \fi
2302 }
2303
2304 \def\email#1{\emailname: \url{#1}}
2305
2306 % Useful environments
2307 \newenvironment{abbrsymblist}[1][\qquad]
2308    {\section*{\abbrsymbname}
2309     \mtaddtocont{\protect\contentsline{mtchap}{\abbrsymbname}{\thepage}\hyperhrefextend}
2310     \begin{description}[#1]}{\end{description}\addvspace{10\p@}}
2311 %
2312 \newenvironment{acknowledgement}{\par\addvspace{17\p@}\small\rm
2313 \trivlist\item[\hskip\labelsep{\bfseries\ackname}]}
2314 {\endtrivlist\addvspace{6\p@}}
2315 %
2316 \newenvironment{noteadd}{\par\addvspace{17\p@}\small\rm
2317 \trivlist\item[\hskip\labelsep{\it\noteaddname}]}
2318 {\endtrivlist\addvspace{6\p@}}
2319 %
2320 \DeclareRobustCommand\abstract{\@ifstar\@abstgobl\@abstract}
2321 \def\@abstract#1{\noindent\textbf{\abstractname} #1\par
2322 %\@afterindentfalse
2323 %\@afterheading
2324 }
2325 \def\@abstgobl#1{\par
2326 %\@afterindentfalse
2327 %\@afterheading
2328 }
2329 %
2330 \newcommand{\keywords}[1]{\par\addvspace\baselineskip
2331 \noindent\keywordname\enspace\ignorespaces#1}
2332 %
2333 % define the running headings of a twoside text
2334 \def\runheadsize{\small}
2335 \def\runheadstyle{\rmfamily\upshape}
2336 \def\customizhead{\hspace{\headlineindent}}
2337
2338 \def\ps@bchap{%\let\@mkboth\@gobbletwo
2339      \let\@oddhead\@empty\let\@evenhead\@empty
2340      \def\@oddfoot{\reset@font\small\hfil\thepage}%
2341      \let\@evenfoot\@oddfoot}
2342
2343 \def\ps@headings{\let\@mkboth\markboth
2344    \let\@oddfoot\@empty\let\@evenfoot\@empty
2345    \def\@evenhead{\runheadsize\runheadstyle\rlap{\thepage}\hfil
2346                   \leftmark}
2347    \def\@oddhead{\runheadsize\runheadstyle\rightmark\hfil
2348                   \llap{\thepage}}
2349    \def\chaptermark##1{\markboth{{\ifnum\c@secnumdepth>\m@ne
2350       \thechapter\thechapterend\hskip\betweenumberspace\fi ##1}}{{\ifnum %!!!
2351       \c@secnumdepth>\m@ne\thechapter\thechapterend\hskip\betweenumberspace\fi ##1}}}%!!!
2352    \def\sectionmark##1{\markright{{\ifnum\c@secnumdepth>\z@
2353       \thesection\hskip\betweenumberspace\fi ##1}}}}
2354
2355 \def\ps@myheadings{\let\@mkboth\@gobbletwo
2356    \let\@oddfoot\@empty\let\@evenfoot\@empty
2357    \def\@evenhead{\runheadsize\runheadstyle\rlap{\thepage}\hfil
2358                   \leftmark}
2359    \def\@oddhead{\runheadsize\runheadstyle\rightmark\hfil
2360                   \llap{\thepage}}
2361    \let\chaptermark\@gobble
2362    \let\sectionmark\@gobble
2363    \let\subsectionmark\@gobble}
2364
2365 \if@runhead\ps@myheadings\else
2366 \ps@empty\fi
2367
2368 \endinput
2369 %end of file svmult.cls