%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  infocom.tex  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%                                                        %%%%%%%%%%%%%
%%%%%%%%%%    More information: see the header of infocom.cls     %%%%%%%%%%%%%
%%%%%%%%%%                                                        %%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[twocolumn,11pt]{infocom} %!PN
%\documentclass[12pt,draft]{infocom} %!PN
%\documentclass[9pt,twocolumn,technote,twoside]{infocom}

%!PN, old LaTeX209 font commands, replaced by the new ones
% keeping just this one
\def\tenrm{\fontsize{10}{12}\normalfont\rmfamily\selectfont}
\def\BibTeX{{\rmfamily B\kern-.05em{\scshape i\kern-.025em b}\kern-.08em \TeX}}

\newtheorem{theorem}{Theorem}

\begin{document}

\title{Using the Document Class infocom.cls}

\author{Gerry Murray, Silvano Balemi\thanks{S. Balemi is with the
Automatic Control Laboratory, Swiss Federal Institute of Technology
(ETH), Zurich, Switzerland. E-mail: balemi@aut.ee.ethz.ch .}\thanks{Note
that the ``thanks'' command does no longer produce footnote marks.}}

\markboth{IEEE Infocom 2001}
{Murray and Balemi: Using the Document Class infocom.cls}

\maketitle

\begin{abstract}
This article explains how to use a \LaTeXe\ class that produces a good
approximation to the style used in the IEEE Transactions.  The article
is itself an example of the infocom.cls style in action.

Note: This is just a renamed version of IEEEtran2e, with a ``times''
font change.
\end{abstract}

\begin{keywords}
Style file, \LaTeX, IEEE Transactions, IEEE Infocom.
\end{keywords}

\section{Introduction}
\PARstart{T}{he} Institute of Electrical and Electronics Engineers
Inc. (IEEE in short) publishes a large number of journals.  Some of
these these are

%% NOTE: "\itemindent -1em \leftmargini 2em" . Sometimes other values
%% are used, e.g. "\itemindent 2em \leftmargini 0em"
\begin{itemize}
\item IEEE Transactions on Automatic Control
\item IEEE Transactions on Software Engineering
\item IEEE Transactions on Communications
\item IEEE Transactions on Industrial Electronics
\item IEEE Transactions on Systems Man and Cybernetics
\item IEEE Transactions on Circuits and Systems
\item IEEE Transactions on Robotics and Automation
\item IEEE Transactions on Computers
\item \ldots{}
\end{itemize}

Authors who have prepared their articles using \LaTeX\ can get them
formatted in a style identical to that of a typical paper in one of
those journals.

The aim of the style file {\ttfamily infocom.cls} is to allow authors of
papers to estimate the page count and facilitate input-processing of
the compuscript.  The style file {\ttfamily infocom.cls} can be used
together with the bibliography style file {\ttfamily IEEE.bst}.

