% ssii.sty
% for SSII 2007 Camera ready copy
% ARITA Daisaku (arita@isit.or.jp)
% 2007/3/1
%
% for SSII 2002 Camera ready copy
% ZEN, Heitoh (zen@imit.chiba-u.ac.jp)
% 2001/4/26
% 
% This style file is based on ``ieee8x11.sty'' and
% ``latex8.sty'' which has been used at IEEE CS conferences.
% (By courtesy of the author, Paolo Ienne.)
% Margins are adjusted to fit A4-sized paper, while Letter-sized
% paper (8.5 x 11 inch) is assumed in original styles.
% Original comments are leaved intentionally. 
% ---------------------------------------------------------------
%
% $Id: ieee8x11.sty,v 1.2 1995/09/15 15:31:13 ienne Exp $
%
% by Paolo Ienne
%
% ---------------------------------------------------------------
%
% no guarantee is given that the format corresponds perfectly to 
% IEEE 8.5" x 11" Proceedings, but most features should be ok.
%
% ---------------------------------------------------------------
% with LaTeX2e:
% =============
%
% use as 
%   \documentclass[10pt,twocolumn]{article}
%   \usepackage{ieee8x11}
%
% ---------------------------------------------------------------
% with LaTeX 2.09:
% ================
%
% use as \documentstyle[art10,twocolumn,ieee8x11,...your options...]{article}
%
% ---------------------------------------------------------------
% with both versions:
% ===================
%
% specify \pagestyle{empty} to omit page numbers in the final 
% version
%
% specify references as
%   \bibliographystyle{ieee8x11}
%   \bibliography{...your files...}
%
% use Section{} and SubSection{} instead of standard section{} 
%    and subsection{} to obtain headings in the form 
%    "1.3: My heading"
%
% ---------------------------------------------------------------

