%
% AMS template fie with AMS style descripition
%
% Developed by Brian Papa - American Meteorological Society
%
% amspaper.tex version 1.0
%
\documentclass[12pt]{article}

\usepackage{epsfig}
\usepackage{ametsoc}

\setlength{\headheight}{0cm} \setlength{\headsep}{0cm}
\setlength{\textheight}{23.7cm} \setlength{\textwidth}{16cm}
\setlength{\oddsidemargin}{0cm} \setlength{\evensidemargin}{0cm}
\setlength{\topmargin}{0cm} \setlength{\topskip}{0cm}
\setcounter{secnumdepth}{5}

\renewcommand{\baselinestretch}{2.0}

\catcode`\"=\active \let"=\"
\let\3=\ss

\begin{document}

\title{\bf A Sample American Meteorological Society Latex File}
% First author name and corresponding author information (typically
% the first author).
\author{{Brian Papa \thanks{\textit{Corresponding author address:}
         Firstname Lastname, American Meteorological Society, 45 Beacon St., Boston,
         MA 01464. \newline{E-mail: latex@ametsoc.org}}}\\
American Meteorological Society, Boston, Massachusetts % First author affiliation
%
% Use the \and command to add multiple authors with different
% affiliations
%
% Second author name and affiliation
\and
Author2Firstname Author2Lastname\\
National Severe Storms Laboratory, Norman, Oklahoma
}
\amstitle

% Start Abstract
\begin{abstract}
This is a sample American Meteorological Society (AMS) \LaTeX\ template.   This
document provides authors with both a \LaTeX\ template and basic AMS
formatting guidelines to be used when writing a paper.  Authors should
refer to the file amspaper.tex to review the actual \LaTeX\ code used to
create this document. The amspaper.tex (or blank\_template.tex) file
can then be modified by authors for their own manuscript.

The abstract should be 250 words or less in length.  The abstract
should not contain any mathematical expressions, should include no
footnotes or citations, and should not contain first-person sentence
structure.
\end{abstract}

% Start main body of the paper
\section{Introduction}
This document will provide authors with the basic American
Meteorological Society (AMS) formatting guidelines.  This is done using
\LaTeX, which will also provide authors with an initial \LaTeX\ template
to use when submitting a manuscript to the AMS.  The following
sections will outline the guidelines and formatting for text, math,
figures, and tables all through the use of \LaTeX\/.  A more thorough review
of all manuscript requirements can be found in the AMS authors guide
(available online at www.ametsoc.org/PUBS/Authorsguide/pdf\_vs/authguide.pdf).

A common, freely available resource for \LaTeX\ information is the \textit{Not
so Short Guide to \LaTeX\/} available at numerous Web sites (available
online at www.ctan.org/tex-archive/info/lshort/english/lshort.pdfable). Another
valuable source of \TeX/\LaTeX\ information is the \textit{Tex Frequently Asked
Questions} available at numerous Web sites (available online at
www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes).

An attempt to compile amspaper.tex should be made before using the template.  These files are not guaranteed to work.  The
files have been tested with a Mandriva 10.2 Limited Edition Linux
distribution (available online at
http://www.mandriva.com/en/download) using the tetex-3.0-8
package (available online at http://www.tug.org/tetex/). Other
distributions of Linux/Unix and other distributions of \LaTeX\ may be
acceptable. Feedback and questions should be sent to latex@ametsoc.org.
\section{Formatting text and sections}
The text should be divided into sections, each with
a separate heading and numbered consecutively (unless it is a single
secondary or tertiary section). The
primary, secondary, and tertiary headings should be formatted on a separate
line using the appropriate \LaTeX\ commands. For more detailed information on different sections and
their formatting see the Authors' Guide.
\subsection{Secondary headings}
Numbered subsections (secondary headings) are formatted using the $\backslash$section
command. Unnumbered sections can be formatted by placing an asterisk
at the end of the appropriate section, subsection, or subsubsection command
(as in this case).
\subsubsection*{Tertiary headings}
Subsubsections (tertiary headings) are formatted using the
$\backslash$subsubsection command.
\paragraph*{Quaternary headings}
Subsubsubsections (quaternary headings) are formatted using the
$\backslash$paragraph command.
\subsection{Citations}
Citations are done using the $\backslash$cite command in Latex.  For
example, one can cite \cite{Becker+Schmitz2003}.  A variety of
citation formats can be made with the natbib package.  Refer to
documentation on the natbib package for more information on the basic citation
commands. References should be entered in the references.bib file and
placed in the bibliography directory.

\section{Formatting math}
The following sections will outline the basic formatting rules
for mathematical symbols and units.  In addition, a review of the amspaper.tex file
will show how this is done with the use of \LaTeX\ commands.
\subsection{Mathematical symbols}
Symbols must be of the same font style both in text discussion and in displayed
equations or terms (and figures should be prepared to match). Scalar
single character symbols are set italic, Greek, or script. Examples
are $u$, $L$ (note that Greek upsilon $\upsilon$ is used for
\textit{v} (italic ``vee'') to avoid confusion with
Greek nu $\nu$ often used for viscosity; this is handled automatically
when in \LaTeX\ math mode), $w$, $x$, $y$, $z$, $f$, $g$, $r$, indices such as $i$ or $j$, and constants such as $C_D$, $k$,
or $K$. Multiple character scalar variables, abbreviations, nondimensional numbers, and acronyms for
variables are set regular nonitalic: $\mathrm{LWC}$, $\mathrm{Re}$, $\mathrm{Ro}$, $\mathrm{BT}$, $\mathrm{abs}$, $\mathrm{obs}$, $\mathrm{max}$, $\mathrm{min}$, $\mathrm{Re}$/$\mathrm{Im}$ (real/imaginary), etc.
For vectors, use boldface nonitalic Times Roman as in $\mathbf{V}$,
$\mathbf{v}$, or $\mathbf{x}$, and $\mathbf{i}$, $\mathbf{j}$, and $\mathbf{k}$ unit
vectors. Do not use the \LaTeX\ $\backslash$vec command to denote vectors. For
matrix notation use nonitalic Arial boldface font as in
\textbf{\textsf{A}}, \textbf{\textsf{B}}, or \textbf{\textsf{M}}. All mathematical operator abbreviations/acronyms are set lower-case regular
Roman font, except O (on the order of): $\sin$, $\cos$, $\tan$, $\tanh$, $\mathrm{cov}$, $\Pr$ (for probability; note same as
Prandtl number), $\mathrm{const}$ (for constant), $\mathrm{c.c.}$ (complex conjugate).
\subsection{Units}
Units are always set on a single line with a space separating the denominator, which is set with a
superscript $-1$, $-2$, and so on, rather than using a slash for ``per.'' Examples are g kg$^{-1}$ , m$^2$ s$^{-1}$ , W m$^{-2}$ , g
m$^{-3}$ , and m s$^{-1}$ (note that ms$^{-1}$ is the unit for ``per millisecond'').
\subsection{Equations}
Brief equations or terms set inline in text must be set as a
single line expression because page proofs are not double spaced, for
example, $\rho^{-1}p/x$ or $(1/{\rho})p/x$  or $(a-b)/(c+d)$; that is,
use a superscript $-1$ for the denominator. In case of a more complicated
term or equation, it should be set as an unnumbered display equation,
such as
\begin{displaymath}
x=\frac{2b\pm\sqrt{b^{2}-4ac}}{2c}.
\end{displaymath}
Otherwise, numbered equations can be entered using the appropriate
$\backslash$equation command, such as
\begin{equation}
x=\frac{2b\pm\sqrt{b^{2}-4ac}}{2c}.
\end{equation}
This provides a numbered display equation.

\section{Figures and tables}
\subsection{Figures}
Detailed information about figures can be found both in the Authors'
Guide and through links on the AMS Author Upload Web page (available
online at http://www.ametsoc.org/au\_upload/index.cfm). The insertion
of a sample figure (Fig. \ref{f1}) and caption is shown below.
\subsection{Tables}
Each table must be numbered, provided with a legend, and mentioned specifically in
the text. Each table should be in double-spaced format on a separate page, with an
explanatory caption typed above the table on the same page. All tables should be attached at
the end of the manuscript, following the figure legends. See section
11 of the Authors' Guide for more information on the proper
preparation of tables. See below for the formatting of an example
table (Table \ref{t1}).

%Start acknowledments
\begin{acknowledgment} 
Keep acknowledgments as brief as possible. In general, acknowledge only direct help
in writing or research. Financial support (e.g., grant numbers) for the work done, or for an
author, or for the laboratory where the work was performed is best acknowledged here rather
than as footnotes to the title or to an author's name. Contribution numbers (if the work has
been published by the author's institution or organization) should be included on the title
page, not in the acknowledgments.
\end{acknowledgment}
\clearpage

%Start appendix section(s)
%
% Use appendix1 comand in place of appendixA, appendixB if only one
% appendix is needed.
\begin{appendixA}
\section*{\begin{center}Appendix Title Is Entered Here\end{center}}
\subsection*{Appendix section}
The AMS template provides authors with up to five appendixes (A--E).
Additional appendixes can be added by modifying the ametsoc.sty file, if
necessary. When entering a single appendix use the
$\backslash$appendix1 command. Otherwise, use the appropriate
$\backslash$appendixA through $\backslash$appendixE command. The title
of the appendix can formatted using the $\backslash$section* command
as shown above in the amspaper.tex file (which also provides code for
centering). The $\backslash$subsection, $\backslash$subsubection, and $\backslash$paragraph
commands are used to create sections in the appendix. Equations
are automatically numbered appropriately for each appendix.
Here is an example of the first equation in appendix A, automatically
labeled A1,
\begin{equation} \label{eq:1}
x=\frac{2b\pm\sqrt{b^{2}-4ac}}{2c}.
\end{equation}
\end{appendixA}

\clearpage
\begin{appendixB}
\section*{\begin{center}File structure of the AMS Latex Package\end{center}}
\subsection*{AMS latex files}
You will be provided with a tarred, zipped Latex package containing
seven files: amspaper.tex, blank\_template.tex, ametsoc.sty, amspaper.pdf, figure01.eps,
ametsoc.bst, and references.bib.  Two subdirectories will be created
when you untar the package: figures and bibliography.  The figures
directory will contain the sample figure file figure01.eps.  This
directory should be used to store all your figure files.  The
bibliography directory will contain the sample bibliography file
references.bib. You should alter references.bib with your own
bibliography information.  The files ametsoc.sty and ametsoc.bst are the two
style files.  The file amspaper.tex contains the Latex code for this sample
file.   The resulting PDF is amspaper.pdf. The file blank\_template.tex provides
a basic blank template with some section headings for authors to more
easily enter their manuscript into.

Questions and feedback concerning the use of the AMS Latex files should
be directed to latex@ametsoc.org.
\end{appendixB}

\clearpage
\begin{appendixC}
\section*{\begin{center}How to Compile the Latex Files and Create a PDF\end{center}}
\subsection{Compilation}
You can compile your latex files and build the dvi file with the
following commands on a Linux-/Unix-based system.
\begin{itemize}
\item{latex filename.tex (e.g., latex amspaper.tex)}
\item{bibtex filename (e.g., bibtex amspaper).  Note that the .tex
  extension is not included in the filename}
\item{latex filename.tex (e.g., latex amspaper.tex)}
\item{latex filename.tex (e.g., latex amspaper.tex).  This command is
  repeated twice to clean up any reference dependencies.}
\end{itemize}
This will create a dvi file (e.g. amspaper.dvi).  You can view the dvi
file using a dvi file viewer, such as xdvi, kdvi, or some similar
program.  Your PDF will be created from the dvi file, so do not delete
this file.
\subsection{Creating the PDF}
The final PDF can be created from the dvi file using the following
commands on a Linux-/Unix-based system.
\begin{itemize}
\item{dvips filename.dvi -o filename.ps (e.g., dvips amspaper.dvi -o
  amspaper.ps).  This converts the dvi file to a postscript file that
  will be converted to the final PDF.}
\item{ps2pdf14 filename.ps (e.g. ps2pdf14 amspaper.ps).  This creates
  the final PDF file.  The 14 at the end of the ps2pdf14 command will
  generate a PDF compatible with Acrobat Reader, version 5 and later.
  It may be replaced with ps2pdf13 or ps2pdf which will generate PDFs
  compatible with Acrobat Reader, version 4 or 3 and later,
  respectively.}
\end{itemize}
\end{appendixC}

% Create a bibliography directory and place your .bib file there.
\clearpage
\bibliographystyle{./ametsoc}
\bibliography{./bibliography/references}

\clearpage
\begin{figure}
  \noindent\includegraphics[width=40pc,angle=0]{./figures/figure01.eps}\\
  \caption{Enter the caption for your figure here.  Repeat as
  necessary for each of your figures. Create a figures directory and
  place all figures in that directory.}\label{f1}
\end{figure}

\clearpage
\begin{table}[h]
\caption{\label{t1}This is a sample table caption and table layout.  Enter as many tables as
  necessary at the end of your manuscript.}
\begin{center}
\begin{tabular}{ccccrrcrc}
$\Theta$ & $a$ & $\Lambda$ & Perturbation type &
$\tau$ & $\alpha$ & $\lambda_\parallel$
& $n_\parallel$ & $n_\phi$
\\\hline
 89.5 & 1.20 & 6 & SV &  5 &  0 & 0.398 &  144 & 2304 \\
 89.5 & 1.20 & 6 & SV &  5 & 90 & 3.981 & 2304 & 2304 \\
 89.5 & 1.20 & 6 & NM & -- &  0 & 0.501 &  288 & 2304 \\
 89.5 & 1.20 & 6 & NM & -- & 90 & 7.943 & 4608 & 2304 \\
 89.5 & 0.87 & 6 & SV &  5 &  0 & 0.631 &  288 & 2304 \\
 89.5 & 0.87 & 6 & SV &  5 & 90 & 3.162 & 1152 & 2304 \\
 89.5 & 0.87 & 6 & SV & 30 &  0 & 7.943 & 4608 & 2304 \\
 89.5 & 0.87 & 6 & SV & 30 & 90 & 5.012 & 2304 & 2304
\end{tabular}
\end{center}

\end{table}

\end{document}