IEEE has sophisticated software, in house and different to \LaTeX,
which they use to typeset transaction papers. The single most
important reason for this style file was due to the fact that many
authors (using \TeX\ and \LaTeX) were supplying their compuscripts
using style files that were {\em single column page wide}. It was
obvious from the coding that many had spent time inserting commands
that made the displayed equations ``pretty'', spreading them right
across the page.  But of course, IEEE transactions are {\em double
column}, with the column width being 21 pica. Thus, the IEEE publishing
staff ended up deleting these typesetting `niceties' and breaking the
page wide displayed equations so that they would {\em fit} inside the
style-required 21 pica. By using this style file you'll find that the
displayed equations, algorithms, nomenclature lists, etc. that you
supply to us (on disk or via e-mail: ask the editor of your
transactions) will undergo minimal change.

\section{How to Use the File infocom.cls}

This style file has been written so to allow, with very few changes, the
formatting of input that is suitable for the \LaTeXe\ {\ttfamily
article} style.  First, the \verb+infocom.cls+ style file has to be
selected with a command of the form

\begin{center}
\verb+\documentclass[twocolumn,twoside]{infocom}+
\end{center}

The default font size is 10 points.  The default page style has been
redefined and is now set by {\ttfamily infocom.cls} to ``\verb+headings+''.

IEEE Transactions papers do not include author affiliations below or beside
the name(s) of the author(s); instead, use the command
\verb+\thanks{...}+ to list addresses. Note that the
\verb+\thanks{..}+ command in the title no longer produce marks:
the thanks-footnote should therefore be self-contained, with address
and name of the author(s).

Footnotes produce a footnote mark as usual.\footnote{The footnote is
indicated by a footnote mark}

The command ``\verb+\PARstart{X}{YYY} ZZZ+'' produces a large letter
\verb+X+ at the beginning of the paragraph. The string \verb+YYY+
will be automatically changed to capital letters.

The bibliography style file {\ttfamily IEEE.bst} allows \BibTeX\ to include
the references from the chosen bibliography file(s) according to the
format required by IEEE Transactions.

Infocom papers do {\em not} include the biography of the authour.

In figure \ref{fig-example} we can see an example for the definition of
the title page and of the main commands needed to compile a \LaTeXe file
with infocom.cls.

\begin{figure}[htb]
\mbox{}\hrulefill
\vspace{-.3em}
\begin{verbatim}
\documentclass[twocolumn,twoside]{infocom}
\begin{document}

\title{Using the Document Class infocom.cls}
\author{Gerry Murray\thanks{G. Murray is...}}
\markboth{IEEE Trans...}{Murray and Balemi: ...}
\maketitle

\begin{abstract}
This article ...
\end{abstract}

\begin{keywords}
Style file...
\end{keywords}

\section{Introduction}
\PARstart{T}{he} Institute of ...

\bibliographystyle{IEEE}
\bibliography{bib-file}

\end{document}
\end{verbatim}
\vspace{-.6em}
\mbox{}\hrulefill
\caption{Input used to produce this paper.}
\label{fig-example}
\end{figure}

The command \verb+\markboth{leftTEXT}{rightTEXT}+ can be used for
setting the running heads. If the option {\ttfamily twoside} is not
selected, both even and odd headers will display {\ttfamily leftTEXT}
together with the page number.  Note that the header of the title page
always displays {\ttfamily leftTEXT} as it bears the journal name.

\subsection{Additional Changes}
Most changes resulting from the use of infocom.cls should be
transparent to the user. For instance,
captions for figures and tables have been modified. Caption of
tables, however, should be defined before the table item.

\begin{figure}[hbt]
\begin{center}
\setlength{\unitlength}{0.0105in}%
\begin{picture}(242,156)(73,660)
\put( 75,660){\framebox(240,150){}}
\put(105,741){\vector( 0, 1){ 66}}
\put(105,675){\vector( 0, 1){ 57}}
\put( 96,759){\vector( 1, 0){204}}
\put(105,789){\line( 1, 0){ 90}}
\put(195,789){\line( 2,-1){ 90}}
\put(105,711){\line( 1, 0){ 60}}
\put(165,711){\line( 5,-3){ 60}}
\put(225,675){\line( 1, 0){ 72}}
\put( 96,714){\vector( 1, 0){204}}
\put( 99,720){\makebox(0,0)[rb]{\raisebox{0pt}[0pt][0pt]{\tenrm $\varphi$}}}
\put(291,747){\makebox(0,0)[lb]{\raisebox{0pt}[0pt][0pt]{\tenrm $\omega$}}}
\put(291,702){\makebox(0,0)[lb]{\raisebox{0pt}[0pt][0pt]{\tenrm $\omega$}}}
\put( 99,795){\makebox(0,0)[rb]{\raisebox{0pt}[0pt][0pt]{\tenrm $M$}}}
\end{picture}
\end{center}
\caption{This is a sample figure. The caption comes after the figure.}
\end{figure}

\begin{table}[htb]
\caption{The Caption Comes Before the Table.}
\begin{center}
{\ttfamily
\begin{tabular}{|c||c|c|c|}\hline
&title page&odd page&even page\\\hline\hline
onesided&leftTEXT&leftTEXT&leftTEXT\\\hline
twosided&leftTEXT&rightTEXT&leftTEXT\\\hline
\end{tabular}
}
\end{center}
\end{table}

\subsubsection{Environments}
The environments for theorem, propositions, lemmas, etc. can be
defined with the usual \LaTeX\ \cite{LaTeX,LaTeXD} command
\verb+\newtheorem{..}{..}+.  The proof environment is already defined.

\begin{theorem}[Theorem name]
Consider the system
\begin{equation}
\begin{array}{rrr}
\dot x&=&A.x+B.u\\[2mm]
y&=& C.x+D.u
\end{array}
\end{equation}
If $A$ is stable, then the pair $\{A,B\}$ is stabilizable. Moreover,
this holds for any $B$.
\end{theorem}
\begin{proof}
The proof is trivial.
\end{proof}

\subsection{Preparing a Technical Note}
A technical note can be prepared using the additional option
\verb+technote+ in the documentclass command. Note that the default
point size is still 10 points, but that 9 points should be selected.
The format for a technical note can thus be selected with a command
of the form
\begin{center}
\verb+\documentclass[...side,9pt,technote]{infocom}+
\end{center}
All the definitions and commands are still valid  even after the
changes caused by the option \verb+technote+.

\subsection{Submitting a Paper}
The paper can be prepared for submission by omitting the option {\ttfamily
twocolumn} and choosing the option {\ttfamily draft} (this will modify the
baselinestretch variable).
Thus, the format for submission contains a definition of the form
\begin{center}
\verb+\documentclass[...side,12pt,draft]{infocom}+
\end{center}

\section{Optional Formatting}

When you are happy with the {\em ultimate unequivocal final version},
you may perform following additional changes.

\subsection{``Hard-Coding'' Symbolics}
Change the symbolics so that the file actually contains the reference numbers
{\em i.e.\ \/}``\verb+... \cite{fred:88} ...+'' should be changed to
``\verb+... [3] ...+''. One author (who used the style file) did a smart thing
{\em after\/} he had decided upon a final version.  He put his
\verb+\cite{..}+ command and other symbolics on a line on their own
and commented them out (from the formatting) by putting a \verb+%+
sign before each symbolic. Then, on the next line he just inserted the
copy-matching numerical, like this:

\begin{verbatim}
    Well, according the Fred Bloggs
    %\cite{fred:88}
    [24]
    the value of $\alpha$ should be even
    greater than what we think it should be.
\end{verbatim}

Thus, {\em he\/} knows he put in the correct (copy-matching) numerical and
the IEEE publishing staff can send him back an author-proof
that correctly matches his submission.

The above also applies to the referencing of table and figures
(and any ``auto-numbering'' feature, standard or synonymous with your system).

Figure captions can be part of the text (in between paragraphs) like this:

\begin{verbatim}
    And in Fig. 3 we see that the
    value of $\alpha$ increases exponentially.

       Fig. 3\quad This is the caption for
       figure 3 showing some $\alpha$.

    And after the caption we continue on
    with the next paragraph, like this.
\end{verbatim}

In essence, by you actually putting in the {\em correct copy
matching\/} numericals so that no problems arise with incomplete files
being sent to the transactions (the wrong \verb+*.bib+, \verb+*.bbl+ files,
the wrong versions of figures etc).  Also, and more importantly, the
numbers that are on your hard-copy (and in the reviewer's hands) will
be the same ones that you receive in your author proof.

\subsection{Including the Bibliography into the \LaTeX\ Source File}

You can reduce the number of files you have to send to the IEEE
publishers in the following way. Run \BibTeX\ on the
\verb+*.aux+ file. This creates a \verb+*.bbl+ file: include this
into your \LaTeX\ source file at the place where you defined the
\verb+\bibliography{..}+ command  and comment this command out.
Remove the \verb+*.bbl+ file.  Then, your \LaTeX\ file will include
all the necessary information about your bibliography and no \verb+*.bbl+
or \verb+*.bib+ file will be needed.

This may seem like an awful lot of work\ldots but not really.  This will
allow to process your paper quickly and efficiently, and assure you that
what you send in {\em will\/} actually be sent back to you without
mistakes (cites, references, etc.).

\section{Conclusions}
This sample article has presented the style file infocom.cls This file
can be especially useful in preparing articles for submission and for
preparing the final version to be sent to the IEEE publishers.

In essence, the style file ``infocom.cls'' is not really for formatting
(paper printout) -- but is for IEEE {\em input processing\/} which is
chalk and cheese, frankly.

\section*{Acknowledgments}
The authors would like to acknowledge the suggestions of many people.

\nocite{*}
\bibliographystyle{IEEE}
%%%%%\bibliography{bib-file}  % commented if *.bbl file included, as seen below

%%%%%%%%%%%%%%%%% BIBLIOGRAPHY IN THE LaTeX file !!!!! %%%%%%%%%%%%%%%%%%%%%%%%
%% This is nothing else than the IEEEsample.bbl file that you would          %%
%% obtain with BibTeX: you do not need to send around the *.bbl file         %%
%%---------------------------------------------------------------------------%%
%
\begin{thebibliography}{1}
\bibitem{LaTeX}
Leslie Lamport,
\newblock {\em \LaTeX: A Document Preparation System. User's Guide and
  Reference Manual},
\newblock 2nd ed.
\newblock Updated for \LaTeXe.
\newblock Addison Wesley Publishing Company, 1994.
\bibitem{LaTeXD}
Helmut Kopka,
\newblock {\em \LaTeX, eine Einf\"uhrung},
\newblock Addison-Wesley, 1989.
\bibitem{TeX}
D.K. Knuth,
\newblock {\em The \TeX book},
\newblock Addison-Wesley, 1989.
\bibitem{METAFONT}
D.E. Knuth,
\newblock {\em The \textrm{METAFONT}book}, %PN so?
\newblock Addison Wesley Publishing Company, 1986.
\end{thebibliography}
%
%%---------------------------------------------------------------------------%%

\end{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%  End of infocom.tex  %%%%%%%%%%%%%%%%%%%%%%%%%%%
