Debian Codegraph @

texmf-dist/tex/latex/amscls/amsproc.cls

raw
1 %%
2 %% This is file `amsproc.cls',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% amsclass.dtx (with options: `amsproc,classes')
8 %% This is a generated file.
9 %%
10 %% Copyright 1995, 1999, 2004, 2009-2020 American Mathematical Society.
11 %%
12 %% American Mathematical Society
13 %% Technical Support
14 %% Publications Technical Group
15 %% 201 Charles Street
16 %% Providence, RI 02904
17 %% USA
18 %% tel: (401) 455-4080
19 %% (800) 321-4267 (USA and Canada only)
20 %% fax: (401) 331-3842
21 %% email: [email protected]
22 %%
23 %% This work may be distributed and/or modified under the
24 %% conditions of the LaTeX Project Public License, either version 1.3c
25 %% of this license or (at your option) any later version.
26 %% The latest version of this license is in
27 %% http://www.latex-project.org/lppl.txt
28 %% and version 1.3c or later is part of all distributions of LaTeX
29 %% version 2005/12/01 or later.
30 %%
31 %% This work has the LPPL maintenance status `maintained'.
32 %%
33 %% The Current Maintainer of this work is the American Mathematical
34 %% Society.
35 %%
36 %% ========================================================================
37 %%
38 \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX)
39 [1995/06/01]% LaTeX date must be June 1995 or later
40 \ProvidesClass{amsproc}[2020/05/29 v2.20.6]
41 \global\expandafter\let\csname [email protected]\expandafter\endcsname
42 \csname ver@\@currname.\@currext\endcsname
43 \let\@xp=\expandafter
44 \let\@nx=\noexpand
45 \def\@oparg#1[#2]{\@ifnextchar[{#1}{#1[#2]}}
46 \long\def\@ifempty#1{\@xifempty#1@@..\@nil}
47 \long\def\@xifempty#1#2@#3#4#5\@nil{%
48 \ifx#3#4\@xp\@firstoftwo\else\@xp\@secondoftwo\fi}
49 \long\def\@ifnotempty#1{\@ifempty{#1}{}}
50 \def\setboxz@h{\setbox\z@\hbox}
51 \def\@addpunct#1{%
52 \relax\ifhmode
53 \ifnum\spacefactor>\@m \else#1\fi
54 \fi}
55 \def\nopunct{\spacefactor 1007 }
56 \def\frenchspacing{\sfcode`\.1006\sfcode`\?1005\sfcode`\!1004%
57 \sfcode`\:1003\sfcode`\;1002\sfcode`\,1001 }
58 \def\@tempa#1#2\@nil{\edef\@classname{#1}}
59 \expandafter\@tempa\@currnamestack{}{}{}\@nil
60 \ifx\@classname\@empty \edef\@classname{\@currname}\fi
61 \def\@True{00}
62 \def\@False{01}
63 \newcommand\newswitch[2][False]{%
64 \expandafter\@ifdefinable\csname ?@#2\endcsname{%
65 \global\expandafter\let\csname ?@#2\expandafter\endcsname
66 \csname @#1\endcsname
67 }%
68 }
69 \newcommand{\setFalse}[1]{%
70 \expandafter\let\csname ?@#1\endcsname\@False
71 }
72 \newcommand{\setTrue}[1]{%
73 \expandafter\let\csname ?@#1\endcsname\@True
74 }
75 \newswitch{}
76 \DeclareRobustCommand{\except}[1]{%
77 \if\csname ?@#1\endcsname \expandafter\@gobble
78 \else \expandafter\@firstofone
79 \fi
80 }
81 \DeclareRobustCommand{\for}[1]{%
82 \if\csname ?@#1\endcsname \expandafter\@firstofone
83 \else \expandafter\@gobble
84 \fi
85 }
86 \DeclareRobustCommand{\forany}[1]{%
87 \csname for@any@01\endcsname#1,?,\@nil
88 }
89 \@namedef{for@any@\@False}#1,{%
90 \csname for@any@%
91 \csname ?@\zap@space#1 \@empty\endcsname
92 \endcsname
93 }
94 \@namedef{?@?}{x}
95 \@namedef{for@any@\@True}#1\@nil#2{#2}
96 \def\for@any@x{\@car\@gobble}
97 \DeclareOption{a4paper}{\paperheight 297mm\paperwidth 210mm
98 \textheight 54.5pc }
99 \DeclareOption{letterpaper}{\paperheight 11in\paperwidth 8.5in }
100 \DeclareOption{landscape}{\@tempdima\paperheight
101 \paperheight\paperwidth \paperwidth\@tempdima}
102 \DeclareOption{portrait}{}
103 \DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
104 \DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue}
105 \DeclareOption{draft}{\overfullrule5\p@
106 \ClassWarningNoLine{\@classname}{%
107 When the draft option is used, the
108 \protect\includegraphics\MessageBreak
109 command will print blank placeholder boxes\MessageBreak
110 for the graphics}%
111 }
112 \DeclareOption{final}{\overfullrule\z@ }
113 \def\dateposted#1{\def\@dateposted{#1}}%
114 \let\@dateposted\@empty
115 \def\@logofont{\fontsize{6}{7\p@}\selectfont}
116 \long\def\set@logo#1{%
117 \vbox to\headheight{%
118 \@parboxrestore \@logofont
119 \noindent#1\par\vss
120 }%
121 }
122 \def\procart@logo{%
123 \set@logo{\publname
124 \ifx\@empty\volinfo \else\newline\volinfo\fi}%
125 }
126 \newif\if@titlepage
127 \DeclareOption{titlepage}{\@titlepagetrue}
128 \DeclareOption{notitlepage}{\@titlepagefalse}
129 \DeclareOption{onecolumn}{\@twocolumnfalse}
130 \DeclareOption{twocolumn}{\@twocolumntrue}
131 \DeclareOption{nomath}{}
132 \DeclareOption{noamsfonts}{}
133 \DeclareOption{psamsfonts}{%
134 \PassOptionsToPackage{psamsfonts}{amsfonts}%
135 \PassOptionsToPackage{cmex10}{amsmath}}
136 \newif\iftagsleft@
137 \DeclareOption{leqno}{%
138 \tagsleft@true \PassOptionsToPackage{leqno}{amsmath}}
139 \DeclareOption{reqno}{%
140 \tagsleft@false \PassOptionsToPackage{reqno}{amsmath}}
141 \newif\ifctagsplit@
142 \DeclareOption{centertags}{%
143 \ctagsplit@true \PassOptionsToPackage{centertags}{amsmath}}
144 \DeclareOption{tbtags}{%
145 \ctagsplit@false \PassOptionsToPackage{tbtags}{amsmath}}
146 \DeclareOption{fleqn}{}%
147 \newcommand{\@mainsize}{10}
148 \newcommand{\@ptsize}{0}
149 \newcommand{\larger}[1][1]{%
150 \count@\@currsizeindex \advance\count@#1\relax
151 \ifnum\count@<\z@ \count@\z@ \else\ifnum\count@>12 \count@12 \fi\fi
152 \ifcase\count@
153 \Tiny\or\Tiny\or\tiny\or\SMALL\or\Small\or\small
154 \or\normalsize
155 \or\large\or\Large\or\LARGE\or\huge\or\Huge\else\Huge
156 \fi
157 }
158 \newcommand{\smaller}[1][1]{\larger[-#1]}
159 \def\@adjustvertspacing{%
160 \bigskipamount.7\baselineskip plus.7\baselineskip
161 \medskipamount\bigskipamount \divide\medskipamount\tw@
162 \smallskipamount\medskipamount \divide\smallskipamount\tw@
163 \abovedisplayskip\medskipamount
164 \belowdisplayskip \abovedisplayskip
165 \abovedisplayshortskip\abovedisplayskip
166 \advance\abovedisplayshortskip-1\abovedisplayskip
167 \belowdisplayshortskip\abovedisplayshortskip
168 \advance\belowdisplayshortskip 1\smallskipamount
169 \jot\baselineskip \divide\jot 4 \relax
170 }
171 \renewcommand\normalsize{\@xsetfontsize\normalsize 6%
172 \@adjustvertspacing \let\@listi\@listI}
173 \DeclareRobustCommand{\Tiny}{\@xsetfontsize\Tiny 1}
174 \DeclareRobustCommand{\tiny}{\@xsetfontsize\tiny 2}
175 \DeclareRobustCommand{\SMALL}{\@xsetfontsize\SMALL 3}
176 \DeclareRobustCommand{\Small}{\@xsetfontsize\Small 4%
177 \@adjustvertspacing
178 \def\@listi{\topsep\smallskipamount \parsep\z@skip \itemsep\z@skip
179 \leftmargin=\leftmargini
180 \labelwidth=\leftmargini \advance\labelwidth-\labelsep
181 }%
182 }
183 \DeclareRobustCommand{\small}{\@xsetfontsize\small 5\@adjustvertspacing}
184 \def\footnotesize{\Small}
185 \def\scriptsize{\SMALL}
186 \DeclareRobustCommand{\large}{\@xsetfontsize\large 7\@adjustvertspacing}
187 \DeclareRobustCommand{\Large}{\@xsetfontsize\Large 8\@adjustvertspacing}
188 \DeclareRobustCommand{\LARGE}{\@xsetfontsize\LARGE 9}
189 \DeclareRobustCommand{\huge}{\@xsetfontsize\huge{10}}
190 \DeclareRobustCommand{\Huge}{\@xsetfontsize\Huge{11}}
191 \def\@xsetfontsize#1#2{%
192 \chardef\@currsizeindex#2\relax
193 \edef\@tempa{\@nx\@setfontsize\@nx#1%
194 \@xp\ifcase\@xp\@currsizeindex\@typesizes
195 \else{99}{99}\fi}%
196 \@tempa
197 }
198 \chardef\@currsizeindex=6
199 \widowpenalty=10000
200 \clubpenalty=10000
201 \brokenpenalty=10000
202 \newdimen\linespacing
203 \lineskip=1pt \lineskiplimit=1pt
204 \normallineskip=1pt \normallineskiplimit=1pt
205 \let\baselinestretch=\@empty
206 \headheight=8pt \headsep=14pt
207 \footskip=12pt
208 \textheight=50.5pc \topskip=10pt
209 \textwidth=30pc
210 \columnsep=10pt \columnseprule=0pt
211 \marginparwidth=90pt
212 \marginparsep=11pt
213 \marginparpush=5pt
214 \AtBeginDocument{\settoheight{\footnotesep}{\footnotesize M$^1$}}
215 \skip\footins=7pt plus11pt
216 \skip\@mpfootins=\skip\footins
217 \fboxsep=3pt \fboxrule=.4pt
218 \arrayrulewidth=.4pt \doublerulesep=2pt
219 \labelsep=5pt \arraycolsep=\labelsep
220 \tabcolsep=\labelsep \tabbingsep=\labelsep
221 \floatsep=15pt plus 12pt \dblfloatsep=15pt plus 12pt
222 \textfloatsep=\floatsep \dbltextfloatsep=15pt plus 12pt
223 \intextsep=\floatsep
224 \@fptop=0pt plus1fil \@dblfptop=0pt plus1fil
225 \@fpbot=0pt plus1fil \@dblfpbot=0pt plus1fil
226 \@fpsep=8pt plus2fil \@dblfpsep=8pt plus2fil\relax
227 \parskip=0pt \relax
228 \newdimen\normalparindent
229 \normalparindent=18pt
230 \parindent=\normalparindent
231 \partopsep=0pt \relax \parsep=0pt \relax \itemsep=0pt \relax
232 \@lowpenalty=51 \@medpenalty=151 \@highpenalty=301
233 \@beginparpenalty=-\@lowpenalty
234 \@endparpenalty=-\@lowpenalty
235 \@itempenalty=-\@lowpenalty
236 \DeclareOption{10pt}{\def\@mainsize{10}\def\@ptsize{0}%
237 \def\@typesizes{%
238 \or{5}{6}\or{6}{7}\or{7}{8}\or{8}{10}\or{9}{11}%
239 \or{10}{12}% normalsize
240 \or{\@xipt}{13}\or{\@xiipt}{14}\or{\@xivpt}{17}%
241 \or{\@xviipt}{20}\or{\@xxpt}{24}}%
242 \normalsize \linespacing=\baselineskip
243 }
244 \DeclareOption{11pt}{\def\@mainsize{11}\def\@ptsize{1}%
245 \def\@typesizes{%
246 \or{6}{7}\or{7}{8}\or{8}{10}\or{9}{11}\or{10}{12}%
247 \or{\@xipt}{13}% normalsize
248 \or{\@xiipt}{14}\or{\@xivpt}{17}\or{\@xviipt}{20}%
249 \or{\@xxpt}{24}\or{\@xxvpt}{30}}%
250 \normalsize \linespacing=\baselineskip
251 }
252 \DeclareOption{12pt}{\def\@mainsize{12}\def\@ptsize{2}%
253 \def\@typesizes{%
254 \or{7}{8}\or{8}{10}\or{9}{11}\or{10}{12}\or{\@xipt}{13}%
255 \or{\@xiipt}{14}% normalsize
256 \or{\@xivpt}{17}\or{\@xviipt}{20}\or{\@xxpt}{24}%
257 \or{\@xxvpt}{30}\or{\@xxvpt}{30}}%
258 \normalsize \linespacing=\baselineskip
259 }
260 \DeclareOption{8pt}{\def\@mainsize{8}\def\@ptsize{8}%
261 \def\@typesizes{%
262 \or{5}{6}\or{5}{6}\or{5}{6}\or{6}{7}\or{7}{8}%
263 \or{8}{10}% normalsize
264 \or{9}{11}\or{10}{12}\or{\@xipt}{13}%
265 \or{\@xiipt}{14}\or{\@xivpt}{17}}%
266 \normalsize \linespacing=\baselineskip
267 }
268 \DeclareOption{9pt}{\def\@mainsize{9}\def\@ptsize{9}%
269 \def\@typesizes{%
270 \or{5}{6}\or{5}{6}\or{6}{7}\or{7}{8}\or{8}{10}%
271 \or{9}{11}% normalsize
272 \or{10}{12}\or{\@xipt}{13}\or{\@xiipt}{14}%
273 \or{\@xivpt}{17}\or{\@xviipt}{20}}%
274 \normalsize \linespacing=\baselineskip
275 }
276 \def\ps@empty{\let\@mkboth\@gobbletwo
277 \let\@oddhead\@empty \let\@evenhead\@empty
278 \let\@oddfoot\@empty \let\@evenfoot\@empty
279 \global\topskip\normaltopskip}
280 \def\ps@plain{\ps@empty
281 \def\@oddfoot{\normalfont\scriptsize \hfil\thepage\hfil}%
282 \let\@evenfoot\@oddfoot}
283 \newswitch{runhead}
284 \def\ps@headings{\ps@empty
285 \def\@evenhead{%
286 \setTrue{runhead}%
287 \normalfont\scriptsize
288 \rlap{\thepage}\hfil
289 \def\thanks{\protect\thanks@warning}%
290 \leftmark{}{}\hfil}%
291 \def\@oddhead{%
292 \setTrue{runhead}%
293 \normalfont\scriptsize \hfil
294 \def\thanks{\protect\thanks@warning}%
295 \rightmark{}{}\hfil \llap{\thepage}}%
296 \let\@mkboth\markboth
297 }
298 \let\sectionname\@empty
299 \let\subsectionname\@empty
300 \let\subsubsectionname\@empty
301 \let\paragraphname\@empty
302 \let\subparagraphname\@empty
303 \def\leftmark{\expandafter\@firstoftwo\topmark{}{}}
304 \def\rightmark{\expandafter\@secondoftwo\botmark{}{}}
305 \def\ps@firstpage{\ps@plain
306 \def\@oddfoot{\normalfont\scriptsize \hfil\thepage\hfil
307 \global\topskip\normaltopskip}%
308 \let\@evenfoot\@oddfoot
309 \def\@oddhead{\@serieslogo\hss}%
310 \let\@evenhead\@oddhead % in case an article starts on a left-hand page
311 }
312 \long\def\@nilgobble#1\@nil{}
313 \def\markboth#1#2{%
314 \begingroup
315 \@temptokena{{#1}{#2}}\xdef\@themark{\the\@temptokena}%
316 \mark{\the\@temptokena}%
317 \endgroup
318 \if@nobreak\ifvmode\nobreak\fi\fi}
319 \def\ps@myheadings{\ps@headings \let\@mkboth\@gobbletwo}
320 \newskip\normaltopskip
321 \normaltopskip=10pt \relax
322 \let\sectionmark\@gobble
323 \let\subsectionmark\@gobble
324 \let\subsubsectionmark\@gobble
325 \let\paragraphmark\@gobble
326
327 \DeclareOption{makeidx}{}
328 \ExecuteOptions{leqno,centertags,letterpaper,portrait,%
329 10pt,twoside,onecolumn,final}
330 \ProcessOptions\relax
331 \if@compatibility
332 \def\@tempa{\RequirePackage{amstex}\relax}%
333 \else
334 \@ifclasswith{\@classname}{nomath}{%
335 \let\@tempa\relax
336 }{%
337 \def\@tempa{\RequirePackage{amsmath}\relax}%
338 }%
339 \fi
340 \@tempa % load amstex.sty or amsmath.sty
341 \@ifundefined{numberwithin}{%
342 \newcommand{\numberwithin}[3][\arabic]{%
343 \@ifundefined{c@#2}{\@nocounterr{#2}}{%
344 \@ifundefined{c@#3}{\@nocnterr{#3}}{%
345 \@addtoreset{#2}{#3}%
346 \@xp\xdef\csname the#2\endcsname{%
347 \@xp\@nx\csname the#3\endcsname .\@nx#1{#2}}}}%
348 }
349 \csname newtoks\endcsname\@emptytoks
350 }{}
351 \if@compatibility
352 \else
353 \@ifclasswith{\@classname}{noamsfonts}{%
354 % amsfonts package is not wanted
355 }{%
356 % amsfonts package IS wanted; test whether a recent enough version
357 % seems to be installed
358 \begingroup \fontencoding{U}\fontfamily{msa}\try@load@fontshape\endgroup
359 \global\@xp\let\csname U+msa\endcsname\relax % reset
360 \@ifundefined{U/msa/m/n}{%
361 \ClassError{\@classname}{%
362 Package `amsfonts' not installed, or version too old?\MessageBreak
363 Unable to get font info for the `msam' fonts in the expected form%
364 }{%
365 The amsfonts package will not be loaded, to avoid probable\MessageBreak
366 incompatibility problems. You can (a) use the `noamsfonts'
367 documentclass\MessageBreak
368 option next time, or (b) check that the amsfonts package is
369 installed\MessageBreak
370 correctly, and is not too old to be compatible.%
371 }%
372 }{%
373 \RequirePackage{amsfonts}[1995/01/01]\relax
374 }%
375 }
376 \fi % end yesamsfonts branch
377 \let\cleardouble@page\cleardoublepage
378 \AtBeginDocument{%
379 \ifx\cleardouble@page\cleardoublepage
380 \def\cleardoublepage{\clearpage{\pagestyle{empty}\cleardouble@page}}
381 \fi
382 }
383 \newcommand{\uppercasenonmath}[1]{\toks@\@emptytoks
384 \@xp\@skipmath\@xp\@empty#1$$%
385 \edef#1{{\@nx\protect\@nx\@upprep\the\toks@}}%
386 }
387 \newcommand{\@upprep}{%
388 \spaceskip1.3\fontdimen2\font plus1.3\fontdimen3\font
389 \upchars@}
390 \newcommand{\upchars@}{%
391 \def\ss{SS}\def\i{I}\def\j{J}\def\ae{\AE}\def\oe{\OE}%
392 \def\o{\O}\def\aa{\AA}\def\l{\L}\def\Mc{M{\scshape c}}}
393 \providecommand{\Mc}{Mc}
394 \newcommand{\@skipmath}{}
395 \long\def\@skipmath#1$#2${%
396 \@xskipmath#1\(\)%
397 \@ifnotempty{#2}{\toks@\@xp{\the\toks@$#2$}\@skipmath\@empty}}%
398 \newcommand{\@xskipmath}{}
399 \long\def\@xskipmath#1\(#2\){%
400 \uppercase{\toks@\@xp\@xp\@xp{\@xp\the\@xp\toks@#1}}%
401 \@ifnotempty{#2}{\toks@\@xp{\the\toks@\(#2\)}\@xskipmath\@empty}}%
402 \def\altucnm#1{%
403 \MakeTextUppercase{\toks@{#1}}%
404 \edef#1{\the\toks@}%
405 }
406 \AtBeginDocument{%
407 \@ifundefined{MakeTextUppercase}{}{\let\uppercasenonmath\altucnm}%
408 }
409 \@ifundefined{MakeUppercase}{\let\MakeUppercase\uppercase}{}%
410 \newcommand{\today}{%
411 \relax\ifcase\month\or
412 January\or February\or March\or April\or May\or June\or
413 July\or August\or September\or October\or November\or December\fi
414 \space\number\day, \number\year}
415 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
416 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
417 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
418 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
419 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
420 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
421 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
422 %%\if@compatibility
423 %%\else
424 %% \def\@obsolete@fontswitch#1#2#3{%
425 %% \@latex@warning@no@line{%
426 %% Command {\string#1...}\on@line\space is obsolete;\MessageBreak
427 %% the LaTeX2e equivalent is \string#3{...}}%
428 %% \gdef#1{\@fontswitch\relax#3}%
429 %% }
430 %% \DeclareRobustCommand*\cal{%
431 %% \@xp\@obsolete@fontswitch\csname cal \endcsname\relax\mathcal}
432 %% \DeclareRobustCommand*\mit{%
433 %% \@xp\@obsolete@fontswitch\csname mit \endcsname\relax\mathnormal}
434 %%\fi
435 \renewcommand*{\title}[2][]{\gdef\shorttitle{#1}\gdef\@title{#2}}
436 \edef\title{\@nx\@dblarg
437 \@xp\@nx\csname\string\title\endcsname}
438 \renewcommand{\author}[2][]{%
439 \ifx\@empty\authors
440 \gdef\authors{#2}%
441 \else
442 \g@addto@macro\authors{\and#2}%
443 \g@addto@macro\addresses{\author{}}%
444 \fi
445 \@ifnotempty{#1}{%
446 \ifx\@empty\shortauthors
447 \gdef\shortauthors{#1}%
448 \else
449 \g@addto@macro\shortauthors{\and#1}%
450 \fi
451 }%
452 }
453 \edef\author{\@nx\@dblarg
454 \@xp\@nx\csname\string\author\endcsname}
455 \let\shortauthors\@empty \let\authors\@empty
456 \newif\ifresetcontrib \resetcontribfalse
457 \newcommand\contrib[2][]{%
458 \def\@tempa{#1}%
459 \ifx\@empty\@tempa
460 \else
461 \ifresetcontrib \@xcontribs
462 \else \global\resetcontribtrue
463 \fi
464 \fi
465 \ifx\@empty\contribs
466 \gdef\contribs{#1 #2}%
467 \else
468 \g@addto@macro\contribs{\and#1 #2}%
469 \fi
470 \@wraptoccontribs{#1}{#2}%
471 }
472 \def\wraptoccontribs#1#2{}
473 \def\@xcontribs{%
474 \author@andify\contribs
475 \ifx\@empty\xcontribs
476 \xdef\xcontribs{\contribs}%
477 \else
478 \xdef\xcontribs{\xcontribs, \contribs}%
479 \fi
480 \let\contribs\@empty
481 }
482 \let\contribs\@empty \let\xcontribs\@empty \let\toccontribs\@empty
483 \let\addresses\@empty \let\thankses\@empty
484 \newcommand{\address}[2][]{\g@addto@macro\addresses{\address{#1}{#2}}}
485 \newcommand{\curraddr}[2][]{\g@addto@macro\addresses{\curraddr{#1}{#2}}}
486 \newcommand{\email}[2][]{\g@addto@macro\addresses{\email{#1}{#2}}}
487 \newcommand{\urladdr}[2][]{\g@addto@macro\addresses{\urladdr{#1}{#2}}}
488 \long\def\thanks@warning#1{%
489 \ClassError{\@classname}{%
490 \protect\thanks\space should be given separately, not inside author name.%
491 }\@ehb
492 }
493 \renewcommand{\thanks}[1]{%
494 \@ifnotempty{#1}{\g@addto@macro\thankses{\thanks{#1}}}%
495 }
496 \def\enddoc@text{\ifx\@empty\@translators \else\@settranslators\fi
497 \ifx\@empty\addresses \else\@setaddresses\fi}
498 \AtEndDocument{\enddoc@text}
499 \def\curraddrname{{\itshape Current address}}
500 \def\emailaddrname{{\itshape Email address}}
501 \def\urladdrname{{\itshape URL}}
502 \def\@setaddresses{\par
503 \nobreak \begingroup
504 \footnotesize
505 \def\author##1{\nobreak\addvspace\bigskipamount}%
506 \def\\{\unskip, \ignorespaces}%
507 \interlinepenalty\@M
508 \def\address##1##2{\begingroup
509 \par\addvspace\bigskipamount\indent
510 \@ifnotempty{##1}{(\ignorespaces##1\unskip) }%
511 {\scshape\ignorespaces##2}\par\endgroup}%
512 \def\curraddr##1##2{\begingroup
513 \@ifnotempty{##2}{\nobreak\indent\curraddrname
514 \@ifnotempty{##1}{, \ignorespaces##1\unskip}\/:\space
515 ##2\par}\endgroup}%
516 \def\email##1##2{\begingroup
517 \@ifnotempty{##2}{\nobreak\indent\emailaddrname
518 \@ifnotempty{##1}{, \ignorespaces##1\unskip}\/:\space
519 \ttfamily##2\par}\endgroup}%
520 \def\urladdr##1##2{\begingroup
521 \def~{\char`\~}%
522 \@ifnotempty{##2}{\nobreak\indent\urladdrname
523 \@ifnotempty{##1}{, \ignorespaces##1\unskip}\/:\space
524 \ttfamily##2\par}\endgroup}%
525 \addresses
526 \endgroup
527 }
528 \let\@date\@empty
529 \def\dedicatory#1{\def\@dedicatory{#1}}
530 \let\@dedicatory=\@empty
531 \def\keywords#1{\def\@keywords{#1}}
532 \let\@keywords=\@empty
533 \newcommand*\subjclass[2][2020]{%
534 \def\@subjclass{#2}%
535 \@ifundefined{subjclassname@#1}{%
536 \ClassWarning{\@classname}{Unknown edition (#1) of Mathematics
537 Subject Classification; using '2020'.}%
538 }{%
539 \@xp\let\@xp\subjclassname\csname subjclassname@#1\endcsname
540 }%
541 }
542 \let\@subjclass=\@empty
543 \def\translname{Translated by}
544 \def\translator#1{%
545 \ifx\@empty\@translators \def\@translators{#1}%
546 \else\g@addto@macro\@translators{\and#1}\fi}
547 \let\@translators=\@empty
548 \def\@settranslators{\par\begingroup
549 \addvspace{6\p@\@plus9\p@}%
550 \hbox to\columnwidth{\hss\normalfont\normalsize
551 \translname{ }%
552 \andify\@translators \uppercasenonmath\@translators
553 \@translators}
554 \endgroup
555 }
556 \newcommand{\xandlist}[4]{\@andlista{{#1}{#2}{#3}}#4\and\and}
557 \def\@andlista#1#2\and#3\and{\@andlistc{#2}\@ifnotempty{#3}{%
558 \@andlistb#1{#3}}}
559 \def\@andlistb#1#2#3#4#5\and{%
560 \@ifempty{#5}{%
561 \@andlistc{#2#4}%
562 }{%
563 \@andlistc{#1#4}\@andlistb{#1}{#3}{#3}{#5}%
564 }}
565 \let\@andlistc\@iden
566 \newcommand{\nxandlist}[4]{%
567 \def\@andlistc##1{\toks@\@xp{\the\toks@##1}}%
568 \toks@{\toks@\@emptytoks \@andlista{{#1}{#2}{#3}}}%
569 \the\@xp\toks@#4\and\and
570 \edef#4{\the\toks@}%
571 \let\@andlistc\@iden}
572 \def\@@and{and}
573 \newcommand{\andify}{%
574 \nxandlist{\unskip, }{\unskip{} \@@and~}{\unskip, \@@and~}}
575 \def\and{\unskip{ }\@@and{ }\ignorespaces}
576 \def\maketitle{\par
577 \@topnum\z@ % this prevents figures from falling at the top of page 1
578 \@setcopyright
579 \thispagestyle{firstpage}% this sets first page specifications
580 \uppercasenonmath\shorttitle
581 \ifx\@empty\shortauthors \let\shortauthors\shorttitle
582 \else \andify\shortauthors
583 \fi
584 \@maketitle@hook
585 \begingroup
586 \@maketitle
587 \toks@\@xp{\shortauthors}\@temptokena\@xp{\shorttitle}%
588 \toks4{\def\\{ \ignorespaces}}% defend against questionable usage
589 \edef\@tempa{%
590 \@nx\markboth{\the\toks4
591 \@nx\MakeUppercase{\the\toks@}}{\the\@temptokena}}%
592 \@tempa
593 \endgroup
594 \c@footnote\z@
595 \@cleartopmattertags
596 }
597 \def\@cleartopmattertags{%
598 \def\do##1{\let##1\relax}%
599 \do\maketitle \do\@maketitle \do\title \do\@xtitle \do\@title
600 \do\author \do\@xauthor \do\address \do\@xaddress
601 \do\contrib \do\contribs \do\xcontribs \do\toccontribs
602 \do\email \do\@xemail \do\curraddr \do\@xcurraddr
603 \do\dedicatory \do\@dedicatory \do\thanks \do\thankses
604 \do\keywords \do\@keywords \do\subjclass \do\@subjclass
605 }
606 \def\@maketitle@hook{\global\let\@maketitle@hook\@empty}
607 \def\@maketitle{%
608 \normalfont\normalsize
609 \@adminfootnotes
610 \@mkboth{\@nx\shortauthors}{\@nx\shorttitle}%
611 \global\topskip8pc\relax % 10pc to base of first title line
612 \@settitle
613 \ifx\@empty\authors \else \@setauthors \fi
614 \ifx\@empty\@dedicatory
615 \else
616 \baselineskip26\p@
617 \vtop{\centering{\footnotesize\itshape\@dedicatory\@@par}%
618 \global\dimen@i\prevdepth}\prevdepth\dimen@i
619 \fi
620 \@setabstract
621 \normalsize
622 \if@titlepage
623 \newpage
624 \else
625 \dimen@34\p@ \advance\dimen@-\baselineskip
626 \vskip\dimen@\relax
627 \fi
628 } % end \@maketitle
629 \def\@adminfootnotes{%
630 \let\@makefnmark\relax \let\@thefnmark\relax
631 \ifx\@empty\@subjclass\else \@footnotetext{\@setsubjclass}\fi
632 \ifx\@empty\@keywords\else \@footnotetext{\@setkeywords}\fi
633 \ifx\@empty\thankses\else \@footnotetext{%
634 \def\par{\let\par\@par}\@setthanks}%
635 \fi
636 }
637 \AtBeginDocument{%
638 \@ifundefined{publname}{%
639 \let\publname\@empty
640 \let\@serieslogo\@empty
641 }{%
642 \def\@serieslogo{\procart@logo}%
643 }%
644 }
645 \AtBeginDocument{%
646 \@ifundefined{volinfo}{\let\volinfo\@empty}{}
647 }
648 \def\issueinfo#1#2#3#4{\def\currentvolume{#1}\def\currentissue{#2}%
649 \def\currentmonth{#3}\def\currentyear{#4}}
650 \issueinfo{00}% volume number
651 {0}% % issue number
652 {Xxxx}% % month
653 {XXXX}% % year
654 \newcommand{\copyrightinfo}[2]{%
655 \def\copyrightyear{#1}%
656 \@ifnotempty{#2}{\def\copyrightholder{#2}}%
657 }
658 \copyrightinfo{0000}{(copyright holder)}
659 \def\pagespan#1#2{\setcounter{page}{#1}%
660 \ifnum\c@page<\z@ \pagenumbering{roman}\setcounter{page}{-#1}\fi
661 \def\start@page{#1}\def\end@page{#2}}
662 \pagespan{000}{000}
663 \newinsert\copyins
664 \skip\copyins=1.5pc
665 \count\copyins=1000 % magnification factor, 1000 = 100%
666 \dimen\copyins=.5\textheight % maximum allowed per page
667 \g@addto@macro\@reinserts{%
668 \ifvoid\copyins\else\insert\copyins{\unvbox\copyins}\fi
669 }
670 \def\@copyinsfontsize{\fontsize{6}{7\p@}\normalfont\upshape}
671 \newif\if@extracrline \@extracrlinefalse
672 \let\@extracrline\@empty
673 \relax
674 \def\@setcopyright{%
675 \ifx\@empty\@serieslogo
676 \else\ifx\@empty\copyrightyear
677 \else
678 \insert\copyins{\hsize\textwidth
679 \parfillskip\z@\relax
680 \leftskip\z@\@plus.9\textwidth\relax \rightskip\z@\relax
681 \@copyinsfontsize
682 \everypar{}%
683 \vskip-\skip\copyins
684 \if@extracrline
685 \vskip-6pt
686 \fi
687 \nointerlineskip
688 \leavevmode\hfill\vrule\@width\z@\@height\skip\copyins
689 \copyright\copyrightyear\ \copyrightholder\ignorespaces
690 \if@extracrline \@extracrline \fi
691 \par
692 \kern\z@}%
693 \fi\fi
694 }
695 \def\@combinefloats{%
696 \ifx \@toplist\@empty \else \@cflt \fi
697 \ifx \@botlist\@empty \else \@cflb \fi
698 \ifvoid\copyins \else \@cflci \fi
699 }
700 \def\@cflci{%
701 \setbox\@outputbox\vbox{%
702 \unvbox\@outputbox
703 \vskip\skip\copyins
704 \if@twocolumn \else \vskip\z@ plus\p@ \fi
705 \hbox to\columnwidth{%
706 \hss\vbox to\z@{\vss
707 \if@twocolumn
708 \if@firstcolumn \else \unvbox\copyins \fi
709 \else
710 \unvbox\copyins
711 \fi
712 }}}%
713 \if@twocolumn \if@firstcolumn
714 \insert\copyins{\unvbox\copyins}%
715 \fi\fi
716 \global\count\copyins=999 \relax
717 }
718 \newcommand{\abstractname}{Abstract}
719 \newcommand{\keywordsname}{Key words and phrases}
720 \@namedef{subjclassname@1991}{%
721 \textup{1991} Mathematics Subject Classification}
722 \@namedef{subjclassname@2000}{%
723 \textup{2000} Mathematics Subject Classification}
724 \@namedef{subjclassname@2010}{%
725 \textup{2010} Mathematics Subject Classification}
726 \@namedef{subjclassname@2020}{%
727 \textup{2020} Mathematics Subject Classification}
728 \@xp\let\@xp\subjclassname\csname subjclassname@2020\endcsname
729 \def\@tempb{amsproc}
730 \ifx\@classname\@tempb
731 \newcommand{\datename}{\textit{Date}:}
732 \else
733 \newcommand{\datename}{Received by the editors}
734 \fi
735 \def\@settitle{\begin{center}%
736 \Large
737 \bfseries
738 \@title
739 \end{center}%
740 }
741 \def\author@andify{%
742 \nxandlist {\unskip ,\penalty-1 \space\ignorespaces}%
743 {\unskip {} \@@and~}%
744 {\unskip ,\penalty-2 \space \@@and~}%
745 }
746 \def\@setauthors{%
747 \begingroup
748 \def\thanks{\protect\thanks@warning}%
749 \trivlist
750 \centering \fontsize{11}{13\p@}\selectfont\@topsep13\p@\relax
751 \item\relax
752 \author@andify\authors
753 \def\\{\protect\linebreak}%
754 \authors
755 \ifx\@empty\contribs
756 \else
757 ,\penalty-3 \space \@setcontribs
758 \@closetoccontribs
759 \fi
760 \endtrivlist
761 \endgroup
762 }
763 \def\@closetoccontribs{}
764 \def\@setcontribs{%
765 \@xcontribs
766 \xcontribs
767 }
768 \def\@setdate{\datename\ \@date\@addpunct.}
769 \def\@setsubjclass{%
770 {\itshape\subjclassname.}\enspace\@subjclass\@addpunct.}
771 \def\@setkeywords{%
772 {\itshape \keywordsname.}\enspace \@keywords\@addpunct.}
773 \def\@setthanks{\def\thanks##1{\par##1\@addpunct.}\thankses}
774 \newbox\abstractbox
775 \newenvironment{abstract}{%
776 \ifx\maketitle\relax
777 \ClassWarning{\@classname}{Abstract should precede
778 \protect\maketitle\space in AMS document classes; reported}%
779 \fi
780 \global\setbox\abstractbox=\vtop \bgroup
781 \normalfont\Small
782 \list{}{\labelwidth\z@
783 \leftmargin3pc \rightmargin\leftmargin
784 \listparindent\normalparindent \itemindent\z@
785 \parsep\z@ \@plus\p@
786 \let\fullwidthdisplay\relax
787 }%
788 \item[\hskip\labelsep\scshape\abstractname.]%
789 }{%
790 \endlist\egroup
791 \ifx\@setabstract\relax \@setabstracta \fi
792 }
793 \def\@setabstract{\@setabstracta \global\let\@setabstract\relax}
794 \def\@setabstracta{%
795 \ifvoid\abstractbox
796 \else
797 \skip@20\p@ \advance\skip@-\lastskip
798 \advance\skip@-\baselineskip \vskip\skip@
799 \box\abstractbox
800 \prevdepth\z@ % because \abstractbox is a vtop
801 \fi
802 }
803 \def\titlepage{%
804 \clearpage
805 \thispagestyle{empty}\setcounter{page}{0}}
806 \def\endtitlepage{\newpage}
807 \def\labelenumi{(\theenumi)}
808 \def\theenumi{\@arabic\c@enumi}
809 \def\labelenumii{(\theenumii)}
810 \def\theenumii{\@alph\c@enumii}
811 \def\p@enumii{\theenumi}
812 \def\labelenumiii{(\theenumiii)}
813 \def\theenumiii{\@roman\c@enumiii}
814 \def\p@enumiii{\theenumi(\theenumii)}
815 \def\labelenumiv{(\theenumiv)}
816 \def\theenumiv{\@Alph\c@enumiv}
817 \def\p@enumiv{\p@enumiii\theenumiii}
818 \def\labelitemi{$\m@th\bullet$}
819 \def\labelitemii{\bfseries --}% \upshape already done by \itemize
820 \def\labelitemiii{$\m@th\ast$}
821 \def\labelitemiv{$\m@th\cdot$}
822 \newenvironment{verse}{\let\\\@centercr
823 \list{}{\itemsep\z@ \itemindent -1.5em\listparindent\itemindent
824 \rightmargin\leftmargin \advance\leftmargin 1.5em}\item[]%
825 }{%
826 \endlist
827 }
828 \let\endverse=\endlist % for efficiency
829 \newenvironment{quotation}{\list{}{%
830 \leftmargin3pc \listparindent\normalparindent
831 \itemindent\z@
832 \rightmargin\leftmargin \parsep\z@ \@plus\p@}%
833 \item[]%
834 }{%
835 \endlist
836 }
837 \let\endquotation=\endlist % for efficiency
838 \newenvironment{quote}{%
839 \list{}{\rightmargin\leftmargin}\item[]%
840 }{%
841 \endlist
842 }
843 \let\endquote=\endlist % for efficiency
844 \def\trivlist{\parsep\parskip\@nmbrlistfalse
845 \@trivlist \labelwidth\z@ \leftmargin\z@
846 \itemindent\z@
847 \let\@itemlabel\@empty
848 \def\makelabel##1{\upshape##1}}
849 \renewenvironment{enumerate}{%
850 \ifnum \@enumdepth >3 \@toodeep\else
851 \advance\@enumdepth \@ne
852 \edef\@enumctr{enum\romannumeral\the\@enumdepth}\list
853 {\csname label\@enumctr\endcsname}{\usecounter
854 {\@enumctr}\def\makelabel##1{\hss\llap{\upshape##1}}}\fi
855 }{%
856 \endlist
857 }
858 \let\endenumerate=\endlist % for efficiency
859 \renewenvironment{itemize}{%
860 \ifnum\@itemdepth>3 \@toodeep
861 \else \advance\@itemdepth\@ne
862 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
863 \list{\csname\@itemitem\endcsname}%
864 {\def\makelabel##1{\hss\llap{\upshape##1}}}%
865 \fi
866 }{%
867 \endlist
868 }
869 \let\enditemize=\endlist % for efficiency
870 \newcommand{\descriptionlabel}[1]{\hspace\labelsep \upshape\bfseries #1:}
871 \newenvironment{description}{\list{}{%
872 \advance\leftmargini6\p@ \itemindent-12\p@
873 \labelwidth\z@ \let\makelabel\descriptionlabel}%
874 }{
875 \endlist
876 }
877 \let\enddescription=\endlist % for efficiency
878 \let\upn=\textup
879 \AtBeginDocument{%
880 \labelsep=5pt\relax
881 \setcounter{enumi}{13}\setcounter{enumii}{13}%
882 \setcounter{enumiii}{13}\setcounter{enumiv}{13}%
883 \settowidth\leftmargini{\labelenumi\hskip\labelsep}%
884 \advance\leftmargini by \normalparindent
885 \settowidth\leftmarginii{\labelenumii\hskip\labelsep}%
886 \settowidth\leftmarginiii{\labelenumiii\hskip\labelsep}%
887 \settowidth\leftmarginiv{\labelenumiv\hskip\labelsep}%
888 \setcounter{enumi}{0}\setcounter{enumii}{0}%
889 \setcounter{enumiii}{0}\setcounter{enumiv}{0}%
890 \leftmarginv=10pt \leftmarginvi=\leftmarginv
891 \leftmargin=\leftmargini
892 \labelwidth=\leftmargini \advance\labelwidth-\labelsep
893 \@listi}
894 \newskip\listisep
895 \listisep\smallskipamount
896 \def\@listI{\leftmargin\leftmargini \parsep\z@skip
897 \topsep\listisep \itemsep\z@skip
898 \listparindent\normalparindent}
899 \let\@listi\@listI
900 \def\@listii{\leftmargin\leftmarginii
901 \labelwidth\leftmarginii \advance\labelwidth-\labelsep
902 \topsep\z@skip \parsep\z@skip \partopsep\z@skip \itemsep\z@skip}
903 \def\@listiii{\leftmargin\leftmarginiii
904 \labelwidth\leftmarginiii \advance\labelwidth-\labelsep}
905 \def\@listiv{\leftmargin\leftmarginiv
906 \labelwidth\leftmarginiv \advance\labelwidth-\labelsep}
907 \def\@listv{\leftmargin\leftmarginv
908 \labelwidth\leftmarginv \advance\labelwidth-\labelsep}
909 \def\@listvi{\leftmargin\leftmarginvi
910 \labelwidth\leftmarginvi \advance\labelwidth-\labelsep}
911 \@ifclasswith{\@classname}{fleqn}{%
912 \let\@tempa\@iden
913 \AtBeginDocument{\mathindent\leftmargini}%
914 }{\let\@tempa\@gobble}%
915 \@ifpackageloaded{amsmath}{\let\@tempa\@gobble}{%
916 \@ifpackageloaded{amstex}{\let\@tempa\@gobble}{}%
917 }
918 \@tempa{%
919 \def\[{\relax
920 \ifmmode\@badmath
921 \else
922 \begin{trivlist}%
923 \@beginparpenalty\predisplaypenalty
924 \@endparpenalty\postdisplaypenalty
925 \item[]\leavevmode
926 \hbox to\linewidth\bgroup$\displaystyle
927 \hskip\mathindent\bgroup
928 \fi}%
929 \def\]{\relax
930 \ifmmode
931 \egroup \m@th$\hfil \egroup
932 \end{trivlist}%
933 \else \@badmath
934 \fi}%
935 \renewenvironment{equation}{%
936 \@beginparpenalty\predisplaypenalty
937 \@endparpenalty\postdisplaypenalty
938 \refstepcounter{equation}%
939 \@topsep\abovedisplayskip \trivlist
940 \item[]\leavevmode
941 \hbox to\linewidth\bgroup\hskip\mathindent$\displaystyle
942 }{%
943 \m@th$\hfil \displaywidth\linewidth \hbox{\@eqnnum}\egroup
944 \endtrivlist
945 }%
946 \renewenvironment{eqnarray}{%
947 \stepcounter{equation}\let\@currentlabel\theequation
948 \global\@eqnswtrue \global\@eqcnt\z@ \tabskip\mathindent
949 \let\\=\@eqncr \abovedisplayskip\topsep
950 \ifvmode \advance\abovedisplayskip\partopsep \fi
951 \belowdisplayskip\abovedisplayskip
952 \belowdisplayshortskip\abovedisplayskip
953 \abovedisplayshortskip\abovedisplayskip
954 $$\everycr{}\halign to\linewidth\bgroup
955 \hskip\@centering
956 $\displaystyle\tabskip\z@skip####\m@th$&%
957 \@eqnsel \global\@eqcnt\@ne
958 \hfil${}####{}\m@th$\hfil&%
959 \global\@eqcnt\tw@
960 $\displaystyle ####\m@th$\hfil\tabskip\@centering&%
961 \global\@eqcnt\thr@@
962 \hbox to \z@\bgroup\hss####\egroup\tabskip\z@skip\cr
963 }{%
964 \@@eqncr \egroup \global\advance\c@equation\m@ne$$%
965 \global\@ignoretrue
966 }%
967 \newdimen\mathindent
968 \mathindent\leftmargini
969 }
970 \def\@startsection#1#2#3#4#5#6{%
971 \if@noskipsec \leavevmode \fi
972 \par \@tempskipa #4\relax
973 \@afterindenttrue
974 \ifdim \@tempskipa <\z@ \@tempskipa -\@tempskipa \@afterindentfalse\fi
975 \if@nobreak \everypar{}\else
976 \addpenalty\@secpenalty\addvspace\@tempskipa\fi
977 \@ifstar{\@dblarg{\@sect{#1}{\@m}{#3}{#4}{#5}{#6}}}%
978 {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}%
979 }
980 \def\@seccntformat#1{%
981 \protect\textup{\protect\@secnumfont
982 \csname the#1\endcsname
983 \protect\@secnumpunct
984 }%
985 }
986 \let\@secnumfont\@empty
987 \def\@sect#1#2#3#4#5#6[#7]#8{%
988 \edef\@toclevel{\ifnum#2=\@m 0\else\number#2\fi}%
989 \ifnum #2>\c@secnumdepth \let\@secnumber\@empty
990 \else \@xp\let\@xp\@secnumber\csname the#1\endcsname\fi
991 \@tempskipa #5\relax
992 \ifnum #2>\c@secnumdepth
993 \let\@svsec\@empty
994 \else
995 \refstepcounter{#1}%
996 \edef\@secnumpunct{%
997 \ifdim\@tempskipa>\z@ % not a run-in section heading
998 \@ifnotempty{#8}{.\@nx\enspace}%
999 \else
1000 \@ifempty{#8}{.}{.\@nx\enspace}%
1001 \fi
1002 }%
1003 \protected@edef\@svsec{%
1004 \ifnum#2<\@m
1005 \@ifundefined{#1name}{}{%
1006 \ignorespaces\csname #1name\endcsname\space
1007 }%
1008 \fi
1009 \@seccntformat{#1}%
1010 }%
1011 \fi
1012 \ifdim \@tempskipa>\z@ % then this is not a run-in section heading
1013 \begingroup #6\relax
1014 \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty\@M #8\par}%
1015 \endgroup
1016 \ifnum#2>\@m \else \@tocwrite{#1}{#8}\fi
1017 \else
1018 \def\@svsechd{#6\hskip #3\@svsec
1019 \@ifnotempty{#8}{\ignorespaces#8\unskip
1020 \@addpunct.}%
1021 \ifnum#2>\@m \else \@tocwrite{#1}{#8}\fi
1022 }%
1023 \fi
1024 \global\@nobreaktrue
1025 \@xsect{#5}}
1026 \let\@ssect\relax
1027 \newcounter{part}
1028 \newcounter{section}
1029 \newcounter{subsection}[section]
1030 \newcounter{subsubsection}[subsection]
1031 \newcounter{paragraph}[subsubsection]
1032 \newcounter{subparagraph}[paragraph]
1033 \renewcommand\thepart {\arabic{part}}
1034 \renewcommand\thesection {\arabic{section}}
1035 \renewcommand\thesubsection {\thesection.\arabic{subsection}}
1036 \renewcommand\thesubsubsection {\thesubsection .\arabic{subsubsection}}
1037 \renewcommand\theparagraph {\thesubsubsection.\arabic{paragraph}}
1038 \renewcommand\thesubparagraph {\theparagraph.\arabic{subparagraph}}
1039 \setcounter{secnumdepth}{3}
1040 \def\partname{Part}
1041 \def\part{\@startsection{part}{0}%
1042 \z@{\linespacing\@plus\linespacing}{.5\linespacing}%
1043 {\normalfont\bfseries\raggedright}}
1044 \def\specialsection{\@startsection{section}{1}%
1045 \z@{2\linespacing\@plus\linespacing}{.5\linespacing}%
1046 {\large\scshape\centering}}
1047 \def\section{\@startsection{section}{1}%
1048 \z@{.7\linespacing\@plus\linespacing}{.5\linespacing}%
1049 {\normalfont\bfseries\centering}}
1050 \def\subsection{\@startsection{subsection}{2}%
1051 \normalparindent{.5\linespacing\@plus.7\linespacing}{-.5em}%
1052 {\normalfont\bfseries}}
1053 \def\subsubsection{\@startsection{subsubsection}{3}%
1054 \normalparindent\z@{-.5em}%
1055 {\normalfont\itshape}}
1056 \def\paragraph{\@startsection{paragraph}{4}%
1057 \normalparindent\z@{-\fontdimen2\font}%
1058 \normalfont}
1059 \def\subparagraph{\@startsection{subparagraph}{5}%
1060 \z@\z@{-\fontdimen2\font}%
1061 \normalfont}
1062 \def\appendix{\par\c@section\z@ \c@subsection\z@
1063 \let\sectionname\appendixname
1064 \def\thesection{\@Alph\c@section}}
1065 \def\appendixname{Appendix}
1066 \def\@Roman#1{\@xp\@slowromancap
1067 \romannumeral#1@}%
1068 \def\@slowromancap#1{\ifx @#1% then terminate
1069 \else
1070 \if i#1I\else\if v#1V\else\if x#1X\else\if l#1L\else\if
1071 c#1C\else\if m#1M\else#1\fi\fi\fi\fi\fi\fi
1072 \@xp\@slowromancap
1073 \fi
1074 }
1075 \def\aufm#1{\par\vspace*{12pt}{\flushright #1\par}}
1076 \newcommand{\@pnumwidth}{1.6em}
1077 \newcommand{\@tocrmarg}{2.6em}
1078 \setcounter{tocdepth}{1}
1079 \newswitch{toc}
1080 \newswitch{lof}
1081 \newswitch{lot}
1082 \newcommand\contentsnamefont{\scshape}
1083 \def\@starttoc#1#2{\begingroup
1084 \setTrue{#1}%
1085 \par\removelastskip\vskip\z@skip
1086 \@startsection{}\@M\z@{\linespacing\@plus\linespacing}%
1087 {.5\linespacing}{\centering\contentsnamefont}{#2}%
1088 \ifx\contentsname#2%
1089 \else \addcontentsline{toc}{section}{#2}\fi
1090 \makeatletter
1091 \@input{\jobname.#1}%
1092 \if@filesw
1093 \@xp\newwrite\csname tf@#1\endcsname
1094 \immediate\@xp\openout\csname tf@#1\endcsname \jobname.#1\relax
1095 \fi
1096 \global\@nobreakfalse \endgroup
1097 \addvspace{32\p@\@plus14\p@}%
1098 \let\tableofcontents\relax
1099 }
1100 \def\contentsname{Contents}
1101 \def\listfigurename{List of Figures}
1102 \def\listtablename{List of Tables}
1103 \def\tableofcontents{%
1104 \@starttoc{toc}\contentsname
1105 }
1106 \def\listoffigures{\@starttoc{lof}\listfigurename}
1107 \def\listoftables{\@starttoc{lot}\listtablename}
1108 \AtBeginDocument{%
1109 \@for\@tempa:=-1,0,1,2,3\do{%
1110 \@ifundefined{r@tocindent\@tempa}{%
1111 \@xp\gdef\csname r@tocindent\@tempa\endcsname{0pt}}{}%
1112 }%
1113 }
1114 \def\@writetocindents{%
1115 \begingroup
1116 \@for\@tempa:=-1,0,1,2,3\do{%
1117 \immediate\write\@auxout{%
1118 \string\newlabel{tocindent\@tempa}{%
1119 \csname r@tocindent\@tempa\endcsname}}%
1120 }%
1121 \endgroup}
1122 \AtEndDocument{\@writetocindents}
1123
1124 \let\indentlabel\@empty
1125 \def\@tochangmeasure#1{\sbox\z@{#1}%
1126 \ifdim\wd\z@>\csname r@tocindent\@toclevel\endcsname\relax
1127 \@xp\xdef\csname r@tocindent\@toclevel\endcsname{\the\wd\z@}%
1128 \fi
1129 }
1130 \def\@toclevel{0}
1131 \def\@tocline#1#2#3#4#5#6#7{\relax
1132 \ifnum #1>\c@tocdepth % then omit
1133 \else
1134 \par \addpenalty\@secpenalty\addvspace{#2}%
1135 \begingroup \hyphenpenalty\@M
1136 \@ifempty{#4}{%
1137 \@tempdima\csname r@tocindent\number#1\endcsname\relax
1138 }{%
1139 \@tempdima#4\relax
1140 }%
1141 \parindent\z@ \leftskip#3\relax \advance\leftskip\@tempdima\relax
1142 \rightskip\@pnumwidth plus4em \parfillskip-\@pnumwidth
1143 #5\leavevmode\hskip-\@tempdima #6\nobreak\relax
1144 \hfil\hbox to\@pnumwidth{\@tocpagenum{#7}}\par
1145 \nobreak
1146 \endgroup
1147 \fi}
1148 \def\@tocpagenum#1{\hss{\mdseries #1}}
1149 \def\@tocwrite#1{\@xp\@tocwriteb\csname toc#1\endcsname{#1}}
1150 \def\@tocwriteb#1#2#3{%
1151 \begingroup
1152 \def\@tocline##1##2##3##4##5##6{%
1153 \ifnum##1>\c@tocdepth
1154 \else \sbox\z@{##5\let\indentlabel\@tochangmeasure##6}\fi}%
1155 \csname l@#2\endcsname{#1{\csname#2name\endcsname}{\@secnumber}{}}%
1156 \endgroup
1157 \addcontentsline{toc}{#2}%
1158 {\protect#1{\csname#2name\endcsname}{\@secnumber}{#3}}}
1159 \def\l@section{\@tocline{1}{0pt}{1pc}{}{}}
1160 \newcommand{\tocsection}[3]{%
1161 \indentlabel{\@ifnotempty{#2}{\ignorespaces#1 #2.\quad}}#3}
1162 \def\l@subsection{\@tocline{2}{0pt}{1pc}{5pc}{}}
1163 \let\tocsubsection\tocsection
1164 \def\l@subsubsection{\@tocline{3}{0pt}{1pc}{7pc}{}}
1165 \let\tocsubsubsection\tocsection
1166 \let\l@paragraph\l@subsubsection
1167 \let\tocparagraph\tocsection
1168 \let\l@subparagraph\l@subsubsection
1169 \let\tocsubparagraph\tocsection
1170 \def\l@part{\@tocline{-1}{12pt plus2pt}{0pt}{}{\bfseries}}
1171 \let\tocpart\tocsection
1172 \def\l@chapter{\@tocline{0}{8pt plus1pt}{0pt}{}{}}
1173 \let\tocchapter\tocsection
1174 \newcommand{\tocappendix}[3]{%
1175 \indentlabel{#1\@ifnotempty{#2}{ #2}.\quad}#3}
1176 \def\l@figure{\@tocline{0}{3pt plus2pt}{0pt}{1.5pc}{}}
1177 \let\l@table=\l@figure
1178 \def\refname{References}
1179 \def\bibname{Bibliography}
1180 \def\@defaultbiblabelstyle#1{#1.}
1181 \def\bibliographystyle#1{%
1182 \if@filesw\immediate\write\@auxout{\string\bibstyle{#1}}\fi
1183 \def\@tempa{#1}%
1184 \def\@tempb{amsplain}%
1185 \def\@tempc{}%
1186 \ifx\@tempa\@tempb
1187 \def\@biblabel##1{\@defaultbiblabelstyle{##1}}%
1188 \def\bibsetup{}%
1189 \else
1190 \def\bibsetup{\labelsep6\p@}%
1191 \ifx\@tempa\@tempc
1192 \def\@biblabel##1{}%
1193 \def\bibsetup{\labelwidth\z@ \leftmargin24\p@
1194 \itemindent-\leftmargin
1195 \labelsep\z@ }%
1196 \fi
1197 \fi}
1198 \newcommand{\bibliofont}{\footnotesize}
1199 \newcommand{\@bibtitlestyle}{%
1200 \@xp\section\@xp*\@xp{\refname}%
1201 }
1202 \newenvironment{thebibliography}[1]{%
1203 \@bibtitlestyle
1204 \normalfont\bibliofont\labelsep .5em\relax
1205 \renewcommand\theenumiv{\arabic{enumiv}}\let\p@enumiv\@empty
1206 \list{\@biblabel{\theenumiv}}{\settowidth\labelwidth{\@biblabel{#1}}%
1207 \leftmargin\labelwidth \advance\leftmargin\labelsep
1208 \usecounter{enumiv}}%
1209 \sloppy \clubpenalty\@M \widowpenalty\clubpenalty
1210 \sfcode`\.=\@m
1211 }{%
1212 \def\@noitemerr{\@latex@warning{Empty `thebibliography' environment}}%
1213 \endlist
1214 }
1215 \def\bysame{\leavevmode\hbox to3em{\hrulefill}\thinspace}
1216 \def\newblock{}
1217 \newcommand\MR[1]{\relax\ifhmode\unskip\spacefactor3000 \space\fi
1218 MR~\MRhref{#1}{#1}}
1219 \let\MRhref\@gobble
1220 \newcommand\URL{\begingroup
1221 \def\@sverb##1{%
1222 \def\@tempa####1##1{\@URL{####1}\egroup\endgroup}%
1223 \@tempa}%
1224 \verb}
1225 \let\URLhref\@gobble
1226 \def\@URL#1{\URLhref{#1}#1}
1227 \newif\if@restonecol
1228 \newcommand{\@indextitlestyle}{%
1229 \twocolumn[\@xp\section\@xp*\@xp{\indexname}]%
1230 }
1231 \def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi
1232 \columnseprule\z@ \columnsep 35\p@
1233 \@indextitlestyle
1234 \thispagestyle{plain}%
1235 \let\item\@idxitem
1236 \parindent\z@ \parskip\z@\@plus.3\p@\relax
1237 \raggedright
1238 \hyphenpenalty\@M
1239 \footnotesize}
1240 \def\indexname{Index}
1241 \def\@idxitem{\par\hangindent 2em}
1242 \def\subitem{\par\hangindent 2em\hspace*{1em}}
1243 \def\subsubitem{\par\hangindent 3em\hspace*{2em}}
1244 \def\endtheindex{\if@restonecol\onecolumn\else\clearpage\fi}
1245 \def\indexspace{\par\bigskip}
1246 \def\footnoterule{\kern-.4\p@
1247 \hrule\@width 5pc\kern11\p@\kern-\footnotesep}
1248 \def\@makefnmark{%
1249 \leavevmode
1250 \raise.9ex\hbox{\fontsize\sf@size\z@\normalfont\@thefnmark}%
1251 }
1252 \def\@makefntext{\indent\@makefnmark}
1253 \long\def\@footnotetext#1{%
1254 \insert\footins{%
1255 \normalfont\footnotesize
1256 \interlinepenalty\interfootnotelinepenalty
1257 \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
1258 \floatingpenalty\@MM \hsize\columnwidth
1259 \@parboxrestore \parindent\normalparindent \sloppy
1260 \protected@edef\@currentlabel{%
1261 \csname p@footnote\endcsname\@thefnmark}%
1262 \@makefntext{%
1263 \rule\z@\footnotesep\ignorespaces#1\unskip\strut\par}}}
1264 \hfuzz=1pt \vfuzz=\hfuzz
1265 \def\sloppy{\tolerance9999 \emergencystretch 3em\relax}
1266 \setcounter{topnumber}{4}
1267 \setcounter{bottomnumber}{4}
1268 \setcounter{totalnumber}{4}
1269 \setcounter{dbltopnumber}{4}
1270 \renewcommand{\topfraction}{.97}
1271 \renewcommand{\bottomfraction}{.97}
1272 \renewcommand{\textfraction}{.03}
1273 \renewcommand{\floatpagefraction}{.9}
1274 \renewcommand{\dbltopfraction}{.97}
1275 \renewcommand{\dblfloatpagefraction}{.9}
1276 \setlength{\floatsep}{12pt plus 6pt minus 4pt}
1277 \setlength{\textfloatsep}{15pt plus 8pt minus 5pt}
1278 \setlength{\intextsep}{12pt plus 6pt minus 4pt}
1279 \setlength{\dblfloatsep}{12pt plus 6pt minus 4pt}
1280 \setlength{\dbltextfloatsep}{15pt plus 8pt minus 5pt}
1281 \setlength{\@fptop}{0pt}% removed "plus 1fil"
1282 \setlength{\@fpsep}{8pt}% removed "plus 2fil"
1283 \setlength{\@fpbot}{0pt plus 1fil}
1284 \setlength{\@dblfptop}{0pt}% removed "plus 1fil"
1285 \setlength{\@dblfpsep}{8pt}% removed "plus 2fil"
1286 \setlength{\@dblfpbot}{0pt plus 1fil}
1287 \newcommand{\fps@figure}{tbp}
1288 \newcommand{\fps@table}{tbp}
1289 \newcounter{figure}
1290 \def\@captionheadfont{\scshape}
1291 \def\@captionfont{\normalfont}
1292 \def\ftype@figure{1}
1293 \def\ext@figure{lof}
1294 \def\fnum@figure{\figurename\ \thefigure}
1295 \def\figurename{Figure}
1296 \newenvironment{figure}{%
1297 \@float{figure}%
1298 }{%
1299 \end@float
1300 }
1301 \newenvironment{figure*}{%
1302 \@dblfloat{figure}%
1303 }{%
1304 \end@dblfloat
1305 }
1306 \newcounter{table}
1307 \def\ftype@table{2}
1308 \def\ext@table{lot}
1309 \def\fnum@table{\tablename\ \thetable}
1310 \def\tablename{Table}
1311 \newenvironment{table}{%
1312 \@float{table}%
1313 }{%
1314 \end@float
1315 }
1316 \newenvironment{table*}{%
1317 \@dblfloat{table}%
1318 }{%
1319 \end@dblfloat
1320 }
1321 \def\@floatboxreset{\global\@minipagefalse \centering}
1322 \long\def\@makecaption#1#2{%
1323 \setbox\@tempboxa\vbox{\color@setgroup
1324 \advance\hsize-2\captionindent\noindent
1325 \@captionfont\@captionheadfont#1\@xp\@ifnotempty\@xp
1326 {\@cdr#2\@nil}{.\@captionfont\upshape\enspace#2}%
1327 \unskip\kern-2\captionindent\par
1328 \global\setbox\@ne\lastbox\color@endgroup}%
1329 \ifhbox\@ne % the normal case
1330 \setbox\@ne\hbox{\unhbox\@ne\unskip\unskip\unpenalty\unkern}%
1331 \fi
1332 \ifdim\wd\@tempboxa=\z@ % this means caption will fit on one line
1333 \setbox\@ne\hbox to\columnwidth{\hss\kern-2\captionindent\box\@ne\hss}%
1334 \else % tempboxa contained more than one line
1335 \setbox\@ne\vbox{\unvbox\@tempboxa\parskip\z@skip
1336 \noindent\unhbox\@ne\advance\hsize-2\captionindent\par}%
1337 \fi
1338 \ifnum\@tempcnta<64 % if the float IS a figure...
1339 \addvspace\abovecaptionskip
1340 \hbox to\hsize{\kern\captionindent\box\@ne\hss}%
1341 \else % if the float IS NOT a figure...
1342 \hbox to\hsize{\kern\captionindent\box\@ne\hss}%
1343 \nobreak
1344 \vskip\belowcaptionskip
1345 \fi
1346 \relax
1347 }
1348 \newskip\abovecaptionskip \abovecaptionskip=12pt \relax
1349 \newskip\belowcaptionskip \belowcaptionskip=12pt \relax
1350 \newdimen\captionindent \captionindent=3pc
1351 \def\nonbreakingspace{\unskip\nobreak\ \ignorespaces}
1352 \def~{\protect\nonbreakingspace}
1353 \def\@biblabel#1{\@ifnotempty{#1}{[#1]}}
1354 \def\@citestyle{\m@th\upshape\mdseries}
1355 \def\citeform#1{{\bfseries#1}}
1356 \def\@cite#1#2{{%
1357 \@citestyle[\citeform{#1}\if@tempswa, #2\fi]}}
1358 \@ifundefined{cite }{%
1359 \expandafter\let\csname cite \endcsname\cite
1360 \edef\cite{\@nx\protect\@xp\@nx\csname cite \endcsname}%
1361 }{}
1362 \def\fullwidthdisplay{\displayindent\z@ \displaywidth\columnwidth}
1363 \edef\@tempa{\noexpand\fullwidthdisplay\the\everydisplay}
1364 \everydisplay\expandafter{\@tempa}
1365 \newcommand*\seeonlyname{see}
1366 \newcommand*\seename{see also}
1367 \newcommand*\alsoname{see also}
1368 \newcommand*\seeonly[2]{\emph{\seeonlyname} #1}
1369 \newcommand*\see[2]{\emph{\seename} #1}
1370 \newcommand*\seealso[2]{\emph{\alsoname} #1}
1371 \newcommand\printindex{\@input{\jobname.ind}}
1372 \DeclareRobustCommand\textprime{\leavevmode
1373 \raise.8ex\hbox{\check@mathfonts\the\scriptfont2 \char48 }}
1374
1375 \newcommand{\theoremstyle}[1]{%
1376 \@ifundefined{th@#1}{%
1377 \PackageWarning{amsthm}{Unknown theoremstyle `#1'}%
1378 \thm@style{plain}%
1379 }{%
1380 \thm@style{#1}%
1381 }%
1382 }
1383 \newtoks\thm@style
1384 \thm@style{plain}
1385 \newtoks\thm@bodyfont \thm@bodyfont{\itshape}
1386 \newtoks\thm@headfont \thm@headfont{\bfseries}
1387 \newtoks\thm@notefont \thm@notefont{}
1388 \newtoks\thm@headpunct \thm@headpunct{.}
1389 \newskip\thm@preskip \newskip\thm@postskip
1390 \def\thm@space@setup{%
1391 \thm@preskip=.5\baselineskip\@plus.2\baselineskip
1392 \@minus.2\baselineskip
1393 \thm@postskip=\thm@preskip
1394 }
1395 \renewcommand{\newtheorem}{\@ifstar{\@xnthm *}{\@xnthm \relax}}
1396 \def\@xnthm#1#2{%
1397 \let\@tempa\relax
1398 \@xp\@ifdefinable\csname #2\endcsname{%
1399 \global\@xp\let\csname end#2\endcsname\@endtheorem
1400 \ifx *#1% unnumbered, need to get one more mandatory arg
1401 \edef\@tempa##1{%
1402 \gdef\@xp\@nx\csname#2\endcsname{%
1403 \@nx\@thm{\@xp\@nx\csname th@\the\thm@style\endcsname}%
1404 {}{##1}}}%
1405 \else % numbered theorem, need to check for optional arg
1406 \def\@tempa{\@oparg{\@ynthm{#2}}[]}%
1407 \fi
1408 }%
1409 \@tempa
1410 }
1411 \def\@ynthm#1[#2]#3{%
1412 \ifx\relax#2\relax
1413 \def\@tempa{\@oparg{\@xthm{#1}{#3}}[]}%
1414 \else
1415 \@ifundefined{c@#2}{%
1416 \def\@tempa{\@nocounterr{#2}}%
1417 }{%
1418 \@xp\xdef\csname the#1\endcsname{\@xp\@nx\csname the#2\endcsname}%
1419 \toks@{#3}%
1420 \@xp\xdef\csname#1\endcsname{%
1421 \@nx\@thm{%
1422 \let\@nx\thm@swap
1423 \if S\thm@swap\@nx\@firstoftwo\else\@nx\@gobble\fi
1424 \@xp\@nx\csname th@\the\thm@style\endcsname}%
1425 {#2}{\the\toks@}}%
1426 \let\@tempa\relax
1427 }%
1428 \fi
1429 \@tempa
1430 }
1431 \def\@xthm#1#2[#3]{%
1432 \ifx\relax#3\relax
1433 \newcounter{#1}%
1434 \else
1435 \newcounter{#1}[#3]%
1436 \@xp\xdef\csname the#1\endcsname{\@xp\@nx\csname the#3\endcsname
1437 \@thmcountersep\@thmcounter{#1}}%
1438 \fi
1439 \toks@{#2}%
1440 \@xp\xdef\csname#1\endcsname{%
1441 \@nx\@thm{%
1442 \let\@nx\thm@swap
1443 \if S\thm@swap\@nx\@firstoftwo\else\@nx\@gobble\fi
1444 \@xp\@nx\csname th@\the\thm@style\endcsname}%
1445 {#1}{\the\toks@}}%
1446 }
1447 \def\@thm#1#2#3{%
1448 \ifhmode\unskip\unskip\par\fi
1449 \normalfont
1450 \trivlist
1451 \let\thmheadnl\relax
1452 \let\thm@swap\@gobble
1453 \let\thm@indent\indent % indent
1454 \thm@headfont{\scshape}% heading font small caps
1455 \thm@notefont{\fontseries\mddefault\upshape}%
1456 \thm@headpunct{.}% add period after heading
1457 \thm@headsep 5\p@ plus\p@ minus\p@\relax
1458 \thm@space@setup
1459 #1% style overrides
1460 \@topsep \thm@preskip % used by thm head
1461 \@topsepadd \thm@postskip % used by \@endparenv
1462 \def\@tempa{#2}\ifx\@empty\@tempa
1463 \def\@tempa{\@oparg{\@begintheorem{#3}{}}[]}%
1464 \else
1465 \refstepcounter{#2}%
1466 \def\@tempa{\@oparg{\@begintheorem{#3}{\csname the#2\endcsname}}[]}%
1467 \fi
1468 \@tempa
1469 }
1470 \def\@restorelabelsep{\relax}
1471 \let\@ythm\relax
1472 \let\thmname\@iden \let\thmnote\@iden \let\thmnumber\@iden
1473 \providecommand\@upn{\textup}
1474 \def\thmhead@plain#1#2#3{%
1475 \thmname{#1}\thmnumber{\@ifnotempty{#1}{ }\@upn{#2}}%
1476 \thmnote{ {\the\thm@notefont(#3)}}}
1477 \let\thmhead\thmhead@plain
1478 \def\swappedhead#1#2#3{%
1479 \thmnumber{\@upn{\@secnumfont#2\@ifnotempty{#1}{.~}}}%
1480 \thmname{#1}%
1481 \thmnote{ {\the\thm@notefont(#3)}}}
1482 \let\swappedhead@plain=\swappedhead
1483 \let\thmheadnl\relax
1484 \let\thm@indent\noindent
1485 \let\thm@swap\@gobble
1486 \def\@begintheorem#1#2[#3]{%
1487 \deferred@thm@head{\the\thm@headfont \thm@indent
1488 \@ifempty{#1}{\let\thmname\@gobble}{\let\thmname\@iden}%
1489 \@ifempty{#2}{\let\thmnumber\@gobble}{\let\thmnumber\@iden}%
1490 \@ifempty{#3}{\let\thmnote\@gobble}{\let\thmnote\@iden}%
1491 \thm@swap\swappedhead\thmhead{#1}{#2}{#3}%
1492 \the\thm@headpunct
1493 \thmheadnl % possibly a newline.
1494 \hskip\thm@headsep
1495 }%
1496 \ignorespaces}
1497 \newskip\thm@headsep
1498 \thm@headsep=5pt plus1pt minus1pt\relax
1499 \let\adjust@parskip@nobreak=\@nbitem
1500 \newtoks\dth@everypar
1501 \dth@everypar={%
1502 \@minipagefalse \global\@newlistfalse
1503 \@noparitemfalse
1504 \if@inlabel
1505 \global\@inlabelfalse
1506 \begingroup \setbox\z@\lastbox
1507 \ifvoid\z@ \kern-\itemindent \fi
1508 \endgroup
1509 \unhbox\@labels
1510 \fi
1511 \if@nobreak \@nobreakfalse \clubpenalty\@M
1512 \else \clubpenalty\@clubpenalty \everypar{}%
1513 \fi
1514 }%
1515 \def\deferred@thm@head#1{%
1516 \if@inlabel \indent \par \fi % eject a section head if one is pending
1517 \if@nobreak
1518 \adjust@parskip@nobreak
1519 \else
1520 \addpenalty\@beginparpenalty
1521 \addvspace\@topsep
1522 \addvspace{-\parskip}%
1523 \fi
1524 \global\@inlabeltrue
1525 \everypar\dth@everypar
1526 \sbox\@labels{\normalfont#1}%
1527 \ignorespaces
1528 }
1529 \def\nonslanted{\relax
1530 \@xp\let\@xp\@tempa\csname\f@shape shape\endcsname
1531 \ifx\@tempa\itshape\upshape
1532 \else\ifx\@tempa\slshape\upshape\fi\fi}
1533 \def\swapnumbers{\edef\thm@swap{\if S\thm@swap N\else S\fi}}
1534 \def\thm@swap{N}%
1535 \let\@opargbegintheorem\relax
1536 \def\th@plain{%
1537 %% \let\thm@indent\noindent % no indent
1538 %% \thm@headfont{\bfseries}% heading font is bold
1539 %% \thm@notefont{}% same as heading font
1540 %% \thm@headpunct{.}% add period after heading
1541 %% \let\thm@swap\@gobble
1542 %% \thm@preskip\topsep
1543 %% \thm@postskip\theorempreskipamount
1544 \itshape % body font
1545 }
1546 \def\th@definition{%
1547 \normalfont % body font
1548 }
1549 \def\th@remark{%
1550 \normalfont % body font
1551 }
1552 \def\@endtheorem{\endtrivlist\@endpefalse }
1553 \newcommand{\newtheoremstyle}[9]{%
1554 \@ifempty{#5}{\dimen@\z@skip}{\dimen@#5\relax}%
1555 \ifdim\dimen@=\z@
1556 \toks@{#4\let\thm@indent\noindent}%
1557 \else
1558 \toks@{#4\def\thm@indent{\noindent\hbox to#5{}}}%
1559 \fi
1560 \def\@tempa{#8}\ifx\space\@tempa
1561 \toks@\@xp{\the\toks@ \thm@headsep\fontdimen\tw@\font\relax}%
1562 \else
1563 \def\@tempb{\newline}%
1564 \ifx\@tempb\@tempa
1565 \toks@\@xp{\the\toks@ \thm@headsep\z@skip
1566 \def\thmheadnl{\newline}}%
1567 \else
1568 \toks@\@xp{\the\toks@ \thm@headsep#8\relax}%
1569 \fi
1570 \fi
1571 \begingroup
1572 \thm@space@setup
1573 \@defaultunits\@tempskipa#2\thm@preskip\relax\@nnil
1574 \@defaultunits\@tempskipb#3\thm@postskip\relax\@nnil
1575 \xdef\@gtempa{\thm@preskip\the\@tempskipa
1576 \thm@postskip\the\@tempskipb\relax}%
1577 \endgroup
1578 \@temptokena\@xp{\@gtempa
1579 \thm@headfont{#6}\thm@headpunct{#7}%
1580 }%
1581 \@ifempty{#9}{%
1582 \let\thmhead\thmhead@plain
1583 }{%
1584 \@namedef{thmhead@#1}##1##2##3{#9}%
1585 \@temptokena\@xp{\the\@temptokena
1586 \@xp\let\@xp\thmhead\csname thmhead@#1\endcsname}%
1587 }%
1588 \@xp\xdef\csname th@#1\endcsname{\the\toks@ \the\@temptokena}%
1589 }
1590 \DeclareRobustCommand{\qed}{%
1591 \ifmmode \mathqed
1592 \else
1593 \leavevmode\unskip\penalty9999 \hbox{}\nobreak\hfill
1594 \quad\hbox{\qedsymbol}%
1595 \fi
1596 }
1597 \let\QED@stack\@empty
1598 \let\qed@elt\relax
1599 \newcommand{\pushQED}[1]{%
1600 \toks@{\qed@elt{#1}}\@temptokena\expandafter{\QED@stack}%
1601 \xdef\QED@stack{\the\toks@\the\@temptokena}%
1602 }
1603 \newcommand{\popQED}{%
1604 \begingroup\let\qed@elt\popQED@elt \QED@stack\relax\relax\endgroup
1605 }
1606 \def\popQED@elt#1#2\relax{#1\gdef\QED@stack{#2}}
1607 \newcommand{\qedhere}{%
1608 \begingroup \let\mathqed\math@qedhere
1609 \let\qed@elt\setQED@elt \QED@stack\relax\relax \endgroup
1610 }
1611 \newif\ifmeasuring@
1612 \newif\iffirstchoice@ \firstchoice@true
1613 \def\setQED@elt#1#2\relax{%
1614 \ifmeasuring@
1615 \else \iffirstchoice@ \gdef\QED@stack{\qed@elt{}#2}\fi
1616 \fi
1617 #1%
1618 }
1619 \def\qed@warning{%
1620 \PackageWarning{amsthm}{The \@nx\qedhere command may not work
1621 correctly here}%
1622 }
1623 \newcommand{\mathqed}{\quad\hbox{\qedsymbol}}
1624 \def\linebox@qed{\hfil\hbox{\qedsymbol}\hfilneg}
1625 \@ifpackageloaded{amsmath}{%
1626 \def\math@qedhere{%
1627 \@ifundefined{\@currenvir @qed}{%
1628 \qed@warning\quad\hbox{\qedsymbol}%
1629 }{%
1630 \@xp\aftergroup\csname\@currenvir @qed\endcsname
1631 }%
1632 }
1633 \def\displaymath@qed{%
1634 \relax
1635 \ifmmode
1636 \ifinner \aftergroup\linebox@qed
1637 \else
1638 \eqno
1639 \let\eqno\relax \let\leqno\relax \let\veqno\relax
1640 \hbox{\qedsymbol}%
1641 \fi
1642 \else
1643 \aftergroup\linebox@qed
1644 \fi
1645 }
1646 \@xp\let\csname equation*@qed\endcsname\displaymath@qed
1647 \def\equation@qed{%
1648 \iftagsleft@
1649 \hbox{\phantom{\quad\qedsymbol}}%
1650 \gdef\alt@tag{%
1651 \rlap{\hbox to\displaywidth{\hfil\qedsymbol}}%
1652 \global\let\alt@tag\@empty
1653 }%
1654 \else
1655 \gdef\alt@tag{%
1656 \global\let\alt@tag\@empty
1657 \vtop{\ialign{\hfil####\cr
1658 \tagform@\theequation\cr
1659 \qedsymbol\cr}}%
1660 \setbox\z@
1661 }%
1662 \fi
1663 }
1664 \def\qed@tag{%
1665 \global\tag@true \nonumber
1666 &\omit\setboxz@h {\strut@ \qedsymbol}\tagsleft@false
1667 \place@tag@gather
1668 \kern-\tabskip
1669 \ifst@rred \else \global\@eqnswtrue \fi \global\advance\row@\@ne \cr
1670 }
1671 \def\split@qed{%
1672 \def\endsplit{\crcr\egroup \egroup \ctagsplit@false \rendsplit@
1673 \aftergroup\align@qed
1674 }%
1675 }
1676 \def\align@qed{%
1677 \ifmeasuring@ \tag*{\qedsymbol}%
1678 \else \let\math@cr@@@\qed@tag
1679 \fi
1680 }
1681 \@xp\let\csname align*@qed\endcsname\align@qed
1682 \@xp\let\csname gather*@qed\endcsname\align@qed
1683 %% Needs some patching up for amsmath 1.2
1684 }{% end of amsmath branch, start plain LaTeX branch
1685 \def\math@qedhere{%
1686 \@ifundefined{\@currenvir @qed}{%
1687 \qed@warning \aftergroup\displaymath@qed
1688 }{%
1689 \@xp\aftergroup\csname\@currenvir @qed\endcsname
1690 }%
1691 }
1692 \def\displaymath@qed{%
1693 \relax
1694 \ifmmode
1695 \ifinner \aftergroup\aftergroup\aftergroup\linebox@qed
1696 \else
1697 \eqno \def\@badmath{$$}%
1698 \let\eqno\relax \let\leqno\relax \let\veqno\relax
1699 \hbox{\qedsymbol}%
1700 \fi
1701 \else
1702 \aftergroup\linebox@qed
1703 \fi
1704 }
1705 \@ifundefined{[email protected]}{%
1706 \def\equation@qed{\displaymath@qed \quad}%
1707 }{%
1708 \def\equation@qed{\displaymath@qed}%
1709 }
1710 \def\@tempa#1$#2#3\@nil#4{%
1711 \def#4{#1$#2\def\@currenvir{displaymath}#3}%
1712 }%
1713 \expandafter\ifx\csname[ \endcsname\relax
1714 \expandafter\@tempa\[\@nil\[%
1715 \else
1716 \expandafter\expandafter\expandafter\@tempa\csname[
1717 \expandafter\endcsname\expandafter\@nil
1718 \csname[ \endcsname
1719 \fi
1720 }
1721 \@ifpackageloaded{amstex}{%
1722 \def\@tempa{TT}%
1723 }{%
1724 \@ifpackageloaded{amsmath}{%
1725 \def\@tempb#1 v#2.#3\@nil{#2}%
1726 \ifnum\@xp\@xp\@xp\@tempb\csname [email protected]\endcsname v0.0\@nil
1727 <\tw@
1728 \def\@tempa{TT}%
1729 \else
1730 \def\@tempa{TF}%
1731 \fi
1732 }{%
1733 \def\@tempa{TF}
1734 }%
1735 }
1736 \if\@tempa
1737 \renewcommand{\math@qedhere}{\quad\hbox{\qedsymbol}}%
1738 \fi
1739 \newcommand{\openbox}{\leavevmode
1740 \hbox to.77778em{%
1741 \hfil\vrule
1742 \vbox to.675em{\hrule width.6em\vfil\hrule}%
1743 \vrule\hfil}}
1744 \DeclareRobustCommand{\textsquare}{%
1745 \begingroup \usefont{U}{msa}{m}{n}\thr@@\endgroup
1746 }
1747 \@ifclasswith{\@classname}{noamsfonts}{%
1748 \providecommand{\qedsymbol}{\openbox}%
1749 }{}
1750 \providecommand{\qedsymbol}{\textsquare}
1751 \newenvironment{proof}[1][\proofname]{\par
1752 \pushQED{\qed}%
1753 \normalfont \topsep6\p@\@plus6\p@\relax
1754 \trivlist
1755 \itemindent\normalparindent
1756 \item[\hskip\labelsep
1757 \scshape
1758 #1\@addpunct{.}]\ignorespaces
1759 }{%
1760 \popQED\endtrivlist\@endpefalse
1761 }
1762 \providecommand{\proofname}{Proof}
1763 \def\bb@skip#1{%
1764 \skip@#1\relax \advance\skip@-\prevdepth \advance\skip@-\baselineskip
1765 \vskip\skip@}
1766 \def\markleft#1{{\let\protect\noexpand
1767 \let\label\relax \let\index\relax \let\glossary\relax
1768 \expandafter\@markleft\@themark{#1}%
1769 \mark{\@themark}}%
1770 \if@nobreak\ifvmode\nobreak\fi\fi}
1771 \def\@markleft#1#2#3{\gdef\@themark{{#3}{#2}}}
1772 \@ifundefined{symAMSb}{%
1773 \def\@dh{dh}%
1774 \ClassWarning{\@classname}{\string\dh\space unavailable without amsfonts;
1775 replaced by 'dh'}%
1776 }{%
1777 \edef\@dh{\noexpand\mathhexbox{\hexnumber@\symAMSb}67}%
1778 }
1779 \DeclareTextCommand{\dh}{OT1}{%
1780 \edef\@tempb{\scdefault}%
1781 \ifx\f@shape\@tempb
1782 \leavevmode
1783 \raisebox{-.8ex}{\makebox[\z@][l]{\hskip-.08em\accent"16\hss}}d%
1784 \else
1785 \@dh
1786 \fi
1787 }
1788 \DeclareTextCommand{\DH}{OT1}{%
1789 \leavevmode\raisebox{-.5ex}{\makebox[\z@][l]{\hskip-.07em\accent"16\hss}}D}
1790 \DeclareTextCommand{\DJ}{OT1}{%
1791 \leavevmode\raisebox{-.5ex}{\makebox[\z@][l]{\hskip-.07em\accent"16\hss}}D}
1792 \DeclareTextCommand{\dj}{OT1}{%
1793 \edef\@tempa{\f@shape}\edef\@tempb{\scdefault}%
1794 \ifx\@tempa\@tempb
1795 \leavevmode
1796 \raisebox{-.75ex}{\makebox[\z@][l]{\hskip-.08em\accent"16\hss}}d%
1797 \else
1798 \leavevmode\raisebox{.02ex}{\makebox[\z@][l]{\hskip.1em\accent"16\hss}}d%
1799 \fi}
1800 \hyphenation{acad-e-my acad-e-mies af-ter-thought anom-aly anom-alies
1801 an-ti-deriv-a-tive an-tin-o-my an-tin-o-mies apoth-e-o-ses
1802 apoth-e-o-sis ap-pen-dix ar-che-typ-al as-sign-a-ble as-sist-ant-ship
1803 as-ymp-tot-ic asyn-chro-nous at-trib-uted at-trib-ut-able bank-rupt
1804 bank-rupt-cy bi-dif-fer-en-tial blue-print busier busiest
1805 cat-a-stroph-ic cat-a-stroph-i-cally con-gress cross-hatched data-base
1806 de-fin-i-tive de-riv-a-tive dis-trib-ute dri-ver dri-vers eco-nom-ics
1807 econ-o-mist elit-ist equi-vari-ant ex-quis-ite ex-tra-or-di-nary
1808 flow-chart for-mi-da-ble forth-right friv-o-lous ge-o-des-ic
1809 ge-o-det-ic geo-met-ric griev-ance griev-ous griev-ous-ly
1810 hexa-dec-i-mal ho-lo-no-my ho-mo-thetic ideals idio-syn-crasy
1811 in-fin-ite-ly in-fin-i-tes-i-mal ir-rev-o-ca-ble key-stroke
1812 lam-en-ta-ble light-weight mal-a-prop-ism man-u-script mar-gin-al
1813 meta-bol-ic me-tab-o-lism meta-lan-guage me-trop-o-lis
1814 met-ro-pol-i-tan mi-nut-est mol-e-cule mono-chrome mono-pole
1815 mo-nop-oly mono-spline mo-not-o-nous mul-ti-fac-eted mul-ti-plic-able
1816 non-euclid-ean non-iso-mor-phic non-smooth par-a-digm par-a-bol-ic
1817 pa-rab-o-loid pa-ram-e-trize para-mount pen-ta-gon phe-nom-e-non
1818 post-script pre-am-ble pro-ce-dur-al pro-hib-i-tive pro-hib-i-tive-ly
1819 pseu-do-dif-fer-en-tial pseu-do-fi-nite pseu-do-nym qua-drat-ic
1820 quad-ra-ture qua-si-smooth qua-si-sta-tion-ary qua-si-tri-an-gu-lar
1821 quin-tes-sence quin-tes-sen-tial re-arrange-ment rec-tan-gle
1822 ret-ri-bu-tion retro-fit retro-fit-ted right-eous right-eous-ness
1823 ro-bot ro-bot-ics sched-ul-ing se-mes-ter semi-def-i-nite
1824 semi-ho-mo-thet-ic set-up se-vere-ly side-step sov-er-eign spe-cious
1825 spher-oid spher-oid-al star-tling star-tling-ly sta-tis-tics
1826 sto-chas-tic straight-est strange-ness strat-a-gem strong-hold
1827 sum-ma-ble symp-to-matic syn-chro-nous topo-graph-i-cal tra-vers-a-ble
1828 tra-ver-sal tra-ver-sals treach-ery turn-around un-at-tached
1829 un-err-ing-ly white-space wide-spread wing-spread wretch-ed
1830 wretch-ed-ly Eng-lish Euler-ian Feb-ru-ary Gauss-ian
1831 Hamil-ton-ian Her-mit-ian Jan-u-ary Japan-ese Kor-te-weg
1832 Le-gendre Mar-kov-ian Noe-ther-ian No-vem-ber Rie-mann-ian Sep-tem-ber}
1833 \def\calclayout{\advance\textheight -\headheight
1834 \advance\textheight -\headsep
1835 \oddsidemargin\paperwidth
1836 \advance\oddsidemargin -\textwidth
1837 \divide\oddsidemargin\tw@
1838 \ifdim\oddsidemargin<.5truein \oddsidemargin.5truein \fi
1839 \advance\oddsidemargin -1truein
1840 \evensidemargin\oddsidemargin
1841 \topmargin\paperheight \advance\topmargin -\textheight
1842 \advance\topmargin -\headheight \advance\topmargin -\headsep
1843 \divide\topmargin\tw@
1844 \ifdim\topmargin<.5truein \topmargin.5truein \fi
1845 \advance\topmargin -1truein\relax
1846 }
1847 \InputIfFileExists{amsproc.cfg}{}{%
1848 \calclayout % initialize
1849 \pagenumbering{arabic}%
1850 \pagestyle{headings}%
1851 \thispagestyle{plain}%
1852 }
1853 \if@compatibility \else\endinput\fi
1854 \def\tiny{\Tiny}
1855 \def\defaultfont{\normalfont}
1856 \def\rom{\textup}
1857 \let\@newpf\proof \let\proof\relax \let\endproof\relax
1858 \newenvironment{pf}{\@newpf[\proofname]}{\popQED\endtrivlist}
1859 \newenvironment{pf*}[1]{\@newpf[#1]}{\popQED\endtrivlist}
1860 \endinput
1861 %%
1862 %% End of file `amsproc.cls'.