%% amsbook.sty, temporary patch version 1.1x, 21-Mar-1994
%% American Mathematical Society, Technical Support Department,
%%   P. O. Box 6248, Providence, RI 02940, USA
%% 401-455-4080, 800-321-4AMS
%% tech-support@math.ams.org
%%
\expandafter\ifx\csname amsbook.sty\endcsname\relax
\expandafter\def\csname amsbook.sty\endcsname{}
\else\message{---already loaded}\endinput\fi
\def\filename{amsbook.sty}
\def\fileversion{1.1x} \def\filedate{21-Mar-1994}
\immediate\write16{%
AMS-LaTeX document style `AMSBOOK' (\fileversion, \filedate)}
%%% end of file header
\let\if@article\iffalse
\input amsart.sty
\def\@xtitle[#1]#2{\def\@title{\ignorespaces#2\unskip}}
\def\@xauthor[#1]#2{\expandafter\def\expandafter
  \@authors\expandafter{\@authors#2\and}}
\def\maketitle{\par
  \@topnum\z@ % this prevents figures from falling at the top of page 1
  \begingroup
  \@maketitle
  \endgroup
  \thispagestyle{plain}%
  \c@footnote\z@
  \def\do##1{\let##1\relax}%
  \do\maketitle \do\@maketitle
  \do\title \do\@xtitle \do\@title
  \do\author \do\@xauthor \do\@authors
  \do\dedicatory \do\thededicatory@
  \do\thanks \do\@thanks
  \do\keywords \do\@keywords
  \do\subjclass \do\@subjclass
  \do\@andify
}

\def\@maketitle{\cleardoublepage \thispagestyle{empty}%
\begingroup \topskip\z@skip
\null\vfil
\begingroup
        \centering \large\bfseries \openup\medskipamount
        \expandafter\uppercasetext@\expandafter{\@title}\vfil
        \def\and{\par\bigskip}\mdseries\@authors\vfil
\endgroup
\vfil\vfil
\newpage
\null\vfil
\begingroup
        \parskip\medskipamount
        \ifx\@empty\@translator \else
        Translator: \@translator \@@par\fi
        \@thanks\@@par
\endgroup
\vfil
\ifx\@empty\@subjclass \else
1980 {\it Mathematics Subject Classification} (1985 {\it Revision\/}).\enspace
Primary \@subjclass.\vfil
\fi
\ifx\@empty\@keywords \else
{\it Key words and phrases.}\enspace \@keywords.\vfil
\fi
\expandafter\@ifnotempty\expandafter{\the\@addresstoks}{%
  Author addresses:\@setaddress}%
\vfil\vfil
\endgroup}

\def\titlepage{\newpage\thispagestyle{empty}\c@page\z@}
\def\endtitlepage{\newpage}
\def\partname{Part}
\def\thepart{\@arabic\c@part}

\def\part{\cleardoublepage \thispagestyle{empty}%
  \null\vfil  \markboth{}{}\secdef\@part\@spart}
\def\l@part#1#2{\par\addpenalty\@secpenalty\medskip
  {\centering#1\par}\nobreak\@afterheading}
\newcounter{chapter}

\def\chapter{\cleardoublepage \thispagestyle{plain} \global\@topnum\z@
  \@afterindentfalse \secdef\@chapter\@schapter}

\def\@chapter[#1]#2{\refstepcounter{\@string\chapter}%
  \typeout{\chaptername\space\thechapter}%
  \addcontentsline{toc}{\@string\chapter}{%
    \ifnum \c@secnumdepth >\m@ne
      \protect\numberline{\chaptername\ \thechapter.}\fi #1}%
  \chaptermark{\ifnum\c@secnumdepth >\m@ne \thechapter. \fi
       \ignorespaces#1\unskip}%
  \addtocontents{lof}{\protect\addvspace{10\p@}}%
  \addtocontents{lot}{\protect\addvspace{10\p@}}%
  \@makechapterhead{#2}\@afterheading}

\def\@schapter#1{\typeout{#1}%
  \addcontentsline{toc}{\@string\chapter}{#1}%
  \chaptermark{\ignorespaces#1\unskip}%
  \addtocontents{lof}{\protect\addvspace{10\p@}}%
  \addtocontents{lot}{\protect\addvspace{10\p@}}%
  \@makeschapterhead{#1}\@afterheading}

\def\chaptername{Chapter}
\def\thechapter{\@Roman\c@chapter}

\def\l@chapter{\@tocline\medskipamount{2em}{\upshape\bfseries}}

\@addtoreset{section}{chapter}

\def\appendix{\par
  \c@chapter\z@ \c@section\z@
  \def\chaptername{Appendix}%
  \def\thechapter{\@Alph\c@chapter}}
\def\@starttoc#1#2{\begingroup
  \let\secdef\@gobbletwo \chapter
  \ifx#2\contentsname \else
    \addcontentsline{toc}{\@string\chapter}#2\fi
  \typeout#2\chaptermark#2\@makeschapterhead#2\@afterheading
  \makeatletter
  \@input{\jobname.#1}\if@filesw \expandafter\newwrite\csname tf@#1\endcsname
             \expandafter\openout \csname tf@#1\endcsname \jobname.#1\relax
  \fi \global\@nobreakfalse \endgroup
  \newpage
}
\def\tableofcontents{\@starttoc{toc}\contentsname}
\def\listoffigures{\@starttoc{lof}\listfigurename}
\def\listoftables{\@starttoc{lot}\listtablename}

\def\listfigurename{List of Figures}
\def\listtablename{List of Tables}

\def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
\let\l@table=\l@figure

\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{3}
\def\thebibliography#1{\chapter*\bibname
  \list{[\@arabic\c@enumi]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
  \advance\leftmargin\labelsep \usecounter{enumi}}\sloppy
  \clubpenalty9999 \widowpenalty\clubpenalty  \sfcode`\.\@m
  \small}

