% ------------------------------------------------------------------------
% Sample.tex for birkbook.cls*********************************************
% ------------------------------------------------------------------------
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass{birkbook}

% THEOREM Environments (Examples)------------------------------------------
 \newtheorem{thm}{Theorem}[section]
 \newtheorem{cor}[thm]{Corollary}
 \newtheorem{lem}[thm]{Lemma}
 \newtheorem{prop}[thm]{Proposition}
 \theoremstyle{definition}
 \newtheorem{defn}[thm]{Definition}
 \theoremstyle{remark}
 \newtheorem{rem}[thm]{Remark}
 \newtheorem*{ex}{Example}
\begin{document}
%--------------------------------------------------------------------------
%There is no need for typesetting a title page because this page will be
%typeset by the publisher. But you may include a titlepage for convenience
%if you like.
%
\pagenumbering{roman}
\title{An Example for the Usage of the\\ Birkbook Class File}
%----------Author 1
\author{Birkh\"{a}user Publishing Ltd.}
\date{November 30, 2001}
\maketitle
%%% ----------------------------------------------------------------------
\setcounter{page}{5}
\tableofcontents
\newpage
\section*{Preface}
\addcontentsline{toc}{section}{Preface}
\markboth{Preface}{Preface}\thispagestyle{empty}
This is the text for the Preface to this file. It should appear
after the table of contents which starts page numbering with roman
page 5. The actual text of the book starts on roman page 1.
%%%-----------------------------------------------------------------------

\chapter{Document Preamble}\thispagestyle{empty}
\pagenumbering{arabic}\setcounter{page}{1}
Start your document with the command

\begin{verbatim}\documentclass{birkbook}\end{verbatim}

After that, needed macro packages and new commands can be inserted
as in every \LaTeX\ or \AmS-\LaTeX\ document. Don't use commands
that change the page layout (like
\verb+\textwidth, \oddsidemargin+
etc.) or fonts.

If you really want to exclude the usage of any \AmS\ macro or
fonts you can use the option \verb+noams+, namely

\begin{verbatim}\documentclass[noams]{birkbook}\end{verbatim}

\chapter{Frontmatter}\thispagestyle{empty}
The command

\begin{verbatim}\begin{document}\end{verbatim}

starts -- as always in \LaTeX\ -- the text.

This file is thought of as a small tool for authors to look up
certain useful commands. They are not explained in detail with
text but can easily be found in the source file \verb+sample.tex+.

\chapter{Mainmatter}\thispagestyle{empty}
\section{What's Going on?}
Now type the article using the usual \LaTeX\ and (if you need them)
\AmS-\LaTeX\ commands.

\section{Technical Remarks}
\subsection{In Principle}
We gratefully appreciate if the text does
not contain \verb+\overfull+ and/or \verb+\underfull+ boxes, if
equations do not exceed the indicated width, if hyphenations have
been checked, and if the hierarchical structure of your article is
clear. Please avoid caps and underlines.

\subsection{Environments}
Just to give examples of a few typical environments:

\begin{defn}
This serves as environment for definitions. Note that the text
appears not in italics.
\end{defn}

\begin{thm}[Main Theorem]
In contrast to definitions, theorems appear typeset in italics as
it has become more or less standard in most textbooks and
monographies.
\end{thm}

\begin{rem}
Additional comments are being typeset without boldfaced entrance
word as they may be minor important.
\end{rem}

\begin{ex}
For some constructs, even no number is required.
\end{ex}

Displayed equations may be numbered like the following one:
\begin{equation}
\sqrt{1-\sin^2(x)}=|\cos(x)|.
\end{equation}

\subsection{Page Numbering, Running Heads}

The main text should start with arabic page number 1, all the
preceding material (table of contents, preface, dedication etc.)
should bear roman page numbers starting from v (roman 5). The
first four pages, including the title page, will be added by us.
\medskip

\noindent Please let each chapter start at an odd numbered page. On such
pages, however, page numbers and running heads should be omitted.
Otherwise the headers of pages on the left-hand side (even page
numbers) should bear the chapter title, those on the right-hand
side (odd page numbers) should bear the paragraph title. The
running heads ought to be centered.

\subsection{Indentation}
Though indentation to indicate a new paragraph is welcome, please
do not use indentation when the new paragraph is already marked by
an extra vertical space, as for example in the case of the first
paragraph following a heading (this is standard in this class), or
after using commands like
\verb+\smallskip, \medskip, \bigskip+ etc.

\subsection{Figures}

Please use whenever possible figures in EPS format (encapsulated
postscript). To include such a figure, use the command

\begin{verbatim}\usepackage{graphics}\end{verbatim}

in your document preamble. Then, you can include the figure with
the command

\begin{verbatim}\includegraphics{figure.eps}\end{verbatim}

It is sometimes difficult to place insertions at an exact location
in the final form of the book. Therefore, all figures and tables
should be numbered and you should refer to these numbers within
the text. Please avoid formulations like ``the following
figure\dots".

\section{Your Own Macros}

If you prefer to use your own macros within your document(s)
please don't forget to send them to us together with the source
files for the manuscript. We will need all these files to produce
the final layout.

\section{A Test Section to Start Another Page}

This section just shows that the headings on odd pages show the
section text.


\begin{thebibliography}{1}
\thispagestyle{empty}\markboth{Bibliography}{Bibliography}
\bibitem{test} A. B. C. Test, \textit{On a Test.} J. of Testing
\textbf{88} (2000), 100--120.
\bibitem{latex} G. Gr\"atzer, \textit{Math into \LaTeX.} 3rd Edition,
Birkh\"auser, 2000.
\end{thebibliography}

% ------------------------------------------------------------------------

\subsection*{Acknowledgment}
Many thanks to our \TeX-pert for developing this class file.
% ------------------------------------------------------------------------
\end{document}
% ------------------------------------------------------------------------
