%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  ICAR2003.sty  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% ===========================================================================
%%%  @LaTeX-style-file{
%%%    filename        = "ICAR2003.sty",
%%%    keywords        = "LaTeX, ICAR2003 Conference, publisher style",
%%%    mainserver      = "http://www.isr.uc.pt/icar03",
%%%    docstring       = "This is a LaTeX style file for preparation
%%%                       of submission and final versions of articles
%%%                       to be published in ICAR proceedings.
%%%                       The font size is 10 points.
%%%
%%%                        Usage:
%%%                         \documentstyle[ICAR2003,options...]{article}
%%%                         \author{..}
%%%                         \title{..}
%%%                         \maketitle
%%%                         \begin{Abstract}...\end{Abstract}
%%%                         \section{}
%%%                         \subsection{}
%%%                         \subsubsection{}
%%%                               :
%%%                         \begin{Acknowledgment}...\end{Acknowledgment}
%%%                         \begin{thebibliography}{99}
%%%                         \bibitem{biblabel}
%%%                               :
%%%                         \end{thebibliography}
%%%                         \end{document}
%%%
%%%                       In order to remove headers, insert
%%%                          \thispagestyle{empty}\pagestyle{empty} or
%%%                          \thispagestyle{plain}\pagestyle{plain}
%%%                       right after the \maketitle command!!
%%%
%%%  }
%%% ===========================================================================
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\typeout{****************************************}
\typeout{Document Style `ICAR2003'               }
\typeout{     for ICAR2003 conference proceedings}
\typeout{****************************************}

%% page layout settings
\textheight     23.7cm
\columnsep       2.0pc
\textwidth      17.2cm
\footheight      0.0cm
\topmargin      0.46cm
\headheight      0.0cm
\headsep         0.0cm
\oddsidemargin -0.64cm
\parindent	       1pc
\parskip	     0.0cm

\flushbottom
\twocolumn 

%as LaTeX considers descenders in its calculation of interline spacing,
%to get 12 point spacing for normalsize text, must set it to 10 points
\def\@normalsize{\@setsize\normalsize{12pt}\xpt\@xpt
\abovedisplayskip 10pt plus2pt minus5pt\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip \z@ plus3pt\belowdisplayshortskip 6pt plus3pt
minus3pt\let\@listi\@listI} 

%need an 11 pt font size for subsection and abstract headings
\def\subsize{\@setsize\subsize{11pt}\xipt\@xipt}

%make section titles bold and 12 point, 2 blank lines before, 1 after
\def\section{\@startsection {section}{1}{\z@}{12pt plus 2pt minus 2pt}
{5pt plus 2pt minus 2pt}{\subsize\bf}}

%make subsection and subsubsection titles bold and 11 point, 1 blank line before, 1 after
\def\subsection{\@startsection {subsection}{2}{\z@}{8pt plus 2pt minus 2pt}
{2pt plus 2pt minus 2pt}{\normalsize\bf}}

\def\subsubsection{\@startsection {subsubsection}{2}{\z@}{5pt}
{-1em}{\subsize\bf}}

\newenvironment{Abstract}{\subsection*{\centering Abstract}\em}{\par\rm\normalsize\unboldmath\medskip}

\newenvironment{Acknowledgment}{\subsection*{Acknowledgments}}{\par\rm\normalsize\unboldmath\medskip}

% Debug floats manually
%\def\topfraction{1.0}
%\def\dbltopfraction{1.0}
%\def\bottomfraction{1.0}
%\def\textfraction{0.0}
%\def\floatpagefraction{0.8}
%\def\dblfloatpagefraction{0.8}

\pagestyle{empty}
% Have Fun.
