Debian Codegraph @

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

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