%%% ====================================================================
%%%  @LaTeX-style-file{
%%%     author          = "Silvano Balemi",
%%%     version         = "1.1",
%%%     date            = "7 JAN 1993",
%%%     filename        = "elsevier.sty",
%%%     address         = "Automatic Control Laboratory
%%%                        Swiss Federal Institute of Technology (ETH)
%%%                        8092 Zurich, Switzerland",
%%%     telephone       = "+41 (1) 256.55.35",
%%%     FAX             = "+41 (1) 262.43.62",
%%%     email           = "balemi@aut.ee.ethz.ch (Internet)",
%%%     keywords        = "LaTeX, EUROSIM proceedings, Camera ready,
%%%                        publisher style",
%%%     supported       = "yes",
%%%     mainserver      = "ifa.ethz.ch"
%%%     docstring       = "This is a LaTeX style file for camera ready
%%%                        articles according to instructions  of the 
%%%                        ELSEVIER SCIENCE PUBLISHERS B.V.
%%%                        The default font size is 12 points,
%%%
%%%                        Usage:
%%%                        \documentstyle{elsevier}
%%%  }
%%% ====================================================================
\typeout{Document Style `elsevier <7-JAN-1993>.}



\input article.sty
\input art12.sty

%%%% FIX EQUATION DISPLAY STYLE
\input fleqn.sty
\def\eqnarray{\stepcounter{equation}\let\@currentlabel=\theequation
\global\@eqnswtrue
\global\@eqcnt\z@\tabskip\mathindent\let\\=\@eqncr
\abovedisplayskip\topsep\ifvmode\advance\abovedisplayskip\partopsep\fi
\belowdisplayskip\abovedisplayskip
\belowdisplayshortskip\abovedisplayskip
\abovedisplayshortskip\abovedisplayskip
$$\halign to
\linewidth\bgroup\hskip\@centering$\displaystyle\tabskip\z@
 {##}$\hfill&\global\@eqcnt\@ne \hskip 2\arraycolsep \hfil${##}$\hfil
 &\global\@eqcnt\tw@ \hskip 2\arraycolsep $\displaystyle{##}$\hfil 
 \tabskip\@centering&\llap{##}\tabskip\z@\cr}
\def\endeqnarray{\@@eqncr\egroup
 \global\advance\c@equation\m@ne$$\global\@ignoretrue }
\newdimen\mathindent 
\mathindent = 0mm

\def\section{\@startsection {section}{1}{\z@}{6ex plus -1ex minus 
 -.2ex}{2ex plus .2ex}{\normalsize\bf}}
\def\subsection{\@startsection{subsection}{2}{\z@}{3ex plus -1ex minus 
 -.2ex}{0.01ex plus .1ex}{\normalsize\bf}}
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{3ex plus
 -1ex minus -.2ex}{0.01ex plus .1ex}{\normalsize\bf}}
\def\paragraph{\@startsection
 {paragraph}{4}{\z@}{3.25ex plus 1ex minus .2ex}{-1em}{\normalsize\bf}}
\def\subparagraph{\@startsection
 {subparagraph}{4}{\parindent}{3.25ex plus 1ex minus 
 .2ex}{-1em}{\normalsize\bf}}


\setlength {\textwidth}{160mm}
\setlength {\textheight}{230mm}
\setlength\topmargin{10mm}  % FOR A4 FORMAT
%\setlength\topmargin{-30mm} % FOR U.S. FORMAT
\setlength\oddsidemargin{4.3mm}
\setlength\evensidemargin{4.3mm}
\setlength\columnsep{8.5mm}
\parindent 5mm
\parskip 0mm

\def\appendix{\par
 \setcounter{section}{0}
 \setcounter{subsection}{0}
 \def\thesection{\Alph{section}.}}


\def\thepart{\Roman{part}} 
\def\thesection {\arabic{section}.}
\def\thesubsection {\thesection\arabic{subsection}.}
\def\thesubsubsection {\thesubsection \arabic{subsubsection}.}
\def\theparagraph {\thesubsubsection.\arabic{paragraph}}
\def\thesubparagraph {\theparagraph.\arabic{subparagraph}}

%\newcounter{figure}
\def\thefigure{\@arabic\c@figure}
\def\fps@figure{tbp}
\def\ftype@figure{1}
\def\ext@figure{lof}
\def\fnum@figure{Figure~\thefigure}
\def\figure{\@float{figure}}
\let\endfigure\end@float
\@namedef{figure*}{\@dblfloat{figure}}
\@namedef{endfigure*}{\end@dblfloat}
%\newcounter{table}
\def\thetable{\@arabic\c@table}
\def\fps@table{tbp}
\def\ftype@table{2}
\def\ext@table{lot}
\def\fnum@table{Table~\thetable}
\def\table{\@float{table}}
\let\endtable\end@float
\@namedef{table*}{\@dblfloat{table}}
\@namedef{endtable*}{\end@dblfloat}


\def\ps@plain{\let\@mkboth\@gobbletwo
     \def\@oddhead{}\def\@oddfoot{\hfil
 \@footernote\ \qquad \thepage}
\def\@evenhead{}\def\@evenfoot{
\thepage\qquad  \@footernote\ \hfil }
}

\def\footernote#1{\def\@footernote{#1}}
\footernote{}

\ps@plain \pagenumbering{arabic} \onecolumn \if@twoside\else\raggedbottom\fi 

\def\maketitle{\par
 \begingroup
 \def\thefootnote{\fnsymbol{footnote}}
 \def\@makefnmark{\hbox 
 to 0pt{$^{\@thefnmark}$\hss}} 
 \if@twocolumn 
 \twocolumn[\@maketitle] 
 \else \newpage
 \global\@topnum\z@ \@maketitle \fi\thispagestyle{plain}\@thanks
 \endgroup
 \setcounter{footnote}{0}
 \let\maketitle\relax
 \let\@maketitle\relax
 \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
\def\@maketitle{\newpage
 \null
 \vskip 2em 
 {\noindent\Large \@title \par} \vskip 1.5em {\normalsize \lineskip .5em
\noindent\@author 
\par} 
 \vskip 1.5em} 
\def\abstract{
\noindent {\bf Abstract}
\newline\indent
}
\def\endabstract{\par}

\def\thebibliography#1{\section*{REFERENCES\@mkboth
 {REFERENCES}{REFERENCES}}\list
 {\arabic{enumi}}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
 \advance\leftmargin\labelsep
 \usecounter{enumi}}
 \def\newblock{\hskip .11em plus .33em minus .07em}
 \sloppy\clubpenalty4000\widowpenalty4000
 \sfcode`\.=1000\relax}
\let\endthebibliography=\endlist


%\def\@cite#1#2{[{#1\if@tempswa , #2\fi}]}
\def\@cite#1#2{{#1\if@tempswa , #2\fi}}
\def\@mklab#1{#1 \hfil}

\long\def\@caption#1[#2]#3{\par\addcontentsline{\csname
  ext@#1\endcsname}{#1}{\protect\numberline{\csname 
  the#1\endcsname}{\ignorespaces #2}}\begingroup
    \@parboxrestore
    \normalsize
    \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}{#1}\par
  \endgroup}

% redefine caption

\def\tablestring{table}
\def\figurestring{figure}


\long\def\@makecaption#1#2#3{
\ifx\figurestring#3 
      \vskip 10pt 
      \setbox\@tempboxa\hbox{#1. #2}
      \ifdim \wd\@tempboxa >\hsize #1. #2\par \else \hbox
      to\hsize{\box\@tempboxa\hfil} 
      \fi
\else
      \vskip 10pt 
      #1\newline#2
\fi
}
