%
% �aa��n��elt Local Style
%   '92/1/14  by H.Kuwata
%

%
% �aa��n��elt ���S��`
%
\def\Bahnwelt{{\font\tfona=cmcsc10%
\font\tfon=cmdunh10 scaled\magstep1%
\tfona Die\kern5pt\tfon Bahnwe\raise-1.2ex\hbox{l}t}}

\def\bahnwelt{{\small \sc Die} {\font\tfon=cmdunh10\tfon Bahnwe\raise-1.2ex\hbox{l}t}}

%
% �ŗL������`
%
\def\LarKeior{���[�J�C�A}
\def\VerleaZohll{���F���A�g�[��}
\def\VerlBious{���F���r�A�X}
\def\VerlteBaumn{���F���e�o����}
\def\Main{�J�m�[��}
\def\Sub{���[�j�A}
\def\Android{�G���e�m}
\def\Robee{�I�[�p�[}
\def\Proff{�Q�[���[����}
\def\Slave{�o���L�[�j��}


%
%  �^�C�g���y�[�W ���[�e�B���e�B
%

%  �\���^�C�g��{���}{����}
\def\BahnweltTitle#1#2{\newbox\bwbox\setbox\bwbox=\vbox{%
\vskip3cm\hbox to \textwidth{\hfil\huge\bf �o�[���E�F���g\hfil}%
\vskip4pt\hbox to \textwidth{\hfil\Bahnwelt\hfil}%
\vskip10pt\hbox to \textwidth{\hfil\Large #1\hfil}%
\vskip2cm\hbox to \textwidth{\hfil\large\bf #2\hfil}%
\vskip3mm}\box\bwbox}

%  �o�����̒�`
\newenvironment{history}{%
\begin{flushright}
\begin{minipage}{56mm}
\begin{tabular}{r@{$\cdot$}ll}}{%
\end{tabular}
\end{minipage}
\end{flushright}}
%  �o������
\def\hitem#1#2#3{#1&#2&{\tt #3}\\}


%
%   Abstruct �̃J�X�^�}�C�Y
%    ``abstruct'' �� ``�T�v'' �ɕύX
%
\def\abstract{\if@twocolumn
\section*{�T�v}
\else \small 
\begin{center}
{\bf �T�v\vspace{-.5em}\vspace{0pt}} 
\end{center}
\quotation 
\fi}
\def\endabstract{\if@twocolumn\else\endquotation\fi}

%
%  �y�[�W�X�^�C���̃J�X�^�}�C�Y
%
\def\ps@bwheadings{%
\let\@mkboth=\markboth%
\def\@oddfoot{}\def\@evenfoot{}%
\def\@evenhead{%
\underline{\hbox to \textwidth%
{{\bf\thepage}\hfil\leftmark}}}%
\def\@oddhead{%
\underline{\hbox to \textwidth%
{\rightmark\hfil\bf\thepage}}}%
\def\sectionmark##1{%
\markboth{##1}{}}%
\def\subsectionmark##1{%
\markright{##1}}}

\def\ps@headings{%
\let\@mkboth=\markboth%
\def\@oddfoot{}\def\@evenfoot{}%
\def\@evenhead{%
\underline{\hbox to \textwidth%
{{\bf\thepage}\hfil\leftmark}}}%
\def\@oddhead{%
\underline{\hbox to \textwidth%
{\rightmark\hfil\bf\thepage}}}%
\def\chaptermark##1{%
\markboth{\ifnum \c@secnumdepth>\m@ne\@chapapp{\thechapter} \ \ \fi##1}{}}%
\def\sectionmark##1{%
\markright{\ifnum \c@secnumdepth>\z@\thesection \ \ \fi##1}}}

\pagestyle{headings}


%
%  �bhapter head �̕ύX
%
%\def\@chapapp{Stage}

%
%  �i�����s���̕ύX
%
\parskip=0pt plus 3pt

%
%  ���̑����[�e�B���e�B
%

%  �L�����s���O�|�C���g��
%    \begin{camp}  \item ..  \end{camp}

\newcounter{campno}
\newenvironment{camp}{%
%\begin{list}{$\bullet$\kern.5em Camping Point \thecampno \ $\cdots$}%
\begin{list}{{\bf Point \thecampno} \ $\cdots$}%
{\usecounter{campno}\advance\labelwidth-2.0em}}%
{\end{list}}

%  ��b��
%    \begin{conv}  \item[<name>] ..  \end{conv}
%
\newenvironment{conv}%
{\begin{list}{}{\labelwidth20mm\leftmargin22mm}\normalsize}%
{\end{list}}

%
%  �I�[�o���{�b�N�X�[����i�g�g�ݍ��݃}�N���R�}���h
%     \minicolumn{�{�b�N�X���T�C�Y}
%           �����̃e�L�X�g���e
%     \minifigure
%           �{�b�N�X�̓��e
%     \minicaption{�}�̃^�C�g��}{�}�̎Q�ƃ��x����}
%     \miniclose

\newlength{\miniindent}
\setlength{\miniindent}{\parindent}

\newlength{\minilcolumn}
\newlength{\minircolumn}

\def\minicolumn#1{
%\newenvironment{minicolumn}[1]{%
\setlength{\minircolumn}{#1}
\setlength{\minilcolumn}{\textwidth}
\addtolength{\minilcolumn}{-4ex}
\addtolength{\minilcolumn}{-1\minircolumn}
%\vspace{1mm}
\par\noindent
\begin{minipage}[t]{\minilcolumn}%
\setlength{\parindent}{\miniindent}\par}

\def\miniclose{\end{screen}\vskip5pt\mbox{}\end{minipage}}

\def\minifigure{\end{minipage}\hspace{4ex}\begin{minipage}[t]{\minircolumn}%
\begin{screen}\small}

\def\minicaption#1#2{\refstepcounter{figure}%
\begin{center}�}\thefigure : #1\end{center}\vspace{-10pt}\label{#2}}


%  \minifigure �p�~�j�ӏ�������
%     \begin{miniitemize} \item .. \end{miniitemize}

\newenvironment{miniitemize}{%
\begin{list}{$\bullet$}{%
\labelwidth10pt\leftmargin\labelwidth\advance\leftmargin\labelsep}}%
{\end{list}}

\def\@listI{\leftmargin\leftmargini \parsep 2pt plus 1pt minus 1pt\topsep 6pt
plus 2pt minus 4pt\itemsep 2pt plus 1pt minus 1pt}

\def\@listii{\leftmargin\leftmarginii
 \labelwidth\leftmarginii\advance\labelwidth-\labelsep
 \topsep 1pt plus 1pt minus 1pt
 \parsep 1pt plus 1pt minus 1pt
 \itemsep \parsep}


