%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% $B2;6A3X2q8&5fH/I=2qMQ%9%?%$%k%U%!%$%k(B onkoron.sty
%
% $B:n@.!'(B2005$BG/(B4$B7n(B 9$BF|(B ($B=iHG(B)
%             4$B7n(B15$BF|(B (Ver.1)
%             4$B7n(B27$BF|(B (Ver.1.1)
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\usepackage[dvips,dvipdfm]{graphicx}
\usepackage{amssymb,amsmath}
\DeclareFontShape{JY1}{mc}{m}{it}{<<5-10>sgen*min<10->min10<->min10}{}
\DeclareFontShape{JT1}{mc}{m}{it}{<<5-10>sgen*tmin<10->tmin10<->tmin10}{}

% $B%Z!<%8%5%$%:D4@0(B
%\textheight 259mm 
\textheight 255mm 
\textwidth 165mm 
% $B>eIt6uGrD4@0(B
\topmargin 20mm
\addtolength{\topmargin}{- 1in}
\headheight 0pt
\headsep 0pt
% $BB&It6uGrD4@0(B
\oddsidemargin 26mm
\addtolength{\oddsidemargin}{- 1in}
\evensidemargin \oddsidemargin
% $BCJ$N4V$N4V3V(B
\columnsep 7mm
% $B@a%?%$%H%k%5%$%:(B
\renewcommand{\section}{\@startsection{section}{1}{\z@}%
   {0.8\Cvs \@plus.5\Cdp \@minus.2\Cdp}%
   {.5\Cvs \@plus.3\Cdp}%
   {\reset@font\large\bfseries}}
\renewcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
   {0.5\Cvs \@plus.5\Cdp \@minus.2\Cdp}%
   {.2\Cvs \@plus.3\Cdp}%
   {\reset@font\normalsize\bfseries}}
\renewcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
   {0.5\Cvs \@plus.5\Cdp \@minus.2\Cdp}%
   {.2\Cvs \@plus.3\Cdp}%
   {\reset@font\normalsize\bfseries}}
% $B%Z!<%8HV9fM^@)(B
\pagestyle{empty}
% $B%-%c%W%7%g%s$r1Q8l$KJQ99(B
\def\fnum@figure{Fig.~\thefigure}
\def\fnum@table{Table~\thetable}
% $B%-%c%W%7%g%s$HHV9f$N4V$N!'$r=|5n(B
\long\def\@makecaption#1#2{%
  \vskip\abovecaptionskip
  \sbox\@tempboxa{#1\hskip1em#2}%
  \ifdim \wd\@tempboxa >\hsize
    #1\hskip1em#2\relax\par
  \else
    \global \@minipagefalse
    \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
  \fi
  \vskip\belowcaptionskip}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% $B;29MJ88%$N0zMQ$r>eIU$GI=<($7$?$$>l9g$O%3%a%s%H$r30$9(B 
%
%\def\@cite#1#2{$^{\hbox{\scriptsize{[#1\if@tempswa , #2\fi}]}}$}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% $B0J9_$O!$(BBear-Collections $B$N(B 1-in-2.sty $B$r4p$K$7$F:n@.(B
%
% defs, dimension and box used in functions No.1 and 4
\let\@origin@lfootnoterule\footnoterule % original def of \footnoterule
\let\@origin@lpar\par                   % original definition of \par
\newdimen\@fullwidthfootnote \newsavebox{\@fullwdp@gebox}
\newdimen\@fullwidthfootnotepage
%
% definition change of \par used in functions No.1 and 4
\def\@pardefch@nge{\@setpar{%
  \if@firstcolumn\@origin@lpar % original in the leftcolumn
  \else \rightfootnotepage\@origin@lpar\fi}}
%       ^^^^^ make a blank footnote and restore the original
%               definition in the rightcolumn of the math-foot page
%
% change definition of \footnoterule used in functions No.1 and 4
\def\footnoterule{\ifdim\c@page pt=\@fullwidthfootnotepage
  \if@firstcolumn\kern-3\p@ \hrule width \textwidth \kern 2.6\p@
   \else\null\fi            % ^^^^^ leftcolumn of the specified page
%                                           rightcolumn of that page
   \else\@origin@lfootnoterule\fi                        % otherwise
 }
%
% force a blank footnote at the right-column used in functions No.1 and 4
\def\rightfootnotepage{\@setpar{\@origin@lpar}% restore original
 \ifdim\@fullwidthfootnote>\z@
  \insert\footins{\footnotesize
  \interlinepenalty\interfootnotelinepenalty
  \splittopskip\footnotesep
  \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
  \hsize\columnwidth \@parboxrestore
  \vspace*{\@fullwidthfootnote}}\fi}
%
% insert a box in the footnote used in functions No.1 and 4
\def\@makebigfootnote{\insert\footins{% \footnotesize
  \interlinepenalty\interfootnotelinepenalty
  \splittopskip\footnotesep
  \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
  \hsize\textwidth \@parboxrestore
  \usebox{\@fullwdp@gebox}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% $B5SCm4X78(B
%
% change definition of \thanks to make a box
%
\def\thanks#1{\footnotemark{\gdef\@etitle{\item[\footnotemark]\space #1}}}
%
% making a footnote of the box of items by \thanks above
% \@setthefirstpagefootnote is used in \def\maketitle below
%                                        ^^^^^^^^^^^^^^^^
\def\@setthefirstpagefootnote{
 \@pardefch@nge % change definition of \par
 \global\sbox{\@fullwdp@gebox}{% save them into a box
 \begin{minipage}{\textwidth}%
  \setcounter{footnote}{0} \def\thefootnote{\fnsymbol{footnote}}%
   \def\@makefnmark{\hbox to\z@{$\m@th^{\@thefnmark}$\hss}}%
  \begin{list}{}{\leftmargin=0.05\textwidth \rightmargin\leftmargin
   \parsep=0pt \topsep=0pt \partopsep=0pt
   \itemindent=0pt \itemsep=0pt \labelwidth=2ex \small}%
   \@etitle
  \end{list}%
 \end{minipage}}\global\@fullwidthfootnotepage=\c@page pt%
 \global\@fullwidthfootnote\ht\@fullwdp@gebox % set dimension
 \global\advance\@fullwidthfootnote\dp\@fullwdp@gebox
 \@makebigfootnote} % and output it into one-column footnote

% $B%?%$%H%kIt:n@.(B
\renewcommand{\maketitle}{\par
\begingroup
  \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
  \def\@makefnmark{\hbox{\ifydir $\m@th^{\@thefnmark}$
    \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
   \long\def\@makefntext##1{\vbox {\hsize=\textwidth
	\parindent 1em\noindent
     \hbox to1.8em{\hss$\m@th^{\@thefnmark}$}##1}}
  \if@twocolumn
    \ifnum \col@number=\@ne \@maketitle
    \else \twocolumn[\@maketitle]%
    \fi
  \else
    \newpage
    \global\@topnum\z@   % Prevents figures from going at top of page.
    \@maketitle
  \fi
   \thispagestyle{empty}\@thanks
\endgroup
%
\@setthefirstpagefootnote
%
\setcounter{footnote}{0}%
\global\let\maketitle\relax
\global\let\@title\@empty
\gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax
}

\newlength{\NumWidth}
\newlength{\TitleWidth}
\setlength{\NumWidth}{3.5cm}
\setlength{\TitleWidth}{\textwidth}
\addtolength{\TitleWidth}{-\NumWidth}

\def\@maketitle{%
\newpage\null
\hskip \NumWidth
\begin{minipage}{\TitleWidth}
%\begin{center}%
  \let\footnote\thanks
  {\Large \@title \par}%
%\end{center}
\end{minipage}
\begin{center}%
  \vskip -0.5em
  {\large
    \lineskip .5em%
    \begin{tabular}[t]{c}%
      \@author
    \end{tabular}\par}%
%  \vskip 1em%
\end{center}%
%\end{minipage}%
\par\vskip 1em}
