1 % SVMONO DOCUMENT CLASS -- version 5.6 (25-June-18)
\r
2 % Springer Verlag global LaTeX2e support for monographs
\r
6 %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
\r
7 %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
\r
8 %% Digits \0\1\2\3\4\5\6\7\8\9
\r
9 %% Exclamation \! Double quote \" Hash (number) \#
\r
10 %% Dollar \$ Percent \% Ampersand \&
\r
11 %% Acute accent \' Left paren \( Right paren \)
\r
12 %% Asterisk \* Plus \+ Comma \,
\r
13 %% Minus \- Point \. Solidus \/
\r
14 %% Colon \: Semicolon \; Less than \<
\r
15 %% Equals \= Greater than \> Question mark \?
\r
16 %% Commercial at \@ Left bracket \[ Backslash \\
\r
17 %% Right bracket \] Circumflex \^ Underscore \_
\r
18 %% Grave accent \` Left brace \{ Vertical bar \|
\r
19 %% Right brace \} Tilde \~}
\r
21 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
\r
22 \ProvidesClass{svmono}[2018/06/25 v5.6
\r
23 ^^JSpringer Verlag global LaTeX document class for monographs]
\r
27 \DeclareOption{natbib}{\ExecuteOptions{oribibl}%
\r
28 \AtEndOfClass{% Loading package 'NATBIB'
\r
29 \RequirePackage{natbib}
\r
30 % Changing some parameters of NATBIB
\r
31 \setlength{\bibhang}{\parindent}
\r
32 %\setlength{\bibsep}{0mm}
\r
34 \def\@biblabel#1{#1.}
\r
35 \newcommand{\etal}{\textit{et al}.}
\r
36 %\bibpunct[,]{(}{)}{;}{a}{}{,}}}
\r
38 % Springer environment
\r
39 \let\if@spthms\iftrue
\r
40 \DeclareOption{nospthms}{\let\if@spthms\iffalse}
\r
42 \let\envankh\@empty % no anchor for "theorems"
\r
44 \let\if@envcntreset\iffalse % environment counter is not reset
\r
45 \let\if@envcntresetsect=\iffalse % reset each section
\r
46 \DeclareOption{envcountresetchap}{\let\if@envcntreset\iftrue}
\r
47 \DeclareOption{envcountresetsect}{\let\if@envcntreset\iftrue
\r
48 \let\if@envcntresetsect=\iftrue}
\r
50 \let\if@envcntsame\iffalse % NOT all environments work like "Theorem",
\r
51 % each using its own counter
\r
52 \DeclareOption{envcountsame}{\let\if@envcntsame\iftrue}
\r
54 \let\if@envcntshowhiercnt=\iffalse % do not show hierarchy counter at all
\r
56 % enhance theorem counter
\r
57 \DeclareOption{envcountchap}{\def\envankh{chapter}% show \thechapter along with theorem number
\r
58 \let\if@envcntshowhiercnt=\iftrue
\r
59 \ExecuteOptions{envcountreset}}
\r
61 \DeclareOption{envcountsect}{\def\envankh{section}% show \thesection along with theorem number
\r
62 \let\if@envcntshowhiercnt=\iftrue
\r
63 \ExecuteOptions{envcountreset}}
\r
66 \let\switcht@@therlang\relax
\r
67 \let\svlanginfo\relax
\r
68 \def\ds@deutsch{\def\switcht@@therlang{\switcht@deutsch}%
\r
69 \gdef\svlanginfo{\typeout{Man spricht deutsch.}\global\let\svlanginfo\relax}}
\r
70 \def\ds@francais{\def\switcht@@therlang{\switcht@francais}%
\r
71 \gdef\svlanginfo{\typeout{On parle francais.}\global\let\svlanginfo\relax}}
\r
73 \AtBeginDocument{\@ifundefined{url}{\def\url#1{#1}}{}%
\r
74 \@ifpackageloaded{babel}{%
\r
75 \@ifundefined{extrasamerican}{}{\addto\extrasamerican{\switcht@albion}}%
\r
76 \@ifundefined{extrasaustralian}{}{\addto\extrasaustralian{\switcht@albion}}%
\r
77 \@ifundefined{extrasbritish}{}{\addto\extrasbritish{\switcht@albion}}%
\r
78 \@ifundefined{extrascanadian}{}{\addto\extrascanadian{\switcht@albion}}%
\r
79 \@ifundefined{extrasenglish}{}{\addto\extrasenglish{\switcht@albion}}%
\r
80 \@ifundefined{extrasnewzealand}{}{\addto\extrasnewzealand{\switcht@albion}}%
\r
81 \@ifundefined{extrasUKenglish}{}{\addto\extrasUKenglish{\switcht@albion}}%
\r
82 \@ifundefined{extrasUSenglish}{}{\addto\extrasUSenglish{\switcht@albion}}%
\r
83 \@ifundefined{captionsfrench}{}{\addto\captionsfrench{\switcht@francais}}%
\r
84 \@ifundefined{extrasgerman}{}{\addto\extrasgerman{\switcht@deutsch}}%
\r
85 \@ifundefined{extrasngerman}{}{\addto\extrasngerman{\switcht@deutsch}}%
\r
86 }{\switcht@@therlang}%
\r
88 % numbering style of floats, equations
\r
89 \newif\if@numart \@numartfalse
\r
90 \DeclareOption{numart}{\@numarttrue}
\r
91 % numbering of headings
\r
92 \let\if@chapnum=\iftrue
\r
93 \def\nixchapnum{\let\if@chapnum\iffalse}
\r
95 \DeclareOption{nosecnum}{\def\numstyle{1}}%
\r
96 \DeclareOption{nochapnum}{\def\numstyle{2}}%
\r
97 \DeclareOption{nonum}{\def\numstyle{3}}%
\r
98 \def\set@numbering{\ifcase\numstyle \if@numart\else\num@book\fi %default
\r
99 \or % 1-case - no \section-numbers
\r
100 \setcounter{secnumdepth}{0}\if@numart\else\num@book\fi
\r
102 \if@numart\else\num@spezart\fi
\r
103 % chapter not numbered, but \sections are
\r
104 \def\thesection{\@arabic\c@section}%
\r
107 % neither chapter nor sections numbered + "numart"
\r
109 \setcounter{secnumdepth}{0}%
\r
111 \AtEndOfClass{\set@numbering}
\r
112 % style for vectors
\r
113 \DeclareOption{vecphys}{\def\vec@style{phys}}
\r
114 \DeclareOption{vecarrow}{\def\vec@style{arrow}}
\r
116 \let\if@runhead\iftrue
\r
117 \DeclareOption{norunningheads}{\let\if@runhead\iffalse}
\r
119 \let\if@referee\iffalse
\r
120 \def\makereferee{\def\baselinestretch{2}\selectfont
\r
122 \setbox\refereebox=\vbox to\z@{\vskip0.5cm%
\r
123 \hbox to\textwidth{\normalsize\tt\hrulefill\lower0.5ex
\r
124 \hbox{\kern5\p@ referee's copy\kern5\p@}\hrulefill}\vss}%
\r
125 \def\@oddfoot{\copy\refereebox}\let\@evenfoot=\@oddfoot}
\r
126 \DeclareOption{referee}{\let\if@referee\iftrue
\r
127 \AtBeginDocument{\makereferee\small\normalsize}}
\r
128 % modification of thebibliography
\r
129 \let\if@openbib\iffalse
\r
130 \DeclareOption{openbib}{\let\if@openbib\iftrue}
\r
131 % LaTeX standard, sectionwise references
\r
132 \DeclareOption{oribibl}{\let\oribibl=Y}
\r
133 \DeclareOption{sectrefs}{\let\secbibl=Y}
\r
135 % footinfo option (provides an informatory line on every page)
\r
136 \def\SpringerMacroPackageNameA{svmono.cls}
\r
137 % \thetime, \thedate and \timstamp are macros to include
\r
138 % time, date (or both) of the TeX run in the document
\r
139 \def\maketimestamp{\count255=\time
\r
140 \divide\count255 by 60\relax
\r
141 \edef\thetime{\the\count255:}%
\r
142 \multiply\count255 by-60\relax
\r
143 \advance\count255 by\time
\r
144 \edef\thetime{\thetime\ifnum\count255<10 0\fi\the\count255}
\r
145 \edef\thedate{\number\day-\ifcase\month\or Jan\or Feb\or Mar\or
\r
146 Apr\or May\or Jun\or Jul\or Aug\or Sep\or Oct\or
\r
147 Nov\or Dec\fi-\number\year}
\r
148 \def\timstamp{\hbox to\hsize{\tt\hfil\thedate\hfil\thetime\hfil}}}
\r
151 % \footinfo generates a info footline on every page containing
\r
152 % pagenumber, jobname, macroname, and timestamp
\r
153 \DeclareOption{footinfo}{\AtBeginDocument{\maketimestamp
\r
154 \def\ps@empty{\let\@mkboth\@gobbletwo
\r
155 \let\@oddhead\@empty\let\@evenhead\@empty}%
\r
156 \def\@oddfoot{\scriptsize\tt Page:\,\thepage\space\hfil
\r
157 job:\,\jobname\space\hfil
\r
158 macro:\,\SpringerMacroPackageNameA\space\hfil
\r
159 date/time:\,\thedate/\thetime}%
\r
160 \let\@evenfoot=\@oddfoot}}
\r
162 % start new chapter on any page
\r
163 \newif\if@openright \@openrighttrue
\r
164 \DeclareOption{openany}{\@openrightfalse}
\r
166 % no size changing allowed
\r
167 \DeclareOption{11pt}{\OptionNotUsed}
\r
168 \DeclareOption{12pt}{\OptionNotUsed}
\r
169 % options for the article class
\r
170 \def\@rticle@options{10pt,twoside}
\r
172 \DeclareOption{fleqn}{\def\@rticle@options{10pt,twoside,fleqn}%
\r
173 \AtEndOfClass{\let\leftlegendglue\relax}%
\r
174 \AtBeginDocument{\mathindent\parindent}}
\r
175 % hanging sectioning titles
\r
176 \let\if@sechang\iftrue
\r
177 \DeclareOption{nosechang}{\let\if@sechang\iffalse}
\r
178 % hanging sectioning titles
\r
179 \def\ClassInfoNoLine#1#2{%
\r
180 \ClassInfo{#1}{#2\@gobble}%
\r
183 \DeclareOption{graybox}{%
\r
184 \AtEndOfClass{% Loading color package
\r
185 \RequirePackage{color}%
\r
186 % defining values of gray
\r
187 \definecolor{shadecolor}{gray}{.85}%
\r
188 \definecolor{tintedcolor}{gray}{.80}%
\r
189 \RequirePackage{framed}%
\r
191 \newenvironment{tinted}{%
\r
192 \def\FrameCommand{\colorbox{tintedcolor}}%
\r
193 \MakeFramed {\FrameRestore}}%
\r
196 \renewenvironment{svgraybox}%
\r
197 {\fboxsep=12pt\relax
\r
199 \list{}{\leftmargin=12pt\rightmargin=2\leftmargin\leftmargin=\z@\topsep=\z@\relax}%
\r
200 \expandafter\item\parindent=\svparindent
\r
201 \hskip-\listparindent}%
\r
202 {\endlist\end{shaded}}%
\r
204 \renewenvironment{svtintedbox}%
\r
205 {\fboxsep=12pt\relax
\r
207 \list{}{\leftmargin=12pt\rightmargin=2\leftmargin\leftmargin=\z@\topsep=\z@\relax}%
\r
208 \expandafter\item\parindent=\svparindent
\r
210 {\endlist\end{tinted}}%
\r
214 \let\SVMonoOpt\@empty
\r
215 \DeclareOption*{\InputIfFileExists{sv\CurrentOption.clo}{%
\r
216 \global\let\SVMonoOpt\CurrentOption}{%
\r
217 \ClassWarning{Springer-SVMono}{Specified option or subpackage
\r
218 "\CurrentOption" \MessageBreak not found
\r
219 passing it to article class \MessageBreak
\r
220 -}\PassOptionsToClass{\CurrentOption}{article}%
\r
222 \ProcessOptions\relax
\r
223 \ifx\SVMonoOpt\@empty\relax
\r
224 \ClassInfoNoLine{Springer-SVMono}{extra/valid Springer sub-package
\r
225 \MessageBreak not found in option list - using "global" style}{}
\r
227 \LoadClass[\@rticle@options]{article}
\r
230 % various sizes and settings for monographs
\r
232 \setlength{\textwidth}{117mm}
\r
233 %\setlength{\textheight}{12pt}\multiply\textheight by 45\relax
\r
234 \setlength{\textheight}{191mm}
\r
235 \setlength{\topmargin}{0cm}
\r
236 \setlength\oddsidemargin {63\p@}
\r
237 \setlength\evensidemargin {63\p@}
\r
238 \setlength\marginparwidth{90\p@}
\r
239 \setlength\headsep {12\p@}
\r
241 \newdimen\svparindent
\r
242 \setlength{\svparindent}{12\p@}
\r
243 \parindent\svparindent
\r
244 \setlength{\parskip}{\z@ \@plus \p@}
\r
245 \setlength{\hfuzz}{2\p@}
\r
246 \setlength{\arraycolsep}{1.5\p@}
\r
252 \predisplaypenalty=0
\r
254 \widowpenalty=10000
\r
256 \setlength\footnotesep{7.7\p@}
\r
258 \newdimen\betweenumberspace % dimension for space between
\r
259 \betweenumberspace=5\p@ % number and text of titles
\r
260 \newdimen\headlineindent % dimension for space of
\r
261 \headlineindent=2.5cc % number and gap of running heads
\r
263 % fonts, sizes, and the like
\r
264 \renewcommand\normalsize{%
\r
265 \@setfontsize\normalsize\@xpt\@xiipt
\r
266 \abovedisplayskip 10\p@ % \@plus2\p@ \@minus5\p@
\r
267 \abovedisplayshortskip \z@ % \@plus3\p@
\r
268 \belowdisplayshortskip 6\p@ %\@plus3\p@ \@minus3\p@
\r
269 \belowdisplayskip \abovedisplayskip
\r
270 \let\@listi\@listI}
\r
272 \renewcommand\small{%
\r
273 \@setfontsize\small{8.5}{10}%
\r
274 \abovedisplayskip 8.5\p@ % \@plus3\p@ \@minus4\p@
\r
275 \abovedisplayshortskip \z@ %\@plus2\p@
\r
276 \belowdisplayshortskip 4\p@ %\@plus2\p@ \@minus2\p@
\r
277 \def\@listi{\leftmargin\leftmargini
\r
278 \parsep \z@ \@plus\p@ \@minus\p@
\r
279 \topsep 6\p@ \@plus2\p@ \@minus4\p@
\r
281 \belowdisplayskip \abovedisplayskip
\r
284 \let\footnotesize=\small
\r
286 \renewcommand\Large{\@setfontsize\large{14}{16}}
\r
287 \newcommand\LArge{\@setfontsize\Large{16}{18}}
\r
288 \renewcommand\LARGE{\@setfontsize\LARGE{18}{20}}
\r
290 \newenvironment{petit}{\par\addvspace{6\p@}\small}{\par\addvspace{6\p@}}
\r
293 % modification of automatic positioning of floating objects
\r
294 \setlength\@fptop{\z@ }
\r
295 \setlength\@fpsep{12\p@ }
\r
296 \setlength\@fpbot{\z@ \@plus 1fil }
\r
297 \def\textfraction{.01}
\r
298 \def\floatpagefraction{.8}
\r
299 \setlength{\intextsep}{20\p@ \@plus 2\p@ \@minus 2\p@}
\r
300 \setlength\textfloatsep{24\p@ \@plus 2\p@ \@minus 4\p@}
\r
301 \setcounter{topnumber}{4}
\r
302 \def\topfraction{.9}
\r
303 \setcounter{bottomnumber}{2}
\r
304 \def\bottomfraction{.7}
\r
305 \setcounter{totalnumber}{6}
\r
307 % size and style of headings
\r
308 \newcommand{\partnumsize}{\LArge}
\r
309 \newcommand{\partnumstyle}{\bfseries\boldmath}
\r
310 \newcommand{\partsize}{\LARGE}
\r
311 \newcommand{\partstyle}{\bfseries\boldmath}
\r
312 \newcommand{\chapnumsize}{\Large}
\r
313 \newcommand{\chapnumstyle}{\bfseries\boldmath}
\r
314 \newcommand{\chapsize}{\LArge}
\r
315 \newcommand{\chapstyle}{\bfseries\boldmath}
\r
316 \newcommand{\chapauthsize}{\normalsize}
\r
317 \newcommand{\chapauthstyle}{\bfseries\boldmath}
\r
318 \newcommand{\mottosize}{\small}
\r
319 \newcommand{\mottostyle}{\itshape\unboldmath\raggedright}
\r
320 \newcommand{\secsize}{\large}
\r
321 \newcommand{\secstyle}{\bfseries\boldmath}
\r
322 %\newcommand{\subsecsize}{\large}
\r
323 \newcommand{\subsecsize}{\fontsize{11}{13}\selectfont}
\r
324 \newcommand{\subsecstyle}{\bfseries\boldmath}
\r
325 \newcommand{\subsubsecstyle}{\bfseries\boldmath}
\r
327 \def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
\r
328 \hbox{}\newpage\if@twocolumn\hbox{}\newpage\fi\fi\fi}
\r
330 \newcommand{\clearemptydoublepage}{%
\r
331 \clearpage{\pagestyle{empty}\cleardoublepage}}
\r
332 \newcommand{\startnewpage}{\if@openright\clearemptydoublepage\else\clearpage\fi}
\r
334 % redefinition of \part
\r
335 \renewcommand\part{\clearemptydoublepage
\r
336 \thispagestyle{empty}
\r
343 \@ifundefined{thispagecropped}{}{\thispagecropped}
\r
344 \secdef\@part\@spart}
\r
346 \def\@part[#1]#2{\ifnum \c@secnumdepth >-2\relax
\r
347 \refstepcounter{part}
\r
348 \addcontentsline{toc}{part}{\partname\
\r
349 \thepart\thechapterend\hspace{\betweenumberspace}%
\r
351 \addcontentsline{toc}{part}{#1}\fi
\r
355 \interlinepenalty\@M
\r
356 \ifnum \c@secnumdepth >-2\relax
\r
357 \normalfont\partnumsize\partnumstyle %\vrule height 34pt width 0pt depth 0pt%
\r
358 \partname\ \thepart %\llap{\smash{\lower 5pt\hbox to\textwidth{\hrulefill}}}
\r
361 \partsize\partstyle #2\par}\@endpart}
\r
363 % \@endpart finishes the part page
\r
365 \def\@endpart{\vfil\newpage
\r
368 \thispagestyle{empty}
\r
375 \def\@spart#1{{\raggedleft
\r
376 \normalfont\partsize\partstyle
\r
379 \newenvironment{partbacktext}{\def\@endpart{\vfil\newpage}}
\r
380 {\thispagestyle{empty} \newpage}
\r
382 % (re)define sectioning
\r
383 \setcounter{secnumdepth}{3}
\r
385 \def\seccounterend{}
\r
386 \def\seccountergap{\hskip\betweenumberspace}
\r
387 \def\@seccntformat#1{\csname the#1\endcsname\seccounterend\seccountergap\ignorespaces}
\r
389 \let\firstmark=\botmark
\r
391 \@ifundefined{thechapterend}{\def\thechapterend{}}{}
\r
394 \def\sec@hangfrom#1{\setbox\@tempboxa\hbox{#1}%
\r
395 \hangindent\wd\@tempboxa\noindent\box\@tempboxa}
\r
397 \def\sec@hangfrom#1{\setbox\@tempboxa\hbox{#1}%
\r
398 \hangindent\z@\noindent\box\@tempboxa}
\r
401 %\def\chap@hangfrom#1{\noindent\vrule height 34pt width 0pt depth 0pt
\r
402 %\rlap{\smash{\lower 5pt\hbox to\textwidth{\hrulefill}}}\hbox{#1}
\r
404 %\def\schap@hangfrom{\chap@hangfrom{}}
\r
406 \newcounter{chapter}
\r
408 \@addtoreset{section}{chapter}
\r
409 \@addtoreset{footnote}{chapter}
\r
411 \newif\if@mainmatter \@mainmattertrue
\r
412 \newcommand\frontmatter{\startnewpage
\r
413 \@mainmatterfalse\pagenumbering{roman}
\r
414 \setcounter{page}{5}}
\r
416 \newcommand\mainmatter{\clearemptydoublepage
\r
417 \@mainmattertrue\pagenumbering{arabic}}
\r
419 \newcommand\backmatter{\clearemptydoublepage\@mainmatterfalse}
\r
421 \def\@chapapp{\chaptername}
\r
423 \newdimen\mottowidth
\r
424 \newcommand\motto[2][77mm]{%
\r
425 \setlength{\mottowidth}{#1}%
\r
426 \gdef\m@ttotext{#2}}
\r
428 \newcommand{\processmotto}{\@ifundefined{m@ttotext}{}{%
\r
429 \setbox0=\hbox{\vbox{\hyphenpenalty=50
\r
431 \begin{minipage}{\mottowidth}
\r
432 \vrule\@width\z@\@height21\p@\@depth\z@
\r
433 \normalfont\mottosize\mottostyle\m@ttotext
\r
435 \end{flushright}}}%
\r
436 \@tempdima=\pagetotal
\r
437 \advance\@tempdima by\ht0
\r
438 \ifdim\@tempdima<157\p@
\r
439 \multiply\@tempdima by-1
\r
440 \advance\@tempdima by157\p@
\r
444 \global\let\m@ttotext=\undefined}}
\r
446 \newcommand{\chapsubtitle}[1]{%
\r
447 \gdef\ch@psubtitle{#1}}
\r
449 \newcommand{\processchapsubtit}{\@ifundefined{ch@psubtitle}{}{%
\r
450 {\normalfont\chapnumsize\chapnumstyle
\r
454 \global\let\ch@psubtitle=\undefined}}
\r
456 \newcommand{\chapauthor}[1]{%
\r
457 \gdef\ch@pauthor{#1}}
\r
459 \newcommand{\processchapauthor}{\@ifundefined{ch@pauthor}{}{%
\r
460 {\normalfont\chapauthsize\chapauthstyle
\r
464 \global\let\ch@pauthor=\undefined}}
\r
466 \newcommand\chapter{\startnewpage
\r
467 \@ifundefined{thispagecropped}{}{\thispagecropped}
\r
468 \thispagestyle{bchap}%
\r
472 \csname cl@chapter\endcsname
\r
477 \secdef\@chapter\@schapter}
\r
479 \def\@chapter[#1]#2{\if@chapnum % war mal \ifnum \c@secnumdepth >\m@ne
\r
480 \refstepcounter{chapter}%
\r
482 \typeout{\@chapapp\space\thechapter.}%
\r
483 \addcontentsline{toc}{chapter}{\protect
\r
484 \numberline{\thechapter\thechapterend}#1}%
\r
486 \addcontentsline{toc}{chapter}{#1}%
\r
489 \addcontentsline{toc}{chapter}{#1}%
\r
492 \addtocontents{lof}{\protect\addvspace{10\p@}}%
\r
493 \addtocontents{lot}{\protect\addvspace{10\p@}}%
\r
495 \@topnewpage[\@makechapterhead{#2}]%
\r
497 \@makechapterhead{#2}%
\r
501 \def\@schapter#1{\if@twocolumn
\r
502 \@topnewpage[\@makeschapterhead{#1}]%
\r
504 \@makeschapterhead{#1}%
\r
508 %%changes position and layout of numbered chapter headings
\r
509 \def\@makechapterhead#1{{\parindent\z@\raggedright\normalfont
\r
511 \interlinepenalty\@M
\r
513 \chapnumsize\chapnumstyle
\r
514 \@chapapp\ \thechapter\thechapterend\par
\r
517 \chapsize\chapstyle
\r
518 \ignorespaces#1\par\nobreak
\r
522 \ifdim\pagetotal>167\p@
\r
525 \@tempdima=167\p@\advance\@tempdima by-\pagetotal
\r
529 %%changes position and layout of unnumbered chapter headings
\r
530 \def\@makeschapterhead#1{{\parindent \z@ \raggedright\normalfont
\r
532 \interlinepenalty\@M
\r
533 \chapsize\chapstyle
\r
534 \ignorespaces#1\par\nobreak
\r
536 \ifdim\pagetotal>167\p@
\r
539 \@tempdima=168\p@\advance\@tempdima by-\pagetotal
\r
543 % dedication environment
\r
544 \newenvironment{dedication}
\r
545 {\clearemptydoublepage
\r
546 \thispagestyle{empty}
\r
547 \vspace*{13\baselineskip}
\r
549 \let\\\@centercr\@rightskip\@flushglue \rightskip\@rightskip
\r
550 \leftskip4cm\parindent\z@\relax
\r
551 \everypar{\parindent=\svparindent\let\everypar\empty}}{\clearpage}
\r
553 % predefined unnumbered headings
\r
554 \newcommand{\preface}[1][\prefacename]{\chapter*{#1}\markboth{#1}{#1}}
\r
555 \newcommand{\foreword}[1][\forewordname]{\chapter*{#1}\markboth{#1}{#1}}
\r
556 \newcommand{\extrachap}[1]{\chapter*{#1}\markboth{#1}{#1}}
\r
557 % same with TOC entry
\r
558 \newcommand{\Extrachap}[1]{\chapter*{#1}\markboth{#1}{#1}%
\r
559 \addcontentsline{toc}{chapter}{#1}}
\r
561 % measures and setting of sections
\r
562 \renewcommand\section{\@startsection{section}{1}{\z@}%
\r
563 {-30\p@}% \p@lus -4\p@ \@minus -4\p@}%
\r
564 {16\p@}% \p@lus 4\p@ \@minus 4\p@}%
\r
565 {\normalfont\secsize\secstyle
\r
566 \rightskip=\z@ \@plus 8em\pretolerance=10000 }}
\r
567 \renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
\r
568 {-30\p@}% \p@lus -4\p@ \@minus -4\p@}%
\r
569 {16\p@}% \p@lus 4\p@ \@minus 4\p@}%
\r
570 {\normalfont\subsecsize\subsecstyle
\r
571 \rightskip=\z@ \@plus 8em\pretolerance=10000 }}
\r
572 \renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
\r
573 {-24\p@}% \p@lus -4\p@ \@minus -4\p@}%
\r
574 {12\p@}% \p@lus 4\p@ \@minus 4\p@}%
\r
575 {\normalfont\normalsize\subsubsecstyle
\r
576 \rightskip=\z@ \@plus 8em\pretolerance=10000 }}
\r
577 \renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
\r
578 {-24\p@}% \p@lus -4\p@ \@minus -4\p@}%
\r
579 {12\p@}% \p@lus 4\p@ \@minus 4\p@}%
\r
580 {\normalfont\normalsize\upshape
\r
581 \rightskip=\z@ \@plus 8em\pretolerance=10000 }}
\r
582 \renewcommand\subparagraph{\@startsection{paragraph}{4}{\z@}%
\r
583 {-18\p@}% \p@lus -4\p@ \@minus -4\p@}%
\r
584 {6\p@}% \p@lus 4\p@ \@minus 4\p@}%
\r
585 {\normalfont\normalsize\itshape
\r
586 \rightskip=\z@ \@plus 8em\pretolerance=10000 }}
\r
587 \newcommand\runinhead{\@startsection{paragraph}{4}{\z@}%
\r
588 {-6\p@}% \p@lus -4\p@ \@minus -4\p@}%
\r
590 {\normalfont\normalsize\bfseries\boldmath
\r
591 \rightskip=\z@ \@plus 8em\pretolerance=10000 }}
\r
592 \newcommand\subruninhead{\@startsection{paragraph}{4}{\z@}%
\r
593 {-6\p@}% \p@lus -4\p@ \@minus -4\p@}%
\r
595 {\normalfont\normalsize\itshape
\r
596 \rightskip=\z@ \@plus 8em\pretolerance=10000 }}
\r
598 \newcommand\subsubruninhead{\@startsection{paragraph}{4}{\z@}%
\r
599 {-6\p@}% \p@lus -4\p@ \@minus -4\p@}%
\r
601 {\normalfont\normalsize\bfseries
\r
602 \rightskip=\z@ \@plus 8em\pretolerance=10000 }}
\r
605 \renewcommand\appendix{\par
\r
606 \stepcounter{chapter}
\r
607 \setcounter{chapter}{0}
\r
608 \stepcounter{section}
\r
609 \setcounter{section}{0}
\r
610 \setcounter{equation}{0}
\r
611 \setcounter{figure}{0}
\r
612 \setcounter{table}{0}
\r
613 \setcounter{footnote}{0}
\r
614 \def\@chapapp{\appendixname}%
\r
615 \renewcommand\thechapter{\@Alph\c@chapter}}
\r
618 \def\aftertext{\unskip\runinsep}
\r
620 \def\thesection{\thechapter.\arabic{section}}
\r
621 \def\thesubsection{\thesection.\arabic{subsection}}
\r
622 \def\thesubsubsection{\thesubsection.\arabic{subsubsection}}
\r
623 \def\theparagraph{\thesubsubsection.\arabic{paragraph}}
\r
624 \def\thesubparagraph{\theparagraph.\arabic{subparagraph}}
\r
625 \def\chaptermark#1{}
\r
627 \def\@ssect#1#2#3#4#5{%
\r
628 \@tempskipa #3\relax
\r
629 \ifdim \@tempskipa>\z@
\r
632 \@hangfrom{\hskip #1}%
\r
635 \interlinepenalty \@M #5\@@par}%
\r
638 \def\@svsechd{#4{\hskip #1\relax #5}}%
\r
642 \def\@sect#1#2#3#4#5#6[#7]#8{%
\r
643 \ifnum #2>\c@secnumdepth
\r
646 \refstepcounter{#1}%
\r
647 \protected@edef\@svsec{\@seccntformat{#1}\relax}%
\r
649 \@tempskipa #5\relax
\r
650 \ifdim \@tempskipa>\z@
\r
651 \begingroup #6\relax
\r
652 \sec@hangfrom{\hskip #3\relax\@svsec}%
\r
655 \interlinepenalty \@M #8\@@par}%
\r
657 \csname #1mark\endcsname{#7\seccounterend}%
\r
658 \addcontentsline{toc}{#1}{\ifnum #2>\c@secnumdepth
\r
660 \protect\numberline{\csname the#1\endcsname\seccounterend}%
\r
666 \@svsec #8\aftertext\ignorespaces
\r
667 \csname #1mark\endcsname{#7}%
\r
668 \addcontentsline{toc}{#1}{%
\r
669 \ifnum #2>\c@secnumdepth \else
\r
670 \protect\numberline{\csname the#1\endcsname\seccounterend}%
\r
676 % figures and tables are processed in small print
\r
677 \def \@floatboxreset {%
\r
683 \def\fps@figure{htbp}
\r
684 \def\fps@table{htbp}
\r
686 % Frame for paste-in figures or tables
\r
687 \def\mpicplace#1#2{% #1 =width #2 =height
\r
688 \vbox{\hbox to #1{\vrule\@width \fboxrule \@height #2\hfill}}}
\r
690 \newenvironment{svgraybox}%
\r
691 {\ClassWarning{Springer-SVMono}{Environment "svgraybox" not available,\MessageBreak
\r
692 switching over to "quotation" environment;\MessageBreak
\r
693 specify documentclass option "graybox",\MessageBreak
\r
694 see SVMono documentation -}%
\r
695 \par\addvspace{6pt}
\r
696 \list{}{\listparindent12\p@%
\r
698 \itemindent \listparindent
\r
699 \rightmargin \leftmargin
\r
700 \parsep \z@ \@plus\p@}%
\r
701 \expandafter\item\parindent=\svparindent
\r
702 \relax\hskip-\listparindent}%
\r
705 \newenvironment{svtintedbox}%
\r
706 {\ClassWarning{Springer-SVMono}{Environment "svtintedbox" not available,\MessageBreak
\r
707 switching over to "quotation" environment;\MessageBreak
\r
708 specify documentclass option "graybox",\MessageBreak
\r
709 see SVMono documentation -}%
\r
710 \par\addvspace{6pt}
\r
711 \list{}{\listparindent12\p@%
\r
713 \itemindent \listparindent
\r
714 \rightmargin \leftmargin
\r
715 \parsep \z@ \@plus\p@}%
\r
716 \expandafter\item\parindent=\svparindent
\r
717 \relax\hskip-\listparindent}%
\r
720 \renewenvironment{quotation}
\r
721 {\par\addvspace{6pt}
\r
722 \list{}{\listparindent12\p@%
\r
724 \itemindent \listparindent
\r
725 \rightmargin \leftmargin
\r
726 \parsep \z@ \@plus\p@%
\r
728 \item\relax\hskip-\listparindent}
\r
731 \renewenvironment{quote}
\r
732 {\par\addvspace{6pt}
\r
733 \list{}{\leftmargin=12\p@%
\r
734 \rightmargin\leftmargin
\r
740 % labels of enumerate
\r
741 \renewcommand\labelenumii{\theenumii.}
\r
742 \renewcommand\theenumii{\@alph\c@enumii}
\r
744 % labels of itemize
\r
745 \renewcommand\labelitemi{\textbullet}
\r
746 \renewcommand\labelitemii{\textendash}
\r
747 \let\labelitemiii=\labelitemiv
\r
749 % labels of description
\r
750 \renewcommand*\descriptionlabel[1]{\hspace\labelsep #1\hfil}
\r
752 % fixed indentation for standard itemize-environment
\r
753 \newdimen\svitemindent \setlength{\svitemindent}{\parindent}
\r
756 % make indentations changeable
\r
758 \def\setitemindent#1{\settowidth{\labelwidth}{#1}%
\r
760 \leftmargini\labelwidth
\r
761 \advance\leftmargini\labelsep
\r
762 \def\@listi{\leftmargin\leftmargini
\r
763 \labelwidth\leftmargini\advance\labelwidth by -\labelsep
\r
765 \topsep=\medskipamount
\r
766 \itemsep=\parskip \advance\itemsep by -\parsep}}
\r
767 \def\setitemitemindent#1{\settowidth{\labelwidth}{#1}%
\r
769 \leftmarginii\labelwidth
\r
770 \advance\leftmarginii\labelsep
\r
771 \def\@listii{\leftmargin\leftmarginii
\r
772 \labelwidth\leftmarginii\advance\labelwidth by -\labelsep
\r
775 \itemsep=\parskip \advance\itemsep by -\parsep}}
\r
777 % adjusted environment "description"
\r
778 % if an optional parameter (at the first two levels of lists)
\r
779 % is present, its width is considered to be the widest mark
\r
780 % throughout the current list.
\r
781 \def\description{\@ifnextchar[{\@describe}{\list{}{\labelwidth\z@
\r
782 \labelsep=12pt\relax %!!!!!!!!!
\r
783 \leftmargini=12pt\relax %!!!!!!!!!
\r
784 \leftmargin=12pt\relax %!!!!!!!!!
\r
785 \itemindent-\leftmargin \let\makelabel\descriptionlabel}}}
\r
787 \def\describelabel#1{#1\hfil}
\r
788 \def\@describe[#1]{\labelsep=12pt\relax
\r
789 \relax\ifnum\@listdepth=0
\r
790 \setitemindent{#1}\else\ifnum\@listdepth=1
\r
791 \setitemitemindent{#1}\fi\fi
\r
792 \list{--}{\let\makelabel\describelabel}}
\r
795 \ifnum \@itemdepth >\thr@@\@toodeep\else
\r
796 \advance\@itemdepth\@ne
\r
797 \ifx\setit@m\undefined
\r
798 \ifnum \@itemdepth=1 \leftmargini=\svitemindent
\r
799 \labelwidth\leftmargini\advance\labelwidth-\labelsep
\r
800 \leftmarginii=\leftmargini \leftmarginiii=\leftmargini
\r
803 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
\r
805 \csname\@itemitem\endcsname
\r
806 {\def\makelabel##1{\rlap{##1}\hss}}%
\r
810 \ifnum \@enumdepth >\thr@@\@toodeep\else
\r
811 \advance\@enumdepth\@ne
\r
812 \ifx\setit@m\undefined
\r
813 \ifnum \@enumdepth=1 \leftmargini=\svitemindent
\r
814 \labelwidth\leftmargini\advance\labelwidth-\labelsep
\r
815 \leftmarginii=\leftmargini \leftmarginiii=\leftmargini
\r
818 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
\r
821 \csname label\@enumctr\endcsname
\r
822 {\usecounter\@enumctr\def\makelabel##1{\hss\llap{##1}}}%
\r
825 \newdimen\verbatimindent \verbatimindent\parindent
\r
826 \def\verbatim{\advance\@totalleftmargin by\verbatimindent
\r
827 \@verbatim \frenchspacing\@vobeyspaces \@xverbatim}
\r
830 % special signs and characters
\r
831 \newcommand{\D}{\mathrm{d}}
\r
832 \newcommand{\E}{\mathrm{e}}
\r
834 \newcommand{\I}{{\rm i}}
\r
837 % the definition of uppercase Greek characters
\r
838 % Springer likes them as italics to depict variables
\r
839 \DeclareMathSymbol{\Gamma}{\mathalpha}{letters}{"00}
\r
840 \DeclareMathSymbol{\Delta}{\mathalpha}{letters}{"01}
\r
841 \DeclareMathSymbol{\Theta}{\mathalpha}{letters}{"02}
\r
842 \DeclareMathSymbol{\Lambda}{\mathalpha}{letters}{"03}
\r
843 \DeclareMathSymbol{\Xi}{\mathalpha}{letters}{"04}
\r
844 \DeclareMathSymbol{\Pi}{\mathalpha}{letters}{"05}
\r
845 \DeclareMathSymbol{\Sigma}{\mathalpha}{letters}{"06}
\r
846 \DeclareMathSymbol{\Upsilon}{\mathalpha}{letters}{"07}
\r
847 \DeclareMathSymbol{\Phi}{\mathalpha}{letters}{"08}
\r
848 \DeclareMathSymbol{\Psi}{\mathalpha}{letters}{"09}
\r
849 \DeclareMathSymbol{\Omega}{\mathalpha}{letters}{"0A}
\r
850 % the upright forms are defined here as \var<Character>
\r
851 \DeclareMathSymbol{\varGamma}{\mathalpha}{operators}{"00}
\r
852 \DeclareMathSymbol{\varDelta}{\mathalpha}{operators}{"01}
\r
853 \DeclareMathSymbol{\varTheta}{\mathalpha}{operators}{"02}
\r
854 \DeclareMathSymbol{\varLambda}{\mathalpha}{operators}{"03}
\r
855 \DeclareMathSymbol{\varXi}{\mathalpha}{operators}{"04}
\r
856 \DeclareMathSymbol{\varPi}{\mathalpha}{operators}{"05}
\r
857 \DeclareMathSymbol{\varSigma}{\mathalpha}{operators}{"06}
\r
858 \DeclareMathSymbol{\varUpsilon}{\mathalpha}{operators}{"07}
\r
859 \DeclareMathSymbol{\varPhi}{\mathalpha}{operators}{"08}
\r
860 \DeclareMathSymbol{\varPsi}{\mathalpha}{operators}{"09}
\r
861 \DeclareMathSymbol{\varOmega}{\mathalpha}{operators}{"0A}
\r
862 % Upright Lower Case Greek letters without using a new MathAlphabet
\r
863 \newcommand{\greeksym}[1]{\usefont{U}{psy}{m}{n}#1}
\r
864 \newcommand{\greeksymbold}[1]{{\usefont{U}{psy}{b}{n}#1}}
\r
865 \newcommand{\allmodesymb}[2]{\relax\ifmmode{\mathchoice
\r
866 {\mbox{\fontsize{\tf@size}{\tf@size}#1{#2}}}
\r
867 {\mbox{\fontsize{\tf@size}{\tf@size}#1{#2}}}
\r
868 {\mbox{\fontsize{\sf@size}{\sf@size}#1{#2}}}
\r
869 {\mbox{\fontsize{\ssf@size}{\ssf@size}#1{#2}}}}
\r
872 % Definition of lower case Greek letters
\r
873 \newcommand{\ualpha}{\allmodesymb{\greeksym}{a}}
\r
874 \newcommand{\ubeta}{\allmodesymb{\greeksym}{b}}
\r
875 \newcommand{\uchi}{\allmodesymb{\greeksym}{c}}
\r
876 \newcommand{\udelta}{\allmodesymb{\greeksym}{d}}
\r
877 \newcommand{\ugamma}{\allmodesymb{\greeksym}{g}}
\r
878 \newcommand{\umu}{\allmodesymb{\greeksym}{m}}
\r
879 \newcommand{\unu}{\allmodesymb{\greeksym}{n}}
\r
880 \newcommand{\upi}{\allmodesymb{\greeksym}{p}}
\r
881 \newcommand{\utau}{\allmodesymb{\greeksym}{t}}
\r
882 % redefines the \vec accent to a bold character - if desired
\r
883 \def\fig@type{arrow}% temporarily abused
\r
884 \AtBeginDocument{\ifx\vec@style\fig@type\else
\r
885 \@ifundefined{vec@style}{%
\r
886 \def\vec#1{\ensuremath{\mathchoice
\r
887 {\mbox{\boldmath$\displaystyle\mathbf{#1}$}}
\r
888 {\mbox{\boldmath$\textstyle\mathbf{#1}$}}
\r
889 {\mbox{\boldmath$\scriptstyle\mathbf{#1}$}}
\r
890 {\mbox{\boldmath$\scriptscriptstyle\mathbf{#1}$}}}}%
\r
892 {\def\vec#1{\ensuremath{\mathchoice
\r
893 {\mbox{\boldmath$\displaystyle#1$}}
\r
894 {\mbox{\boldmath$\textstyle#1$}}
\r
895 {\mbox{\boldmath$\scriptstyle#1$}}
\r
896 {\mbox{\boldmath$\scriptscriptstyle#1$}}}}%
\r
900 \def\tens#1{\relax\ifmmode\mathsf{#1}\else\textsf{#1}\fi}
\r
902 % end of proof symbol
\r
903 \newcommand\qedsymbol{\hbox{\rlap{$\sqcap$}$\sqcup$}}
\r
904 \newcommand\qed{\relax\ifmmode\else\unskip\quad\fi\qedsymbol}
\r
905 \newcommand\smartqed{\renewcommand\qed{\relax\ifmmode\qedsymbol\else
\r
906 {\unskip\nobreak\hfil\penalty50\hskip1em\null\nobreak\hfil\qedsymbol
\r
907 \parfillskip=\z@\finalhyphendemerits=0\endgraf}\fi}}
\r
910 \renewcommand\thesection{\thechapter.\@arabic\c@section}%
\r
911 \renewcommand\thesubsection{\thesection.\@arabic\c@subsection}%
\r
912 \renewcommand\theequation{\thechapter.\@arabic\c@equation}%
\r
913 \renewcommand\thefigure{\thechapter.\@arabic\c@figure}%
\r
914 \renewcommand\thetable{\thechapter.\@arabic\c@table}%
\r
915 \@addtoreset{section}{chapter}%
\r
916 \@addtoreset{figure}{chapter}%
\r
917 \@addtoreset{table}{chapter}%
\r
918 \@addtoreset{equation}{chapter}}
\r
921 \renewcommand\thesection{\@arabic\c@section}%
\r
922 \renewcommand\thesubsection{\thesection.\@arabic\c@subsection}%
\r
923 \renewcommand\theequation{\@arabic\c@equation}%
\r
924 \def\thesubequation{\@arabic\c@equation\alph{subequation}}%
\r
925 \renewcommand\thefigure{\@arabic\c@figure}%
\r
926 \renewcommand\thetable{\@arabic\c@table}%
\r
927 \@addtoreset{section}{chapter}%
\r
928 \@addtoreset{figure}{chapter}%
\r
929 \@addtoreset{table}{chapter}%
\r
930 \@addtoreset{equation}{chapter}}
\r
932 % Ragged bottom for the actual page
\r
933 \def\thisbottomragged{\def\@textbottom{\vskip\z@ \@plus.0001fil
\r
934 \global\let\@textbottom\relax}}
\r
936 % This is texte.tex
\r
937 % it defines various texts and their translations
\r
938 % called up with documentstyle options
\r
939 \def\switcht@albion{%
\r
940 \def\abstractname{Abstract}%
\r
941 \def\ackname{Acknowledgements}%
\r
943 \def\bibname{References}%
\r
944 \def\lastandname{, and}%
\r
945 \def\appendixname{Appendix}%
\r
946 \def\chaptername{Chapter}%
\r
947 \def\claimname{Claim}%
\r
948 \def\conjecturename{Conjecture}%
\r
949 \def\contentsname{Contents}%
\r
950 \def\corollaryname{Corollary}%
\r
951 \def\definitionname{Definition}%
\r
952 \def\emailname{e-mail}%
\r
953 \def\examplename{Example}%
\r
954 \def\exercisename{Exercise}%
\r
955 \def\figurename{Fig.}%
\r
956 \def\forewordname{Foreword}%
\r
957 \def\keywordname{{\bf Key words:}}%
\r
958 \def\indexname{Index}%
\r
959 \def\lemmaname{Lemma}%
\r
960 \def\contriblistname{List of Contributors}%
\r
961 \def\listfigurename{List of Figures}%
\r
962 \def\listtablename{List of Tables}%
\r
963 \def\mailname{{\it Correspondence to\/}:}%
\r
964 \def\noteaddname{Note added in proof}%
\r
965 \def\notename{Note}%
\r
966 \def\partname{Part}%
\r
967 \def\prefacename{Preface}%
\r
968 \def\problemname{Problem}%
\r
969 \def\proofname{Proof}%
\r
970 \def\propertyname{Property}%
\r
971 \def\propositionname{Proposition}%
\r
972 \def\questionname{Question}%
\r
973 \def\refname{References}%
\r
974 \def\remarkname{Remark}%
\r
976 \def\solutionname{Solution}%
\r
977 \def\subclassname{{\it Subject Classifications\/}:}%
\r
978 \def\tablename{Table}%
\r
979 \def\theoremname{Theorem}}
\r
981 % Names of theorem like environments are already defined
\r
982 % but must be translated if another language is chosen
\r
985 \def\switcht@francais{\svlanginfo
\r
986 \def\abstractname{R\'esum\'e}%
\r
987 \def\ackname{Remerciements}%
\r
989 \def\lastandname{ et}%
\r
990 \def\appendixname{Appendice}%
\r
991 \def\bibname{Bibliographie}%
\r
992 \def\chaptername{Chapitre}%
\r
993 \def\claimname{Pr\'etention}%
\r
994 \def\conjecturename{Hypoth\`ese}%
\r
995 \def\contentsname{Table des mati\`eres}%
\r
996 \def\corollaryname{Corollaire}%
\r
997 \def\definitionname{D\'efinition}%
\r
998 \def\emailname{e-mail}%
\r
999 \def\examplename{Exemple}%
\r
1000 \def\exercisename{Exercice}%
\r
1001 \def\figurename{Fig.}%
\r
1002 \def\forewordname{Avant-propos}%
\r
1003 \def\keywordname{{\bf Mots-cl\'e:}}%
\r
1004 \def\indexname{Index}%
\r
1005 \def\lemmaname{Lemme}%
\r
1006 \def\contriblistname{Liste des contributeurs}%
\r
1007 \def\listfigurename{Liste des figures}%
\r
1008 \def\listtablename{Liste des tables}%
\r
1009 \def\mailname{{\it Correspondence to\/}:}%
\r
1010 \def\noteaddname{Note ajout\'ee \`a l'\'epreuve}%
\r
1011 \def\notename{Remarque}%
\r
1012 \def\partname{Partie}%
\r
1013 \def\prefacename{Pr\'eface}%
\r
1014 \def\problemname{Probl\`eme}%
\r
1015 \def\proofname{Preuve}%
\r
1016 \def\propertyname{Caract\'eristique}%
\r
1017 %\def\propositionname{Proposition}%
\r
1018 \def\questionname{Question}%
\r
1019 \def\refname{Litt\'erature}%
\r
1020 \def\remarkname{Remarque}%
\r
1021 \def\seename{voir}%
\r
1022 \def\solutionname{Solution}%
\r
1023 \def\subclassname{{\it Subject Classifications\/}:}%
\r
1024 \def\tablename{Tableau}%
\r
1025 \def\theoremname{Th\'eor\`eme}%
\r
1029 \def\switcht@deutsch{\svlanginfo
\r
1030 \def\abstractname{Zusammenfassung}%
\r
1031 \def\ackname{Danksagung}%
\r
1032 \def\andname{und}%
\r
1033 \def\lastandname{ und}%
\r
1034 \def\appendixname{Anhang}%
\r
1035 \def\bibname{Literaturverzeichnis}%
\r
1036 \def\chaptername{Kapitel}%
\r
1037 \def\claimname{Behauptung}%
\r
1038 \def\conjecturename{Hypothese}%
\r
1039 \def\contentsname{Inhaltsverzeichnis}%
\r
1040 \def\corollaryname{Korollar}%
\r
1041 %\def\definitionname{Definition}%
\r
1042 \def\emailname{E-mail}%
\r
1043 \def\examplename{Beispiel}%
\r
1044 \def\exercisename{\"Ubung}%
\r
1045 \def\figurename{Abb.}%
\r
1046 \def\forewordname{Geleitwort}%
\r
1047 \def\keywordname{{\bf Schl\"usselw\"orter:}}%
\r
1048 \def\indexname{Sachverzeichnis}%
\r
1049 %\def\lemmaname{Lemma}%
\r
1050 \def\contriblistname{Mitarbeiter}%
\r
1051 \def\listfigurename{Abbildungsverzeichnis}%
\r
1052 \def\listtablename{Tabellenverzeichnis}%
\r
1053 \def\mailname{{\it Correspondence to\/}:}%
\r
1054 \def\noteaddname{Nachtrag}%
\r
1055 \def\notename{Anmerkung}%
\r
1056 \def\partname{Teil}%
\r
1057 \def\prefacename{Vorwort}%
\r
1058 %\def\problemname{Problem}%
\r
1059 \def\proofname{Beweis}%
\r
1060 \def\propertyname{Eigenschaft}%
\r
1061 %\def\propositionname{Proposition}%
\r
1062 \def\questionname{Frage}%
\r
1063 \def\refname{Literaturverzeichnis}%
\r
1064 \def\remarkname{Anmerkung}%
\r
1065 \def\seename{siehe}%
\r
1066 \def\solutionname{L\"osung}%
\r
1067 \def\subclassname{{\it Subject Classifications\/}:}%
\r
1068 \def\tablename{Tabelle}%
\r
1069 %\def\theoremname{Theorem}%
\r
1072 \def\getsto{\mathrel{\mathchoice {\vcenter{\offinterlineskip
\r
1074 $\displaystyle##$\hfil\cr\gets\cr\to\cr}}}
\r
1075 {\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr\gets
\r
1077 {\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr\gets
\r
1079 {\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr
\r
1080 \gets\cr\to\cr}}}}}
\r
1081 \def\lid{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
\r
1082 $\displaystyle##$\hfil\cr<\cr\noalign{\vskip1.2\p@}=\cr}}}
\r
1083 {\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr<\cr
\r
1084 \noalign{\vskip1.2\p@}=\cr}}}
\r
1085 {\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr<\cr
\r
1086 \noalign{\vskip\p@}=\cr}}}
\r
1087 {\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr
\r
1089 \noalign{\vskip0.9\p@}=\cr}}}}}
\r
1090 \def\gid{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
\r
1091 $\displaystyle##$\hfil\cr>\cr\noalign{\vskip1.2\p@}=\cr}}}
\r
1092 {\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr>\cr
\r
1093 \noalign{\vskip1.2\p@}=\cr}}}
\r
1094 {\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr>\cr
\r
1095 \noalign{\vskip\p@}=\cr}}}
\r
1096 {\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr
\r
1098 \noalign{\vskip0.9\p@}=\cr}}}}}
\r
1099 \def\grole{\mathrel{\mathchoice {\vcenter{\offinterlineskip
\r
1101 $\displaystyle##$\hfil\cr>\cr\noalign{\vskip-\p@}<\cr}}}
\r
1102 {\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr
\r
1103 >\cr\noalign{\vskip-\p@}<\cr}}}
\r
1104 {\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr
\r
1105 >\cr\noalign{\vskip-0.8\p@}<\cr}}}
\r
1106 {\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr
\r
1107 >\cr\noalign{\vskip-0.3\p@}<\cr}}}}}
\r
1108 \def\bbbr{{\rm I\!R}} %reelle Zahlen
\r
1109 \def\bbbm{{\rm I\!M}}
\r
1110 \def\bbbn{{\rm I\!N}} %natuerliche Zahlen
\r
1111 \def\bbbf{{\rm I\!F}}
\r
1112 \def\bbbh{{\rm I\!H}}
\r
1113 \def\bbbk{{\rm I\!K}}
\r
1114 \def\bbbp{{\rm I\!P}}
\r
1115 \def\bbbone{{\mathchoice {\rm 1\mskip-4mu l} {\rm 1\mskip-4mu l}
\r
1116 {\rm 1\mskip-4.5mu l} {\rm 1\mskip-5mu l}}}
\r
1117 \def\bbbc{{\mathchoice {\setbox0=\hbox{$\displaystyle\rm C$}\hbox{\hbox
\r
1118 to\z@{\kern0.4\wd0\vrule\@height0.9\ht0\hss}\box0}}
\r
1119 {\setbox0=\hbox{$\textstyle\rm C$}\hbox{\hbox
\r
1120 to\z@{\kern0.4\wd0\vrule\@height0.9\ht0\hss}\box0}}
\r
1121 {\setbox0=\hbox{$\scriptstyle\rm C$}\hbox{\hbox
\r
1122 to\z@{\kern0.4\wd0\vrule\@height0.9\ht0\hss}\box0}}
\r
1123 {\setbox0=\hbox{$\scriptscriptstyle\rm C$}\hbox{\hbox
\r
1124 to\z@{\kern0.4\wd0\vrule\@height0.9\ht0\hss}\box0}}}}
\r
1125 \def\bbbq{{\mathchoice {\setbox0=\hbox{$\displaystyle\rm
\r
1127 0.15\ht0\hbox to\z@{\kern0.4\wd0\vrule\@height0.8\ht0\hss}\box0}}
\r
1128 {\setbox0=\hbox{$\textstyle\rm Q$}\hbox{\raise
\r
1129 0.15\ht0\hbox to\z@{\kern0.4\wd0\vrule\@height0.8\ht0\hss}\box0}}
\r
1130 {\setbox0=\hbox{$\scriptstyle\rm Q$}\hbox{\raise
\r
1131 0.15\ht0\hbox to\z@{\kern0.4\wd0\vrule\@height0.7\ht0\hss}\box0}}
\r
1132 {\setbox0=\hbox{$\scriptscriptstyle\rm Q$}\hbox{\raise
\r
1133 0.15\ht0\hbox to\z@{\kern0.4\wd0\vrule\@height0.7\ht0\hss}\box0}}}}
\r
1134 \def\bbbt{{\mathchoice {\setbox0=\hbox{$\displaystyle\rm
\r
1135 T$}\hbox{\hbox to\z@{\kern0.3\wd0\vrule\@height0.9\ht0\hss}\box0}}
\r
1136 {\setbox0=\hbox{$\textstyle\rm T$}\hbox{\hbox
\r
1137 to\z@{\kern0.3\wd0\vrule\@height0.9\ht0\hss}\box0}}
\r
1138 {\setbox0=\hbox{$\scriptstyle\rm T$}\hbox{\hbox
\r
1139 to\z@{\kern0.3\wd0\vrule\@height0.9\ht0\hss}\box0}}
\r
1140 {\setbox0=\hbox{$\scriptscriptstyle\rm T$}\hbox{\hbox
\r
1141 to\z@{\kern0.3\wd0\vrule\@height0.9\ht0\hss}\box0}}}}
\r
1142 \def\bbbs{{\mathchoice
\r
1143 {\setbox0=\hbox{$\displaystyle \rm S$}\hbox{\raise0.5\ht0\hbox
\r
1144 to\z@{\kern0.35\wd0\vrule\@height0.45\ht0\hss}\hbox
\r
1145 to\z@{\kern0.55\wd0\vrule\@height0.5\ht0\hss}\box0}}
\r
1146 {\setbox0=\hbox{$\textstyle \rm S$}\hbox{\raise0.5\ht0\hbox
\r
1147 to\z@{\kern0.35\wd0\vrule\@height0.45\ht0\hss}\hbox
\r
1148 to\z@{\kern0.55\wd0\vrule\@height0.5\ht0\hss}\box0}}
\r
1149 {\setbox0=\hbox{$\scriptstyle \rm S$}\hbox{\raise0.5\ht0\hbox
\r
1150 to\z@{\kern0.35\wd0\vrule\@height0.45\ht0\hss}\raise0.05\ht0\hbox
\r
1151 to\z@{\kern0.5\wd0\vrule\@height0.45\ht0\hss}\box0}}
\r
1152 {\setbox0=\hbox{$\scriptscriptstyle\rm S$}\hbox{\raise0.5\ht0\hbox
\r
1153 to\z@{\kern0.4\wd0\vrule\@height0.45\ht0\hss}\raise0.05\ht0\hbox
\r
1154 to\z@{\kern0.55\wd0\vrule\@height0.45\ht0\hss}\box0}}}}
\r
1155 \def\bbbz{{\mathchoice {\hbox{$\textstyle\sf Z\kern-0.4em Z$}}
\r
1156 {\hbox{$\textstyle\sf Z\kern-0.4em Z$}}
\r
1157 {\hbox{$\scriptstyle\sf Z\kern-0.3em Z$}}
\r
1158 {\hbox{$\scriptscriptstyle\sf Z\kern-0.2em Z$}}}}
\r
1162 \setlength\arrayrulewidth{.5\p@}
\r
1164 \noalign{\ifnum0=`}\fi\hrule \@height2\arrayrulewidth \futurelet
\r
1165 \reserved@a\@xhline}
\r
1167 \setlength \labelsep {5\p@}
\r
1168 \setlength\leftmargini {17\p@}
\r
1169 \setlength\leftmargin {\leftmargini}
\r
1170 \setlength\leftmarginii {\leftmargini}
\r
1171 \setlength\leftmarginiii {\leftmargini}
\r
1172 \setlength\leftmarginiv {\leftmargini}
\r
1173 \setlength\labelwidth {\leftmargini}
\r
1174 \addtolength\labelwidth{-\labelsep}
\r
1176 \def\@listI{\leftmargin\leftmargini
\r
1178 \topsep=\medskipamount
\r
1179 \itemsep=\parskip \advance\itemsep by -\parsep}
\r
1180 \let\@listi\@listI
\r
1183 \def\@listii{\leftmargin\leftmarginii
\r
1184 \labelwidth\leftmarginii
\r
1185 \advance\labelwidth by -\labelsep
\r
1189 \advance\itemsep by -\parsep}
\r
1191 \def\@listiii{\leftmargin\leftmarginiii
\r
1192 \labelwidth\leftmarginiii\advance\labelwidth by -\labelsep
\r
1196 \advance\itemsep by -\parsep
\r
1197 \partopsep=\topsep}
\r
1199 \setlength\arraycolsep{1.5\p@}
\r
1200 \setlength\tabcolsep{1.5\p@}
\r
1202 \def\tableofcontents{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
\r
1203 \fi\chapter*{\contentsname \@mkboth{{\contentsname}}{{\contentsname}}}
\r
1204 \@starttoc{toc}\if@restonecol\twocolumn\fi}
\r
1206 \setcounter{tocdepth}{2}
\r
1208 \def\l@part#1#2{\addpenalty{\@secpenalty}%
\r
1209 \addvspace{1em \@plus\p@}%
\r
1212 \rightskip \z@ \@plus 5em
\r
1213 % \hrule\vskip5\p@
\r
1214 \bfseries\boldmath
\r
1221 \addvspace{1em \@plus\p@}%
\r
1226 \def\addnumcontentsmark#1#2#3{%
\r
1227 \addtocontents{#1}{\protect\contentsline{#2}{\protect\numberline
\r
1228 {\thechapter}#3}{\thepage}}}
\r
1229 \def\addcontentsmark#1#2#3{%
\r
1230 \addtocontents{#1}{\protect\contentsline{#2}{#3}{\thepage}}}
\r
1231 \def\addcontentsmarkwop#1#2#3{%
\r
1232 \addtocontents{#1}{\protect\contentsline{#2}{#3}{0}}}
\r
1234 \def\@adcmk[#1]{\ifcase #1 \or
\r
1235 \def\@gtempa{\addnumcontentsmark}%
\r
1236 \or \def\@gtempa{\addcontentsmark}%
\r
1237 \or \def\@gtempa{\addcontentsmarkwop}%
\r
1238 \fi\@gtempa{toc}{chapter}}
\r
1239 \def\addtocmark{\@ifnextchar[{\@adcmk}{\@adcmk[3]}}
\r
1241 \def\l@chapter#1#2{\par\addpenalty{-\@highpenalty}
\r
1242 \addvspace{1.0em \@plus \p@}
\r
1243 \@tempdima=\if@chapnum\tocchpnum\else\z@\fi
\r
1245 \parindent \z@ \rightskip \@tocrmarg
\r
1246 \advance\rightskip by \z@ \@plus 2cm
\r
1247 \parfillskip -\rightskip \pretolerance=10000
\r
1248 \leavevmode \advance\leftskip\@tempdima \hskip -\leftskip
\r
1249 {\bfseries\boldmath#1}\ifx0#2\hfil\null
\r
1252 \leaders\hbox{$\m@th \mkern \@dotsep mu\hbox{.}\mkern
\r
1253 \@dotsep mu$}\hfill
\r
1254 \nobreak\hbox to\@pnumwidth{\hfil #2}%
\r
1256 \penalty\@highpenalty \endgroup}
\r
1258 \newdimen\tocchpnum
\r
1259 \newdimen\tocsecnum
\r
1260 \newdimen\tocsectotal
\r
1261 \newdimen\tocsubsecnum
\r
1262 \newdimen\tocsubsectotal
\r
1263 \newdimen\tocsubsubsecnum
\r
1264 \newdimen\tocsubsubsectotal
\r
1265 \newdimen\tocparanum
\r
1266 \newdimen\tocparatotal
\r
1267 \newdimen\tocsubparanum
\r
1268 \tocchpnum=20\p@ % chapter {\bf 88.} \@plus 5.3\p@
\r
1269 \tocsecnum=22.5\p@ % section 88.8. plus 4.722\p@
\r
1270 \tocsubsecnum=30.5\p@ % subsection 88.8.8 plus 4.944\p@
\r
1271 \tocsubsubsecnum=38\p@ % subsubsection 88.8.8.8 plus 4.666\p@
\r
1272 \tocparanum=45\p@ % paragraph 88.8.8.8.8 plus 3.888\p@
\r
1273 \tocsubparanum=53\p@ % subparagraph 88.8.8.8.8.8 plus 4.11\p@
\r
1274 \def\calctocindent{%
\r
1275 \tocsectotal=\tocchpnum
\r
1276 \advance\tocsectotal by\tocsecnum
\r
1277 \tocsubsectotal=\tocsectotal
\r
1278 \advance\tocsubsectotal by\tocsubsecnum
\r
1279 \tocsubsubsectotal=\tocsubsectotal
\r
1280 \advance\tocsubsubsectotal by\tocsubsubsecnum
\r
1281 \tocparatotal=\tocsubsubsectotal
\r
1282 \advance\tocparatotal by\tocparanum}
\r
1285 \def\@dottedtocline#1#2#3#4#5{%
\r
1286 \ifnum #1>\c@tocdepth \else
\r
1287 \vskip \z@ \@plus.2\p@
\r
1288 {\leftskip #2\rightskip \@tocrmarg \advance\rightskip by \z@ \@plus 2cm
\r
1289 \parfillskip -\rightskip \pretolerance=10000
\r
1290 \parindent #2\relax\@afterindenttrue
\r
1291 \interlinepenalty\@M
\r
1293 \ifnum #1>\c@secnumdepth \@tempdima\z@ \else \@tempdima #3\fi
\r
1294 % \@tempdima #3\relax
\r
1295 \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip
\r
1297 \leaders\hbox{$\m@th
\r
1298 \mkern \@dotsep mu\hbox{.}\mkern \@dotsep
\r
1301 \hb@xt@\@pnumwidth{\hfil\normalfont \normalcolor #5}%
\r
1305 \def\l@section{\@dottedtocline{1}{\tocchpnum}{\tocsecnum}}
\r
1306 \def\l@subsection{\@dottedtocline{2}{\tocsectotal}{\tocsubsecnum}}
\r
1307 \def\l@subsubsection{\@dottedtocline{3}{\tocsubsectotal}{\tocsubsubsecnum}}
\r
1308 \def\l@paragraph{\@dottedtocline{4}{\tocsubsubsectotal}{\tocparanum}}
\r
1309 \def\l@subparagraph{\@dottedtocline{5}{\tocparatotal}{\tocsubparanum}}
\r
1311 \renewcommand\listoffigures{%
\r
1312 \chapter*{\listfigurename
\r
1313 \@mkboth{\listfigurename}{\listfigurename}}%
\r
1317 \renewcommand\listoftables{%
\r
1318 \chapter*{\listtablename
\r
1319 \@mkboth{\listtablename}{\listtablename}}%
\r
1323 \newenvironment{thecontriblist}
\r
1325 \addvspace{\bigskipamount}
\r
1327 \rightskip\z@ \@plus 40\p@
\r
1328 \def\iand{\\[\medskipamount]\let\and=\nand}%
\r
1329 \def\nand{\ifhmode\unskip\nobreak\fi\ $\cdot$ }%
\r
1331 \def\at{\\\let\and=\iand}%
\r
1334 \addvspace{\bigskipamount}}
\r
1336 \renewcommand\footnoterule{%
\r
1338 \hrule\@width 36mm
\r
1341 \newdimen\foot@parindent
\r
1342 \foot@parindent 10.83\p@
\r
1346 \AtBeginDocument{%
\r
1347 \renewcommand\@makefntext[1]{%
\r
1350 \mbox{\@makefnmark} #1}}
\r
1353 % Definition of the "\spnewtheorem" command.
\r
1357 % \spnewtheorem{env_nam}{caption}[within]{cap_font}{body_font}
\r
1358 % or \spnewtheorem{env_nam}[numbered_like]{caption}{cap_font}{body_font}
\r
1359 % or \spnewtheorem*{env_nam}{caption}{cap_font}{body_font}
\r
1361 % New is "cap_font" and "body_font". It stands for
\r
1362 % fontdefinition of the caption and the text itself.
\r
1364 % "\spnewtheorem*" gives a theorem without number.
\r
1366 % A defined spnewthoerem environment is used as described
\r
1369 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\r
1371 \def\@thmcountersep{.}
\r
1372 %\def\@thmcounterend{.}
\r
1373 \def\@thmcounterend{}%%As per request email dated 27 Feb 2018%%
\r
1374 \newcommand\nocaption{\noexpand\@gobble}
\r
1375 \newdimen\spthmsep \spthmsep=3pt
\r
1377 \def\spnewtheorem{\@ifstar{\@sthm}{\@Sthm}}
\r
1379 % definition of \spnewtheorem with number
\r
1381 \def\@spnthm#1#2{%
\r
1382 \@ifnextchar[{\@spxnthm{#1}{#2}}{\@spynthm{#1}{#2}}}
\r
1383 \def\@Sthm#1{\@ifnextchar[{\@spothm{#1}}{\@spnthm{#1}}}
\r
1385 \def\@spxnthm#1#2[#3]#4#5{\expandafter\@ifdefinable\csname #1\endcsname
\r
1386 {\@definecounter{#1}\@addtoreset{#1}{#3}%
\r
1387 \expandafter\xdef\csname the#1\endcsname{\expandafter\noexpand
\r
1388 \csname the#3\endcsname \noexpand\@thmcountersep \@thmcounter{#1}}%
\r
1389 \expandafter\xdef\csname #1name\endcsname{#2}%
\r
1390 \global\@namedef{#1}{\@spthm{#1}{\csname #1name\endcsname}{#4}{#5}}%
\r
1391 \global\@namedef{end#1}{\@endtheorem}}}
\r
1393 \def\@spynthm#1#2#3#4{\expandafter\@ifdefinable\csname #1\endcsname
\r
1394 {\@definecounter{#1}%
\r
1395 \expandafter\xdef\csname the#1\endcsname{\@thmcounter{#1}}%
\r
1396 \expandafter\xdef\csname #1name\endcsname{#2}%
\r
1397 \global\@namedef{#1}{\@spthm{#1}{\csname #1name\endcsname}{#3}{#4}}%
\r
1398 \global\@namedef{end#1}{\@endtheorem}}}
\r
1400 \def\@spothm#1[#2]#3#4#5{%
\r
1401 \@ifundefined{c@#2}{\@latexerr{No theorem environment `#2' defined}\@eha}%
\r
1402 {\expandafter\@ifdefinable\csname #1\endcsname
\r
1403 {\global\@namedef{the#1}{\@nameuse{the#2}}%
\r
1404 \expandafter\xdef\csname #1name\endcsname{#3}%
\r
1405 \global\@namedef{#1}{\@spthm{#2}{\csname #1name\endcsname}{#4}{#5}}%
\r
1406 \global\@namedef{end#1}{\@endtheorem}}}}
\r
1408 \def\@spthm#1#2#3#4{\topsep 7\p@ \@plus2\p@ \@minus4\p@
\r
1409 \labelsep=\spthmsep\refstepcounter{#1}%
\r
1410 \@ifnextchar[{\@spythm{#1}{#2}{#3}{#4}}{\@spxthm{#1}{#2}{#3}{#4}}}
\r
1412 \def\@spxthm#1#2#3#4{\@spbegintheorem{#2}{\csname the#1\endcsname}{#3}{#4}%
\r
1415 \def\@spythm#1#2#3#4[#5]{\@spopargbegintheorem{#2}{\csname
\r
1416 the#1\endcsname}{#5}{#3}{#4}\ignorespaces}
\r
1418 \def\normalthmheadings{\def\@spbegintheorem##1##2##3##4{\trivlist
\r
1419 \item[\hskip\labelsep{##3##1\ ##2\@thmcounterend}]##4}
\r
1420 \def\@spopargbegintheorem##1##2##3##4##5{\trivlist
\r
1421 \item[\hskip\labelsep{##4##1\ ##2}]{##4(##3)\@thmcounterend\ }##5}}
\r
1422 \normalthmheadings
\r
1424 \def\reversethmheadings{\def\@spbegintheorem##1##2##3##4{\trivlist
\r
1425 \item[\hskip\labelsep{##3##2\ ##1\@thmcounterend}]##4}
\r
1426 \def\@spopargbegintheorem##1##2##3##4##5{\trivlist
\r
1427 \item[\hskip\labelsep{##4##2\ ##1}]{##4(##3)\@thmcounterend\ }##5}}
\r
1429 % definition of \spnewtheorem* without number
\r
1431 \def\@sthm#1#2{\@Ynthm{#1}{#2}}
\r
1433 \def\@Ynthm#1#2#3#4{\expandafter\@ifdefinable\csname #1\endcsname
\r
1434 {\global\@namedef{#1}{\@Thm{\csname #1name\endcsname}{#3}{#4}}%
\r
1435 \expandafter\xdef\csname #1name\endcsname{#2}%
\r
1436 \global\@namedef{end#1}{\@endtheorem}}}
\r
1438 \def\@Thm#1#2#3{\topsep 7\p@ \@plus2\p@ \@minus4\p@
\r
1439 \@ifnextchar[{\@Ythm{#1}{#2}{#3}}{\@Xthm{#1}{#2}{#3}}}
\r
1441 \def\@Xthm#1#2#3{\@Begintheorem{#1}{#2}{#3}\ignorespaces}
\r
1443 \def\@Ythm#1#2#3[#4]{\@Opargbegintheorem{#1}
\r
1444 {#4}{#2}{#3}\ignorespaces}
\r
1446 \def\@Begintheorem#1#2#3{#3\trivlist
\r
1447 \item[\hskip\labelsep{#2#1\@thmcounterend}]}
\r
1449 \def\@Opargbegintheorem#1#2#3#4{#4\trivlist
\r
1450 \item[\hskip\labelsep{#3#1}]{#3(#2)\@thmcounterend\ }}
\r
1452 % initialize theorem environment
\r
1454 \if@envcntshowhiercnt % show hierarchy counter
\r
1455 \def\@thmcountersep{.}
\r
1456 \spnewtheorem{theorem}{Theorem}[\envankh]{\bfseries}{\itshape}
\r
1457 \@addtoreset{theorem}{chapter}
\r
1458 \else % theorem counter only
\r
1459 \spnewtheorem{theorem}{Theorem}{\bfseries}{\itshape}
\r
1461 \@addtoreset{theorem}{chapter}
\r
1462 \if@envcntresetsect
\r
1463 \@addtoreset{theorem}{section}
\r
1468 %definition of divers theorem environments
\r
1469 \spnewtheorem*{claim}{Claim}{\itshape}{\rmfamily}
\r
1470 %\spnewtheorem*{proof}{Proof}{\itshape}{\rmfamily}
\r
1472 \if@envcntsame % all environments like "Theorem" - using its counter
\r
1473 \def\spn@wtheorem#1#2#3#4{\@spothm{#1}[theorem]{#2}{#3}{#4}}
\r
1474 \else % all environments with their own counter
\r
1475 \if@envcntshowhiercnt % show hierarchy counter
\r
1476 \def\spn@wtheorem#1#2#3#4{\@spxnthm{#1}{#2}[\envankh]{#3}{#4}}
\r
1477 \else % environment counter only
\r
1478 \if@envcntreset % environment counter is reset each section
\r
1479 \if@envcntresetsect
\r
1480 \def\spn@wtheorem#1#2#3#4{\@spynthm{#1}{#2}{#3}{#4}
\r
1481 \@addtoreset{#1}{chapter}\@addtoreset{#1}{section}}
\r
1483 \def\spn@wtheorem#1#2#3#4{\@spynthm{#1}{#2}{#3}{#4}
\r
1484 \@addtoreset{#1}{chapter}}
\r
1487 \let\spn@wtheorem=\@spynthm
\r
1492 \let\spdefaulttheorem=\spn@wtheorem
\r
1494 \spn@wtheorem{case}{Case}{\itshape}{\rmfamily}
\r
1495 \spn@wtheorem{conjecture}{Conjecture}{\itshape}{\rmfamily}
\r
1496 \spn@wtheorem{corollary}{Corollary}{\bfseries}{\itshape}
\r
1497 \spn@wtheorem{definition}{Definition}{\bfseries}{\rmfamily}
\r
1498 \spn@wtheorem{example}{Example}{\itshape}{\rmfamily}
\r
1499 \spn@wtheorem{exercise}{Exercise}{\bfseries}{\rmfamily}
\r
1500 \spn@wtheorem{lemma}{Lemma}{\bfseries}{\itshape}
\r
1501 \spn@wtheorem{note}{Note}{\itshape}{\rmfamily}
\r
1502 \spn@wtheorem{problem}{Problem}{\bfseries}{\rmfamily}
\r
1503 \spn@wtheorem{property}{Property}{\itshape}{\rmfamily}
\r
1504 \spn@wtheorem{proposition}{Proposition}{\bfseries}{\itshape}
\r
1505 \spn@wtheorem{question}{Question}{\itshape}{\rmfamily}
\r
1506 \spn@wtheorem{solution}{Solution}{\bfseries}{\rmfamily}
\r
1507 \spn@wtheorem{remark}{Remark}{\itshape}{\rmfamily}
\r
1509 \newenvironment{theopargself}
\r
1510 {\def\@spopargbegintheorem##1##2##3##4##5{\trivlist
\r
1511 \item[\hskip\labelsep{##4##1\ ##2}]{##4##3\@thmcounterend\ }##5}
\r
1512 \def\@Opargbegintheorem##1##2##3##4{##4\trivlist
\r
1513 \item[\hskip\labelsep{##3##1}]{##3##2\@thmcounterend\ }}}{}
\r
1514 \newenvironment{theopargself*}
\r
1515 {\def\@spopargbegintheorem##1##2##3##4##5{\trivlist
\r
1516 \item[\hskip\labelsep{##4##1\ ##2}]{\hspace*{-\labelsep}##4##3\@thmcounterend}##5}
\r
1517 \def\@Opargbegintheorem##1##2##3##4{##4\trivlist
\r
1518 \item[\hskip\labelsep{##3##1}]{\hspace*{-\labelsep}##3##2\@thmcounterend}}}{}
\r
1520 \spn@wtheorem{prob}{\nocaption}{\bfseries}{\rmfamily}
\r
1521 \newcommand{\probref}[1]{\textbf{\ref{#1}} }
\r
1522 \newenvironment{sol}{\par\addvspace{6pt}\noindent\probref}{\par\addvspace{6pt}}
\r
1526 \def\@takefromreset#1#2{%
\r
1531 \ifx\@tempa\@tempb\else
\r
1532 \@addtoreset{##1}{#2}%
\r
1534 \expandafter\expandafter\let\expandafter\@tempc\csname cl@#2\endcsname
\r
1535 \expandafter\def\csname cl@#2\endcsname{}%
\r
1539 % redefininition of the captions for "figure" and "table" environments
\r
1541 \@ifundefined{floatlegendstyle}{\def\floatlegendstyle{\bfseries}}{}
\r
1542 \def\floatcounterend{\enspace}
\r
1543 \def\capstrut{\vrule\@width\z@\@height\topskip}
\r
1544 \@ifundefined{captionstyle}{\def\captionstyle{\normalfont\small}}{}
\r
1545 \@ifundefined{instindent}{\newdimen\instindent}{}
\r
1547 \long\def\@caption#1[#2]#3{\par\addcontentsline{\csname
\r
1548 ext@#1\endcsname}{#1}{\protect\numberline{\csname
\r
1549 the#1\endcsname}{\ignorespaces #2}}\begingroup
\r
1550 \@parboxrestore\if@minipage\@setminipage\fi
\r
1551 \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
\r
1554 \def\twocaptionwidth#1#2{\def\first@capwidth{#1}\def\second@capwidth{#2}}
\r
1555 % Default: .46\textwidth
\r
1556 \twocaptionwidth{.46\textwidth}{.46\textwidth}
\r
1558 \def\leftcaption{\refstepcounter\@captype\@dblarg%
\r
1559 {\@leftcaption\@captype}}
\r
1561 \def\rightcaption{\refstepcounter\@captype\@dblarg%
\r
1562 {\@rightcaption\@captype}}
\r
1564 \long\def\@leftcaption#1[#2]#3{\addcontentsline{\csname
\r
1565 ext@#1\endcsname}{#1}{\protect\numberline{\csname
\r
1566 the#1\endcsname}{\ignorespaces #2}}\begingroup
\r
1569 \@maketwocaptions{\csname fnum@#1\endcsname}{\ignorespaces #3}%
\r
1570 {\first@capwidth}\ignorespaces\hspace{.073\textwidth}\hfill%
\r
1573 \long\def\@rightcaption#1[#2]#3{\addcontentsline{\csname
\r
1574 ext@#1\endcsname}{#1}{\protect\numberline{\csname
\r
1575 the#1\endcsname}{\ignorespaces #2}}\begingroup
\r
1577 \@maketwocaptions{\csname fnum@#1\endcsname}{\ignorespaces #3}%
\r
1578 {\second@capwidth}\par
\r
1581 \long\def\@maketwocaptions#1#2#3{%
\r
1582 \parbox[t]{#3}{{\floatlegendstyle #1\floatcounterend}#2}}
\r
1585 \newcommand{\leftfigure}[2][\fig@pos]{\makebox[.4635\textwidth][#1]{#2}}
\r
1586 \let\rightfigure\leftfigure
\r
1588 \newdimen\figgap\figgap=0.5cm % hgap between figure and sidecaption
\r
1590 \long\def\@makesidecaption#1#2{\@tempdimb=3.6cm
\r
1591 \setbox0=\vbox{\hsize=\@tempdimb
\r
1592 \captionstyle{\floatlegendstyle
\r
1593 #1\floatcounterend}#2}%
\r
1594 \ifdim\instindent<\z@
\r
1595 \ifdim\ht0>-\instindent
\r
1596 \advance\instindent by\ht0
\r
1597 \typeout{^^JClass-Warning: Legend of \string\sidecaption\space for
\r
1598 \@captype\space\csname the\@captype\endcsname
\r
1599 ^^Jis \the\instindent\space taller than the corresponding float -
\r
1600 ^^Jyou'd better switch the environment. }%
\r
1604 \ifdim\ht0<\instindent
\r
1605 \advance\instindent by-\ht0
\r
1606 \advance\instindent by-\dp0\relax
\r
1607 \advance\instindent by\topskip
\r
1608 \advance\instindent by-11\p@
\r
1610 \advance\instindent by-\ht0
\r
1611 \instindent=-\instindent
\r
1612 \typeout{^^JClass-Warning: Legend of \string\sidecaption\space for
\r
1613 \@captype\space\csname the\@captype\endcsname
\r
1614 ^^Jis \the\instindent\space taller than the corresponding float -
\r
1615 ^^Jyou'd better switch the environment. }%
\r
1619 \parbox[b]{\@tempdimb}{\captionstyle{\floatlegendstyle
\r
1620 #1\floatcounterend}#2%
\r
1621 \ifdim\instindent>\z@ \\
\r
1622 \vrule\@width\z@\@height\instindent
\r
1625 \def\sidecaption{\@ifnextchar[\sidec@ption{\sidec@ption[b]}}
\r
1629 \def\sidec@ption[#1]#2\caption{%
\r
1630 \setbox\bildb@x=\hbox{\ignorespaces#2\unskip}%
\r
1632 \ifdim\hsize<\textwidth\else
\r
1633 \ifdim\wd\bildb@x<\columnwidth
\r
1634 \typeout{Double column float fits into single column -
\r
1635 ^^Jyou'd better switch the environment. }%
\r
1639 \instindent=\ht\bildb@x
\r
1640 \advance\instindent by\dp\bildb@x
\r
1643 \instindent=-\instindent
\r
1646 \advance\@tempdimb by-\figgap
\r
1647 \advance\@tempdimb by-\wd\bildb@x
\r
1648 \ifdim\@tempdimb<3.6cm
\r
1649 \ClassWarning{SVMono}{\string\sidecaption: No sufficient room for the legend;
\r
1650 ^^Jusing normal \string\caption}%
\r
1652 \let\@capcommand=\@caption
\r
1654 % \ifdim\@tempdimb<4.5cm
\r
1655 % \ClassWarning{SVMono}{\string\sidecaption: Room for the legend very narrow;
\r
1656 % ^^Jusing \string\raggedright}%
\r
1657 \toks@\expandafter{\captionstyle\sloppy
\r
1658 \rightskip=\z@\@plus6mm\relax}%
\r
1659 \def\captionstyle{\the\toks@}%
\r
1661 \let\@capcommand=\@sidecaption
\r
1666 \refstepcounter\@captype
\r
1667 \@dblarg{\@capcommand\@captype}}
\r
1668 \long\def\@sidecaption#1[#2]#3{\addcontentsline{\csname
\r
1669 ext@#1\endcsname}{#1}{\protect\numberline{\csname
\r
1670 the#1\endcsname}{\ignorespaces #2}}\begingroup
\r
1672 \@makesidecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}%
\r
1677 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\r
1679 \def\fig@type{figure}
\r
1681 \def\leftlegendglue{\relax}
\r
1682 \newdimen\figcapgap\figcapgap=5\p@ % vgap between figure and caption
\r
1683 \newdimen\tabcapgap\tabcapgap=3\p@ % vgap between caption and table
\r
1685 \long\def\@makecaption#1#2{%
\r
1687 \ifx\@captype\fig@type
\r
1690 \setbox\@tempboxa\hbox{{\floatlegendstyle #1\floatcounterend}%
\r
1692 \ifdim \wd\@tempboxa >\hsize
\r
1693 {\floatlegendstyle #1\floatcounterend}\capstrut #2\par
\r
1695 \hbox to\hsize{\leftlegendglue\unhbox\@tempboxa\hfil}%
\r
1697 \ifx\@captype\fig@type\else
\r
1703 \def\endfigure{\resetsubfig\end@float}
\r
1705 \@namedef{endfigure*}{\resetsubfig\end@dblfloat}
\r
1707 \def\resetsubfig{\global\let\last@subfig=\undefined}
\r
1709 \def\r@setsubfig{\xdef\last@subfig{\number\value{figure}}%
\r
1710 \setcounter{figure}{\value{merk}}%
\r
1711 \setcounter{merk}{0}}
\r
1713 \def\subfigures{\refstepcounter{figure}%
\r
1714 \@tempcnta=\value{merk}%
\r
1715 \setcounter{merk}{\value{figure}}%
\r
1716 \setcounter{figure}{\the\@tempcnta}%
\r
1717 \def\thefigure{\if@numart\else\thechapter.\fi
\r
1718 \@arabic\c@merk\alph{figure}}%
\r
1719 \let\resetsubfig=\r@setsubfig}
\r
1721 \def\samenumber{\addtocounter{\@captype}{-1}%
\r
1722 \@ifundefined{last@subfig}{}{\setcounter{merk}{\last@subfig}}}
\r
1724 % redefinition of the "bibliography" environment
\r
1726 \def\biblstarthook#1{\gdef\biblst@rthook{#1}}
\r
1728 \AtBeginDocument{%
\r
1729 \ifx\secbibl\undefined
\r
1730 \def\bibsection{\chapter*{\refname}\markboth{\refname}{\refname}%
\r
1731 \addcontentsline{toc}{chapter}{\refname}%
\r
1732 \csname biblst@rthook\endcsname\par}
\r
1734 \def\bibsection{\section*{\refname}\markright{\refname}%
\r
1735 \addcontentsline{toc}{section}{\refname}%
\r
1736 \csname biblst@rthook\endcsname\par}
\r
1738 \ifx\oribibl\undefined % Springer way of life
\r
1739 \renewenvironment{thebibliography}[1]{\bibsection
\r
1740 \global\let\biblst@rthook=\undefined
\r
1741 \def\@biblabel##1{##1.}
\r
1743 \list{\@biblabel{\@arabic\c@enumiv}}%
\r
1744 {\settowidth\labelwidth{\@biblabel{#1}}%
\r
1745 \leftmargin\labelwidth
\r
1746 \advance\leftmargin\labelsep
\r
1748 \advance\leftmargin\bibindent
\r
1749 \itemindent -\bibindent
\r
1750 \listparindent \itemindent
\r
1753 \usecounter{enumiv}%
\r
1754 \let\p@enumiv\@empty
\r
1755 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
\r
1757 \renewcommand\newblock{\par}%
\r
1759 \renewcommand\newblock{\hskip .11em \@plus.33em \@minus.07em}%
\r
1761 \sloppy\clubpenalty4000\widowpenalty4000%
\r
1764 {\@latex@warning{Empty `thebibliography' environment}}%
\r
1766 \def\@lbibitem[#1]#2{\item[{[#1]}\hfill]\if@filesw
\r
1767 {\let\protect\noexpand\immediate
\r
1768 \write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces}
\r
1769 \else % original bibliography is required
\r
1770 \let\bibname=\refname
\r
1771 \renewenvironment{thebibliography}[1]
\r
1772 {\chapter*{\bibname
\r
1773 \@mkboth{\bibname}{\bibname}}%
\r
1774 \list{\@biblabel{\@arabic\c@enumiv}}%
\r
1775 {\settowidth\labelwidth{\@biblabel{#1}}%
\r
1776 \leftmargin\labelwidth
\r
1777 \advance\leftmargin\labelsep
\r
1779 \usecounter{enumiv}%
\r
1780 \let\p@enumiv\@empty
\r
1781 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
\r
1784 \@clubpenalty \clubpenalty
\r
1785 \widowpenalty4000%
\r
1788 {\@latex@warning{Empty `thebibliography' environment}}%
\r
1792 \let\if@threecolind\iffalse
\r
1793 \def\threecolindex{\let\if@threecolind\iftrue}
\r
1794 \def\indexstarthook#1{\gdef\indexst@rthook{#1}}
\r
1795 \renewenvironment{theindex}
\r
1801 \columnseprule \z@
\r
1805 \begin{multicols}{3}[\chapter*{\indexname}%
\r
1807 \begin{multicols}{2}[\chapter*{\indexname}%
\r
1809 {\csname indexst@rthook\endcsname}]%
\r
1810 \global\let\indexst@rthook=\undefined
\r
1811 \markboth{\indexname}{\indexname}%
\r
1812 \addcontentsline{toc}{chapter}{\indexname}%
\r
1814 \rightskip\z@ \@plus 40\p@
\r
1815 \parskip\z@ \@plus .3\p@\relax
\r
1817 \let\item\@idxitem
\r
1818 \def\,{\relax\ifmmode\mskip\thinmuskip
\r
1819 \else\hskip0.2em\ignorespaces\fi}%
\r
1820 \normalfont\small}
\r
1822 \global\let\if@threecolind\iffalse
\r
1823 \if@restonecol\onecolumn\else\clearpage\fi}
\r
1825 \def\idxquad{\hskip 10\p@}% space that divides entry from number
\r
1827 \def\@idxitem{\par\setbox0=\hbox{--\,--\,--\enspace}%
\r
1828 \hangindent\wd0\relax}
\r
1830 \def\subitem{\par\noindent\setbox0=\hbox{--\enspace}% second order
\r
1831 \kern\wd0\setbox0=\hbox{--\,--\,--\enspace}%
\r
1832 \hangindent\wd0\relax}% indexentry
\r
1834 \def\subsubitem{\par\noindent\setbox0=\hbox{--\,--\enspace}% third order
\r
1835 \kern\wd0\setbox0=\hbox{--\,--\,--\enspace}%
\r
1836 \hangindent\wd0\relax}% indexentry
\r
1838 \def\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
\r
1840 \def\subtitle#1{\gdef\@subtitle{#1}}
\r
1843 \def\maketitle{\par
\r
1845 \def\thefootnote{\fnsymbol{footnote}}%
\r
1846 \def\@makefnmark{\hbox
\r
1847 to\z@{$\m@th^{\@thefnmark}$\hss}}%
\r
1849 \twocolumn[\@maketitle]%
\r
1851 \global\@topnum\z@ % Prevents figures from going at top of page.
\r
1852 \@maketitle \fi\thispagestyle{empty}\@thanks
\r
1855 \setcounter{footnote}{0}%
\r
1856 \let\maketitle\relax
\r
1857 \let\@maketitle\relax
\r
1858 \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
\r
1860 \def\@maketitle{\newpage
\r
1862 \vskip 2em % Vertical space above title.
\r
1864 \def\and{\unskip, }
\r
1866 \pretolerance=10000
\r
1867 \rightskip=\z@ \@plus 3cm
\r
1868 {\LARGE % each author set in \LARGE
\r
1872 \vskip 2cm % Vertical space after author.
\r
1873 {\Huge \@title \par}% % Title set in \Huge size.
\r
1874 \vskip 1cm % Vertical space after title.
\r
1875 \if!\@subtitle!\else
\r
1876 {\LARGE\ignorespaces\@subtitle \par}
\r
1877 \vskip 1cm % Vertical space after subtitle.
\r
1880 {\large \@date}% % Date set in \large size.
\r
1882 \vskip 1.5em % Vertical space after date.
\r
1885 {\Large Springer Nature\par}
\r
1888 % Berlin\enspace Heidelberg\enspace New\kern0.1em York\\
\r
1889 % Hong\thinspace Kong\enspace London\\
\r
1890 % Milan\enspace Paris\enspace Tokyo\par
\r
1893 % Useful environments
\r
1894 \newenvironment{acknowledgement}{\par\addvspace{17\p@}\small\rm
\r
1895 \trivlist\item[\hskip\labelsep{\bfseries\ackname}]}
\r
1896 {\endtrivlist\addvspace{6\p@}}
\r
1898 \newenvironment{noteadd}{\par\addvspace{17\p@}\small\rm
\r
1899 \trivlist\item[\hskip\labelsep{\it\noteaddname}]}
\r
1900 {\endtrivlist\addvspace{6\p@}}
\r
1902 \DeclareRobustCommand\abstract{\@ifstar\@abstgobl\@abstract}
\r
1903 \def\@abstract#1{\noindent\textbf{\abstractname} #1\par
\r
1904 %\@afterindentfalse
\r
1907 \def\@abstgobl#1{\par
\r
1908 %\@afterindentfalse
\r
1912 \newcommand{\keywords}[1]{\par\addvspace\baselineskip
\r
1913 \noindent\keywordname\enspace\ignorespaces#1}
\r
1915 % define the running headings of a twoside text
\r
1916 \def\runheadsize{\small}
\r
1917 \def\runheadstyle{\rmfamily\upshape}
\r
1918 \def\customizhead{\hspace{\headlineindent}}
\r
1920 \def\ps@bchap{%\let\@mkboth\@gobbletwo
\r
1921 \let\@oddhead\@empty\let\@evenhead\@empty
\r
1922 \def\@oddfoot{\reset@font\small\hfil\thepage}%
\r
1923 \let\@evenfoot\@oddfoot}
\r
1925 \def\ps@headings{\let\@mkboth\markboth
\r
1926 \let\@oddfoot\@empty\let\@evenfoot\@empty
\r
1927 \def\@evenhead{\runheadsize\runheadstyle\rlap{\thepage}\hfil
\r
1929 \def\@oddhead{\runheadsize\runheadstyle\rightmark\hfil
\r
1931 \def\chaptermark##1{\markboth{{\if@chapnum %\ifnum\c@secnumdepth>\m@ne
\r
1932 \thechapter\thechapterend\hskip\betweenumberspace\fi ##1}}{{\if@chapnum %\ifnum\c@secnumdepth>\m@ne
\r
1933 \thechapter\thechapterend\hskip\betweenumberspace\fi ##1}}}%!!!
\r
1934 \def\sectionmark##1{\markright{{\ifnum\c@secnumdepth>\z@
\r
1935 \thesection\seccounterend\hskip\betweenumberspace\fi ##1}}}}
\r
1937 \def\ps@myheadings{\let\@mkboth\@gobbletwo
\r
1938 \let\@oddfoot\@empty\let\@evenfoot\@empty
\r
1939 \def\@evenhead{\runheadsize\runheadstyle\rlap{\thepage}\hfil
\r
1941 \def\@oddhead{\runheadsize\runheadstyle\rightmark\hfil
\r
1943 \let\chaptermark\@gobble
\r
1944 \let\sectionmark\@gobble
\r
1945 \let\subsectionmark\@gobble}
\r
1950 %%%SOPHIE TEMPLATE BEGIN%%%
\r
1952 \RequirePackage[x11names]{xcolor}
\r
1954 \definecolor{trailer}{gray}{0.9}
\r
1955 \definecolor{example}{gray}{0.85}
\r
1956 \definecolor{question}{gray}{0.8}
\r
1957 \definecolor{important}{gray}{0.75}
\r
1958 \definecolor{warning}{gray}{0.7}
\r
1959 \definecolor{programcode}{gray}{0.65}
\r
1960 \definecolor{tips}{gray}{0.6}
\r
1961 \definecolor{overview}{gray}{0.55}
\r
1962 \definecolor{backgroundinformation}{gray}{0.5}
\r
1963 \definecolor{legaltext}{gray}{0.45}
\r
1965 \newcommand\circledmark[2][white]{%
\r
1968 \kern0.65ex\raisebox{-1.3ex}{\scalebox{3}{\textcolor{#1}{\textbullet}}}
\r
1974 \def\formtmp#1#2{{\vskip12pt\noindent\fboxsep=0pt\colorbox{#1}{\vbox{\vskip3pt\hbox to \textwidth{\hskip3pt\vbox{\raggedright\noindent\textbf{#2\vphantom{Qy}}}\hfill}\vspace*{3pt}}}\par\vskip2pt%
\r
1975 \noindent\kern0pt}}
\r
1977 \newenvironment{trailer}[1]{\ignorespaces\def\stmtopen##1{##1}%
\r
1978 \formtmp{trailer}{#1}}{\par\noindent\textcolor{trailer}{\rule{\columnwidth}{1pt}}\vskip2pt\par\addvspace{\baselineskip}}%
\r
1980 \renewenvironment{example}[1]{\ignorespaces\def\stmtopen##1{##1}%
\r
1981 \formtmp{example}{#1}}{\par\noindent\textcolor{example}{\rule{\columnwidth}{1pt}}\vskip2pt\par\addvspace{\baselineskip}}%
\r
1983 \renewenvironment{question}[1]{\ignorespaces\def\stmtopen##1{##1}%
\r
1984 \formtmp{question}{\ \circledmark[white]{\textcolor{black}{\sf\bfseries?}}{\kern6pt}#1}}{\par\noindent\textcolor{question}{\rule{\columnwidth}{1pt}}\vskip2pt\par\addvspace{\baselineskip}}%
\r
1986 \newenvironment{important}[1]{\ignorespaces\def\stmtopen##1{##1}%
\r
1987 \formtmp{important}{\ \circledmark{\textcolor{black}{$\ >$}}{\kern6pt}#1}}{\par\noindent\textcolor{important}{\rule{\columnwidth}{1pt}}\vskip2pt\par\addvspace{\baselineskip}}%
\r
1989 \newenvironment{warning}[1]{\ignorespaces\def\stmtopen##1{##1}%
\r
1990 \formtmp{warning}{\ \circledmark[white]{\textcolor{black}{!}}{\kern6pt}#1}}{\par\noindent\textcolor{warning}{\rule{\columnwidth}{1pt}}\vskip2pt\par\addvspace{\baselineskip}}%
\r
1992 \newenvironment{programcode}[1]{\ignorespaces\def\stmtopen##1{##1}%
\r
1993 \formtmp{programcode}{#1}}{\noindent\textcolor{programcode}{\rule{\columnwidth}{1pt}}\vskip2pt\par\addvspace{\baselineskip}}%
\r
1995 \newenvironment{tips}[1]{\ignorespaces\def\stmtopen##1{##1}%
\r
1996 \formtmp{tips}{#1}}{\par\noindent\textcolor{tips}{\rule{\columnwidth}{1pt}}\vskip2pt\par\addvspace{\baselineskip}}%
\r
1998 \newenvironment{overview}[1]{\ignorespaces\def\stmtopen##1{##1}%
\r
1999 \formtmp{overview}{#1}}{\par\noindent\textcolor{overview}{\rule{\columnwidth}{1pt}}\vskip2pt\par\addvspace{\baselineskip}}%
\r
2001 \newenvironment{backgroundinformation}[1]{\ignorespaces\def\stmtopen##1{##1}%
\r
2002 \formtmp{backgroundinformation}{#1}}{\par\noindent\textcolor{backgroundinformation}{\rule{\columnwidth}{1pt}}\vskip2pt\par\addvspace{\baselineskip}}%
\r
2004 \newenvironment{legaltext}[1]{\ignorespaces\def\stmtopen##1{##1}%
\r
2005 \formtmp{legaltext}{#1}}{\par\noindent\textcolor{legaltext}{\rule{\columnwidth}{1pt}}\vskip2pt\par\addvspace{\baselineskip}}%
\r
2007 \newenvironment{newshaded}{%
\r
2008 \def\FrameCommand{\fboxsep=0pt \colorbox{shadecolor}}%
\r
2012 \AtBeginDocument{\renewenvironment{svgraybox}%
\r
2013 {\fboxsep=12pt\relax
\r
2014 \begin{newshaded}\vspace*{10pt}%
\r
2015 \list{}{\leftmargin=12pt\rightmargin=12pt\topsep=\z@\relax}%
\r
2016 \expandafter\item\parindent=\svparindent
\r
2017 \hskip-\listparindent}%
\r
2018 {\vspace*{10pt}\endlist\end{newshaded}}}%
\r
2020 \def\boxtext#1{\vskip\baselineskip\moveleft26pt\vbox{\fboxsep3pt\fbox{#1}}}%
\r
2022 \newcommand\guisection{\@startsection{section}{1}{\z@}%
\r
2023 {-18\p@}% \p@lus -4\p@ \@minus -4\p@}%
\r
2024 {4\p@}% \p@lus 4\p@ \@minus 4\p@}%
\r
2025 {\normalfont\secsize\secstyle
\r
2026 \rightskip=\z@ \@plus 8em\pretolerance=10000 }}
\r
2027 \newcommand\guisubsection{\@startsection{subsection}{2}{\z@}%
\r
2028 {-18\p@}% \p@lus -4\p@ \@minus -4\p@}%
\r
2029 {4\p@}% \p@lus 4\p@ \@minus 4\p@}%
\r
2030 {\normalfont\subsecsize\subsecstyle
\r
2031 \rightskip=\z@ \@plus 8em\pretolerance=10000 }}
\r
2033 \newenvironment{refguide}
\r
2034 {\let\section\guisection%
\r
2035 \let\subsection\guisubsection}
\r
2038 %%%SOPHIE TEMPLATE END%%%
\r
2040 \usepackage[thmmarks,thref]{ntheorem}
\r
2041 \theoremstyle{nonumberplain}
\r
2042 \theoremheaderfont{\itshape}
\r
2043 \theorembodyfont{\upshape}
\r
2044 \theoremsymbol{\ensuremath{\square}}
\r
2045 \newtheorem{proof}{Proof}
\r
2046 \gdef\NoneSymbol{}
\r
2051 % one outputstream for all minitocs
\r
2053 \let\MiniTOC=N % switch for MT processing in .aux files
\r
2054 \newcounter{minitocdepth}
\r
2055 \setcounter{minitocdepth}{0}
\r
2056 % LaTeX does not provide a command to enter the authors institute
\r
2057 % addresses. The \institute command is defined here.
\r
2058 \newcounter{@inst}
\r
2059 \newcounter{@auth}
\r
2061 \newdimen\instindent
\r
2063 \newtoks\authorrunning
\r
2064 \newtoks\tocauthor
\r
2066 \newtoks\titlerunning
\r
2068 \def\clearheadinfo{\gdef\@author{No Author Given}%
\r
2069 \gdef\@title{No Title Given}%
\r
2070 \gdef\@subtitle{}%
\r
2071 \gdef\@institute{}%
\r
2073 \global\titlerunning={}\global\authorrunning={}%
\r
2074 \global\toctitle={}\global\tocauthor={}}
\r
2075 \def\institute#1{\gdef\@institute{#1}}
\r
2076 \def\guidetitle{\@ifstar\s@title\n@title}
\r
2077 \def\s@title#1{\gdef\@title{#1}\ds@numart}
\r
2078 \def\n@title#1{\gdef\@title{#1}\ds@book}
\r
2079 \def\institutename
\r
2081 \if!\@institute!\else
\r
2082 \def\thanks##1{\unskip{}}%
\r
2083 \def\iand{\\[5pt]\let\and=\nand}%
\r
2084 \def\nand{\ifhmode\unskip\nobreak\fi\ $\cdot$ }%
\r
2086 \def\at{\\\let\and=\iand}%
\r
2087 \footnotetext[0]{\kern-\bibindent
\r
2088 \ignorespaces\@institute}\vspace{5dd}\fi
\r
2092 \newcounter{contribution}
\r
2093 \def\chap@hangfrom#1{\if!#1!\else
\r
2094 \@chapapp\ #1\vskip2pt\fi}%
\r
2095 \newcommand\guidemaketitle{\par\startnewpage
\r
2096 \stepcounter{section}%
\r
2097 \setcounter{section}{0}%
\r
2098 \setcounter{subsection}{0}%
\r
2099 \setcounter{figure}{0}
\r
2100 \setcounter{table}{0}
\r
2101 \setcounter{equation}{0}
\r
2102 \setcounter{footnote}{0}%
\r
2104 \stepcounter{chapter}%
\r
2105 \addtocounter{chapter}{-1}%
\r
2107 \refstepcounter{chapter}%
\r
2109 \stepcounter{contribution}%
\r
2110 \immediate\write\@auxout{\string\immediate\string\closeout\string\minitoc}%
\r
2111 \immediate\write\@auxout{\let\MiniTOC=N}%
\r
2112 % try to be hyperref-compatible
\r
2113 \csname phantomsection\endcsname
\r
2116 %%%%%%%%% \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
\r
2118 \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
\r
2119 \def\@makefnmark{$^{\@thefnmark}$}%
\r
2120 \renewcommand\@makefntext[1]{%
\r
2122 \hb@xt@\bibindent{\hss\@makefnmark\enspace}##1\vrule height0pt
\r
2123 width0pt depth8pt}
\r
2126 \ifnum \col@number=\@ne
\r
2129 \twocolumn[\@maketitle]%
\r
2133 \global\@topnum\z@ % Prevents figures from going at top of page.
\r
2136 \@ifundefined{thispagecropped}{}{\thispagecropped}
\r
2137 \thispagestyle{bchap}\@thanks
\r
2139 \def\\{\unskip\ \ignorespaces}\def\inst##1{\unskip{}}%
\r
2140 \def\thanks##1{\unskip{}}\def\fnmsep{\unskip}%
\r
2141 \instindent=\hsize
\r
2142 \advance\instindent by-\headlineindent
\r
2143 \if@numart % keine Nummer
\r
2144 \if!\the\toctitle!\addcontentsline{toc}{title}{\@title}\else
\r
2145 \addcontentsline{toc}{title}{\the\toctitle}\fi
\r
2147 \if!\the\toctitle!\addcontentsline{toc}{titlech}{\protect\numberline{\thechapter\thechapterend}\@title}\else
\r
2148 \addcontentsline{toc}{titlech}{\protect\numberline{\thechapter\thechapterend}\the\toctitle}\fi
\r
2151 \if!\the\titlerunning!\else
\r
2152 \edef\@title{\the\titlerunning}%
\r
2154 \global\setbox\titrun=\hbox{\small\rm\unboldmath\if@numart\else
\r
2155 \@seccntformat{chapter}\fi
\r
2156 \ignorespaces\@title}%
\r
2157 \ifdim\wd\titrun>\instindent
\r
2158 \typeout{Title too long for running head. Please supply}%
\r
2159 \typeout{a shorter form with \string\titlerunning\space prior to
\r
2160 \string\maketitle}%
\r
2161 \global\setbox\titrun=\hbox{\small\rm
\r
2162 Title Suppressed Due to Excessive Length}%
\r
2164 \xdef\@title{\copy\titrun}%
\r
2167 \if!\the\tocauthor!\relax
\r
2168 {\def\and{\noexpand\protect\noexpand\and}%
\r
2169 \protected@xdef\toc@uthor{\@author}}%
\r
2171 \def\\{\noexpand\protect\noexpand\newline}%
\r
2172 \protected@xdef\scratch{\the\tocauthor}%
\r
2173 \protected@xdef\toc@uthor{\scratch}%
\r
2175 \addtocontents{toc}{\noexpand\protect\noexpand\authcount{\the\c@auco}}%
\r
2177 \addcontentsline{toc}{author}{\toc@uthor}%
\r
2179 \addcontentsline{toc}{authorch}{\toc@uthor}%
\r
2182 \if!\the\authorrunning!
\r
2183 \value{@inst}=\value{@auth}%
\r
2184 \setcounter{@auth}{1}%
\r
2186 \edef\@author{\the\authorrunning}%
\r
2188 \global\setbox\authrun=\hbox{\small\unboldmath\@author\unskip}%
\r
2189 \ifdim\wd\authrun>\instindent
\r
2190 \typeout{Names of authors too long for running head. Please supply}%
\r
2191 \typeout{a shorter form with \string\authorrunning\space prior to
\r
2192 \string\maketitle}%
\r
2193 \global\setbox\authrun=\hbox{\small\rm
\r
2194 Authors Suppressed Due to Excessive Length}%
\r
2196 \xdef\scratch{\copy\authrun}%
\r
2197 \markboth{\scratch}{\@title}%
\r
2200 % \setcounter{footnote}{0}% footnote starts at (\inst+1)
\r
2201 \@afterindentfalse\@afterheading
\r
2204 \def\@guidemaketitle{\newpage
\r
2206 \def\lastand{\ifnum\value{@inst}=2\relax
\r
2207 \unskip{} \andname\
\r
2209 \unskip \lastandname\
\r
2211 \def\and{\stepcounter{@auth}\relax
\r
2212 \ifnum\value{@auth}=\value{@inst}%
\r
2220 \pretolerance=10000
\r
2222 % \@hangfrom{\@svsec}%
\r
2225 \hyphenpenalty \@M
\r
2226 \interlinepenalty \@M
\r
2228 \chap@hangfrom{}%!!!
\r
2230 % \chap@hangfrom{\thechapter\thechapterend\hskip\betweenumberspace}%!!!
\r
2235 \@title \par}\vskip .8cm
\r
2236 \if!\@subtitle!\else {\chapnumsize\chapnumstyle
\r
2238 \pretolerance=10000
\r
2239 \@subtitle \par}\vskip .8cm\fi
\r
2240 \setbox0=\vbox{\setcounter{@auth}{1}\def\and{\stepcounter{@auth}}%
\r
2241 \def\thanks##1{}\@author}%
\r
2242 \global\value{@inst}=\value{@auth}%
\r
2243 \global\value{auco}=\value{@auth}%
\r
2244 \setcounter{@auth}{1}%
\r
2246 \noindent\ignorespaces
\r
2247 \@author\vskip.35cm}
\r
2248 \processmotto % {\small\institutename\par}
\r
2250 \ifdim\pagetotal>157\p@
\r
2253 \@tempdima=168\p@\advance\@tempdima by-\pagetotal
\r
2258 \def\guidelinedefn{\let\title\guidetitle%
\r
2259 \let\maketitle\guidemaketitle%
\r
2260 \let\@maketitle\@guidemaketitle}%
\r
2265 %end of file svmono.cls
\r