\let\endthebibliography=\endlist
\newif\if@restonecol
\def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi
  \columnseprule\z@ \columnsep 35\p@
  \twocolumn[\@makeschapterhead\indexname]\chaptermark\indexname
  \thispagestyle{plain}\let\item\@idxitem
  \parindent\z@  \parskip\z@\@plus.3\p@\relax
  \small}

\def\indexname{Index}

\def\@idxitem{\par\hangindent 4em}
\def\subitem{\par\hangindent 4em\hspace*{2em}}
\def\subsubitem{\par\hangindent 4em\hspace*{3em}}
\def\endtheindex{\if@restonecol\onecolumn\else\clearpage\fi}
\def\indexspace{\par\bigskip}
\@addtoreset{footnote}{chapter}

\def\thefigure{\thechapter.\@arabic\c@figure}
\def\thetable{\thechapter.\@arabic\c@table}
\def\theorem@headerfont{\sc}
\let\theorem@indent\indent

\def\th@remark{\theorempreskipamount6\p@\@plus6\p@
    \theorempostskipamount\z@\@plus6\p@
    \upshape}
\def\pf{%
  \par\topsep6\p@\@plus6\p@
  \trivlist \itemindent\normalparindent
  \item[\hskip\labelsep\sc\proofname.]\ignorespaces}
\def\endpf{\qed\endtrivlist}

\@namedef{pf*}#1{\par\toks@\expandafter{\proofname}%
  \edef\restoreproofname{\def\noexpand\proofname{\the\toks@}}%
  \def\proofname{#1}\pf\restoreproofname\ignorespaces}
\expandafter\let\csname endpf*\endcsname=\endpf
\def\ps@headings{\let\@mkboth\markboth
  \let\@oddfoot\@empty\let\@evenfoot\@empty
  \def\@evenhead{\small \rlap{\thepage}\hfil
    \expandafter\expandafter\expandafter\expandafter\expandafter
    \expandafter\expandafter\uppercasetext@
    \expandafter\expandafter\expandafter\expandafter\expandafter
    \expandafter\expandafter{\leftmark}%
    \hfil}
  \def\@oddhead{\small\hfil
    \expandafter\expandafter\expandafter\expandafter\expandafter
    \expandafter\expandafter\uppercasetext@
    \expandafter\expandafter\expandafter\expandafter\expandafter
    \expandafter\expandafter{\rightmark}%
    \hfil \llap{\thepage}}
  \def\chaptermark##1{\@mkboth{##1}{##1}}
  \let\sectionmark\markright}

\def\ps@myheadings{\let\@mkboth\@gobbletwo
  \def\@oddhead{\small\rightmark \hfil\thepage}\let\@oddfoot\@empty
  \def\@evenhead{\small\thepage\hfil\leftmark}\let\@evenfoot\@empty
  \let\chaptermark\@gobble \let\sectionmark\@gobble}

\let\subsectionmark\@gobble
\let\subsubsectionmark\@gobble
\let\paragraphmark\@gobble
\advance\textheight by -\headheight
\advance\textheight by -\headsep
\advance\textheight by -\normalbaselineskip
\advance\textheight by \topskip
\oddsidemargin=8.5 true in % standard U.S. paper width
\advance\oddsidemargin by -\textwidth
\oddsidemargin=.5\oddsidemargin
\ifdim\oddsidemargin < .5 true in
  \oddsidemargin = .5 true in \fi
\advance\oddsidemargin by -1 true in
\evensidemargin=\oddsidemargin
\topmargin=11 true in % standard U.S. paper width
\advance\topmargin by -\textheight
\advance\topmargin by -\headheight
\advance\topmargin by -\headsep
\topmargin=.5\topmargin
\ifdim\topmargin<.5 true in
  \topmargin=.5 true in \fi
\advance\topmargin by -1 true in
\mark{{}{}}
\ps@headings

\pagenumbering{arabic}
\@twosidetrue \@mparswitchtrue   % this = `twoside' option
\onecolumn
%% \CharacterTable
%%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
%%   Digits        \0\1\2\3\4\5\6\7\8\9
%%   Exclamation   \!     Double quote  \"     Hash (number) \#
%%   Dollar        \$     Percent       \%     Ampersand     \&
%%   Acute accent  \'     Left paren    \(     Right paren   \)
%%   Asterisk      \*     Plus          \+     Comma         \,
%%   Minus         \-     Point         \.     Solidus       \/
%%   Colon         \:     Semicolon     \;     Less than     \<
%%   Equals        \=     Greater than  \>     Question mark \?
%%   Commercial at \@     Left bracket  \[     Backslash     \\
%%   Right bracket \]     Circumflex    \^     Underscore    \_
%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
%%   Right brace   \}     Tilde         \~}

\endinput
%% 
%% End of file `amsbook.sty'.
