% REPORT STANDARD DOCUMENT STYLE -- Released 14 January 1992
%    for LaTeX version 2.09
% Copyright (C) 1992 by Leslie Lamport
% Modified by Songyong Sim

\typeout{Standard Document Style `report' <14 Jan 92>.}
\typeout{Modified by Songyong Sim and named 'hreports' <Jan 95>.}

\def\@ptsize{0}
\@namedef{ds@11pt}{\def\@ptsize{1}}
\@namedef{ds@12pt}{\def\@ptsize{2}}

\def\ds@twoside{\@twosidetrue
           \@mparswitchtrue}
\def\ds@draft{\overfullrule 5pt}

\def\ds@twocolumn{\@twocolumntrue}

\@options
\input hfont209
%\input bhfont
\input rep1\@ptsize.kty\relax

\def\contentsname{{\hA\hC28\hC34} {\hA\hC73\hC77}}
\def\listfigurename{{\hA\hC85\hC91\hP}{\hB\hC19\hC36\hC196} {\hA\hC28\hC34\hP}{\hA\hC73\hC77}}
\def\listtablename{{\hA\hC108\hC110} {\hA\hC28\hC34\hP}{\hA\hC73\hC77}}
\def\bibname{{\hB\hC28\hC124\hC216\hP}{\hA\hC85\hC87\hP}{\hA\hC202\hC216\hP}{\hB\hC33\hC55\hC209}}
\def\refname{{\hB\hC28\hC124\hC216\hP}{\hA\hC85\hC87\hP}{\hA\hC202\hC216\hP}{\hB\hC33\hC55\hC209}}
\def\indexname{{\hB\hC28\hC124\hC221\hP}{\hA\hC25\hC34\hP}{\hA\hC95\hC102\hP}{\hA\hC14\hC36}}
\def\figurename{{\hA\hC85\hC91\hP}{\hB\hC19\hC36\hC196}}
\def\tablename{{\hA\hC108\hC110}}
\def\chaptername{Chapter}
\def\appendixname{{\hA\hC130\hC136\hP}{\hA\hC201\hC212\hC228}}
\def\partname{Part}
\def\abstractname{Abstract}

\def\labelenumi{\theenumi.}
\def\theenumi{\arabic{enumi}}

\def\labelenumii{(\theenumii)}
\def\theenumii{\alph{enumii}}
\def\p@enumii{\theenumi}

\def\labelenumiii{\theenumiii.}
\def\theenumiii{\roman{enumiii}}
\def\p@enumiii{\theenumi(\theenumii)}

\def\labelenumiv{\theenumiv.}
\def\theenumiv{\Alph{enumiv}}
\def\p@enumiv{\p@enumiii\theenumiii}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The following henumerate environment for hangul counters
% (C) 1995 Songyong Sim
%  No Warrany, neither explicit nor empicit
%  May copy, distribute, modify except for commercial use
% Here we use different counter name, even for arabic or romancounter
% This makes it easy further to change the labeling for each item.
% With this style, \hangula{counter} will generate GA, NA, DA, etc
% \hangulb{counter} generate GAP, EUL, BYUNG, JUNG, etc
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcount\@henumdepth \@henumdepth = 0
 
\@definecounter{henumi}
\@definecounter{henumii}
\@definecounter{henumiii}
\@definecounter{henumiv}
 
\def\henumerate{\ifnum \@henumdepth >3 \@toodeep\else
      \advance\@henumdepth \@ne
      \edef\@henumctr{henum\romannumeral\the\@henumdepth}\list
      {\csname label\@henumctr\endcsname}{\usecounter
        {\@henumctr}\def\makelabel##1{\hss\llap{##1}}}\fi}
 
\let\endhenumerate =\endlist

\def\hangula#1{\@hangula{\@nameuse{c@#1}}}
\def\hangulb#1{\@hangulb{\@nameuse{c@#1}}}
\def\@hangula#1{\ifcase#1\or {\hA\hC14\hC34} \or {\hA\hC16\hC34} \or {\hA\hC17\hC34} \or {\hA\hC19\hC34} \or {\hA\hC20\hC34} \or {\hA\hC21\hC34} \or {\hA\hC23\hC34} 
\or {\hA\hC25\hC34} \or {\hA\hC26\hC34} \or {\hA\hC28\hC34}\or {\hA\hC29\hC34} \or {\hA\hC30\hC34} \or {\hA\hC31\hC34} \or {\hA\hC33\hC34} \else\@crterr\fi}
\def\@hangulb#1{\ifcase#1\or {\hB\hC14\hC34\hC197} \or {\hA\hC207\hC218\hC234} \or {\hB\hC21\hC45\hC201} \or {\hB\hC26\hC44\hC201} \or {\hA\hC122\hC127} \or {\hA\hC14\hC36} \or {\hB\hC14\hC45\hC201} 
\or {\hB\hC23\hC39\hC187} \or {\hB\hC25\hC36\hC196} \or {\hA\hC50\hC77} \else\@crterr\fi}

\def\labelhenumi{\thehenumi.}
\def\thehenumi{\arabic{henumi}}

\def\labelhenumii{(\thehenumii)}
\def\thehenumii{\hangula{henumii}}
\def\p@henumii{\thehenumi}

\def\labelhenumiii{\thehenumiii.}
\def\thehenumiii{\roman{henumiii}}
\def\p@henumiii{\thehenumi(\thehenumii)}

\def\labelhenumiv{\thehenumiv.}
\def\thehenumiv{\hangulb{henumiv}}
\def\p@henumiv{\p@henumiii\thehenumiii}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\labelitemi{$\m@th\bullet$}
\def\labelitemii{\bf --}
\def\labelitemiii{$\m@th\ast$}
\def\labelitemiv{$\m@th\cdot$}

\def\verse{\let\\=\@centercr
  \list{}{\itemsep\z@ \itemindent -1.5em\listparindent \itemindent
          \rightmargin\leftmargin\advance\leftmargin 1.5em}\item[]}
\let\endverse\endlist

\def\quotation{\list{}{\listparindent 1.5em
    \itemindent\listparindent
    \rightmargin\leftmargin\parsep \z@ plus\p@}\item[]}
\let\endquotation=\endlist

\def\quote{\list{}{\rightmargin\leftmargin}\item[]}
\let\endquote=\endlist

\def\descriptionlabel#1{\hspace\labelsep \bf #1}
\def\description{\list{}{\labelwidth\z@ \itemindent-\leftmargin
       \let\makelabel\descriptionlabel}}

\let\enddescription\endlist

\newdimen\descriptionmargin
\descriptionmargin=3em

\def\titlepage{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
     \else \newpage \fi \thispagestyle{empty}\c@page\z@}

\def\endtitlepage{\if@restonecol\twocolumn \else \newpage \fi}

\arraycolsep 5pt

\tabcolsep 6pt

\arrayrulewidth .4pt
\doublerulesep 2pt

\tabbingsep \labelsep

\skip\@mpfootins = \skip\footins

\fboxsep = 3pt

\fboxrule = .4pt

\newcounter {part}
\newcounter {chapter}
\newcounter {section}[chapter]
\newcounter {subsection}[section]
\newcounter {subsubsection}[subsection]
\newcounter {paragraph}[subsubsection]
\newcounter {subparagraph}[paragraph]

\def\thepart          {\Roman{part}}
\def\thechapter       {\arabic{chapter}}
\def\thesection       {\thechapter.\arabic{section}}
\def\thesubsection    {\thesection.\arabic{subsection}}
\def\thesubsubsection {\thesubsection .\arabic{subsubsection}}
\def\theparagraph     {\thesubsubsection.\arabic{paragraph}}
\def\thesubparagraph  {\theparagraph.\arabic{subparagraph}}

\def\@chapapp{\chaptername}

\def\part{\cleardoublepage
   \thispagestyle{plain}%
  \if@twocolumn
     \onecolumn
     \@tempswatrue
    \else \@tempswafalse
  \fi
  \hbox{}\vfil
  \secdef\@part\@spart}

\def\@part[#1]#2{\ifnum \c@secnumdepth >-2\relax
        \refstepcounter{part}%

        \addcontentsline{toc}{part}{\thepart
        \hspace{1em}#1}\else

        \addcontentsline{toc}{part}{#1}\fi
   \markboth{}{}%
   {\centering
    \interlinepenalty \@M
    \ifnum \c@secnumdepth >-2\relax
      \huge\bf \partname~\thepart
    \par
    \vskip 20\p@\fi
    \Huge \bf
    #2\par}\@endpart}

\def\@endpart{\vfil\newpage
   \if@twoside
       \hbox{}%
       \thispagestyle{empty}%
       \newpage
   \fi
   \if@tempswa
     \twocolumn
   \fi}

\def\@spart#1{{\centering
   \interlinepenalty \@M
   \Huge \bf
   #1\par}\@endpart}

\def\@pnumwidth{1.55em}
\def\@tocrmarg {2.55em}
\def\@dotsep{4.5}
\setcounter{tocdepth}{2}

\def\tableofcontents{\@restonecolfalse
  \if@twocolumn\@restonecoltrue\onecolumn\fi
  \chapter*{\contentsname
\reset@font\normalsize  \@mkboth{\uppercase{\contentsname}}{\uppercase{\contentsname}}}%
  \@starttoc{toc}\if@restonecol\twocolumn\fi}

\def\l@part#1#2{\addpenalty{-\@highpenalty}%
   \addvspace{2.25em plus\p@}% space above part line
   \begingroup
   \@tempdima 3em
     \parindent \z@ \rightskip \@pnumwidth
     \parfillskip -\@pnumwidth
     {\large \bf
     \leavevmode
     #1\hfil \hbox to\@pnumwidth{\hss #2}}\par
     \nobreak
    \global\@nobreaktrue
    \everypar{\global\@nobreakfalse\everypar{}}%% suggested by

   \endgroup}

\def\l@chapter#1#2{\addpenalty{-\@highpenalty}%
   \vskip 1.0em plus\p@
   \@tempdima 1.5em
   \begingroup
     \parindent \z@ \rightskip \@pnumwidth
     \parfillskip -\@pnumwidth
     \bf
     \leavevmode
      \advance\leftskip\@tempdima
      \hskip -\leftskip
     #1\nobreak\hfil \nobreak\hbox to\@pnumwidth{\hss #2}\par
     \penalty\@highpenalty
   \endgroup}

\def\l@section{\@dottedtocline{1}{1.5em}{2.3em}}
\def\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}}
\def\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}}
\def\l@paragraph{\@dottedtocline{4}{10em}{5em}}
\def\l@subparagraph{\@dottedtocline{5}{12em}{6em}}

\def\listoffigures{\@restonecolfalse
  \if@twocolumn\@restonecoltrue\onecolumn\fi
  \chapter*{\listfigurename\reset@font\normalsize\@mkboth{\uppercase{\listfigurename}}%
     {\uppercase{\listfigurename}}}\@starttoc{lof}\if@restonecol
    \twocolumn\fi}

\def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}

\def\listoftables{\@restonecolfalse
  \if@twocolumn\@restonecoltrue\onecolumn\fi
  \chapter*{\listtablename\reset@font\normalsize\@mkboth{\uppercase{\listtablename}}%
   {\uppercase{\listtablename}}}\@starttoc{lot}\if@restonecol
  \twocolumn\fi}

\let\l@table\l@figure

\def\thebibliography#1{\chapter*{\bibname\reset@font\normalsize\@mkboth
  {\uppercase{\bibname}}{\uppercase{\bibname}}}\list
  {\@biblabel{\arabic{enumiv}}}{\settowidth\labelwidth{\@biblabel{#1}}%
    \leftmargin\labelwidth
    \advance\leftmargin\labelsep
    \usecounter{enumiv}%
    \let\p@enumiv\@empty
    \def\theenumiv{\arabic{enumiv}}}%
    \def\newblock{\hskip .11em plus.33em minus.07em}%
    \sloppy\clubpenalty4000\widowpenalty4000
    \sfcode`\.=\@m}

