% ###########                     STYLE FILE                 #############
% ########### delete everything above this line before using #############
% ########### save this portion in isit97.sty:               #############
% ************************************************************************
% * LaTeX Style File AofA.sty  (Analysis of Algorithms Paper Page Layout)       
% * This layout is for 8.5 x 11 inch paper.  Since printing will be done *
% * on A4 paper, please insert the command \isitAfour at the beginning   * 
% * of your text file for producing the Postscript file. 
% * This style file is based on ISIT.sty file.
% ************************************************************************
%
% Commands:
% - \isitAfour               : Adds offset to page margins for A4 paper
%                              (not necessary for 8.5 x 11 in. paper)
%
% - \isittitle       {STR}   : Writes STR as title of paper
%
% - \isitauthor      {STR}   : Writes STR as author
%
% - \isitaffiliation {STR}   : Writes STR as affiliation
%
% - \begin{isitabstract}     : Writes STR as abstact
%     STR
%   \end{isitabstract}
%
% - \begin{isitpaper}        : Writes STR as paper
%     STR
%   \end{isitpaper}
%
% - \isitsection       {STR} : Writes STR as numerated section title
%                              (corresponds to LaTeX \section command)
%
% - \isitsectionasterisk{STR}: Writes STR as unnumerated section title
%                              (corresponds to LaTeX \section* command)
%
% - \isitfigurecaption {STR} : Writes STR as figure caption (corresponds to
%                              LaTeX \caption command for figures).
%                              Note: use \parbox[t]{\isitonecolumn}{STR} (if
%                              in figure-environment) or
%                              \parbox[t]{\isitonecolumn}{STR} (if in
%                              figure*-environment) rather than STR if
%                              STR exceeds one line.
%
% - \isittablecaption  {STR} : Writes STR as Table caption (corresponds to
%                              LaTeX \caption command for tables)
%                              Note: use \parbox[t]{\isitonecolumn}{STR} (if
%                              in table-environment) or
%                              \parbox[t]{\isitonecolumn}{STR} (if in
%                              table*-environment) rather than STR if
%                              STR exceeds one line.
%
% - \isitacknowledgements    : Writes "Acknowledgemets" section title
%
% - \begin{isitreferences}   : Writes "references" section title and
%     \bibitem{ref1} REF1      REF1 and REF2 as references with labels
%     \bibitem{ref2} REF1      ref1 and ref2.
%   \end{isitreferences}
%
\pagestyle {empty}
\topmargin      =   -16mm  %1.7 mm
\evensidemargin = -9.35mm  %-9.1mm
\oddsidemargin  = -9.35mm  %-9.1mm
\textwidth      = 178.0mm
\textheight     = 241.0mm
\headheight     =   0.0mm
\headsep        =   0.0mm
\columnsep      =   4.0mm
\parindent      =   4.0mm
%
\twocolumn
\sloppy
\flushbottom
%
\newlength     {\isittitlespace}       \isittitlespace       = 3mm
\newlength     {\isitauthorspace}      \isitauthorspace      = 1mm
\newlength     {\isitaffiliationspace} \isitaffiliationspace = -5mm
\newlength     {\isitsectionspace}     \isitsectionspace     = -1mm
\newlength     {\isittextspace}        \isittextspace        = -5mm
\newlength     {\isitonecolumn}        \isitonecolumn        = 67mm
\newlength     {\isittwocolumn}        \isittwocolumn        =147mm
\newlength     {\alen}
\newlength     {\blen}
\newlength     {\clen}
%
\newcommand    {\isittitlesize}        {\Large}
\newcommand    {\isitauthorsize}       {\normalsize}
\newcommand    {\isitaffiliationsize}  {\small}
\newcommand    {\isittextsize}         {\small}
\newcommand    {\isitsectionsize}      {\normalsize}
\newcommand    {\isitcaptionsize}      {\footnotesize}
\newcommand    {\isitreferencesize}    {\footnotesize}
%
\renewcommand  {\thesection}           {\Roman {section}}
\renewcommand  {\thesubsection}        {\Alph  {subsection}}
\renewcommand  {\thesubsubsection}     {\thesubsection.\arabic{subsubsection}}
\renewcommand  {\theequation}          {\arabic{equation}}
\renewcommand  {\thefigure}            {\arabic{figure}}
\renewcommand  {\thetable}             {\arabic{table}}
%
\newcommand    {\isittopoffset}  [1]   {\addtolength{\topmargin}{#1}}
\newcommand    {\isitleftoffset} [1]   {\addtolength{\evensidemargin}{#1}
                                        \addtolength{\oddsidemargin}{#1}}
%
\newcommand    {\isitAfour}            {\addtolength{\topmargin}{19.8mm}
                                        \addtolength{\evensidemargin}{-0mm}
                                        \addtolength{\oddsidemargin}{-0mm}}
%
\newcommand    {\isittitle}[1]
               {\setcounter{page}{0}
                \thispagestyle{empty}
                \rule{0mm}{0mm}
                \newpage
                \mbox{}
		\begin{figure*}[t]
		\mbox{}\hrulefill {\scriptsize{\sf Analysis of Algorithms, 
Gda\'{n}sk, July 3-7, 2000}}
		\vspace{-5pt}
		\end{figure*}
		\begin{figure*}[t]
                  \begin{center}
                    \begin{isittitlesize}
                      \begin{bf}

                         #1

                      \end{bf}
                    \end{isittitlesize}
                    \vspace{\isittitlespace}

               }
%
\newcommand    {\isitauthor}[1]
               {    \begin{isitauthorsize}

                      #1\vspace{\isitauthorspace}

                    \end{isitauthorsize}}
%
\newcommand    {\isitaffiliation}[1]
               {    \begin{isitaffiliationsize}

                      #1

                    \end{isitaffiliationsize}
                    \vspace{\isitaffiliationspace}
                  \end{center}
                \end{figure*}
                \newpage}
%
\newenvironment{isitabstract}
               {\begin{isittextsize}

                {\em Abstract ---} \begin{bf}}{\end{bf}

                \end{isittextsize}}
%
\newenvironment{isitpaper}
               {\begin{isittextsize}

               }{

                \end{isittextsize}}
%
\newcommand    {\isitsection}[1]
               {\refstepcounter  {section}%
                \setcounter      {subsection}{0}%
                \vspace{\isitsectionspace}
                \begin{center}
                  \subsubsection*{\isitsectionsize\sc\thesection. #1}%
                  \vspace{\isittextspace}
                \end{center}}
%
\newcommand    {\isitsectionasterisk}[1]
               {\refstepcounter  {section}%
                \setcounter      {subsection}{0}%
                \vspace{\isitsectionspace}
                \begin{center}
                  \subsubsection*{\isitsectionsize\sc #1}%
                  \vspace{\isittextspace}
                \end{center}}
%
\newcommand{\isitfigurecaption}[1]
           {\vspace{1.5ex}%

            \refstepcounter{figure}%
            \begin{isitcaptionsize}

              Fig.~\thefigure: #1

            \end{isitcaptionsize}

           }
%
\newcommand{\isittablecaption}[1]
           {\vspace{1.5ex}%

            \refstepcounter{table}%
            \begin{isitcaptionsize}

              Tab.~\thetable: #1

            \end{isitcaptionsize}

           }
%
\newenvironment{isitreferences}
               {\vspace{\isitsectionspace}
                \begin{center}
                  \subsubsection*{\isitsectionsize\sc References}%
                  \vspace{\isittextspace}
                \end{center}
                \begin{isitreferencesize}
                  \begin{list}{[\arabic{enumi}]}
                              {\settowidth\labelwidth{[8]}%
                               \leftmargin\labelwidth%
                               \advance\leftmargin\labelsep
                               \usecounter{enumi}}
                  \def\newblock{\hskip .11em plus .33em minus -.07em}
                  \sloppy
                  \sfcode`\.=1000\relax
               }{  \end{list}
                 \end{isitreferencesize}}
%
\newcommand     {\isitacknowledgements}
                {\vspace{\isitsectionspace}
                 \begin{center}
                  \subsubsection*{\isitsectionsize\sc Acknowledgements}%
                  \vspace{\isittextspace}
                 \end{center}}
%





