Advertisement
AlMa1r

svmono v5.14

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