%%% ====================================================================
%%%  @TeX-file{
%%%     author          = "David M. Jones",
%%%     version         = "1.09",
%%%     date            = "12 September 1995",
%%%     time            = "15:13:51 EDT",
%%%     filename        = "guide.tex",
%%%     email           = "jacm@theory.lcs.mit.edu",
%%%     url             = "http://theory.lcs.mit.edu/~jacm",
%%%     address         = "MIT Laboratory for Computer Science
%%%                        Room NE43-316
%%%                        545 Technology Square
%%%                        Cambridge, MA 02139
%%%                        USA",
%%%     telephone       = "(617) 253-5936",
%%%     FAX             = "(617) 253-3480",
%%%     checksum        = "37064 1122 4231 33062",
%%%     codetable       = "ISO/ASCII",
%%%     keywords        = "",
%%%     supported       = "yes",
%%%     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.",
%%%  }
%%% ====================================================================

\documentclass[draft]{article}

% \usepackage{fullpage}

\setcounter{secnumdepth}{2}
\setcounter{tocdepth}{2}

\newcommand{\BibTeX}{{\sc Bib}\TeX}

\newenvironment{example}
               {\list{}{}%
                \item[]}
               {\endlist}

% \newcommand{\eaddress}[1]{$\langle$\texttt{#1}$\rangle$}
\newcommand{\eaddress}{\texttt}

\newcommand{\meta}[2][]{%
    $\langle$\textit{#2}$\if !#1! \else _{#1}\fi\rangle$%
}

\newcommand{\filename}{\texttt}

\newcommand{\cls}{\texttt}

\newcommand{\opt}{\texttt}

\newcommand{\bst}{\texttt}

\newcommand{\env}{\texttt}

\newcommand{\cs}[1]{\texttt{\char`\\#1}}

\newcommand{\lb}{\texttt{\char`\{}}

\newcommand{\rb}{\texttt{\char`\}}}

\begin{document}

\title{Author's Guide for Electronic Submittal\\
of \emph{JACM} Journal Articles\footnote{This document is based on the
ACM's ``Author's Guide for Electronic Submittal of ACM Journal
Articles Accepted for Publication'' and is meant to be used as an
interim document until the ACM releases the final version of its own
macros.}}

\author{David M. Jones\\
\emph{Journal of the ACM}\\
\eaddress{jacm@theory.lcs.mit.edu}\\
\texttt{http://theory.lcs.mit.edu/\char`\~jacm}}

\date{12 September 1995}

\maketitle

\tableofcontents

\section*{Overview}
\addcontentsline{toc}{section}{Overview}

This document explains how to prepare an ACM article using the
\cls{acmart} document class and the \texttt{acmtrans} \BibTeX\ style
and how to submit the manuscript electronically.
Section~\ref{sec:macros} explains how to obtain the macros for
preparing your manuscript.  Section~\ref{sec:markup} describes how to
mark specific structural elements in articles.
Section~\ref{sec:submission} provides instructions for electronic
submission.

Manuscripts submitted electronically to the ACM will \emph{not} be
used as camera-ready copy.  Instead, your \LaTeX\ code will be
converted into SGML\@.  In order to facilitate the conversion to SGML,
please stick as close as possible to the structural markup described
in this guide.  This also means that you don't have to spend time
fine-tuning the line or page breaks of your document, since your
manuscript will be re-typeset using a different typesetting system.

The markup has been kept as compatible as possible with the standard
\LaTeX\ \cls{article} markup; with the exception of in-text citations,
most of the changes you will need to make are limited to the preamble
and frontmatter of your document and should only take a few minutes.
Except where noted in this document, you should use the standard
markup as described in \emph{{\LaTeX}: A Document Preparation
System}~\cite{Lamport94}.  You may also find
\emph{The {\LaTeX} Companion}~\cite{GoossensMS93} a useful reference.

%%  In addition to this guide, read the Information for Authors for
%%  the specific ACM journal, which outlines required content and
%%  explains peer review and publication procedures.

\section{Marking Structural Elements in Articles}
\label{sec:macros}

\subsection{Why Mark Article Structure?}

By identifying structural elements in your text, you enable ACM to use
an automated system that streamlines handling of your manuscript
through editing and production once it is accepted for publication.
The ACM publishing system converts your basic markup to Standard
Generalized Markup Language (SGML) tags.  The SGML tags let the
electronic publishing system recognize information types within the
article to facilitate storage, retrieval, and tracking.

SGML documents are system-independent and are readily exchanged among
users of various computer platforms and applications.

\subsection{Obtaining the \cls{acmart} Macros}

You can retrieve copies of the \cls{acmart} macros from the
following WWW page:
\begin{center}
\verb+http://theory.lcs.mit.edu/~jacm/acmart/+
\end{center}
Versions are available for both \LaTeX~2.09 and \LaTeXe, so please be
sure to retrieve the appropriate version for your system.  The macros
are also available via anonymous ftp at
\begin{center}
\verb+ftp://theory.lcs.mit.edu/pub/jacm/acmart/+
\end{center}

%%  Once you have the macros file and are ready to begin writing your
%%  article, write, tag, revise, and prepare your article for submission
%%  as you usually do with \LaTeX, using information from,
%%  \begin{itemize}
%%
%%  \item
%%  the Author's Guide for Electronic Submittal of Journal Articles Using
%%  \LaTeX\ (this document)
%%
%%  \item
%%  the Information for Authors published in the specific journal to which
%%  you plan to submit the manuscript
%%
%%  \item
%%  \LaTeX\ User's Guide and Reference Manual
%%
%%  \end{itemize}


\section{Marking the Article}
\label{sec:markup}

This section provides specific information you need to prepare your
article for automated conversion.

%%  Section~\ref{sec:frontmatter} describes the macros for marking the
%%  front matter.  Section~\ref{sec:math} covers mathematical
%%  proclamations, and Section~\ref{sec:backmatter} covers the back
%%  matter.
%%
%%  Each section contains examples showing how to arrange the text of
%%  addresses, references, and other elements to permit automatic
%%  recognition of their components.

\subsection{Specifying the Document Style and Options}

In addition to the other features described below, the \cls{acmart}
class has two new document class options to make it easier to produce
different forms of the manuscript tailored for different uses.
\begin{description}

\item[faircopy]
The \opt{faircopy} option reformats the printed manuscript into a form
more suitable for processing by ACM\@.  For example, it automatically
puts all figures on pages by themselves, with labels at the bottom of
the page identifying the figure (see the section on ``Printed
materials'' on page~\pageref{sec:printed}).

\item[preprint]
The \opt{preprint} option, which is the default, produces a manuscript
suitable for distribution as a preprint.

\end{description}
To produce a preprint version of your manuscript, just replace your
normal document style by the \cls{acmart} class, e.g.,
\begin{example}
\cs{documentclass}\texttt[$\langle$options$\rangle$\texttt]\lb
\cls{acmart}\rb
\end{example}
When printing your final manuscript to send to ACM for publication,
add the \opt{faircopy} option:
\begin{example}
\cs{documentclass}\texttt[$\langle$options$\rangle$,\opt{faircopy}\texttt]\lb
\cls{acmart}\rb
\end{example}
If you are using the \LaTeX~2.09 version of \cls{acmart}, substitute
\cs{documentstyle} for \cs{documentclass} in the above examples.

\subsection{Front Matter}
\label{sec:frontmatter}

The front matter consists of the following items:
\begin{itemize}

\item
the title

\item
the names and addresses of the authors

\item
the abstract

\item
a list of ACM Computing Classification System categories

\item
a list of General Terms

\item
a list of keywords

\item
a copyright notice and other information to appear at the bottom of
the title page of the article

\end{itemize}
The markup of these items is described in detail below.  The front
matter is ended by the \cs{maketitle} command, which must occur after
all of the items listed below, and before the first text of your
paper.  This section also describes the \env{sponsor} environment,
which, if present, should be put immediately after the \cs{maketitle}
command.

\subsubsection{The title}

The title is marked using the \cs{title} macro, as usual:
\begin{example}
\cs{title}\lb Put the title of the paper here\rb
\end{example}

\subsubsection{The authors}

Group the name and affiliation for each author as a component of the
\cs{author} command.  Even if an affiliation is the same for multiple
authors, repeat the information:
%%  Follow the author component with the
%%  address component. Provide address information for each author in the
%%  same order that they are listed in the author component.
\begin{example}
\begin{verbatim}
\author{Author 1 name\\
affiliation
\and
Author 2 name\\
affiliation}
\end{verbatim}
\end{example}
%%  \begin{address}{number and street,
%%  city, state, zip,
%%  country,
%%  telephone,
%%  fax,
%%  E-mail}\end{address}
%%  \end{verbatim}
%%  \end{example}

\begin{description}

\item[Required Information:]\leavevmode
\begin{itemize}

\item
Street number/name or P.O. Box

\item
City, state, postal  code (e.g., zip code)

\item
Country

\item
Telephone number (with area code)

\end{itemize}

\item[Optional Information:]\leavevmode
\begin{itemize}

\item
Fax number (with area code)

\item
E-mail address

\end{itemize}

\end{description}

\paragraph{Note:}
Phone and fax numbers do not appear in printed articles; they are for
ACM's use in communicating with authors.

%%  \paragraph{Author Information:}
%%
%%  ***Need to sort out \cs{author} vs. \env{authinfo}***
%%
%%  \begin{verbatim}
%%  \begin{bottomstuff}
%%  \begin{authinfo}
%%  \name{ALBERT EINSTEIN}
%%  \address{123 Atomic Avenue, Las Vegas, NV 54321. E-mail:
%%  BigAl@NASA.GOV}
%%  \affiliation{Relativity Inc.}
%%  \biography{All about Al}       % repeat for each author
%%  \end{authinfo}
%%  \end{bottomstuff}
%%  \end{verbatim}

\subsubsection{The abstract}

The abstract should be marked using the \env{abstract} environment:
\begin{example}
\begin{verbatim}
\begin{abstract}
type text here, marking paragraphs as usual
\end{abstract}
\end{verbatim}
\end{example}

\paragraph{Note}

In the standard \LaTeX\ classes, abstracts are placed \emph{after}
the \cs{maketitle} command, but in the \cls{acmart} class, the
abstract must be placed \emph{before} the \cs{maketitle} command.
Failure to do so will result in a warning message and a misplaced
abstract.


\subsubsection{The ACM categories}

Each paper should have one or more categories, taken from the current
version of the ACM Computing Classification System.\footnote{The full
Classification System is available on the \emph{JACM} WWW page.} The
categories are marked using the \cs{category} macro, which takes the
following form:
\begin{example}
\mbox{\cs{category}\lb \meta{code}\rb\lb \meta{category}\rb\lb
\meta{subcategory}\rb
[\meta{subject descriptor\textup(s\textup)}]}
\end{example}
Note that the subject descriptors are optional.

If there are multiple categories, they should each be marked with a
separate \cs{category} tag:
\begin{example}
\begin{verbatim}
\category{D.3.3}{Programming Languages}{Language Constructs
and Features}

\category{A.0}{General}{}[Biographies/Autobiographies]
\end{verbatim}
\end{example}

If there are multiple subject descriptors under a given category,
separate them with the \cs{and} command:
%\begin{example}
\begin{verbatim}
\category{I.7.2}{Text Processing}{Document Preparation}[Languages
\and Photocomposition]
\end{verbatim}
%\end{example}


\subsubsection{The General Terms}

The General Terms are taken from a defined set of words published
along with the ACM Classification System.  They are marked using the
\cs{terms} macro:
\begin{example}
\cs{terms}\lb \meta[1]{term}, \meta[2]{term}, \meta[3]{term}, \ldots\rb
\end{example}


\subsubsection{The keywords}

Authors are also encouraged to supply one or more keywords.  These
should be marked using the \cs{keywords} macro:
\begin{example}
\cs{keywords}\lb \meta[1]{keyword}, \meta[2]{keyword},
\meta[3]{keyword}, \ldots\rb
\end{example}


\subsubsection{The copyright notice and other information}

The ACM copyright policy allows distribution for personal or classrom
use provided that the ACM copyright is displayed on the first page of
the article, along with a full citation to the published
version.\footnote{We recommend that all authors familiarize themselves
with the new ACM copyright policy.  Information concerning the new
policy is available on the ACM Publications page:
\texttt{http://www.acm.org/pubs/}.}  The copyright notice can be
produced using the \env{bottomstuff} environment, which should be put
before the \cs{maketitle} command.  The notice itself is produced by
the \cs{permission} command; the author must specify the year and
holder of the copyright.  A typical notice would look like this:
\begin{example}
\begin{verbatim}
\begin{bottomstuff}

\permission
\copyright\ 1995 by the Association for Computing Machinery,
Inc.

\end{bottomstuff}
\end{verbatim}
\end{example}
Other information, such as acknowledgements of research support or
information about the prior publication of preliminary versions of the
paper, which would typically be put inside a \cs{thanks} command in
the standard \LaTeX\ classes, can also be put in the \env{bottomstuff}
environment.  If present, such information should come before the
copyright notice.

The full citation to the published paper can be put in using the
\cs{firstfoot} command, as follows:
\begin{example}
\begin{verbatim}
\firstfoot{Journal of the Association for Computing
Machinery, Vol. 38, No. 2, April 1991, pp. 100-113}
\end{verbatim}
\end{example}
We recommend that you include such a citation on any preprints that
you distribute.

%%  \paragraph{Example of Author Information output:}
%%
%%  \begin{example}
%%  Name:  ALBERT EINSTEIN\newline
%%  Address:  123 Atomic Avenue, Las Vegas, NV 54321. E-mail:
%%  BigAl@NASA.GOV;\newline
%%  Affiliation:  Relativity Inc.\newline
%%  Biography:  I was born a \dots
%%  \end{example}

%%  \end{table}

\subsubsection{Sponsor}

The \env{sponsor} environment can be used to indicate supporting
sponsors of conferences, presentations, etc.  If present, it should go
right after the \cs{maketitle} command:
\begin{example}
\begin{verbatim}
\begin{sponsor}{sponsor name}
{Number and street\\
city, state, zip\\
country}
\end{sponsor}
\end{verbatim}
\end{example}


\subsection{Proclamations and Proofs}
\label{sec:math}

The standard \LaTeX\ classes recognize a single class of
proclamations, namely, theorem-like proclamations, declared using the
\cs{newtheorem} command.  The \cls{acmart} class recognizes a second
class of proclamations, the ``definition-style'' proclamations,
declared using the \cs{newdef} command, which has the same syntax as
\cs{newtheorem}.

Lists of typical theorem- and definition-style proclamations appear
below.  If you need one that is not in these lists, use your best
judgement, but include a note to the ACM explaining your choice.

\subsubsection{Theorem-style proclamations}

Use the \cs{newtheorem} command for the following mathematical
structures:
\begin{center}
\begin{tabular*}{.75\textwidth}{@{\extracolsep{\fill}}lll@{}}
Algorithm   & Assertion     & Criterion \\
Reduction   & Axiom         & Hypothesis \\
Sublemma    & Conjecture    & Lemma \\
Theorem     & Corollary     & Proposition
\end{tabular*}
\end{center}

For example, to declare an environment called \env{alg} to be used
for algorithms, you would put the following in the preamble of your
document:
\begin{example}
\begin{verbatim}
\newtheorem{alg}{Algorithm}
\end{verbatim}
\end{example}
In the body of the manuscript, individual algorithms would then be
marked up as follows:
\begin{example}
\begin{verbatim}
\begin{alg}
text of algorithm here
\end{alg}
\end{verbatim}
\end{example}

Note that you do not have to type the word ``Algorithm'' at the
beginning of the algorithm; it will be added automatically.

\subsubsection{Definition-style proclamations}

Use the \cs{newdef} command for the following structures:
\begin{center}
\begin{tabular*}{.75\textwidth}{@{\extracolsep{\fill}}lll@{}}
Affirmation & Answer        & Definition \\
Property    & Application   & Discussion \\
Question    & Assumption    & Example \\
Remark      & Case          & Exercise \\
Subcase     & Claim         & Fact \\
Step        & Comment       & Notation \\
Technique   & Conclusion    & Note \\
Type        & Condition     & Observation \\
Convention  & Problem
\end{tabular*}
\end{center}

For example, to declare an environment called \env{aff} to be used in
marking affirmations, you would put the following in your preamble:
\begin{example}
\begin{verbatim}
\newdef{aff}{Affirmation}
\end{verbatim}
\end{example}
and mark individual affirmations as follows:
\begin{example}
\begin{verbatim}
\begin{aff}
text of affirmation
\end{aff}
\end{verbatim}
\end{example}

\subsubsection{Proofs}

In addition to the proclamations described above, the \cls{amcart}
style also has a proof environment, for example:
\begin{example}
\begin{verbatim}
\begin{theorem}
Text of theorem.
\end{theorem}

\begin{proof}
Proof of theorem.
\end{proof}
\end{verbatim}
\end{example}


\subsection{Figures}
\label{sec:figures}

Figures should be marked using the \env{figure} environment, as
normal.  However, to make it easier to meet some of ACM's
requirements, two new macros have been provided for use within the
\env{figure} environment:
\begin{itemize}

\item
\cs{nocaption}: This is used in place of the \cs{caption} command for
any figures that don't have a caption.  It produces only a figure
number.  Every figure and table should have either a \cs{caption} or a
\cs{nocaption} command.

\item
\cs{figfilename}: When producing final copy to send to ACM for
publication, the ACM requests that you mark all figures with the name
of the file containing the figure (see section~\ref{sec:submission}).
This can be done by putting a \cs{figfilename} command inside the
\env{figure} environment, for example:
\begin{example}
\begin{verbatim}
\begin{figure}
\figfilename{smith1.tex}

<body of figure>

\end{figure}
\end{verbatim}
\end{example}

\end{itemize}


\subsection{In-text Citations}
\label{sec:citations}

ACM articles use the so-called ``author-year'' citation style, where
items are referenced by their author(s) and year of publication.  For
example, our citation of the \LaTeX\ manual would be formatted as
``[Lamport 1994]'' rather than ``\cite{Lamport94}''.  Thus, in the
\cls{acmart} document class, the \cs{cite} macro has been redefined to
produce the former rather than the latter style of in-text citation.
You should therefore be careful to check all of your in-text citations
and make sure that they still read properly with the new citation
format.

Note that this citation format requires the use of the \bst{acmtrans}
bibliography style to work properly.  If you do not use
\bst{acmtrans}, the \cs{cite} command (and the variants discussed
below) will not work properly.

In order to provide greater flexibility and promote a more fluid
writing style, a number of additional \cs{cite}-like macros are also
available to produce other useful forms of citations.  All of these
variants are listed below and have the same syntax as the standard
\LaTeX\ \cs{cite} command, with one enhancement: each command also has
a $*$-variant that suppresses the brackets that would normally be
produced.  Thus, if \cs{cite} would produce ``[Jones 1995]'', then
\cs{cite*} would produce simply ``Jones 1995''.\footnote{For
compatibility with older versions of \texttt{acmtrans}, the
$*$-variants are also available as ``NP-variants'', e.g., \cs{citeNP}
instead of \cs{cite*}, etc.  However, the $*$-forms are preferred, and
the NP-forms may be removed in a future release.}
\begin{description}

\item[\cs{cite}]
produces citations with full author list and year, e.g., ``[Brown
1978; Jarke, Turner, Stohl, et al. 1985]''

\item[\cs{citeA}]
produces citations with only the full author list, e.g., ``[Brown;
Jarke, Turner and Stohl]''

\item[\cs{shortcite}]
produces citations with an abbreviated author list and year, e.g.,
``[Brown 1978; Jarke et~al., 1985]''

\item[\cs{shortciteA}]
produces only the abbreviated author list.

\item[\cs{citeyear}]
produces the year information only, within brackets.

\item[\cs{citeN}]
produces citations with the full author list and year, but that can be
used as nouns in a sentence; brackets appear only around the year, not
around the author names, e.g., ``Shneiderman [1978] states
that\ldots''.  If given multiple citekeys, the items referred to
should all have the same author; otherwise, an error is signaled.  For
\cs{citeN}, the $*$-form is identical to the regular form.

\item[\cs{shortciteN}]
is a variant of \cs{citeN} that uses an abbreviated author list.

\end{description}



\subsection{Back Matter}
\label{sec:backmatter}

The back matter consists of the following parts:
\begin{itemize}

\item
the appendices (if any)

\item
the acknowledgements (if any)

\item
the references

\end{itemize}
If present, the parts should appear in the order listed.

\subsubsection{Appendices}

If there is a single appendix, mark it with the \cs{section*} command,
as follows:
\begin{example}
\cs{section*}\lb Title of appendix\rb
\end{example}

If there are multiple appendices, mark the beginning of the appendices
with the \cs{appendix} command, and then mark the individual
appendices with the \cs{section} command.  For example,
\begin{example}
\begin{verbatim}
\appendix

\section{First appendix}

Text of first appendix.

\section{Second appendix}

Text of second appendix.
\end{verbatim}
\end{example}


\subsubsection{Acknowledgements}

A section of acknowledgements may follow the text of the document, and
should be marked using the \env{acks} environment, as follows:
\begin{example}
\begin{verbatim}
\begin{acks}
Text of acknowledgements goes here.
\end{acks}
\end{verbatim}
\end{example}
Note that it is not necessary to put in a section header; that will be
supplied automatically.


\subsubsection{References}

We recommend that you use \BibTeX\ to produce your bibliography.  If
you do, use the \bst{acmtrans} bibliography style (see
section~\ref{sec:macros} for instructions on obtaining this file), and
be sure to include the \filename{.bbl} file produced by \BibTeX\ with
the material that you send to the ACM.

%%  , and
%%  then insert the \filename{.bbl} file produced by \BibTeX\ into your
%%  \LaTeX\ document in place of the \cs{bibliography} command.

If you do not use \BibTeX, you must arrange the bibliographic entries
alphabetically according to author's or editor's names (or the
publishing organization for items to which no names can be attached).
Within each item, arrange the bibliographic information so that each
component appears on a new line, as follows:
\begin{description}

\item[Journal articles:]\leavevmode
\begin{flushleft}
Author 1 name\\
Author 2 name\\
Title of article\\
Journal title, volume, number\\
Date, pages
\end{flushleft}

\item[Books:]\leavevmode
\begin{flushleft}
Author 1 name \\
Author 2 name \\
Title of book section \\
Book title \\
Editor name \\
Publisher, city, year \\
Chapter and/or pages
\end{flushleft}

\item[Report or proceedings:]\leavevmode
\begin{flushleft}
Author 1 name \\
Author 2 name \\
Report title, report number \\
Conference or publisher \\
Date, pages
\end{flushleft}

\end{description}

%%  \begin{table}
%%
%%  \caption{Back Matter Macros}
%%  \label{tab:backmatter}
%%
%%  \paragraph{Appendix:}
%%  \cs{section}\lb appendix title\rb
%%
%%  \paragraph{Bibliography:}
%%
%%  \begin{verbatim}
%%  \bibliography{your_bib_file}
%%  \bibliographystyle{acmtrans}
%%  \end{verbatim}
%%
%%  \paragraph{Acknowledgments}
%%
%%  \begin{verbatim}
%%  \begin{ack}
%%  type text here
%%  \end{ack}
%%  \end{verbatim}
%%
%%  \end{table}
%%

\section{Submitting an Article Electronically}
\label{sec:submission}

\subsection{What to Provide}

After your article is accepted for publication, you can submit it for
publication in electronic form.  An electronic submittal must include
the following items:

\subsubsection{Electronic materials}

\begin{enumerate}

\item
A text file containing the complete article that incorporates all
revisions requested by the journal editor.  The text requires
structural markup to facilitate conversion; see sections
\ref{sec:macros} and~\ref{sec:markup} of this document for instructions.
\begin{itemize}

\item
Submit two copies of the text file.

\item
Name each file with the first seven letters of the contact author's
surname, the copy number (1 or 2), and an extension indicating the
file format (\LaTeX)
\begin{example}
Examples:\quad \filename{smith1.tex} \quad \filename{anderso2.tex}
\end{example}

\end{itemize}

\item
A graphics file for each figure.  You can embed graphics in the text
file, but you must provide the graphics files on a separate diskette.
\begin{itemize}

\item
Name the graphics files with the first 6 characters of the contact
author's surname, the figure number (one or two digits), and an
extension indicating the file format:
\begin{example}
Examples:\quad \filename{smith5.eps} \quad \filename{smith11.ps} \quad
\filename{anders3.tex}
\end{example}
\end{itemize}

\item
An ASCII text file (named \filename{readme.1st}) containing:
\begin{itemize}

\item
(Required) Names of all files submitted with descriptions of their
contents

\item
(Optional) Information for ACM production staff (for example, an
explanation of all the format for an extensive displayed equation or
an example of program code; names of the graphics software used to
create figures; or notes on your markup of the text)

\end{itemize}

\end{enumerate}

\subsubsection{Printed materials}
\label{sec:printed}

\begin{enumerate}

\item
A hard copy of your paper that exactly corresponds to the content of
the submitted text file.

\item
A high-quality, high-resolution, full-page ($8.5 \times 11$) hard copy
of each figure (for scanning, if necessary).  Each figure should
appear on a page by itself, and at the bottom of the page, outside the
image area, you should label the graphic with the figure number and
the file name for the electronic version.  (See
section~\ref{sec:figures}).

\item
A completed ACM copyright form.  The copyright form is available
online at
\begin{example}
\verb+http://acm.org/pubs/copyright_form.html+
\end{example}

\end{enumerate}

\paragraph{Note:}
Your submittal is not complete without the printed copies of the text
and graphics for your article.

\subsection{How to Prepare Your Text and Graphics}

%%  \paragraph{Note:}
%%  The following guidelines supplement those in Information for Authors
%%  for each ACM journal.

\subsubsection{Guidelines for text}

Remember that your \LaTeX\ code will be used for input processing, not
to produce camera-ready copy.  Avoid fine-tuning spacing between
lines, paragraphs, displayed equations, or other elements.

%%  \subsubsection{Guidelines for text}
%%
%%  BASIC FORMATTING RULES: Remember that this is for input processing,
%%  not to produce camera-ready copy.
%%
%%  Your electronic text is more suitable for conversion and automated
%%  production if you
%%  \begin{itemize}
%%
%%  \item
%%  Use simple typography.
%%
%%  \item
%%  Avoid hard page breaks.
%%
%%  \item
%%  Turn automatic hyphenation off.
%%
%%  \item
%%  Use autowrap; avoid inserting hard returns at the ends of lines.
%%
%%  \item
%%  Use standard line spacing to separate elements.
%%
%%  \item
%%  Avoid fine-tuning spacing between lines, paragraphs, displayed
%%  equations, or other elements.
%%
%%  \end{itemize}

\subsubsection{Guidelines for graphics}

To ensure accurate, high-quality production of your graphics, prepare
and submit them as follows.

\paragraph{Types of Graphics}
Illustrations used in ACM journal articles can include charts, graphs,
line drawings, photographs, and screen captures.

%%  \paragraph{Hard copy}
%%
%%  Submit a high-resolution printed copy of each figure, one figure per
%%  page. Near the lower edge of each page (outside the area of the figure
%%  itself), write the figure number and the name of the graphics file.
%%  (See section~\ref{sec:figures}.)

\paragraph{Size}
Maximum height of image: 6.5 inches; maximum width of image: 5 inches.

\paragraph{Photographs}
Send prints from negatives or high-resolution printed copy of scanned
photos. Do not screen photographs; ACM handles all prepress
operations.

%%  \paragraph{File}
%%  Submit a separate file containing the electronic version of each
%%  figure. Name each file with the first 6 letters of the contact
%%  author's surname, the figure number (1 or 2 digits), and an extension
%%  indicating the file format.
%%  \begin{example}
%%  Examples:\quad \filename{smith5.eps} \quad \filename{smith11.ps} \quad
%%  \filename{anders3.tex}
%%  \end{example}

\subsubsection{File formats}

Submit graphics in one of these file formats:
\begin{flushleft}
\begin{tabular*}\textwidth{@{\extracolsep{\fill}}ll@{}}
\multicolumn{1}{c}{\bf Type} & \multicolumn{1}{c}{\bf Format}
\\[\medskipamount]
Black-and-white line art & Tagged Image File Format: 1-bit TIFF 5.0
(\filename{.tif})\\
Grayscale and color art  & Encapsulated Postscript: 1.2 or 2.0
(\filename{.eps})
\end{tabular*}
\end{flushleft}

\paragraph{Position in text}
Provide a figure number, a caption (if appropriate), and the file name
for each figure within the text at the first reference to the figure.

%%  \paragraph{Graphics embedded in text}
%%  If you embed charts, graphs, screen captures, or other illustrations
%%  in the text file for your article,
%%  \begin{itemize}
%%
%%  \item
%%  Place each graphic on a page by itself.
%%
%%  \item
%%  Submit a separate hard copy of each figure in addition to the printout
%%  of the complete article.
%%
%%  \item
%%  Submit a separate graphics file for each figure in addition to the
%%  text file with embedded graphics.
%%
%%  \end{itemize}

\paragraph{Inline graphics}
For graphics (such as special characters and symbols) that appear
within a line of text, embed the graphic in the text file.  If the
graphic must be in a separate file, name the file to indicate its
contents. Make sure that the text clearly indicates where the graphic
should appear.

\paragraph{Compression}
Compress files only if necessary, for example, when a file is too
large to fit on a single diskette. Use one of the following
compression programs:
\begin{itemize}

\item pkzip

\item Stuffit

\end{itemize}

\paragraph{General}
For all types of graphics.
\begin{itemize}

\item
Boxes: Do not surround the image with a border or box.

\item
Fonts: For text within a graphic, use common fonts such as Helvetica,
Univers, Times, Century Schoolbook, or Symbol (Adobe Type 1 or
TrueType equivalents).

\end{itemize}

\subsection{How to Submit Your Article}

Submit all materials to the Editor-in-Chief of the journal in which
your article will appear.  Mail the printed materials and the files
(on electronic media) to the Editor-in-Chief in one package.

For the \emph{Journal of the ACM}, you may also submit all materials
electronically.  Instructions for electronic submission are available
on the \emph{JACM} WWW page:
\begin{center}
\verb+http://theory.lcs.mit.edu/~jacm/electronic.html+
\end{center}

\paragraph{Note:}
Submitted materials are not returned to the authors.

\paragraph{Diskette}
Use one or more diskettes formatted with Microsoft MS-DOS or IBM
PC-DOS\@.  High-density 3.5-inch diskettes are preferred, but
5.25-inch double- or high-density diskettes are acceptable. Mail
diskettes in a sturdy container to prevent damage.

Label each diskette with the following information:
\begin{itemize}

\item
Author name

\item
Diskette number (1 of 1, 2 of 3, etc.)

\item
Author telephone number

\item
Journal name and article title

\item
File type(s) (text or graphics) and format(s)

\end{itemize}

\subsection{Getting Help}

If you have any questions, send e-mail to
\eaddress{jacm@theory.lcs.mit.edu}.

%%  \bibliographystyle{plain}
%%  \bibliography{guide}

\begin{thebibliography}{1}

\bibitem{GoossensMS93}
Michel Goossens, Frank Mittelbach, and Alexander Samarin.
\newblock {\em The {\LaTeX} Companion}.
\newblock Addison-Wesley, Reading, Massachusetts, 1993.

\bibitem{Lamport94}
Leslie Lamport.
\newblock {\em {\LaTeX}: A Document Preparation System}.
\newblock Addison-Wesley Publishing Company, second edition, 1994.

\end{thebibliography}

\end{document}
