% \iffalse
%%% ====================================================================
%%%  @LaTeX-file{
%%%     author          = "American Mathematical Society",
%%%     version         = "1.2beta",
%%%     date            = "11-Oct-1994",
%%%     time            = "15:07:15 EDT",
%%%     filename        = "testbook.tex",
%%%     copyright       = "Copyright (C) 1994 American Mathematical Society,
%%%                        all rights reserved.  Copying of this file is
%%%                        authorized only if either:
%%%                        (1) you make absolutely no changes to your copy,
%%%                        including name; OR
%%%                        (2) if you do make changes, you first rename it
%%%                        to some other name.",
%%%     address         = "American Mathematical Society,
%%%                        Technical Support,
%%%                        Electronic Products and Services,
%%%                        P. O. Box 6248,
%%%                        Providence, RI 02940,
%%%                        USA",
%%%     telephone       = "401-455-4080 or (in the USA and Canada)
%%%                        800-321-4AMS (321-4267)",
%%%     FAX             = "401-331-3842",
%%%     checksum        = "47149 128 451 4860",
%%%     email           = "tech-support@math.ams.org (Internet)",
%%%     codetable       = "ISO/ASCII",
%%%     keywords        = "latex, amslatex, ams-latex, amstex, documentation",
%%%     supported       = "yes",
%%%     abstract        = "This file is part of the AMS-\LaTeX{} package.
%%%                        It is a sample document illustrating the use of
%%%                        the ``amsbook'' documentclass and the ``amstex''
%%%                        package. It contains \verb|\include| statements
%%%                        referring to the component files preface.tex,
%%%                        chap1.tex, app.tex, biblio.tex, and
%%%                        index.tex.",
%%%     docstring       = "The checksum field above contains a CRC-16
%%%                        checksum as the first value, followed by the
%%%                        equivalent of the standard UNIX wc (word
%%%                        count) utility output of lines, words, and
%%%                        characters.  This is produced by Robert
%%%                        Solovay's checksum utility.",
%%%  }
%%% ====================================================================
% \fi
%-----------------------------------------------------------------------------
% Beginning of testbook.tex
%-----------------------------------------------------------------------------
%
% This is a sample file for use with AMS-LaTeX1.2. It provides an example of
% how to set up a file to be typeset with AMS-LaTeX.
%
% This is the driver file.  Separate chapters should be included at the end
% of this file.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass{amsbook}

\includeonly{preface,chap1,app,biblio,index}

\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}[theorem]{Lemma}

\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{example}[theorem]{Example}

\theoremstyle{remark}
\newtheorem{remark}[theorem]{Remark}

\numberwithin{equation}{section}
\numberwithin{section}{chapter}

\makeatletter
\def\square{\RIfM@\bgroup\else$\bgroup\aftergroup$\fi
  \vcenter{\hrule\hbox{\vrule\@height.6em\kern.6em\vrule}\hrule}\egroup}
\makeatother


\begin{document}
\pagenumbering{roman}
\title{Sample Monograph}
\author[AUTHOR ONE AND AUTHOR TWO]{Author One and Author Two}


\address{Department of Mathematics, Northeastern University, Boston,
Massa\-chusetts 02115} % Research address for author one
\curraddr{Department of Mathematics and Statistics,
Case Western Reserve University, Cleveland, Ohio 43403}
\email{xyz@@math.ams.org}
\address{Mathematical Research Section, School of Mathematical Sciences,
Australian National University, Canberra ACT 2601, Australia} %address for
%                                                             author two

\date{07 October 1994 \\
Version 1.02}
\subjclass{Primary 54C40, 14E20;\endgraf Secondary 46E25, 20C20}

%  \thanks will become a 1st page footnote.
\thanks{The first author was supported in part by NSF
Grant \#000000.}

\maketitle

\begin{abstract}
This paper is a sample prepared to illustrate for authors the use of the
\AmS-\LaTeX{} Version~1.2 package \texttt{amsbook} style.
\end{abstract}


\frontmatter
\tableofcontents
\setcounter{page}{5}
\include{preface}

\mainmatter
\setcounter{page}{1}
\include{chap1}

\backmatter
\include{app}
\include{biblio}
\include{index}
\end{document}

%-----------------------------------------------------------------------------
% End of testbook.tex
%-----------------------------------------------------------------------------
