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