Debian Codegraph @

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

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