% css2004.sty: style file for CSS2004
% Computer Security Symposium 2004 Symposium Committee
%
% css2004.sty (ver 0.9) : Jul 27, 2004 
% css2003.sty (ver 1.1) : Aug 28, 2003
% css2003.sty (ver 1.0) : Aug 25, 2003
% css2003.sty (ver 0.9)  : Aug  5, 2003
%
% From jarticle.sty 16-Mar-88
% -------------------------------------------------------------------------
% 
% Usage: 
% \documentclass[a4j]{jarticle}
% \usepackage{css2004}
% \begin{document}
% \jtitle{}
% \jauthor{}
% \jcontact{}
% \begin{jabstract}..... \end{jabstract}
% ... English .... 
% \maketitle 
       
%
\typeout{css2004.sty ver 0.9 : 2003/07/27}

% No page number
\pagestyle{empty}

% Page layout
%
%\paperwidth	210mm
%\paperheight	297mm
\textwidth       160.0mm
\textheight      237.0mm
\oddsidemargin    0mm
\evensidemargin   0mm
\topmargin        0mm
\headheight       5.0mm
\headsep          0.0mm
\footskip         0.0mm
\columnsep        6.0mm
\parindent 1zw\relax

% Two column
\twocolumn
\raggedbottom

% 
\def\maketitle{
	\par
	\begingroup
	\def\thefootnote{\fnsymbol{footnote}}
	\def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}}
	\twocolumn[\@maketitle]\@thanks
	\endgroup
	\setcounter{footnote}{0}
	\let\maketitle\relax
	\let\@maketitle\relax
	\gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax
}
%
%%%%%  Format of Page 1 %%%%%
%
% Title
%
\def\@maketitle{
  \newpage\null\vskip 1em%
  \begin{center}%
	\let\footnote\thanks
% Japanese title
	{\Large \bf \@jtitle \par}
	\vskip 1.5em
 	{\large \begin{tabular}[t]{c}\@jauthor \end{tabular}\par}
	\vskip 1.5em
	\begin{tabular}[t]{c} \@jcontact \end{tabular}\par
	\vskip 1.5em%
	{\unvbox\@jabstractbox}
	\vskip2em
% English title
	{\Large \bf \@etitle \par}
	\vskip 1.5em
	{\large \begin{tabular}[t]{c}\@eauthor \end{tabular}\par}
	\vskip 1.5em
	{\small \begin{tabular}[t]{c}\@econtact \end{tabular}\par}
	\vskip 1.5em
	{\unvbox\@eabstractbox}
	\par \vskip 1.5em
  \end{center}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%	Definitions
%
% Japanese & English�@title��
%
\def\jtitle#1{\gdef\@jtitle{#1}}
\def\@jtitle#{\mkt\@warning\jtitle}
\def\etitle#1{\gdef\@etitle{#1}}
\def\@etitle{\mkt@warning\etitle}
%
% Japanese & English authors
%
\long\def\jauthor#1{\long\gdef\@jauthor{#1}}
\def\@jauthor{\mkt@warning\jauthor}
\long\def\eauthor#1{\long\gdef\@eauthor{#1}}
\def\@eauthor{\mkt@warning\eauthor}
%
%  Japanese & English contact address
%
\long\def\jcontact#1{\long\gdef\@jcontact{#1}}
\def\@jcontact{\mkt@warning\jcontact}
\long\def\econtact#1{\long\gdef\@econtact{#1}}
\def\@econtact{\mkt@warning\econtact}

% Japanese & English abstracts

\def\jabstractname{����܂�}
\def\eabstractname{Abstract}

\newbox\@jabstractbox \global\setbox\@jabstractbox\box\voidb@x
\newbox\@eabstractbox \global\setbox\@eabstractbox\box\voidb@x

\def\jabstract{%
   \global\setbox\@jabstractbox\vbox\bgroup
      \hsize\textwidth \@parboxrestore
      {\bfseries \jabstractname}  \parindent=1zw\relax}
\def\endjabstract{\egroup}

\def\eabstract{%
   \global\setbox\@eabstractbox\vbox\bgroup
      \hsize\textwidth \@parboxrestore
      {\bfseries \eabstractname}  \parindent=1zw\relax}
\def\endeabstract{\egroup}
%%%%%%%%%%%%%%%%%%%%%%%

% EOF
