%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% JPCATS研究会演論文集用のLaTeXスタイルファイル  2013.10.25
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%活到老，学到老
% 
% \documentclass{jarticle}
% \usepackage{zenkoku}
% \title{和タイトル}
% \author{著者} 
% \affiliation{所属等}
% \keyword{日本語キーワード}
% \email{e-mail}
% \begin{document}
% \maketitle
% \end{document}
%
\typeout{Document Style: JPCATS Study Group 2013/10/25 taian ver.1.0}
%
% A4 height=297mm, width=210mm, jpcats-margin：top/bottom=30mm，left/right=18mm
% 1inch=25.4mm=72.27pt, 1pt=0.3514598mm, min10: 1zw=0.62215pt=3.3818mm, 1zh=9.16443pt
% topside 1inch -> topmargin -> headheight -> headsep -> textheight
% leftside 1inch
\fontsize{10truept}{15.5truept}\selectfont % or 16.35pt文字サイズ：10.5pt，行送り：15.5pt/16.35pt
\topmargin=4.6mm
\headheight=0mm
\headsep=0mm
\textheight=237mm
\textwidth=51.5zw % 174mm
%\columnsep=10mm
\columnsep=1.5zw
\oddsidemargin=-7.4mm
\evensidemargin=-7.4mm
%
%
% change section, subsection, subsubsection fontsize 
\def\section{\@startsection {section}{1}{\z@}{3.5ex plus -1ex  minus-.2ex}{2.3ex plus .2ex}{\large\bf}}% -3.5ex と - を付けると字下げしない。
\def\subsection{\@startsection {subsection}{2}{\z@}{3.5ex plus -1ex minus -.2ex}{2.3ex plus .2ex}{\normalsize\bf}}
\def\subsubsection{\@startsection {subsubsection}{3}{\z@}{3.5ex plus -1ex minus -.2ex}{2.3ex plus .2ex}{\normalsize\bf}}
\def\paragraph{\@startsection {paragraph}{4}{\z@}{3.5ex plus -1ex minus -.2ex}{2.3ex plus .2ex}{\normalsize\bf}}
\def\subparagraph{\@startsection {subparagraph}{5}{\z@}{3.5ex plus -1ex minus -.2ex}{2.3ex plus .2ex}{\normalsize\bf}}
%
%\def\refname{{\bf {\small 参考文献}}}
%%%%%%%%%%%%%%%%%%%%%
\def\affiliation#1{\gdef\@affiliation{#1}}
\def\email#1{\gdef\@email{#1}}
\def\keyword#1{\gdef\@keyword{#1}}
%
\font\fontkeyword=cmbxti10
\def\emailname{E-mail: \hskip 0.2cm }
\def\keywordname{キーワード \hskip 0.2cm}
%
\def\maketitle{\par
 \begingroup
    \def\thefootnote{\fnsymbol{\footnote}}
    \def\@makefnmark{\hbox
        to \z@{$\m@th^{\@thefnmark}$\hss}}
      \twocolumn[\@maketitle]
      \thispagestyle{empty}\@thanks
 \endgroup
%%%
 \setcounter{footnote}{0}
 \let\maketitle\relax
 \let\@maketitle\relax
 %\gdef\@abstract{}
 \gdef\@keyword{}
 %\let\abstract\relax
 \let\keyword\relax
 \let\affiliation\relax
 \gdef\@affiliation{}
 \gdef\@thanks{}
 \gdef\@author{}
 \gdef\@title{}
 \let\thanks\relax
 \gdef\@email{}\let\email\relax
%%%
\pagestyle{empty}
}
%%%%%%%%%%%%%%%%%%%%%
\def\@maketitle{%\newpage\null
 \begin{center}{\LARGE\bfseries \@title}\par\vspace{5mm}
 {\lineskip 1mm \@author} \par\vspace{3mm}
    \@affiliation 
    \@ifundefined{@email}{}{
    \setlength{\baselineskip}{0.8\normalbaselineskip}}
    \par \vspace{2mm}{\tt \@email} \par\vspace{3mm} 
    \setlength{\baselineskip}{1.0\normalbaselineskip}
    \begin{minipage}[t]{12cm}{\bf \small \keywordname } {\small \@keyword}\end{minipage}
    \vskip 0.8cm
 \end{center}
%%%%%%
}