%
%
%  LaTeX2e Template ( forum.sty ) for
%
%  　　電子情報系高専フォーラム
%
%          arranged by Oota
%
%           25 July 2002
%
%
%
% Usage:
%
% \documentclass[a4paper]{jarticle}
% \usepackage{graphicx,forum}
%
% \begin{document}

% \title{...}
% \author{...}
% \affiliation{....}
%
% \maketitle
%
%
% \section{...}
%
% \section{...}
% .
% .
% .
% \begin{thebibliography}{99}
% \bibitem{1}
% \bibitem{2}
%    .
%    .
%    .
% \end{thebibliography}
%

% \end{document}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  マージンの設定
%
\oddsidemargin -0.4mm 
\evensidemargin -0.4mm
% =25-25.4(=1 Inch)=-0.4mm
%左のマージンは，25mm以上
%
\topmargin -13mm 
% =20-25.4(=1 Inch)-17.6=-13mm
%上下のマージンは，20mm以上
%
% 30-25.4-x=-13mm
%         x=17.6
%
% A4 : 210 X 297 (mm)
\textheight 252mm 
% = 297-20-25=257mm
%
\textwidth 165mm 
% = 210-25-20=165mm
%左のマージンは，25mm以上
%右のマージンは，20mm以上
%
\columnsep 10mm 
%

\twocolumn \sloppy \flushbottom
\parindent 0.14in 
\thispagestyle{empty} 
\pagestyle{empty}

%Sectioning Commands
\def\thesection{\arabic{section}.}
\def\thesubsection{\thesection\,{\arabic{subsection}}}
\def\thesubsubsection{\thesubsection.\,\arabic{subsubsection}}

%\def\thesection {\arabic{section}.\kern-0.5em}
%\def\thesubsection {\arabic{subsection}.\kern-0.5em}
%\def\thesubsubsection {\thesubsection\kern0.5em\arabic{subsubsection}.\kern-0.5em}

\def\section{ \@startsection {section}{1}{\z@}{-1.5ex plus
    -0.5ex minus -.2ex}{1.0ex plus 0.3ex minus .2ex}{\normalsize\bf\raggedright}}
\def\subsection{\@startsection{subsection}{2}{\z@}{-1.5ex plus
    -0.2ex minus -.2ex}{0.8ex plus .2ex}{\normalsize\bf\raggedright}}
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-1.5ex plus
    -0.2ex minus -.2ex}{0.8ex plus .2ex}{\normalsize\bf\raggedright}}


%  Define the Title style

\newcommand{\affiliation}[1]{\date{ #1}}

\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}

\def\@maketitle{%
  \vskip 0mm
%\vspace*{-1in}\vbox to 2.25in
{\hsize\textwidth
 \linewidth\hsize \vfil \centering
 {\Large \bf \@title \par} 
 \vskip 8mm
 {\large \begin{tabular}[t]{c}\@author\end{tabular}\par}
 \vskip 0mm
 {\large \begin{tabular}[t]{c}\@date \end{tabular}\par}}
\vspace*{6mm}
}

\def\copyrightspace{\footnotetext[0]{\mbox{}\vrule height 97pt width 0pt}}

%  Define the Abstract
%%%%% \def\abstract{ \mbox{{\boldmath $Abstract$}{\bf--- }}}
%
%
%　図1:の:をとるマクロ
\makeatletter
\long\def\@makecaption#1#2{%
  \vskip\abovecaptionskip
  \iftdir\sbox\@tempboxa{#1\hskip1zw#2}%
    \else\sbox\@tempboxa{#1\hskip1zw #2}%
  \fi
  \ifdim \wd\@tempboxa >\hsize
    \iftdir #1\hskip1zw#2\relax\par
      \else #1\hskip1zw #2\relax\par\fi
  \else
    \global \@minipagefalse
    \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
  \fi
  \vskip\belowcaptionskip}
\makeatother
%


