%
% $@%9%?%$%k%U%!%$%k(J:
% 	tgif $@%I%-%e%a%s%H(J
%
%\parskip=1ex plus 1pt
%
% \section $@$N=PNO7A<0JQ99!JH"$G0O$^$l$k!K(J
%
%\def\section{\leavevmode\vskip3ex% INCHIKI INPLEMENT :-)
%\hbox{\vrule\vbox to 5.0ex{\hrule\vfill\hbox to\hsize{\hfill }\hrule}\vrule}%
% \vskip-8.5ex\nobreak%
% \@startsection {section}{2}{1em}{0.1ex plus 0.1ex minus .2ex}
%  {0.1ex plus .2ex}{\font@s}}
%\def\section{\leavevmode\vskip1ex% INCHIKI INPLEMENT :-)
% \hbox{\vrule\vbox to 4.0ex{\hrule\vfill\hbox to\hsize{\hfill }\hrule}\vrule}%
%5 \vskip-8.0ex\nobreak%
% \@startsection {section}{2}{1em}{0.1ex plus 0.1ex minus .2ex}
%  {0.1ex plus .2ex}{\font@s}}
\def\section{\leavevmode\vskip1ex% INCHIKI INPLEMENT :-)
 \hbox{\vrule\vbox to 4.0ex{\hrule\vfill\hbox to\hsize{\hfill }\hrule}\vrule}%
 \vskip-5.5ex\nobreak%
 \@startsection {section}{2}{1em}{0.1ex plus 0.1ex minus .2ex}
  {0.5ex plus .2ex}{\font@s}}

%
% tgif $@%I%-%e%a%s%H%Z!<%8%9%?%$%k(J
%
%	Usage: \pagestyle{tgif}
%
\def\@secapp{{\thesection}}

\if@twoside \def\ps@tgif{\let\@mkboth\markboth
 \def\@oddfoot{\hbox{}\hfill\thepage\hfill\hbox{}}
 \def\@evenfoot{\@oddfoot}
 \def\@evenhead{\hbox{}\dm\rm \rightmark\hfil\hbox{}}
 \def\@oddhead{\hbox{}\hfil\dm\rm \rightmark\hbox{}}
 \def\sectionmark##1{\markboth {\uppercase{\ifnum \c@secnumdepth >\z@
  \@secapp\hskip 1em\relax \fi ##1}}{}}
 \def\subsectionmark##1{\markright{\ifnum \c@secnumdepth >\@ne
  \thesubsection\hskip 1em\relax \fi ##1}}}
\else \def\ps@tgif{\let\@mkboth\markboth
 \def\@oddfoot{\hbox{}\hfill\thepage\hfill\hbox{}}
 \def\@evenfoot{\@oddfoot}
 \def\@oddhead{\hbox{}\hfil\dm \rightmark\hbox{}}
 \def\@evenhead{\@oddhead}
 \def\sectionmark##1{\markright{\uppercase{\ifnum \c@secnumdepth >\z@
  \@secapp\hskip 1em\relax \fi ##1}}}}
\fi
