\NeedsTeXFormat{pLaTeX2e}
%
% gds_remix.cls
%
%   pLaTeX2e class file for Editing novels book
%   by NAKATA Yoshinori(white@niu.ne.jp)
%
\ProvidesClass{gdsharp}
  [2004/05/02 v0.02 pLaTeX class for ` GDsharp ']
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{jbook}\typeout{\CurrentOption}}
\ProcessOptions\relax
\LoadClass[a5paper,twoside,10pt]{gamedeep}

\renewcommand{\normalsize}{%
    \@setfontsize\normalsize{8}{13}%
  \abovedisplayskip 8\p@ \@plus2\p@ \@minus4\p@
  \abovedisplayshortskip \z@ \@plus3\p@
  \belowdisplayshortskip 4\p@ \@plus3\p@ \@minus3\p@
   \belowdisplayskip \abovedisplayskip
   \let\@listi\@listI}
\normalsize
\setbox0\hbox{\char\euc"A1A1}%
\setlength\Cht{\ht0}
\setlength\Cdp{\dp0}
\setlength\Cwd{\wd0}
\setlength\Cvs{\baselineskip}
\setlength\Chs{\wd0}
\renewcommand{\small}{%
  \@setfontsize\small{6}{10}%
  \abovedisplayskip 6.5\p@ \@plus3\p@ \@minus4\p@
  \abovedisplayshortskip \z@ \@plus2\p@
  \belowdisplayshortskip 3\p@ \@plus2\p@ \@minus2\p@
  \def\@listi{\leftmargin\leftmargini
              \topsep 4\p@ \@plus2\p@ \@minus2\p@
              \parsep 2\p@ \@plus\p@ \@minus\p@
              \itemsep \parsep}%
  \belowdisplayskip \abovedisplayskip}
\renewcommand{\footnotesize}{%
  \@setfontsize\footnotesize{5}{8}%
  \abovedisplayskip 5\p@ \@plus2\p@ \@minus4\p@
  \abovedisplayshortskip \z@ \@plus\p@
  \belowdisplayshortskip 3\p@ \@plus\p@ \@minus2\p@
  \def\@listi{\leftmargin\leftmargini
              \topsep 3\p@ \@plus\p@ \@minus\p@
              \parsep 2\p@ \@plus\p@ \@minus\p@
              \itemsep \parsep}%
  \belowdisplayskip \abovedisplayskip}
\renewcommand{\scriptsize}{\@setfontsize\scriptsize{4}{6}}
\renewcommand{\tiny}{\@setfontsize\tiny{3}{5}}
\renewcommand{\large}{\@setfontsize\large{10}{14}}
\renewcommand{\Large}{\@setfontsize\Large{12}{16}}
\renewcommand{\LARGE}{\@setfontsize\LARGE{15}{18}}
\renewcommand{\huge}{\@setfontsize\huge{18}{24}}
\renewcommand{\Huge}{\@setfontsize\Huge{24}{30}}

\renewenvironment{quote}
  {\bf\small\list{}{\rightmargin.3\leftmargin}%
           \item\relax}{\endlist}

\renewcommand{\thesection}{\@arabic\c@section}

\def\includeEPSillust#1{%
\vbox to \textheight{%
 \kern-.8cm\kern-1in\kern-\topmargin\kern-\headheight\kern-\headsep\kern\paperheight%
 \hbox to \textwidth{
  \kern.8cm \kern-1in \kern-\hoffset%
  \kern \ifodd \thepage -\oddsidemargin \else -\evensidemargin \fi%
  \special{PSfile=#1}\hss}\vss}}%

\def\ref#1{\expandafter\@setref\csname r@#1\endcsname\@firstoftwo{#1}}