% extabstw.sty - to be used with proc.cls
%  revised from sice2003.sty
% 
\textwidth=179mm \columnsep=10mm
\oddsidemargin=-9mm \evensidemargin=\oddsidemargin
\textheight=250mm
\topmargin=-9mm \headsep=0pt \headheight=0pt
\long\def\where#1{\gdef\@where{#1}}
\long\def\abstract#1{\gdef\@abstract{#1}}
\def\keywords#1{\gdef\@keywords{#1}}
\def\maketitle{\par
 \begingroup
   \renewcommand\thefootnote{\arabic{footnote}}%
    \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
     \long\def\@makefntext##1{\parindent 1em\noindent
             \hb@xt@1.8em{%
                 \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
   \twocolumn[\@maketitle]%
 \endgroup
 \setcounter{footnote}{0}%
 \let\maketitle\relax
 \let\@maketitle\relax
 \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
\def\@maketitle{%
  \vbox{\hsize\textwidth \linewidth\hsize
    \centering
    {\huge\bfseries \@title \par}\vskip 2ex
    {\Large \@author \par}\vskip 1ex
    {\normalsize \@where \par}\vskip 3ex
    \parbox{150mm}{{\bfseries Abstract: }\@abstract}\vskip 2ex
    \parbox{150mm}{{\bfseries Keywords: }\@keywords}\vskip 4ex}}
\pagestyle{empty}

\def\@seccntformat#1{\csname the#1\endcsname ~~}

\def\@sect#1#2#3#4#5#6[#7]#8{%
  \ifnum #2>\c@secnumdepth
    \let\@svsec\@empty
  \else
    \refstepcounter{#1}%
    \protected@edef\@svsec{\@seccntformat{#1}\relax}%
    \sbox\@tempboxa{\hskip2\hsize}% preparation
    \ifnum #2=1% special treatment for 'section'
      \protected@edef\@svsec{\thesection .\hskip.5em}% period added
      \sbox\@tempboxa{\normalfont\Large\bfseries
        \hskip #3\relax\@svsec #8}%
    \fi
  \fi
  \@tempskipa #5\relax
  \ifdim \@tempskipa>\z@
    \begingroup
      #6{%
        \ifdim \wd\@tempboxa>\hsize % normal case
        \@hangfrom{\hskip #3\relax\@svsec}%
          \interlinepenalty \@M #8\@@par
        \else % special case (centering)
          \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
        \fi}
    \endgroup
    \csname #1mark\endcsname{#7}%
    \addcontentsline{toc}{#1}{%
      \ifnum #2>\c@secnumdepth \else
        \protect\numberline{\csname the#1\endcsname}%
      \fi
      #7}%
  \else
    \def\@svsechd{%
      #6{\hskip #3\relax
      \@svsec #8}%
      \csname #1mark\endcsname{#7}%
      \addcontentsline{toc}{#1}{%
        \ifnum #2>\c@secnumdepth \else
          \protect\numberline{\csname the#1\endcsname}%
        \fi
        #7}}%
  \fi
  \@xsect{#5}}
\let\subsubsection=\paragraph
\def\@cite#1#2{$^{\mbox{\scriptsize #1)}}$}
\def\refname{\centering References}
\endinput
% end of extabstw.sty