%\typeout{IEEE 8.5 x 11-Inch Proceedings Style `ieee8x11.sty'.}
\typeout{SSII Proceedings Style `ssii.sty'.}

% ten point helvetica bold required for captions
% in some sites the name of the helvetica bold font may differ,
% change the name here:
%\font\tenhv  = phvb at 10pt
\font\tenhv  = phvb7t at 10pt

% eleven point roman bold required for second-order headings
\font\elvbf  = cmbx10 scaled 1100

% set dimensions of columns, gap between columns, and paragraph indent 
% modified to fit A4 paper. (H. Zen)
%
%        |   A4   |      Letter
% -------+--------+-------------------
% width  | 210 mm | 215.9 mm (8.5 inch)
% height | 297 mm | 279.4 mm (11 inch)
%
\setlength{\textwidth}{170mm}
\setlength{\textheight}{257mm}
\setlength{\columnsep}{6mm}
\setlength{\topmargin}{-5.4mm}
\setlength{\headheight}{0in}
\setlength{\headsep}{0in}
\setlength{\parindent}{1zw}
\setlength{\oddsidemargin}{-5.4mm}
\setlength{\evensidemargin}{-5.4mm}
\newcommand{\etitle}


\def\@maketitle
   {
   \newpage
   \null
%   \vskip .375in 
   \vskip 1cm 
   \begin{center}
      {\Large \bf \@title \par} 
      % additional two empty lines at the end of the title
      \vspace*{12pt}
      {
      \large 
      \lineskip .3em
      \begin{tabular}[t]{c}
         \@author
      \end{tabular}
      \par
      } 
      % additional small space at the end of the author name
      \vskip .3em 
      {
      \large 
      \begin{tabular}[t]{c}
         \@affiliation
      \end{tabular}
      \par 
      \ifx \@empty \@email
      \else
         \begin{tabular}{r@{~}l}
            E-mail: & {\tt \@email}
         \end{tabular}
         \par
      \fi
      }
      % additional empty line at the end of the title block
      \vspace*{10pt}
   \end{center}
   } 

\def\abstract
   {%
   \centerline{\large\bf Abstract}%
   \vspace*{12pt}%
   %\it%
   }

\def\endabstract
   {
   % additional empty line at the end of the abstract
   \vspace*{12pt}
   }

\def\affiliation#1{\gdef\@affiliation{#1}}
\gdef\@affiliation{}

\def\email#1{\gdef\@email{#1}}
\gdef\@email{}

\newlength{\@ctmp}
\newlength{\@figindent}
\setlength{\@figindent}{1pc}

\long\def\@makecaption#1#2{
   \vskip 10pt
% caption styles modified (H. Zen)
%   \setbox\@tempboxa\hbox{\tenhv\noindent #1.~#2}
   \setbox\@tempboxa\hbox{\tenhv\noindent #1\hspace*{1em} #2}
   \setlength{\@ctmp}{\hsize}
   \addtolength{\@ctmp}{-\@figindent}\addtolength{\@ctmp}{-\@figindent}
   % IF longer than one indented paragraph line
   \ifdim \wd\@tempboxa >\@ctmp
      % THEN set as an indented paragraph
      \begin{list}{}{\leftmargin\@figindent \rightmargin\leftmargin}
%         \item[]\tenhv #1.~#2\par
         \item[]\tenhv #1\hspace*{1em} #2\par
      \end{list}
   \else
      % ELSE center
      \hbox to\hsize{\hfil\box\@tempboxa\hfil}
   \fi}

% correct heading spacing and type
\def\section{\@startsection {section}{1}{\z@}
%   {14pt plus 2pt minus 2pt}{14pt plus 2pt minus 2pt}
   {12pt plus 2pt minus 2pt}{12pt plus 2pt minus 2pt}
   {\large\bf}}
\def\subsection{\@startsection {subsection}{2}{\z@}
%   {13pt plus 2pt minus 2pt}{13pt plus 2pt minus 2pt}
%   {5pt plus 0pt minus 0pt}{5pt plus 0pt minus 0pt}
   {1pt plus 0pt minus 0pt}{1pt plus 0pt minus 0pt}
%   {\elvbf}}
   {\bf}}

% Section and SubSection styles modified (H. Zen)
% add the colon after section numbers
%\newcommand{\Section}[1]{\section{\hskip -1em:~#1}}
%\newcommand{\SubSection}[1]{\subsection{\hskip -1em:~#1}}
\newcommand{\Section}[1]{\section{\hskip -1em~~#1}}
\newcommand{\SubSection}[1]{\subsection{\hskip -1em~~#1}}

% \renewenvironment{itemize}
%   {%% <
%    \ifnum \@itemdepth >3\relax\@toodeep\else
%     \advance\@itemdepth\@ne
%     \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
% %%  \expandafter
%     \list{\csname \@itemitem\endcsname}{%
%      \topsep\z@\parsep\z@\partopsep\z@\itemsep\z@
%      \leftmargin\z@
%      \labelwidth1zw
%      \labelsep1zw
%      \itemindent3zw
%      \listparindent1zw
%      \clubpenalty-200\relax
%      \def\makelabel##1{\hss\llap{##1}}}%
%     \fi}{\endlist}

% end of file ieee8x11.sty
% ---------------------------------------------------------------

%
% modified by ARITA Daisaku
%   narrow margins in list environments
%
\parsep   = 0pt
  \labelsep = .5zw
  \def\@listi{%
     \leftmargin = 2zw \rightmargin = 0pt
     \labelwidth\leftmargin \advance\labelwidth-\labelsep
     \topsep     = .5\baselineskip
     \partopsep  = 0pt \itemsep       = 0pt
     \itemindent = 0pt \listparindent = 1zw}
  \let\@listI\@listi
  \@listi
  \def\@listii{%
     \leftmargin = 2zw \rightmargin = 0pt
     \labelwidth\leftmargin \advance\labelwidth-\labelsep
     \topsep     = 0pt \partopsep     = 0pt \itemsep   = 0pt
     \itemindent = 0pt \listparindent = 1zw}
  \let\@listiii\@listii
  \let\@listiv\@listii
  \let\@listv\@listii
  \let\@listvi\@listii




% end of file ssii.sty
