]> AND Private Git Repository - these_gilles.git/blob - paper_lniv_gpu/paper_lniv_springer/svjour2.cls
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
v1.2 19 décembre
[these_gilles.git] / paper_lniv_gpu / paper_lniv_springer / svjour2.cls
1 % SVJour2 DOCUMENT CLASS -- version 2.8 for LaTeX2e
2 %
3 % LaTeX document class for Springer journals
4 %
5 %%
6 %%
7 %% \CharacterTable
8 %%  {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
9 %%   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
10 %%   Digits        \0\1\2\3\4\5\6\7\8\9
11 %%   Exclamation   \!     Double quote  \"     Hash (number) \#
12 %%   Dollar        \$     Percent       \%     Ampersand     \&
13 %%   Acute accent  \'     Left paren    \(     Right paren   \)
14 %%   Asterisk      \*     Plus          \+     Comma         \,
15 %%   Minus         \-     Point         \.     Solidus       \/
16 %%   Colon         \:     Semicolon     \;     Less than     \<
17 %%   Equals        \=     Greater than  \>     Question mark \?
18 %%   Commercial at \@     Left bracket  \[     Backslash     \\
19 %%   Right bracket \]     Circumflex    \^     Underscore    \_
20 %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
21 %%   Right brace   \}     Tilde         \~}
22 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
23 \ProvidesClass{svjour2}[2005/08/29 v2.8
24 ^^JLaTeX document class for Springer journals]
25 \newcommand\@ptsize{}
26 \newif\if@restonecol
27 \newif\if@titlepage
28 \@titlepagefalse
29 \DeclareOption{a4paper}
30    {\setlength\paperheight {297mm}%
31     \setlength\paperwidth  {210mm}}
32 \DeclareOption{10pt}{\renewcommand\@ptsize{0}}
33 \DeclareOption{twoside}{\@twosidetrue  \@mparswitchtrue}
34 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
35 \DeclareOption{final}{\setlength\overfullrule{0pt}}
36 \DeclareOption{fleqn}{\input{fleqn.clo}\AtBeginDocument{\mathindent\z@}}
37 \DeclareOption{twocolumn}{\@twocolumntrue\ExecuteOptions{fleqn}}
38 \newif\if@avier\@avierfalse
39 \DeclareOption{onecollarge}{\@aviertrue}
40 \let\if@mathematic\iftrue
41 \let\if@numbook\iffalse
42 \DeclareOption{numbook}{\let\if@envcntsect\iftrue
43   \AtEndOfPackage{%
44    \renewcommand\thefigure{\thesection.\@arabic\c@figure}%
45    \renewcommand\thetable{\thesection.\@arabic\c@table}%
46    \renewcommand\theequation{\thesection.\@arabic\c@equation}%
47    \@addtoreset{figure}{section}%
48    \@addtoreset{table}{section}%
49    \@addtoreset{equation}{section}%
50   }%
51 }
52 \DeclareOption{openbib}{%
53   \AtEndOfPackage{%
54    \renewcommand\@openbib@code{%
55       \advance\leftmargin\bibindent
56       \itemindent -\bibindent
57       \listparindent \itemindent
58       \parsep \z@
59       }%
60    \renewcommand\newblock{\par}}%
61 }
62 \DeclareOption{natbib}{%
63 \AtEndOfClass{\RequirePackage{natbib}%
64 % Changing some parameters of NATBIB
65 \setlength{\bibhang}{\parindent}%
66 %\setlength{\bibsep}{0mm}%
67 \let\bibfont=\small
68 \def\@biblabel#1{#1.}%
69 \newcommand{\etal}{et al.}%
70 \bibpunct{(}{)}{;}{a}{}{,}}}
71 %
72 \let\if@runhead\iffalse
73 \DeclareOption{runningheads}{\let\if@runhead\iftrue}
74 \let\if@smartrunh\iffalse
75 \DeclareOption{smartrunhead}{\let\if@smartrunh\iftrue}
76 \DeclareOption{nosmartrunhead}{\let\if@smartrunh\iffalse}
77 \let\if@envcntreset\iffalse
78 \DeclareOption{envcountreset}{\let\if@envcntreset\iftrue}
79 \let\if@envcntsame\iffalse
80 \DeclareOption{envcountsame}{\let\if@envcntsame\iftrue}
81 \let\if@envcntsect\iffalse
82 \DeclareOption{envcountsect}{\let\if@envcntsect\iftrue}
83 \let\if@referee\iffalse
84 \DeclareOption{referee}{\let\if@referee\iftrue}
85 \def\makereferee{\def\baselinestretch{2}}
86 \let\if@instindent\iffalse
87 \DeclareOption{instindent}{\let\if@instindent\iftrue}
88 \let\if@smartand\iffalse
89 \DeclareOption{smartand}{\let\if@smartand\iftrue}
90 \let\if@spthms\iftrue
91 \DeclareOption{nospthms}{\let\if@spthms\iffalse}
92 %
93 % language and babel dependencies
94 \DeclareOption{deutsch}{\def\switcht@@therlang{\switcht@deutsch}%
95 \gdef\svlanginfo{\typeout{Man spricht deutsch.}\global\let\svlanginfo\relax}}
96 \DeclareOption{francais}{\def\switcht@@therlang{\switcht@francais}%
97 \gdef\svlanginfo{\typeout{On parle francais.}\global\let\svlanginfo\relax}}
98 \let\switcht@@therlang\relax
99 \let\svlanginfo\relax
100 %
101 \AtBeginDocument{\@ifpackageloaded{babel}{%
102 \@ifundefined{extrasenglish}{}{\addto\extrasenglish{\switcht@albion}}%
103 \@ifundefined{extrasUKenglish}{}{\addto\extrasUKenglish{\switcht@albion}}%
104 \@ifundefined{extrasfrenchb}{}{\addto\extrasfrenchb{\switcht@francais}}%
105 \@ifundefined{extrasgerman}{}{\addto\extrasgerman{\switcht@deutsch}}%
106 \@ifundefined{extrasngerman}{}{\addto\extrasngerman{\switcht@deutsch}}%
107 }{\switcht@@therlang}%
108 }
109 %
110 \def\ClassInfoNoLine#1#2{%
111    \ClassInfo{#1}{#2\@gobble}%
112 }
113 \let\journalopt\@empty
114 \DeclareOption*{%
115 \InputIfFileExists{sv\CurrentOption.clo}{%
116 \global\let\journalopt\CurrentOption}{%
117 \ClassWarning{Springer-SVJour2}{Specified option or subpackage
118 "\CurrentOption" not found -}\OptionNotUsed}}
119 \ExecuteOptions{a4paper,twoside,10pt,instindent}
120 \ProcessOptions
121 %
122 \ifx\journalopt\@empty\relax
123 \ClassInfoNoLine{Springer-SVJour2}{extra/valid Springer sub-package (-> *.clo)
124 \MessageBreak not found in option list of \string\documentclass
125 \MessageBreak  - autoactivating "global" style}{}
126 \input{svglov2.clo}
127 \else
128 \@ifundefined{validfor}{%
129 \ClassError{Springer-SVJour2}{Possible option clash for sub-package
130 \MessageBreak "sv\journalopt.clo" - option file not valid
131 \MessageBreak for this class}{Perhaps you used an option of the old
132 Springer class SVJour!}
133 }{}
134 \fi
135 %
136 \if@smartrunh\AtEndDocument{\islastpageeven\getlastpagenumber}\fi
137 %
138 \newcommand{\twocoltest}[2]{\if@twocolumn\def\@gtempa{#2}\else\def\@gtempa{#1}\fi
139 \@gtempa\makeatother}
140 \newcommand{\columncase}{\makeatletter\twocoltest}
141 %
142 \DeclareMathSymbol{\Gamma}{\mathalpha}{letters}{"00}
143 \DeclareMathSymbol{\Delta}{\mathalpha}{letters}{"01}
144 \DeclareMathSymbol{\Theta}{\mathalpha}{letters}{"02}
145 \DeclareMathSymbol{\Lambda}{\mathalpha}{letters}{"03}
146 \DeclareMathSymbol{\Xi}{\mathalpha}{letters}{"04}
147 \DeclareMathSymbol{\Pi}{\mathalpha}{letters}{"05}
148 \DeclareMathSymbol{\Sigma}{\mathalpha}{letters}{"06}
149 \DeclareMathSymbol{\Upsilon}{\mathalpha}{letters}{"07}
150 \DeclareMathSymbol{\Phi}{\mathalpha}{letters}{"08}
151 \DeclareMathSymbol{\Psi}{\mathalpha}{letters}{"09}
152 \DeclareMathSymbol{\Omega}{\mathalpha}{letters}{"0A}
153 %
154 \setlength\parindent{15\p@}
155 \setlength\smallskipamount{3\p@ \@plus 1\p@ \@minus 1\p@}
156 \setlength\medskipamount{6\p@ \@plus 2\p@ \@minus 2\p@}
157 \setlength\bigskipamount{12\p@ \@plus 4\p@ \@minus 4\p@}
158 \setlength\headheight{12\p@}
159 \setlength\headsep   {16.74dd}
160 \setlength\topskip   {10\p@}
161 \setlength\footskip{30\p@}
162 \setlength\maxdepth{.5\topskip}
163 %
164 \@settopoint\textwidth
165 \setlength\marginparsep {10\p@}
166 \setlength\marginparpush{5\p@}
167 \setlength\topmargin{-10pt}
168 \if@twocolumn
169    \setlength\oddsidemargin {-30\p@}
170    \setlength\evensidemargin{-30\p@}
171 \else
172    \setlength\oddsidemargin {\z@}
173    \setlength\evensidemargin{\z@}
174 \fi
175 \setlength\marginparwidth  {48\p@}
176 \setlength\footnotesep{8\p@}
177 \setlength{\skip\footins}{9\p@ \@plus 4\p@ \@minus 2\p@}
178 \setlength\floatsep    {12\p@ \@plus 2\p@ \@minus 2\p@}
179 \setlength\textfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@}
180 \setlength\intextsep   {20\p@ \@plus 2\p@ \@minus 2\p@}
181 \setlength\dblfloatsep    {12\p@ \@plus 2\p@ \@minus 2\p@}
182 \setlength\dbltextfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@}
183 \setlength\@fptop{0\p@}
184 \setlength\@fpsep{12\p@ \@plus 2\p@ \@minus 2\p@}
185 \setlength\@fpbot{0\p@ \@plus 1fil}
186 \setlength\@dblfptop{0\p@}
187 \setlength\@dblfpsep{12\p@ \@plus 2\p@ \@minus 2\p@}
188 \setlength\@dblfpbot{0\p@ \@plus 1fil}
189 \setlength\partopsep{2\p@ \@plus 1\p@ \@minus 1\p@}
190 \def\@listi{\leftmargin\leftmargini
191             \parsep \z@
192             \topsep 6\p@ \@plus2\p@ \@minus4\p@
193             \itemsep\parsep}
194 \let\@listI\@listi
195 \@listi
196 \def\@listii {\leftmargin\leftmarginii
197               \labelwidth\leftmarginii
198               \advance\labelwidth-\labelsep
199               \topsep    \z@
200               \parsep    \topsep
201               \itemsep   \parsep}
202 \def\@listiii{\leftmargin\leftmarginiii
203               \labelwidth\leftmarginiii
204               \advance\labelwidth-\labelsep
205               \topsep    \z@
206               \parsep    \topsep
207               \itemsep   \parsep}
208 \def\@listiv {\leftmargin\leftmarginiv
209               \labelwidth\leftmarginiv
210               \advance\labelwidth-\labelsep}
211 \def\@listv  {\leftmargin\leftmarginv
212               \labelwidth\leftmarginv
213               \advance\labelwidth-\labelsep}
214 \def\@listvi {\leftmargin\leftmarginvi
215               \labelwidth\leftmarginvi
216               \advance\labelwidth-\labelsep}
217 %
218 \setlength\lineskip{1\p@}
219 \setlength\normallineskip{1\p@}
220 \renewcommand\baselinestretch{}
221 \setlength\parskip{0\p@ \@plus \p@}
222 \@lowpenalty   51
223 \@medpenalty  151
224 \@highpenalty 301
225 \setcounter{topnumber}{4}
226 \renewcommand\topfraction{.9}
227 \setcounter{bottomnumber}{2}
228 \renewcommand\bottomfraction{.7}
229 \setcounter{totalnumber}{6}
230 \renewcommand\textfraction{.1}
231 \renewcommand\floatpagefraction{.85}
232 \setcounter{dbltopnumber}{3}
233 \renewcommand\dbltopfraction{.85}
234 \renewcommand\dblfloatpagefraction{.85}
235 \def\ps@headings{%
236     \let\@oddfoot\@empty\let\@evenfoot\@empty
237     \def\@evenhead{\small\csname runheadhook\endcsname
238     \rlap{\thepage}\hfil\leftmark\unskip}%
239     \def\@oddhead{\small\csname runheadhook\endcsname
240     \ignorespaces\rightmark\hfil\llap{\thepage}}%
241     \let\@mkboth\@gobbletwo
242     \let\sectionmark\@gobble
243     \let\subsectionmark\@gobble
244     }
245 % make indentations changeable
246 \def\setitemindent#1{\settowidth{\labelwidth}{#1}%
247         \leftmargini\labelwidth
248         \advance\leftmargini\labelsep
249    \def\@listi{\leftmargin\leftmargini
250         \labelwidth\leftmargini\advance\labelwidth by -\labelsep
251         \parsep=\parskip
252         \topsep=\medskipamount
253         \itemsep=\parskip \advance\itemsep by -\parsep}}
254 \def\setitemitemindent#1{\settowidth{\labelwidth}{#1}%
255         \leftmarginii\labelwidth
256         \advance\leftmarginii\labelsep
257 \def\@listii{\leftmargin\leftmarginii
258         \labelwidth\leftmarginii\advance\labelwidth by -\labelsep
259         \parsep=\parskip
260         \topsep=\z@
261         \itemsep=\parskip \advance\itemsep by -\parsep}}
262 % labels of description
263 \def\descriptionlabel#1{\hspace\labelsep #1\hfil}
264 % adjusted environment "description"
265 % if an optional parameter (at the first two levels of lists)
266 % is present, its width is considered to be the widest mark
267 % throughout the current list.
268 \def\description{\@ifnextchar[{\@describe}{\list{}{\labelwidth\z@
269           \itemindent-\leftmargin \let\makelabel\descriptionlabel}}}
270 \let\enddescription\endlist
271 %
272 \def\describelabel#1{#1\hfil}
273 \def\@describe[#1]{\relax\ifnum\@listdepth=0
274 \setitemindent{#1}\else\ifnum\@listdepth=1
275 \setitemitemindent{#1}\fi\fi
276 \list{--}{\let\makelabel\describelabel}}
277 %
278 \newdimen\logodepth
279 \logodepth=1.2cm
280 \newdimen\headerboxheight
281 \headerboxheight=180pt % 18 10.5dd-lines - 2\baselineskip
282 \advance\headerboxheight by-14.5mm
283 \newdimen\betweenumberspace          % dimension for space between
284 \betweenumberspace=3.33pt            % number and text of titles.
285 \newdimen\aftertext                  % dimension for space after
286 \aftertext=5pt                       % text of title.
287 \newdimen\headlineindent             % dimension for space between
288 \headlineindent=1.166cm              % number and text of headings.
289 \if@mathematic
290    \def\runinend{} % \enspace}
291    \def\floatcounterend{\enspace}
292    \def\sectcounterend{}
293 \else
294    \def\runinend{.}
295    \def\floatcounterend{.\ }
296    \def\sectcounterend{.}
297 \fi
298 \def\email#1{\emailname: #1}
299 \def\keywords#1{\par\addvspace\medskipamount{\rightskip=0pt plus1cm
300 \def\and{\ifhmode\unskip\nobreak\fi\ $\cdot$
301 }\noindent\keywordname\enspace\ignorespaces#1\par}}
302 %
303 \def\subclassname{{\bfseries Mathematics Subject Classification
304 (2000)}\enspace}
305 \def\subclass#1{\par\addvspace\medskipamount{\rightskip=0pt plus1cm
306 \def\and{\ifhmode\unskip\nobreak\fi\ $\cdot$
307 }\noindent\subclassname\ignorespaces#1\par}}
308 %
309 \def\PACSname{\textbf{PACS}\enspace}
310 \def\PACS#1{\par\addvspace\medskipamount{\rightskip=0pt plus1cm
311 \def\and{\ifhmode\unskip\nobreak\fi\ $\cdot$
312 }\noindent\PACSname\ignorespaces#1\par}}
313 %
314 \def\CRclassname{{\bfseries CR Subject Classification}\enspace}
315 \def\CRclass#1{\par\addvspace\medskipamount{\rightskip=0pt plus1cm
316 \def\and{\ifhmode\unskip\nobreak\fi\ $\cdot$
317 }\noindent\CRclassname\ignorespaces#1\par}}
318 %
319 \def\ESMname{\textbf{Electronic Supplementary Material}\enspace}
320 \def\ESM#1{\par\addvspace\medskipamount
321 \noindent\ESMname\ignorespaces#1\par}
322 %
323 \newcounter{inst}
324 \newcounter{auth}
325 \def\authdepth{2}
326 \newdimen\instindent
327 \newbox\authrun
328 \newtoks\authorrunning
329 \newbox\titrun
330 \newtoks\titlerunning
331 \def\authorfont{\bfseries}
332
333 \def\combirunning#1{\gdef\@combi{#1}}
334 \def\@combi{}
335 \newbox\combirun
336 %
337 \def\ps@last{\def\@evenhead{\small\rlap{\thepage}\hfil
338 \lastevenhead}}
339 \newcounter{lastpage}
340 \def\islastpageeven{\@ifundefined{lastpagenumber}
341 {\setcounter{lastpage}{0}}{\setcounter{lastpage}{\lastpagenumber}}
342 \ifnum\value{lastpage}>0
343    \ifodd\value{lastpage}%
344    \else
345       \if@smartrunh
346          \thispagestyle{last}%
347       \fi
348    \fi
349 \fi}
350 \def\getlastpagenumber{\clearpage
351 \addtocounter{page}{-1}%
352    \immediate\write\@auxout{\string\gdef\string\lastpagenumber{\thepage}}%
353    \immediate\write\@auxout{\string\newlabel{LastPage}{{}{\thepage}}}%
354    \addtocounter{page}{1}}
355
356 \def\journalname#1{\gdef\@journalname{#1}}
357
358 \def\dedication#1{\gdef\@dedic{#1}}
359 \def\@dedic{}
360
361 \let\@date\undefined
362 \def\notused{~}
363
364 \def\institute#1{\gdef\@institute{#1}}
365
366 \def\offprints#1{\begingroup
367 \def\protect{\noexpand\protect\noexpand}\xdef\@thanks{\@thanks
368 \protect\footnotetext[0]{\unskip\hskip-15pt{\itshape Send offprint requests
369 to\/}: \ignorespaces#1}}\endgroup\ignorespaces}
370
371 %\def\mail#1{\gdef\@mail{#1}}
372 %\def\@mail{}
373
374 \def\@thanks{}
375
376 \def\@fnsymbol#1{\ifcase#1\or\star\or{\star\star}\or{\star\star\star}%
377    \or \dagger\or \ddagger\or
378    \mathchar "278\or \mathchar "27B\or \|\or **\or \dagger\dagger
379    \or \ddagger\ddagger \else\@ctrerr\fi\relax}
380 %
381 %\def\invthanks#1{\footnotetext[0]{\kern-\bibindent#1}}
382 %
383 \def\nothanksmarks{\def\thanks##1{\protected@xdef\@thanks{\@thanks
384         \protect\footnotetext[0]{\kern-\bibindent##1}}}}
385 %
386 \def\subtitle#1{\gdef\@subtitle{#1}}
387 \def\@subtitle{}
388
389 \def\headnote#1{\gdef\@headnote{#1}}
390 \def\@headnote{}
391
392 \def\papertype#1{\gdef\paper@type{\MakeUppercase{#1}}}
393 \def\paper@type{}
394
395 \def\ch@ckobl#1#2{\@ifundefined{@#1}
396  {\typeout{SVJour2 warning: Missing
397 \expandafter\string\csname#1\endcsname}%
398   \csname #1\endcsname{#2}}
399  {}}
400 %
401 \def\ProcessRunnHead{%
402     \def\\{\unskip\ \ignorespaces}%
403     \def\thanks##1{\unskip{}}%
404     \instindent=\textwidth
405     \advance\instindent by-\headlineindent
406     \if!\the\titlerunning!\else
407       \edef\@title{\the\titlerunning}%
408     \fi
409     \global\setbox\titrun=\hbox{\small\rmfamily\unboldmath\ignorespaces\@title
410                                 \unskip}%
411     \ifdim\wd\titrun>\instindent
412        \typeout{^^JSVJour2 Warning: Title too long for running head.}%
413        \typeout{Please supply a shorter form with \string\titlerunning
414                 \space prior to \string\maketitle}%
415        \global\setbox\titrun=\hbox{\small\rmfamily
416        Title Suppressed Due to Excessive Length}%
417     \fi
418     \xdef\@title{\copy\titrun}%
419 %
420     \if!\the\authorrunning!
421     \else
422       \setcounter{auth}{1}%
423       \edef\@author{\the\authorrunning}%
424     \fi
425     \ifnum\value{inst}>\authdepth
426        \def\stripauthor##1\and##2\endauthor{%
427        \protected@xdef\@author{##1\unskip\unskip\if!##2!\else\ et al.\fi}}%
428        \expandafter\stripauthor\@author\and\endauthor
429     \else
430        \gdef\and{\unskip, \ignorespaces}%
431        {\def\and{\noexpand\protect\noexpand\and}%
432        \protected@xdef\@author{\@author}}
433     \fi
434     \global\setbox\authrun=\hbox{\small\rmfamily\unboldmath\ignorespaces
435                                  \@author\unskip}%
436     \ifdim\wd\authrun>\instindent
437     \typeout{^^JSVJour2 Warning: Author name(s) too long for running head.
438              ^^JPlease supply a shorter form with \string\authorrunning
439              \space prior to \string\maketitle}%
440     \global\setbox\authrun=\hbox{\small\rmfamily Please give a shorter version
441           with: {\tt\string\authorrunning\space and
442              \string\titlerunning\space prior to \string\maketitle}}%
443     \fi
444     \xdef\@author{\copy\authrun}%
445     \markboth{\@author}{\@title}%
446 }
447 %
448 \let\orithanks=\thanks
449 \def\thanks#1{\ClassWarning{SVJour2}{\string\thanks\space may only be
450 used inside of \string\title, \string\author,\MessageBreak
451 and \string\date\space prior to \string\maketitle}}
452 %
453 \def\maketitle{\par\let\thanks=\orithanks
454 \ch@ckobl{journalname}{Noname}
455 \ch@ckobl{date}{the date of receipt and acceptance should be inserted
456 later}
457 \ch@ckobl{title}{A title should be given}
458 \ch@ckobl{author}{Name(s) and initial(s) of author(s) should be given}
459 \ch@ckobl{institute}{Address(es) of author(s) should be given}
460 \begingroup
461 %
462     \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
463     \def\@makefnmark{$^{\@thefnmark}$}%
464     \renewcommand\@makefntext[1]{%
465     \noindent
466     \hb@xt@\bibindent{\hss\@makefnmark\enspace}##1\vrule height0pt
467     width0pt depth8pt}
468 %
469  \def\lastand{\ifnum\value{inst}=2\relax
470                  \unskip{} \andname\
471               \else
472                  \unskip, \andname\
473               \fi}%
474  \def\and{\stepcounter{auth}\relax
475           \if@smartand
476              \ifnum\value{auth}=\value{inst}%
477                 \lastand
478              \else
479                 \unskip,
480              \fi
481           \else
482              \unskip,
483           \fi}%
484  \thispagestyle{empty}
485  \ifnum \col@number=\@ne
486    \@maketitle
487  \else
488    \twocolumn[\@maketitle]%
489  \fi
490 %
491  \global\@topnum\z@
492  \if!\@thanks!\else
493     \@thanks
494 \insert\footins{\vskip-3pt\hrule width\columnwidth\vskip3pt}%
495  \fi
496  {\def\thanks##1{\unskip{}}%
497  \def\iand{\\[5pt]\let\and=\nand}%
498  \def\nand{\ifhmode\unskip\nobreak\fi\ $\cdot$ }%
499  \let\and=\nand
500  \def\at{\\\let\and=\iand}%
501  \footnotetext[0]{\kern-\bibindent
502  \ignorespaces\@institute}\vspace{5dd}}%
503 %\if!\@mail!\else
504 %   \footnotetext[0]{\kern-\bibindent\mailname\
505 %   \ignorespaces\@mail}%
506 %\fi
507 %
508  \if@runhead
509     \ProcessRunnHead
510  \fi
511 %
512  \endgroup
513  \setcounter{footnote}{0}
514  \global\let\thanks\relax
515  \global\let\maketitle\relax
516  \global\let\@maketitle\relax
517  \global\let\@thanks\@empty
518  \global\let\@author\@empty
519  \global\let\@date\@empty
520  \global\let\@title\@empty
521  \global\let\@subtitle\@empty
522  \global\let\title\relax
523  \global\let\author\relax
524  \global\let\date\relax
525  \global\let\and\relax}
526
527 \def\makeheadbox{{%
528 \hbox to0pt{\vbox{\baselineskip=10dd\hrule\hbox
529 to\hsize{\vrule\kern3pt\vbox{\kern3pt
530 \hbox{\bfseries\@journalname\ manuscript No.}
531 \hbox{(will be inserted by the editor)}
532 \kern3pt}\hfil\kern3pt\vrule}\hrule}%
533 \hss}}}
534 %
535 \def\rubric{\setbox0=\hbox{\small\strut}\@tempdima=\ht0\advance
536 \@tempdima\dp0\advance\@tempdima2\fboxsep\vrule\@height\@tempdima
537 \@width\z@}
538 \newdimen\rubricwidth
539 %
540 \def\@maketitle{\newpage
541 \normalfont
542 \vbox to0pt{\if@twocolumn\vskip-39pt\else\vskip-49pt\fi
543 \nointerlineskip
544 \makeheadbox\vss}\nointerlineskip
545 \vbox to 0pt{\offinterlineskip\rubricwidth=\columnwidth
546 \vskip-12.5pt
547 \if@twocolumn\else % one column journal
548    \divide\rubricwidth by144\multiply\rubricwidth by89 % perform golden section
549    \vskip-\topskip
550 \fi
551 \hrule\@height0.35mm\noindent
552 \advance\fboxsep by.25mm
553 \global\advance\rubricwidth by0pt
554 \rubric
555 \vss}\vskip19.5pt
556 %
557 \if@twocolumn\else
558  \gdef\footnoterule{%
559   \kern-3\p@
560   \hrule\@width\columnwidth  %rubricwidth
561   \kern2.6\p@}
562 \fi
563 %
564  \setbox\authrun=\vbox\bgroup
565      \hrule\@height 9mm\@width0\p@
566      \pretolerance=10000
567      \rightskip=0pt plus 4cm
568     \nothanksmarks
569 %   \if!\@headnote!\else
570 %     \noindent
571 %     {\LARGE\normalfont\itshape\ignorespaces\@headnote\par}\vskip 3.5mm
572 %   \fi
573     {\authorfont
574     \setbox0=\vbox{\setcounter{auth}{1}\def\and{\stepcounter{auth} }%
575                    \hfuzz=2\textwidth\def\thanks##1{}\@author}%
576     \setcounter{footnote}{0}%
577     \global\value{inst}=\value{auth}%
578     \setcounter{auth}{1}%
579     \if@twocolumn
580        \rightskip43mm plus 4cm minus 3mm
581     \else % one column journal
582        \rightskip=\linewidth
583        \advance\rightskip by-\rubricwidth
584        \advance\rightskip by0pt plus 4cm minus 3mm
585     \fi
586 %
587 \def\and{\unskip\nobreak\enskip{\boldmath$\cdot$}\enskip\ignorespaces}%
588     \noindent\ignorespaces\@author\vskip7.23pt}
589     {\LARGE\bfseries
590      \noindent\ignorespaces
591      \@title \par}\vskip 11.24pt\relax
592     \if!\@subtitle!\else
593       {\large\bfseries
594       \pretolerance=10000
595       \rightskip=0pt plus 3cm
596       \vskip-5pt
597       \noindent\ignorespaces\@subtitle \par}\vskip 11.24pt
598     \fi
599     \small
600     \if!\@dedic!\else
601        \par
602        \normalsize\it
603        \addvspace\baselineskip
604        \noindent\@dedic
605     \fi
606  \egroup % end of header box
607  \@tempdima=\headerboxheight
608  \advance\@tempdima by-\ht\authrun
609  \unvbox\authrun
610  \ifdim\@tempdima>0pt
611     \vrule width0pt height\@tempdima\par
612  \fi
613  \noindent{\small\@date\vskip 6.2mm}
614  \global\@minipagetrue
615  \global\everypar{\global\@minipagefalse\global\everypar{}}%
616 %\vskip22.47pt
617 }
618 %
619 \if@mathematic
620    \def\vec#1{\ensuremath{\mathchoice
621                      {\mbox{\boldmath$\displaystyle\mathbf{#1}$}}
622                      {\mbox{\boldmath$\textstyle\mathbf{#1}$}}
623                      {\mbox{\boldmath$\scriptstyle\mathbf{#1}$}}
624                      {\mbox{\boldmath$\scriptscriptstyle\mathbf{#1}$}}}}
625 \else
626    \def\vec#1{\ensuremath{\mathchoice
627                      {\mbox{\boldmath$\displaystyle#1$}}
628                      {\mbox{\boldmath$\textstyle#1$}}
629                      {\mbox{\boldmath$\scriptstyle#1$}}
630                      {\mbox{\boldmath$\scriptscriptstyle#1$}}}}
631 \fi
632 %
633 \def\tens#1{\ensuremath{\mathsf{#1}}}
634 %
635 \setcounter{secnumdepth}{3}
636 \newcounter {section}
637 \newcounter {subsection}[section]
638 \newcounter {subsubsection}[subsection]
639 \newcounter {paragraph}[subsubsection]
640 \newcounter {subparagraph}[paragraph]
641 \renewcommand\thesection      {\@arabic\c@section}
642 \renewcommand\thesubsection   {\thesection.\@arabic\c@subsection}
643 \renewcommand\thesubsubsection{\thesubsection.\@arabic\c@subsubsection}
644 \renewcommand\theparagraph    {\thesubsubsection.\@arabic\c@paragraph}
645 \renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}
646 %
647 \def\@hangfrom#1{\setbox\@tempboxa\hbox{#1}%
648       \hangindent \z@\noindent\box\@tempboxa}
649 %
650 \def\@seccntformat#1{\csname the#1\endcsname\sectcounterend
651 \hskip\betweenumberspace}
652 %
653 \newif\if@sectrule
654 \if@twocolumn\else\let\@sectruletrue=\relax\fi
655 \if@avier\let\@sectruletrue=\relax\fi
656 \def\makesectrule{\if@sectrule\global\@sectrulefalse\null\vglue-\topskip
657 \hrule\nobreak\parskip=5pt\relax\fi}
658 %
659 \let\makesectruleori=\makesectrule
660 \def\restoresectrule{\global\let\makesectrule=\makesectruleori\global\@sectrulefalse}
661 \def\nosectrule{\let\makesectrule=\restoresectrule}
662 %
663 \def\@startsection#1#2#3#4#5#6{%
664   \if@noskipsec \leavevmode \fi
665   \par
666   \@tempskipa #4\relax
667   \@afterindenttrue
668   \ifdim \@tempskipa <\z@
669     \@tempskipa -\@tempskipa \@afterindentfalse
670   \fi
671   \if@nobreak
672     \everypar{}%
673   \else
674     \addpenalty\@secpenalty\addvspace\@tempskipa
675   \fi
676   \ifnum#2=1\relax\@sectruletrue\fi
677   \@ifstar
678     {\@ssect{#3}{#4}{#5}{#6}}%
679     {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}}
680 %
681 \def\@sect#1#2#3#4#5#6[#7]#8{%
682   \ifnum #2>\c@secnumdepth
683     \let\@svsec\@empty
684   \else
685     \refstepcounter{#1}%
686     \protected@edef\@svsec{\@seccntformat{#1}\relax}%
687   \fi
688   \@tempskipa #5\relax
689   \ifdim \@tempskipa>\z@
690     \begingroup
691       #6{\makesectrule
692         \@hangfrom{\hskip #3\relax\@svsec}%
693           \raggedright
694           \hyphenpenalty \@M%
695           \interlinepenalty \@M #8\@@par}%
696     \endgroup
697     \csname #1mark\endcsname{#7}%
698     \addcontentsline{toc}{#1}{%
699       \ifnum #2>\c@secnumdepth \else
700         \protect\numberline{\csname the#1\endcsname\sectcounterend}%
701       \fi
702       #7}%
703   \else
704     \def\@svsechd{%
705       #6{\hskip #3\relax
706       \@svsec #8\/\hskip\aftertext}%
707       \csname #1mark\endcsname{#7}%
708       \addcontentsline{toc}{#1}{%
709         \ifnum #2>\c@secnumdepth \else
710           \protect\numberline{\csname the#1\endcsname}%
711         \fi
712         #7}}%
713   \fi
714   \@xsect{#5}}
715 %
716 \def\@ssect#1#2#3#4#5{%
717   \@tempskipa #3\relax
718   \ifdim \@tempskipa>\z@
719     \begingroup
720       #4{\makesectrule
721         \@hangfrom{\hskip #1}%
722           \interlinepenalty \@M #5\@@par}%
723     \endgroup
724   \else
725     \def\@svsechd{#4{\hskip #1\relax #5}}%
726   \fi
727   \@xsect{#3}}
728
729 %
730 % measures and setting of sections
731 %
732 \def\section{\@startsection{section}{1}{\z@}%
733     {-21dd plus-8pt minus-4pt}{10.5dd}
734      {\normalsize\bfseries\boldmath}}
735 \def\subsection{\@startsection{subsection}{2}{\z@}%
736     {-21dd plus-8pt minus-4pt}{10.5dd}
737      {\normalsize\upshape}}
738 \def\subsubsection{\@startsection{subsubsection}{3}{\z@}%
739     {-13dd plus-8pt minus-4pt}{10.5dd}
740      {\normalsize\itshape}}
741 \def\paragraph{\@startsection{paragraph}{4}{\z@}%
742     {-13pt plus-8pt minus-4pt}{\z@}{\normalsize\itshape}}
743
744 \setlength\leftmargini  {\parindent}
745 \leftmargin  \leftmargini
746 \setlength\leftmarginii {\parindent}
747 \setlength\leftmarginiii {1.87em}
748 \setlength\leftmarginiv  {1.7em}
749 \setlength\leftmarginv  {.5em}
750 \setlength\leftmarginvi {.5em}
751 \setlength  \labelsep  {.5em}
752 \setlength  \labelwidth{\leftmargini}
753 \addtolength\labelwidth{-\labelsep}
754 \@beginparpenalty -\@lowpenalty
755 \@endparpenalty   -\@lowpenalty
756 \@itempenalty     -\@lowpenalty
757 \renewcommand\theenumi{\@arabic\c@enumi}
758 \renewcommand\theenumii{\@alph\c@enumii}
759 \renewcommand\theenumiii{\@roman\c@enumiii}
760 \renewcommand\theenumiv{\@Alph\c@enumiv}
761 \newcommand\labelenumi{\theenumi.}
762 \newcommand\labelenumii{(\theenumii)}
763 \newcommand\labelenumiii{\theenumiii.}
764 \newcommand\labelenumiv{\theenumiv.}
765 \renewcommand\p@enumii{\theenumi}
766 \renewcommand\p@enumiii{\theenumi(\theenumii)}
767 \renewcommand\p@enumiv{\p@enumiii\theenumiii}
768 \newcommand\labelitemi{\normalfont\bfseries --}
769 \newcommand\labelitemii{\normalfont\bfseries --}
770 \newcommand\labelitemiii{$\m@th\bullet$}
771 \newcommand\labelitemiv{$\m@th\cdot$}
772
773 \if@spthms
774 % definition of the "\spnewtheorem" command.
775 %
776 % Usage:
777 %
778 %     \spnewtheorem{env_nam}{caption}[within]{cap_font}{body_font}
779 % or  \spnewtheorem{env_nam}[numbered_like]{caption}{cap_font}{body_font}
780 % or  \spnewtheorem*{env_nam}{caption}{cap_font}{body_font}
781 %
782 % New is "cap_font" and "body_font". It stands for
783 % fontdefinition of the caption and the text itself.
784 %
785 % "\spnewtheorem*" gives a theorem without number.
786 %
787 % A defined spnewthoerem environment is used as described
788 % by Lamport.
789 %
790 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
791
792 \def\@thmcountersep{}
793 \def\@thmcounterend{}
794 \newcommand\nocaption{\noexpand\@gobble}
795 \newdimen\spthmsep \spthmsep=5pt
796
797 \def\spnewtheorem{\@ifstar{\@sthm}{\@Sthm}}
798
799 % definition of \spnewtheorem with number
800
801 \def\@spnthm#1#2{%
802   \@ifnextchar[{\@spxnthm{#1}{#2}}{\@spynthm{#1}{#2}}}
803 \def\@Sthm#1{\@ifnextchar[{\@spothm{#1}}{\@spnthm{#1}}}
804
805 \def\@spxnthm#1#2[#3]#4#5{\expandafter\@ifdefinable\csname #1\endcsname
806    {\@definecounter{#1}\@addtoreset{#1}{#3}%
807    \expandafter\xdef\csname the#1\endcsname{\expandafter\noexpand
808      \csname the#3\endcsname \noexpand\@thmcountersep \@thmcounter{#1}}%
809    \expandafter\xdef\csname #1name\endcsname{#2}%
810    \global\@namedef{#1}{\@spthm{#1}{\csname #1name\endcsname}{#4}{#5}}%
811                               \global\@namedef{end#1}{\@endtheorem}}}
812
813 \def\@spynthm#1#2#3#4{\expandafter\@ifdefinable\csname #1\endcsname
814    {\@definecounter{#1}%
815    \expandafter\xdef\csname the#1\endcsname{\@thmcounter{#1}}%
816    \expandafter\xdef\csname #1name\endcsname{#2}%
817    \global\@namedef{#1}{\@spthm{#1}{\csname #1name\endcsname}{#3}{#4}}%
818                                \global\@namedef{end#1}{\@endtheorem}}}
819
820 \def\@spothm#1[#2]#3#4#5{%
821   \@ifundefined{c@#2}{\@latexerr{No theorem environment `#2' defined}\@eha}%
822   {\expandafter\@ifdefinable\csname #1\endcsname
823   {\global\@namedef{the#1}{\@nameuse{the#2}}%
824   \expandafter\xdef\csname #1name\endcsname{#3}%
825   \global\@namedef{#1}{\@spthm{#2}{\csname #1name\endcsname}{#4}{#5}}%
826   \global\@namedef{end#1}{\@endtheorem}}}}
827
828 \def\@spthm#1#2#3#4{\topsep 7\p@ \@plus2\p@ \@minus4\p@
829 \labelsep=\spthmsep\refstepcounter{#1}%
830 \@ifnextchar[{\@spythm{#1}{#2}{#3}{#4}}{\@spxthm{#1}{#2}{#3}{#4}}}
831
832 \def\@spxthm#1#2#3#4{\@spbegintheorem{#2}{\csname the#1\endcsname}{#3}{#4}%
833                     \ignorespaces}
834
835 \def\@spythm#1#2#3#4[#5]{\@spopargbegintheorem{#2}{\csname
836        the#1\endcsname}{#5}{#3}{#4}\ignorespaces}
837
838 \def\normalthmheadings{\def\@spbegintheorem##1##2##3##4{\trivlist\normalfont
839                  \item[\hskip\labelsep{##3##1\ ##2\@thmcounterend}]##4}
840 \def\@spopargbegintheorem##1##2##3##4##5{\trivlist
841       \item[\hskip\labelsep{##4##1\ ##2}]{##4(##3)\@thmcounterend\ }##5}}
842 \normalthmheadings
843
844 \def\reversethmheadings{\def\@spbegintheorem##1##2##3##4{\trivlist\normalfont
845                  \item[\hskip\labelsep{##3##2\ ##1\@thmcounterend}]##4}
846 \def\@spopargbegintheorem##1##2##3##4##5{\trivlist
847       \item[\hskip\labelsep{##4##2\ ##1}]{##4(##3)\@thmcounterend\ }##5}}
848
849 % definition of \spnewtheorem* without number
850
851 \def\@sthm#1#2{\@Ynthm{#1}{#2}}
852
853 \def\@Ynthm#1#2#3#4{\expandafter\@ifdefinable\csname #1\endcsname
854    {\global\@namedef{#1}{\@Thm{\csname #1name\endcsname}{#3}{#4}}%
855     \expandafter\xdef\csname #1name\endcsname{#2}%
856     \global\@namedef{end#1}{\@endtheorem}}}
857
858 \def\@Thm#1#2#3{\topsep 7\p@ \@plus2\p@ \@minus4\p@
859 \@ifnextchar[{\@Ythm{#1}{#2}{#3}}{\@Xthm{#1}{#2}{#3}}}
860
861 \def\@Xthm#1#2#3{\@Begintheorem{#1}{#2}{#3}\ignorespaces}
862
863 \def\@Ythm#1#2#3[#4]{\@Opargbegintheorem{#1}
864        {#4}{#2}{#3}\ignorespaces}
865
866 \def\@Begintheorem#1#2#3{#3\trivlist
867                            \item[\hskip\labelsep{#2#1\@thmcounterend}]}
868
869 \def\@Opargbegintheorem#1#2#3#4{#4\trivlist
870       \item[\hskip\labelsep{#3#1}]{#3(#2)\@thmcounterend\ }}
871
872 % initialize theorem environment
873
874 \if@envcntsect
875    \def\@thmcountersep{.}
876    \spnewtheorem{theorem}{Theorem}[section]{\bfseries}{\itshape}
877 \else
878    \spnewtheorem{theorem}{Theorem}{\bfseries}{\itshape}
879    \if@envcntreset
880       \@addtoreset{theorem}{section}
881    \else
882       \@addtoreset{theorem}{chapter}
883    \fi
884 \fi
885
886 %definition of divers theorem environments
887 \spnewtheorem*{claim}{Claim}{\itshape}{\rmfamily}
888 \spnewtheorem*{proof}{Proof}{\itshape}{\rmfamily}
889 \if@envcntsame % all environments like "Theorem" - using its counter
890    \def\spn@wtheorem#1#2#3#4{\@spothm{#1}[theorem]{#2}{#3}{#4}}
891 \else % all environments with their own counter
892    \if@envcntsect % show section counter
893       \def\spn@wtheorem#1#2#3#4{\@spxnthm{#1}{#2}[section]{#3}{#4}}
894    \else % not numbered with section
895       \if@envcntreset
896          \def\spn@wtheorem#1#2#3#4{\@spynthm{#1}{#2}{#3}{#4}
897                                    \@addtoreset{#1}{section}}
898       \else
899          \let\spn@wtheorem=\@spynthm
900       \fi
901    \fi
902 \fi
903 %
904 \let\spdefaulttheorem=\spn@wtheorem
905 %
906 \spn@wtheorem{case}{Case}{\itshape}{\rmfamily}
907 \spn@wtheorem{conjecture}{Conjecture}{\itshape}{\rmfamily}
908 \spn@wtheorem{corollary}{Corollary}{\bfseries}{\itshape}
909 \spn@wtheorem{definition}{Definition}{\bfseries}{\rmfamily}
910 \spn@wtheorem{example}{Example}{\itshape}{\rmfamily}
911 \spn@wtheorem{exercise}{Exercise}{\bfseries}{\rmfamily}
912 \spn@wtheorem{lemma}{Lemma}{\bfseries}{\itshape}
913 \spn@wtheorem{note}{Note}{\itshape}{\rmfamily}
914 \spn@wtheorem{problem}{Problem}{\bfseries}{\rmfamily}
915 \spn@wtheorem{property}{Property}{\itshape}{\rmfamily}
916 \spn@wtheorem{proposition}{Proposition}{\bfseries}{\itshape}
917 \spn@wtheorem{question}{Question}{\itshape}{\rmfamily}
918 \spn@wtheorem{solution}{Solution}{\bfseries}{\rmfamily}
919 \spn@wtheorem{remark}{Remark}{\itshape}{\rmfamily}
920 %
921 \newenvironment{theopargself}
922     {\def\@spopargbegintheorem##1##2##3##4##5{\trivlist
923          \item[\hskip\labelsep{##4##1\ ##2}]{##4##3\@thmcounterend\ }##5}
924      \def\@Opargbegintheorem##1##2##3##4{##4\trivlist
925          \item[\hskip\labelsep{##3##1}]{##3##2\@thmcounterend\ }}}{}
926 \newenvironment{theopargself*}
927     {\def\@spopargbegintheorem##1##2##3##4##5{\trivlist
928          \item[\hskip\labelsep{##4##1\ ##2}]{\hspace*{-\labelsep}##4##3\@thmcounterend}##5}
929      \def\@Opargbegintheorem##1##2##3##4{##4\trivlist
930          \item[\hskip\labelsep{##3##1}]{\hspace*{-\labelsep}##3##2\@thmcounterend}}}{}
931 %
932 \fi
933
934 \def\@takefromreset#1#2{%
935     \def\@tempa{#1}%
936     \let\@tempd\@elt
937     \def\@elt##1{%
938         \def\@tempb{##1}%
939         \ifx\@tempa\@tempb\else
940             \@addtoreset{##1}{#2}%
941         \fi}%
942     \expandafter\expandafter\let\expandafter\@tempc\csname cl@#2\endcsname
943     \expandafter\def\csname cl@#2\endcsname{}%
944     \@tempc
945     \let\@elt\@tempd}
946
947 \def\squareforqed{\hbox{\rlap{$\sqcap$}$\sqcup$}}
948 \def\qed{\ifmmode\else\unskip\quad\fi\squareforqed}
949 \def\smartqed{\def\qed{\ifmmode\squareforqed\else{\unskip\nobreak\hfil
950 \penalty50\hskip1em\null\nobreak\hfil\squareforqed
951 \parfillskip=0pt\finalhyphendemerits=0\endgraf}\fi}}
952
953 % Define `abstract' environment
954 \def\abstract{\topsep=0pt\partopsep=0pt\parsep=0pt\itemsep=0pt\relax
955 \trivlist\item[\hskip\labelsep
956 {\bfseries\abstractname}]\if!\abstractname!\hskip-\labelsep\fi}
957 \if@twocolumn
958   \if@avier
959     \def\endabstract{\endtrivlist\addvspace{5mm}\strich}
960     \def\strich{\hrule\vskip1ptplus12pt}
961   \else
962     \def\endabstract{\endtrivlist\addvspace{3mm}}
963   \fi
964 \else
965 \fi
966 %
967 \newenvironment{verse}
968                {\let\\\@centercr
969                 \list{}{\itemsep      \z@
970                         \itemindent   -1.5em%
971                         \listparindent\itemindent
972                         \rightmargin  \leftmargin
973                         \advance\leftmargin 1.5em}%
974                 \item\relax}
975                {\endlist}
976 \newenvironment{quotation}
977                {\list{}{\listparindent 1.5em%
978                         \itemindent    \listparindent
979                         \rightmargin   \leftmargin
980                         \parsep        \z@ \@plus\p@}%
981                 \item\relax}
982                {\endlist}
983 \newenvironment{quote}
984                {\list{}{\rightmargin\leftmargin}%
985                 \item\relax}
986                {\endlist}
987 \newcommand\appendix{\par\small
988   \setcounter{section}{0}%
989   \setcounter{subsection}{0}%
990   \renewcommand\thesection{\@Alph\c@section}}
991 \setlength\arraycolsep{1.5\p@}
992 \setlength\tabcolsep{6\p@}
993 \setlength\arrayrulewidth{.4\p@}
994 \setlength\doublerulesep{2\p@}
995 \setlength\tabbingsep{\labelsep}
996 \skip\@mpfootins = \skip\footins
997 \setlength\fboxsep{3\p@}
998 \setlength\fboxrule{.4\p@}
999 \renewcommand\theequation{\@arabic\c@equation}
1000 \newcounter{figure}
1001 \renewcommand\thefigure{\@arabic\c@figure}
1002 \def\fps@figure{tbp}
1003 \def\ftype@figure{1}
1004 \def\ext@figure{lof}
1005 \def\fnum@figure{\figurename~\thefigure}
1006 \newenvironment{figure}
1007                {\@float{figure}}
1008                {\end@float}
1009 \newenvironment{figure*}
1010                {\@dblfloat{figure}}
1011                {\end@dblfloat}
1012 \newcounter{table}
1013 \renewcommand\thetable{\@arabic\c@table}
1014 \def\fps@table{tbp}
1015 \def\ftype@table{2}
1016 \def\ext@table{lot}
1017 \def\fnum@table{\tablename~\thetable}
1018 \newenvironment{table}
1019                {\@float{table}}
1020                {\end@float}
1021 \newenvironment{table*}
1022                {\@dblfloat{table}}
1023                {\end@dblfloat}
1024 %
1025 \def \@floatboxreset {%
1026         \reset@font
1027         \small
1028         \@setnobreak
1029         \@setminipage
1030 }
1031 %
1032 \newcommand{\tableheadseprule}{\noalign{\hrule height.375mm}}
1033 %
1034 \newlength\abovecaptionskip
1035 \newlength\belowcaptionskip
1036 \setlength\abovecaptionskip{10\p@}
1037 \setlength\belowcaptionskip{0\p@}
1038 \newcommand\leftlegendglue{}
1039
1040 \def\fig@type{figure}
1041
1042 \newdimen\figcapgap\figcapgap=3pt
1043 \newdimen\tabcapgap\tabcapgap=5.5pt
1044
1045 \@ifundefined{floatlegendstyle}{\def\floatlegendstyle{\bfseries}}{}
1046
1047 \long\def\@caption#1[#2]#3{\par\addcontentsline{\csname
1048   ext@#1\endcsname}{#1}{\protect\numberline{\csname
1049   the#1\endcsname}{\ignorespaces #2}}\begingroup
1050     \@parboxrestore
1051     \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
1052   \endgroup}
1053
1054 \def\capstrut{\vrule\@width\z@\@height\topskip}
1055
1056 \@ifundefined{captionstyle}{\def\captionstyle{\normalfont\small}}{}
1057
1058 \long\def\@makecaption#1#2{%
1059  \captionstyle
1060  \ifx\@captype\fig@type
1061    \vskip\figcapgap
1062  \fi
1063  \setbox\@tempboxa\hbox{{\floatlegendstyle #1\floatcounterend}%
1064  \capstrut #2}%
1065  \ifdim \wd\@tempboxa >\hsize
1066    {\floatlegendstyle #1\floatcounterend}\capstrut #2\par
1067  \else
1068    \hbox to\hsize{\leftlegendglue\unhbox\@tempboxa\hfil}%
1069  \fi
1070  \ifx\@captype\fig@type\else
1071    \vskip\tabcapgap
1072  \fi}
1073
1074 \newdimen\figgap\figgap=1cc
1075 \long\def\@makesidecaption#1#2{%
1076    \parbox[b]{\@tempdimb}{\captionstyle{\floatlegendstyle
1077                                          #1\floatcounterend}#2}}
1078 \def\sidecaption#1\caption{%
1079 \setbox\@tempboxa=\hbox{#1\unskip}%
1080 \if@twocolumn
1081  \ifdim\hsize<\textwidth\else
1082    \ifdim\wd\@tempboxa<\columnwidth
1083       \typeout{Double column float fits into single column -
1084             ^^Jyou'd better switch the environment. }%
1085    \fi
1086  \fi
1087 \fi
1088 \@tempdimb=\hsize
1089 \advance\@tempdimb by-\figgap
1090 \advance\@tempdimb by-\wd\@tempboxa
1091 \ifdim\@tempdimb<3cm
1092     \typeout{\string\sidecaption: No sufficient room for the legend;
1093              using normal \string\caption. }%
1094    \unhbox\@tempboxa
1095    \let\@capcommand=\@caption
1096 \else
1097    \let\@capcommand=\@sidecaption
1098    \leavevmode
1099    \unhbox\@tempboxa
1100    \hfill
1101 \fi
1102 \refstepcounter\@captype
1103 \@dblarg{\@capcommand\@captype}}
1104
1105 \long\def\@sidecaption#1[#2]#3{\addcontentsline{\csname
1106   ext@#1\endcsname}{#1}{\protect\numberline{\csname
1107   the#1\endcsname}{\ignorespaces #2}}\begingroup
1108     \@parboxrestore
1109     \@makesidecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
1110   \endgroup}
1111
1112 % Define `acknowledgement' environment
1113 \def\acknowledgement{\par\addvspace{17pt}\small\rmfamily
1114 \trivlist\if!\ackname!\item[]\else
1115 \item[\hskip\labelsep
1116 {\bfseries\ackname}]\fi}
1117 \def\endacknowledgement{\endtrivlist\addvspace{6pt}}
1118 \newenvironment{acknowledgements}{\begin{acknowledgement}}
1119 {\end{acknowledgement}}
1120 % Define `noteadd' environment
1121 \def\noteadd{\par\addvspace{17pt}\small\rmfamily
1122 \trivlist\item[\hskip\labelsep
1123 {\itshape\noteaddname}]}
1124 \def\endnoteadd{\endtrivlist\addvspace{6pt}}
1125
1126 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
1127 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
1128 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
1129 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
1130 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
1131 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
1132 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
1133 \DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal}
1134 \DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal}
1135 \newcommand\@pnumwidth{1.55em}
1136 \newcommand\@tocrmarg{2.55em}
1137 \newcommand\@dotsep{4.5}
1138 \setcounter{tocdepth}{1}
1139 \newcommand\tableofcontents{%
1140     \section*{\contentsname}%
1141     \@starttoc{toc}%
1142     \addtocontents{toc}{\begingroup\protect\small}%
1143     \AtEndDocument{\addtocontents{toc}{\endgroup}}%
1144     }
1145 \newcommand*\l@part[2]{%
1146   \ifnum \c@tocdepth >-2\relax
1147     \addpenalty\@secpenalty
1148     \addvspace{2.25em \@plus\p@}%
1149     \begingroup
1150       \setlength\@tempdima{3em}%
1151       \parindent \z@ \rightskip \@pnumwidth
1152       \parfillskip -\@pnumwidth
1153       {\leavevmode
1154        \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
1155        \nobreak
1156        \if@compatibility
1157          \global\@nobreaktrue
1158          \everypar{\global\@nobreakfalse\everypar{}}%
1159       \fi
1160     \endgroup
1161   \fi}
1162 \newcommand*\l@section{\@dottedtocline{1}{0pt}{1.5em}}
1163 \newcommand*\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
1164 \newcommand*\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
1165 \newcommand*\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}}
1166 \newcommand*\l@subparagraph{\@dottedtocline{5}{10em}{5em}}
1167 \newcommand\listoffigures{%
1168     \section*{\listfigurename
1169       \@mkboth{\listfigurename}%
1170               {\listfigurename}}%
1171     \@starttoc{lof}%
1172     }
1173 \newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
1174 \newcommand\listoftables{%
1175     \section*{\listtablename
1176       \@mkboth{\listtablename}{\listtablename}}%
1177     \@starttoc{lot}%
1178     }
1179 \let\l@table\l@figure
1180 \newdimen\bibindent
1181 \setlength\bibindent{\parindent}
1182 \def\@biblabel#1{#1.}
1183 \def\@lbibitem[#1]#2{\item[{[#1]}\hfill]\if@filesw
1184       {\let\protect\noexpand
1185        \immediate
1186        \write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces}
1187 \newenvironment{thebibliography}[1]
1188      {\section*{\refname
1189         \@mkboth{\refname}{\refname}}\small
1190       \list{\@biblabel{\@arabic\c@enumiv}}%
1191            {\settowidth\labelwidth{\@biblabel{#1}}%
1192             \leftmargin\labelwidth
1193             \advance\leftmargin\labelsep
1194             \@openbib@code
1195             \usecounter{enumiv}%
1196             \let\p@enumiv\@empty
1197             \renewcommand\theenumiv{\@arabic\c@enumiv}}%
1198       \sloppy\clubpenalty4000\widowpenalty4000%
1199       \sfcode`\.\@m}
1200      {\def\@noitemerr
1201        {\@latex@warning{Empty `thebibliography' environment}}%
1202       \endlist}
1203 %
1204 \newcount\@tempcntc
1205 \def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
1206   \@tempcnta\z@\@tempcntb\m@ne\def\@citea{}\@cite{\@for\@citeb:=#2\do
1207     {\@ifundefined
1208        {b@\@citeb}{\@citeo\@tempcntb\m@ne\@citea\def\@citea{,}{\bfseries
1209         ?}\@warning
1210        {Citation `\@citeb' on page \thepage \space undefined}}%
1211     {\setbox\z@\hbox{\global\@tempcntc0\csname b@\@citeb\endcsname\relax}%
1212      \ifnum\@tempcntc=\z@ \@citeo\@tempcntb\m@ne
1213        \@citea\def\@citea{,\hskip0.1em\ignorespaces}\hbox{\csname b@\@citeb\endcsname}%
1214      \else
1215       \advance\@tempcntb\@ne
1216       \ifnum\@tempcntb=\@tempcntc
1217       \else\advance\@tempcntb\m@ne\@citeo
1218       \@tempcnta\@tempcntc\@tempcntb\@tempcntc\fi\fi}}\@citeo}{#1}}
1219 \def\@citeo{\ifnum\@tempcnta>\@tempcntb\else
1220             \@citea\def\@citea{,\hskip0.1em\ignorespaces}%
1221   \ifnum\@tempcnta=\@tempcntb\the\@tempcnta\else
1222    {\advance\@tempcnta\@ne\ifnum\@tempcnta=\@tempcntb \else \def\@citea{--}\fi
1223     \advance\@tempcnta\m@ne\the\@tempcnta\@citea\the\@tempcntb}\fi\fi}
1224 %
1225 \newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
1226 \let\@openbib@code\@empty
1227 \newenvironment{theindex}
1228                {\if@twocolumn
1229                   \@restonecolfalse
1230                 \else
1231                   \@restonecoltrue
1232                 \fi
1233                 \columnseprule \z@
1234                 \columnsep 35\p@
1235                 \twocolumn[\section*{\indexname}]%
1236                 \@mkboth{\indexname}{\indexname}%
1237                 \thispagestyle{plain}\parindent\z@
1238                 \parskip\z@ \@plus .3\p@\relax
1239                 \let\item\@idxitem}
1240                {\if@restonecol\onecolumn\else\clearpage\fi}
1241 \newcommand\@idxitem{\par\hangindent 40\p@}
1242 \newcommand\subitem{\@idxitem \hspace*{20\p@}}
1243 \newcommand\subsubitem{\@idxitem \hspace*{30\p@}}
1244 \newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
1245
1246 \if@twocolumn
1247  \renewcommand\footnoterule{%
1248   \kern-3\p@
1249   \hrule\@width\columnwidth
1250   \kern2.6\p@}
1251 \else
1252  \renewcommand\footnoterule{%
1253   \kern-3\p@
1254   \hrule\@width.382\columnwidth
1255   \kern2.6\p@}
1256 \fi
1257 \newcommand\@makefntext[1]{%
1258     \noindent
1259     \hb@xt@\bibindent{\hss\@makefnmark\enspace}#1}
1260 %
1261 \def\trans@english{\switcht@albion}
1262 \def\trans@french{\switcht@francais}
1263 \def\trans@german{\switcht@deutsch}
1264 \newenvironment{translation}[1]{\if!#1!\else
1265 \@ifundefined{selectlanguage}{\csname trans@#1\endcsname}{\selectlanguage{#1}}%
1266 \fi}{}
1267 % languages
1268 % English section
1269 \def\switcht@albion{%\typeout{English spoken.}%
1270  \def\abstractname{Abstract}%
1271  \def\ackname{Acknowledgements}%
1272  \def\andname{and}%
1273  \def\lastandname{, and}%
1274  \def\appendixname{Appendix}%
1275  \def\chaptername{Chapter}%
1276  \def\claimname{Claim}%
1277  \def\conjecturename{Conjecture}%
1278  \def\contentsname{Contents}%
1279  \def\corollaryname{Corollary}%
1280  \def\definitionname{Definition}%
1281  \def\emailname{E-mail}%
1282  \def\examplename{Example}%
1283  \def\exercisename{Exercise}%
1284  \def\figurename{Fig.}%
1285  \def\keywordname{{\bfseries Keywords}}%
1286  \def\indexname{Index}%
1287  \def\lemmaname{Lemma}%
1288  \def\contriblistname{List of Contributors}%
1289  \def\listfigurename{List of Figures}%
1290  \def\listtablename{List of Tables}%
1291  \def\mailname{{\itshape Correspondence to\/}:}%
1292  \def\noteaddname{Note added in proof}%
1293  \def\notename{Note}%
1294  \def\partname{Part}%
1295  \def\problemname{Problem}%
1296  \def\proofname{Proof}%
1297  \def\propertyname{Property}%
1298  \def\questionname{Question}%
1299  \def\refname{References}%
1300  \def\remarkname{Remark}%
1301  \def\seename{see}%
1302  \def\solutionname{Solution}%
1303  \def\tablename{Table}%
1304  \def\theoremname{Theorem}%
1305 }\switcht@albion % make English default
1306 %
1307 % French section
1308 \def\switcht@francais{\svlanginfo
1309 %\typeout{On parle francais.}%
1310  \def\abstractname{R\'esum\'e\runinend}%
1311  \def\ackname{Remerciements\runinend}%
1312  \def\andname{et}%
1313  \def\lastandname{ et}%
1314  \def\appendixname{Appendice}%
1315  \def\chaptername{Chapitre}%
1316  \def\claimname{Pr\'etention}%
1317  \def\conjecturename{Hypoth\`ese}%
1318  \def\contentsname{Table des mati\`eres}%
1319  \def\corollaryname{Corollaire}%
1320  \def\definitionname{D\'efinition}%
1321  \def\emailname{E-mail}%
1322  \def\examplename{Exemple}%
1323  \def\exercisename{Exercice}%
1324  \def\figurename{Fig.}%
1325  \def\keywordname{{\bfseries Mots-cl\'e\runinend}}%
1326  \def\indexname{Index}%
1327  \def\lemmaname{Lemme}%
1328  \def\contriblistname{Liste des contributeurs}%
1329  \def\listfigurename{Liste des figures}%
1330  \def\listtablename{Liste des tables}%
1331  \def\mailname{{\itshape Correspondence to\/}:}%
1332  \def\noteaddname{Note ajout\'ee \`a l'\'epreuve}%
1333  \def\notename{Remarque}%
1334  \def\partname{Partie}%
1335  \def\problemname{Probl\`eme}%
1336  \def\proofname{Preuve}%
1337  \def\propertyname{Caract\'eristique}%
1338 %\def\propositionname{Proposition}%
1339  \def\questionname{Question}%
1340  \def\refname{Bibliographie}%
1341  \def\remarkname{Remarque}%
1342  \def\seename{voyez}%
1343  \def\solutionname{Solution}%
1344 %\def\subclassname{{\it Subject Classifications\/}:}%
1345  \def\tablename{Tableau}%
1346  \def\theoremname{Th\'eor\`eme}%
1347 }
1348 %
1349 % German section
1350 \def\switcht@deutsch{\svlanginfo
1351 %\typeout{Man spricht deutsch.}%
1352  \def\abstractname{Zusammenfassung\runinend}%
1353  \def\ackname{Danksagung\runinend}%
1354  \def\andname{und}%
1355  \def\lastandname{ und}%
1356  \def\appendixname{Anhang}%
1357  \def\chaptername{Kapitel}%
1358  \def\claimname{Behauptung}%
1359  \def\conjecturename{Hypothese}%
1360  \def\contentsname{Inhaltsverzeichnis}%
1361  \def\corollaryname{Korollar}%
1362 %\def\definitionname{Definition}%
1363  \def\emailname{E-Mail}%
1364  \def\examplename{Beispiel}%
1365  \def\exercisename{\"Ubung}%
1366  \def\figurename{Abb.}%
1367  \def\keywordname{{\bfseries Schl\"usselw\"orter\runinend}}%
1368  \def\indexname{Index}%
1369 %\def\lemmaname{Lemma}%
1370  \def\contriblistname{Mitarbeiter}%
1371  \def\listfigurename{Abbildungsverzeichnis}%
1372  \def\listtablename{Tabellenverzeichnis}%
1373  \def\mailname{{\itshape Correspondence to\/}:}%
1374  \def\noteaddname{Nachtrag}%
1375  \def\notename{Anmerkung}%
1376  \def\partname{Teil}%
1377 %\def\problemname{Problem}%
1378  \def\proofname{Beweis}%
1379  \def\propertyname{Eigenschaft}%
1380 %\def\propositionname{Proposition}%
1381  \def\questionname{Frage}%
1382  \def\refname{Literatur}%
1383  \def\remarkname{Anmerkung}%
1384  \def\seename{siehe}%
1385  \def\solutionname{L\"osung}%
1386 %\def\subclassname{{\it Subject Classifications\/}:}%
1387  \def\tablename{Tabelle}%
1388 %\def\theoremname{Theorem}%
1389 }
1390 \newcommand\today{}
1391 \edef\today{\ifcase\month\or
1392   January\or February\or March\or April\or May\or June\or
1393   July\or August\or September\or October\or November\or December\fi
1394   \space\number\day, \number\year}
1395 \setlength\columnsep{1.5cc}
1396 \setlength\columnseprule{0\p@}
1397 %
1398 \frenchspacing
1399 \clubpenalty=10000
1400 \widowpenalty=10000
1401 \def\thisbottomragged{\def\@textbottom{\vskip\z@ plus.0001fil
1402 \global\let\@textbottom\relax}}
1403 \pagestyle{headings}
1404 \pagenumbering{arabic}
1405 \if@twocolumn
1406    \twocolumn
1407 \fi
1408 \if@avier
1409    \onecolumn
1410    \setlength{\textwidth}{156mm}
1411    \setlength{\textheight}{226mm}
1412 \fi
1413 \if@referee
1414    \makereferee
1415 \fi
1416 \flushbottom
1417 \endinput
1418 %%
1419 %% End of file `svjour2.cls'.