llncs.cls 42 KB

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