\def\endthebibliography{%
  \def\@noitemerr{\@warning{Empty `thebibliography' environment}}%
  \endlist}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\thebibliographys#1{\section*{\refname\reset@font\normalsize%
%\@mkboth{\uppercase{\refname}}{\uppercase{\refname}}
%\@mkboth{\leftmark}{\rightmark}
}\list
  {\@biblabel{\arabic{enumiv}}}{\settowidth\labelwidth{\@biblabel{#1}}%
    \leftmargin\labelwidth
    \advance\leftmargin\labelsep
    \usecounter{enumiv}%
    \let\p@enumiv\@empty
    \def\theenumiv{\arabic{enumiv}}}%
    \def\newblock{\hskip .11em plus.33em minus.07em}%
    \sloppy\clubpenalty4000\widowpenalty4000
    \sfcode`\.=1000\relax}

\def\endthebibliographys{%
  \def\@noitemerr{\@warning{Empty `thebibliography' environment}}%
  \endlist}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newif\if@restonecol

\def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi
\columnseprule \z@
\columnsep 35\p@\twocolumn[\@makeschapterhead{\indexname}]%
    \reset@font\normalsize\@mkboth{\uppercase{\indexname}}{\uppercase{\indexname}}%
    \thispagestyle{plain}\parindent\z@
    \parskip\z@ plus .3\p@\relax\let\item\@idxitem}

\def\@idxitem{\par\hangindent 40\p@}

\def\subitem{\par\hangindent 40\p@ \hspace*{20\p@}}

\def\subsubitem{\par\hangindent 40\p@ \hspace*{30\p@}}

\def\endtheindex{\if@restonecol\onecolumn\else\clearpage\fi}

\def\indexspace{\par \vskip 10\p@ plus5\p@ minus3\p@\relax}

\def\footnoterule{\kern-3\p@
  \hrule width .4\columnwidth
  \kern 2.6\p@}

\@addtoreset{footnote}{chapter}

\long\def\@makefntext#1{\parindent 1em\noindent
            \hbox to 1.8em{\hss$\m@th^{\@thefnmark}$}#1}

\setcounter{topnumber}{2}
\def\topfraction{.7}
\setcounter{bottomnumber}{1}
\def\bottomfraction{.3}
\setcounter{totalnumber}{3}
\def\textfraction{.2}
\def\floatpagefraction{.5}
\setcounter{dbltopnumber}{2}
\def\dbltopfraction{.7}
\def\dblfloatpagefraction{.5}

\long\def\@makecaption#1#2{%
   \vskip 10\p@
   \setbox\@tempboxa\hbox{#1: #2}%
   \ifdim \wd\@tempboxa >\hsize
       #1: #2\par
     \else
       \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
   \fi}

\newcounter{figure}[chapter]
\def\thefigure{\thechapter.\@arabic\c@figure}

\def\fps@figure{tbp}
\def\ftype@figure{1}
\def\ext@figure{lof}
\def\fnum@figure{\figurename~\thefigure}
\def\figure{\@float{figure}}
\let\endfigure\end@float
\@namedef{figure*}{\@dblfloat{figure}}
\@namedef{endfigure*}{\end@dblfloat}

\newcounter{table}[chapter]
\def\thetable{\thechapter.\@arabic\c@table}

\def\fps@table{tbp}
\def\ftype@table{2}
\def\ext@table{lot}
\def\fnum@table{\tablename~\thetable}
\def\table{\@float{table}}
\let\endtable\end@float
\@namedef{table*}{\@dblfloat{table}}
\@namedef{endtable*}{\end@dblfloat}

\input titlepag.sty

\mark{{}{}}

\if@twoside
\def\ps@headings{\let\@mkboth\markboth
 \def\@oddfoot{}\def\@evenfoot{}%       No feet.
 \def\@evenhead{\rm \thepage\hfil \sl \leftmark}%        Left heading.
 \def\@oddhead{{\sl \rightmark}\hfil \rm\thepage}% Right heading.
 \def\chaptermark##1{\markboth {\uppercase{\ifnum \c@secnumdepth >\m@ne
      {\hA\hC58\hC76} \thechapter \space {\hB\hC26\hC34\hC201}. \ \fi ##1}}{}}%
 \def\sectionmark##1{\markright {\uppercase{\ifnum \c@secnumdepth >\z@
   \thesection. \ \fi ##1}}}}
\else
\def\ps@headings{\let\@mkboth\markboth
\def\@oddfoot{}\def\@evenfoot{}%     No feet.
\def\@oddhead{{\sl \rightmark}\hfil \rm\thepage}% Heading.
\def\chaptermark##1{\markright {\uppercase{\ifnum \c@secnumdepth >\m@ne
  {\hA\hC58\hC76} \thechapter \space {\hB\hC26\hC34\hC201}. \ \fi ##1}}}}
\fi

\def\ps@myheadings{\let\@mkboth\@gobbletwo
 \def\@oddhead{{\sl\rightmark}\hfil \rm\thepage}%
 \def\@oddfoot{}\def\@evenhead{\rm \thepage\hfil\sl\leftmark}%
 \def\@evenfoot{}\def\chaptermark##1{}\def\sectionmark##1{}%
 \def\subsectionmark##1{}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\simtex{%
${\cal S}$\kern -.07em \lower -.7ex\hbox{${\cal I}$}\kern-.3em ${\cal M}$\TeX}
\def\sys{%
${\cal S}$\kern -.08em \raise .7ex \hbox{${\cal Y}$}\kern -.25em ${\cal S}$}     
\def\ps@lineheading{\@twosidetrue\let\@mkboth\markboth
\def\@evenhead{\protect\makebox[0pt][l]{\protect\underline
             {\protect\makebox[\textwidth][l]{\rm\thepage\hfill\sl\leftmark}}}}
\def\@oddhead{\protect\makebox[0pt][l]{\protect\underline
              {\protect\makebox[\textwidth][l]
              {\sl\rightmark\hfill\rm\thepage}}}}
\def\chaptermark##1{\markboth{\uppercase{
    {\hA\hC58\hC76} \thechapter \space {\hB\hC26\hC34\hC201}. \  ##1}}{}}
% \@chapapp\ \thechapter \  ##1}}{}}% For English
\def\@evenfoot{}
\def\@oddfoot{\hfill\sys}
\def\sectionmark##1{\markright {\uppercase{ \thesection \ ##1}}}
\def\subsectionmark##1{}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\ps@prefheading{\@twosidetrue\let\@mkboth\markboth
\def\@evenhead{\protect\makebox[0pt][l]{\protect\underline
             {\protect\makebox[\textwidth][l]{\rm\thepage\hfill{\hS\hA\hC20\hC41\hP}{\hA\hC19\hC36\hP}{\hB\hC20\hC34\hC191}}}}}
\def\@oddhead{\protect\makebox[0pt][l]{\protect\underline
              {\protect\makebox[\textwidth][l]
              {\sl\rightmark\hfill\rm\thepage}}}}
\def\chaptermark##1{{}}
\def\@evenfoot{}
\def\@oddfoot{\hfill\sys}
\def\sectionmark##1{\markright {\uppercase{ \thesection \ ##1}}}
\def\subsectionmark##1{}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\ps@appendixheading{\@twosidetrue\let\@mkboth\markboth
\def\@evenhead{\protect\makebox[0pt][l]{\protect\underline
             {\protect\makebox[\textwidth][l]{\rm\thepage\hfill\sl {\hA\hC130\hC136\hP}{\hA\hC201\hC212\hC228} \thechapter}}}}
\def\@oddhead{\protect\makebox[0pt][l]{\protect\underline
              {\protect\makebox[\textwidth][l]
              {\sl {\hA\hC130\hC136\hP}{\hA\hC201\hC212\hC228} \thechapter \hfill\rm\thepage}}}}
\def\chaptermark##1{{}}
\def\@evenfoot{}
\def\@oddfoot{\hfill\sys}
\def\sectionmark##1{}
\def\subsectionmark##1{}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\def\today{\ifcase\month\or
%  January\or February\or March\or April\or May\or June\or
%  July\or August\or September\or October\or November\or December\fi
%  \space\number\day, \number\year}
\def\today{\number\year {\hB\hC60\hC187} \number\month {\hB\hC146\hC150\hC212} \number\day {\hB\hC25\hC36\hC191}}
\@addtoreset{equation}{chapter}

\def\theequation{\thechapter.\arabic{equation}}

\ps@plain
\pagenumbering{arabic}
\if@twoside\else\raggedbottom\fi

\if@twocolumn
 \@@input twocolum.sty\relax
\else
 \onecolumn
\fi

\def\checkoddpage{\vfill\eject
\ifodd\thepage\else\null\vfill\eject\fi}

\endinput
