%%%%%%%%%%%%%%%%%%%%%%%%%%  automatica.tex  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%                                                        %%%%%%%%%%%%%
%%%%%%%%%%   More information: see the header of automatica.sty   %%%%%%%%%%%%%
%%%%%%%%%%                                                        %%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentstyle[twocolumn]{automatica}
\begin{document}
\title{Sample LaTeX Article with Style Files for
Automatica\thanks{This sample article has been created in 1992}}

\markboth{S. Balemi}{Sample \LaTeX\ article with style files for Automatica}

\head{\scriptsize{\em Automatica}\hfill
Sample file. \copyright 1993 Silvano Balemi}

\author{SILVANO BALEMI\thanks{
Automatic Control Laboratory, ETH-Zentrum, 
8092 Z\"urich, Switzerland. E-mail: balemi@aut.ee.ethz.ch}}

\shortabstract{This paper shows how to use the LaTeX style file
created for Automatica, the journal of the International Federation of
Automatic Control.}

\keywords{\LaTeX\  style files, bibliography style files, Automatica,
journal of the International Federation of Automatic Control (IFAC).}

\maketitle

\begin{abstract}
This article explains how to use a \LaTeX\ style that produces a good
approximation to the style used in the Automatica.
The article is itself an example of the {\tt automatica.sty} style in action.
\end{abstract}

\section{INTRODUCTION}
\noindent{\footnotesize\sc This paper }uses two style files created
for \LaTeX\ in order to format
an article as in Automatica, the journal of the
International Federation of Automatic Control.

The style file {\tt automatica.sty} is to be used in combination with
the substyles  
{\tt IFAC\-art9.sty}, {\tt IFAC\-art10.sty}, {\tt IFAC\-art12.sty}
and {\tt IFAC.bst}.  All these
files should be in a path known by \LaTeX. 

\subsection{Main Changes}
Input that is suitable for the \LaTeX\ {\tt article} style needs only
a couple of modifications besides changing the document style to {\tt
automatica}.  The \verb+IEEEtran.sty+ style file first has to be
selected with a command of the form
\begin{center}
\verb+\documentstyle[...]{automatica}+
\end{center}

The main differences with the usual article style file pertain to some
definitions in the title page.
\begin{itemize}
\item After the name of the author, go to the next line with 
 \verb+\\[2mm]+ for the address.
\item the syntax for keywords is  \verb+\keywords{...}+ 
\item the syntax for for the newly defined item
shortabstract is  \verb+\shortabstract{...}+ 
\item \verb+\maketitle+ comes after  title, keywords and shortabstract. 
\end{itemize}

Automatica papers do not include author affiliations below or beside
the name(s) of the author(s);  use \verb+\thanks{...}+ to list
addresses. 

The default font size is 10 points, and {\tt IFACart10.sty} will be
used; the only other fonts available are 9 and 12 points, which are
defined by {\tt IFACart9.sty} and {\tt IFACart12.sty} respectively.
The default page style has been redefined and is now set by  {\tt
automatica.sty}  to ``\verb+myheadings+''. 

\subsection*{Running headers}
The running heads can be set with the command
\verb+\markboth{leftTEXT}{rightTEXT}+. If the option {\tt twoside} is not
selected, both even and odd headers will display {\tt rightTEXT}
together with the page number.
The command \verb+\head{headTEXT}+ will put the string \verb+headTEXT+
on the header of the title page.


\begin{figure}
\begin{center}
\setlength{\unitlength}{0.0105in}%
\begin{picture}(242,150)(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}
\nocite{TeX}

The captions for figures and tables have been modified; the caption of
the tables must come before the table. 

\begin{table}[hb]
\caption{The caption comes before the table.}
\begin{center}
\begin{tabular}{|c||c|c|}\hline
$\otimes$&0&1\\\hline\hline
0&0&1\\\hline
1&1&0\\\hline
\end{tabular}
\end{center}
\end{table}


The bibliography style file {\tt IFAC\-.bst} formats with BibTeX the
references from the bibliography file according to IFAC instructions.
It takes advantage of the definitions introduced by Peter Williams for
the family of harvard bibliography style files.  The references can be
cited with the usual syntax ({\em e.g.\ \/}\verb+\cite{LaTeX}+,
yielding the citation ``\cite{LaTeX}'') or with with a new command
({\em e.g.\ \/}\verb+\citeasnoun{LaTeX}+, yielding the citation
``\citeasnoun{LaTeX}''). The two commands support all original options
in the book of \citeasnoun{LaTeX}.

In figure \ref{figure2} we can see an example for the definition of
the title page and of the main commands needed.

\begin{figure}[htb]
\mbox{}\hrulefill
\vspace{-.3em}
\begin{verbatim}
\documentstyle[twocolumn]{automatica}
\begin{document}

\title{Sample LaTeX Article...}

\markboth{S. Balemi}{Sample ..}

\head{\scriptsize{\em Automatica}\hfill
Sample file. c 1993 Silvano Balemi}

\author{SILVANO BALEMI\thanks{
Automatic Control Laboratory,...}

\shortabstract{This paper ..}

\keywords{\LaTeX\ style files...}

\maketitle

\begin{abstract}
This article explains how to use ..
\end{abstract}

\section{INTRODUCTION}
\noindent
{\footnotesize\sc This paper }uses..

\bibliographystyle{IFAC}
\bibliography{bib-file}
\end{document}
\end{verbatim}
\vspace{-.6em}
\mbox{}\hrulefill
\caption{Input used to produce this paper.}
\label{figure2}
\end{figure}

\section{CONCLUSIONS}
A sample article for publication in  the IFAC Proceedings has been 
presented.  It uses  some \LaTeX\  style files  which format 
the article automatically according to IFAC instructions.

\nocite{*}
\bibliographystyle{IFAC}

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

%%%%%%%%%%%%%%%%% BIBLIOGRAPHY IN THE LaTeX file !!!!! %%%%%%%%%%%%%%%%%%%%%%%%
%% This is nothing else than the automatica.bbl file that you would          %%
%% obtain with BibTeX: this way, you do not need a separate *.bbl file       %%
%%---------------------------------------------------------------------------%%
\begin{thebibliography}{xx}
\harvarditem[Knuth]{Knuth}{1989}{TeX}
Knuth, D.  (1989). {\em The {\rm
  T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}book}. Addison-Wesley.
\harvarditem[Kopka]{Kopka}{1989}{LaTeXD}
Kopka, H.  (1989). {\em \LaTeX, eine Einf\"uhrung}. Addison-Wesley.
\harvarditem[Lamport]{Lamport}{1986}{LaTeX}
Lamport, L.  (1986). {\em A Document Preparation System: \LaTeX, User's Guide
  and Reference Manual}. Addison Wesley Publishing Company.
\end{thebibliography}
%
%%---------------------------------------------------------------------------%%

\end{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%  End of automatica.tex  %%%%%%%%%%%%%%%%%%%%%%%%%%%
