%M. D. Spivak, A Gourmet Guide to typesetting with AMS TeX macro package,

%American Mathematical Society, Providence, Rhode Island, 1990

\input amstex

\documentstyle{amsppt}

\pageheight{25truecm}

\pagewidt{17truecm}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%Put your local definitions here, for example

%\define\MyNewCommand#1{This is my new command #1}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\topmatter

\title

This is the title of your talk or paper

\endtitle

\author

A. U. Thor

\endauthor

\address

This is your address.

For every co-author should be given separately.

\endaddress

\curraddr

This is your current address.

It is not necessary if the current address councides with the address.

\endcurraddr

Here you put the e-mail address

For every co-author should be given separately.

\endemail

\date

Here you put the date when you sent this file.

\enddate

%AMS Math Subject Classifications

\subjclass

Primary ?????, ?????;

Secondary ?????, ?????

\endsubjclass

\abstract

Here you put the abstract of your paper.

\endabstract

\thanks

Here you put the thanks to sponsors if any.

\endthanks

\endtopmatter

\document

%%%%%%%%%%%%%%%%%%%%%%%%

%Here your text starts.

%Below are some examples on how to type mathematics.

%Please run AMS TeX to see how does it look like.

%%%%%%%%%%%%%%%%%%%%%%%%

\head

First level head

\endhead

\subhead

Second level head

\endsubhead

\subsubhead

Third level head

\endsubsubhead

\proclaim {Theorem 1}

If $a=b$ then $b=a$.

\endproclaim

\remark {Remark 1}

Theorem 1 is valid for $a=0$ and $b=0$.

\endremark

\demo {Proof of Theorem 1}

The proof is obvious.

\qed\enddemo

\definition {Definition 1}

A number $n$ is called positive if $n>0$.

\enddefinition

\example {Example 1}

Any natural number is positive.

\endexample

\head Displayed formula \endhead

$$

\sin^2x+\cos^2x=1.

$$

\head Gather \endhead

$$

\gather

\sin^2x+\cos^2x=1,

\\

1+2+\dots+n=\frac {n(n+1)}2.

\endgather

$$

\head Align \endhead

$$

\align

\sin^2x+\cos^2x&=1

\\

&=2-1.

\endalign

$$

\Refs

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%Here your list of references starts.

%Below are two examples of how to type references.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\ref

\no 1

\by A. U. Thor

\yr 2002

\book The title of the book

\publ The name of the publishers

\publaddr The address of the publishers

\endref

\ref

\no 2

\by A. U. Thor

\yr 2002

\paper The title of the paper

\jour The name of the journal

\vol 1

\issue 2

\pages 3--4

\endref

\endRefs

\enddocument