%% hangul.sty  04-Feb-1994 by koaunghi.un@student.uni-tuebingen.de
%%
%% ÀúÀÛ±ÇÀº GNU General Public License¿¡ ÁØÇÕ´Ï´Ù.
%%
%% ¹®Á¦Á¡
%% ------
%% 1. \cite¿¡¼­ÀÇ Á¶»çÃ³¸®°¡ 100% ¿Ïº®ÇÏÁö ¾Ê½À´Ï´Ù.
%%     ¿¹:
%%       \cite{bib:label}À» º¸½Ã¿À --> [skating]¸¦ º¸½Ã¿À.
%%     bibliographyÀÛ¼º½Ã ÀÌ·± ¶óº§ÀÇ »ç¿ëÀ» ÇÇÇÏµµ·Ï ÇÏ½Ê½Ã¿ä.
%%
%% 2. »öÀÎÃ³¸®°¡ ¿Ïº®ÇÏÁö ¾Ê½À´Ï´Ù.
%%   1. \TeX{}ÀÌ º¸Á¶ ÆÄÀÏ¿¡ 8ºñÆ® ¹®ÀÚ¸¦ Ãâ·ÂÇÏÁö ¸øÇÒ ¶§:
%%      1) ¿ì¸®¸»Àº /¿Í 0»çÀÌ¿¡ ¿É´Ï´Ù.
%%      2) ¿ì¸®¸»Àº ÀÚ¼Ò¿¡ ÀÇÇÑ Áý´ÜÀÇ ±¸º°ÀÌ ¾ø½À´Ï´Ù.
%%   2. \TeX{}ÀÌ º¸Á¶ ÆÄÀÏ¿¡ 8ºñÆ® ¹®ÀÚ¸¦ Ãâ·ÂÇÒ ¶§:
%%      1) ¿ì¸®¸»Àº ¿µ¹® ASCII ºÎÈ£¿¡ ÀÇÇØ, ¿µ¹® ´ÙÀ½¿¡ »óÂ¡±âÈ£,
%%         ÇÑ±Û, ùÓí®ÀÇ ¼ø¼­·Î ³ªÅ¸³³´Ï´Ù.
%%      2) hangul.ist¸¦ »ç¿ëÇÏÁö ¾ÊÀ¸¸é ¿ì¸®¸»ÀÇ `°¡³ª´Ù¶ó...'¸ñ·ÏÀÇ
%%         ±¸º°ÀÌ ¾ø°í ¿µ¹® ASCII ºÎÈ£¿¡ ÀÇÇÑ \indexspace·Î ³ª´¹´Ï´Ù.
%%      3) hangul.ist¸¦ »ç¿ëÇÏ¸é ¿ì¸®¸»ÀÇ `°¡³ª´Ù¶ó...'¸ñ·ÏÀÇ ±¸º°ÀÌ
%%         µÇ¸ç, »óÂ¡±âÈ£¿Í ÇÑÀÚ´Â °¢°¢ ÇÏ³ªÀÇ Áý´ÜÀ¸·Î Ã³¸®µË´Ï´Ù.
%% 3. ÀÚµ¿Á¶»çÃ³¸®±â´É¿¡ ÀÇÇØ, makeidx.styÀ» ¾²¸é Á¤ÀÇµÇ´Â \seeÀÇ
%%    º¯¼ö°¡ \space¸¦ Æ÷ÇÔÇÏ°í ÀÖÀ¸¸é Âø¿À°¡ ¹ß»ýÇÕ´Ï´Ù. \space´ë½Å¿¡
%%    ~¸¦ ¾²¸é Á¦´ë·Î ÀÛµ¿ÇÕ´Ï´Ù. ¿¹:
%%    \index{»öÀÎÃ³¸®ÀÇ ¹®Á¦Á¡|see{ÀÚµ¿ Á¶»ç Ã³¸® ±â´É}}
%%      ¡æ \index{»öÀÎÃ³¸®ÀÇ ¹®Á¦Á¡|see{ÀÚµ¿~Á¶»ç~Ã³¸®~±â´É}}
%%

\NeedsTeXFormat{LaTeX2e}
\def\filedate{2000/01/18}
\def\fileversion{0.99}
\def\filename{hangul.sty}

\ProvidesPackage{hangul}[\filedate\space Document Package for ÇÑ±ÛLaTeX]
\typeout{ÇÑ±Û ¹®¼­ ²Ù·¯¹Ì `\filename' <\filedate>.}

%% Ãß°¡ ¼±ÅÃ Ã³¸®
%% --------------
%%
%% Ãß°¡ ¼±ÅÃ "hanja"´Â ´Ü¿øÀÇ ÀÌ¸§µéÀ» ÇÑÀÚ·Î Ç¥½ÃÇÑ´Ù.

\newif\if@hanja\@hanjafalse

\DeclareOption{hanja}{\@hanjatrue}

%% ´ÙÀ½Àº ÇÑ±ÛLaTeX ±æÀâÀÌ¿¡ »ç¿ëµÈ´Ù.
\let\HLaTeXversion\fileversion
\let\HLaTeXdate\filedate

%% Lambda¸¦ ¾²¸é ksx1001.texÀ» ÀÐ°í ²Ù·¯¹Ì Ã³¸®¸¦ ¸¶Ä£´Ù.
\ifx\nullocplist\undefined\else
  \input ksx1001.tex
\fi
\@nameuse{ksx1001.tex}

%% LaTeXÀ» ¾µ ¶§¿¡´Â ´ÙÀ½°ú °°Àº Ãß°¡ ¼±ÅÃÀÌ ´õ ÀÖ´Ù.
%% Ãß°¡ ¼±ÅÃ "nojosa"´Â ÀÚµ¿Á¶»çÃ³¸®±â´ÉÀ» ¸¶ºñ½ÃÅ²´Ù.
%% Ãß°¡ ¼±ÅÃ "hardbold"´Â ÀÌ¹Ì ¸¸µé¾îÁø bfseries ÇÑ±Û ±ÛÀÚÃ¼¸¦ »ç¿ëÇÏ°í,
%% Ãß°¡ ¼±ÅÃ "softbold"´Â bfseries ±ÛÀÚÃ¼¸¦ ¼³Ä¡ÇÏÁö ¾ÊÀº »óÅÂ¿¡¼­
%%   mdseries ±ÛÀÚÃ¼¸¦ »ç¿ëÇÏ¿© ¸ðµë¸í·ÉÀ» ÅëÇØ bfseries°¡
%%   ¸¸µé¾îÁöµµ·Ï ÇÑ´Ù.
%%   ÀÌ µÑÁß ¾Æ¹« °Íµµ ÁöÁ¤ÇÏÁö ¾ÊÀ¸¸é "softbold"°¡ µÈ´Ù.
%%
%% Ãß°¡ ¼±ÅÃÀÇ ÁöÁ¤Àº ´ÙÀ½°ú °°ÀÌ ÇÑ´Ù.
%%       \documentclass[hanja,...]{...}
%%       \usepackage{hangul,...}
%% È¤Àº \documentclassÀÇ ´ÙÀ½¿¡
%%       \usepackage[hanja]{hangul}
\newif\if@makebold
\newif\if@josa
\@hanjafalse \@makeboldfalse \@josatrue

\DeclareOption{hardbold}{\@makeboldfalse}
\DeclareOption{softbold}{\@makeboldtrue}
\DeclareOption{nojosa}{\@josafalse}

\if@compatibility
\InputIfFileExists{hltx209.cfg}{}{}
\else
\ProcessOptions
\fi

%% ÇÑ±Û ±ÛÀÚÃ¼ÀÇ Á¤ÀÇ
\input hfont.tex

%%% From File: lterror.dtx
\def\@latex@warning@no@line#1{\let\protect\relax%
   \@latex@warning{#1\@gobble}}

%%% From File: ltfsstrc.dtx
\def\@font@warning#1{\let\protect\relax%
         \GenericWarning{(Font)\@spaces\@spaces\@spaces\space\space}%
                        {LaTeX Font Warning: #1}}%

%%% From File: ltmiscen.dtx
\expandafter\def\expandafter\centering\expandafter{\centering\ks@break}
\expandafter\def\expandafter\raggedright\expandafter{\raggedright\ks@break}
\expandafter\def\expandafter\raggedleft\expandafter{\raggedleft\ks@break}

%%% From File: ltsect.dtx
\def\thanks#1{\footnotemark\let\KSC@\noexpand
    \protected@xdef\@thanks{\@thanks
        \protect\footnotetext[\the\c@footnote]{#1}}%
}

%%% From File: ltpage.dtx
\def\markboth#1#2{\gdef\@themark{{#1}{#2}}{%
     \let\protect\@unexpandable@protect \let\KSC@\noexpand
     \let\label\relax \let\index\relax \let\glossary\relax
     \mark{\@themark}}\if@nobreak\ifvmode\nobreak\fi\fi}
\def\@markright#1#2#3{\let\KSC@\noexpand \gdef\@themark{{#1}{#3}}}

%% hfont.styÀº ¿©±â¼­ ³¡³­´Ù.
\@nameuse{hfont.sty}

%% "ÇÑ±ÛLaTeX ±æÀâÀÌ"¿¡ ÇÊ¿ä.
\begingroup
\def\gobble@zero#1{\expandafter\is@zero#1\relax}
\def\is@zero#1{\ifnum#1=0\relax\else#1\fi}
\let\KSC@\noexpand
\def\d@t@#1/#2/#3\relax{\if@hanja #1Ò´ \gobble@zero{#2}êÅ
  \gobble@zero{#3}ìí\else #1³â \gobble@zero{#2}¿ù \gobble@zero{#3}ÀÏ\fi}
\protected@xdef\HLaTeXdate{\expandafter\d@t@\HLaTeXdate\relax}
\endgroup

\def\ks@noexpand{\ifx\protect\@typeset@protect\relax\else
  \expandafter\noexpand\fi}

%% ¿ì¸®¸» ¹®¼­ÀÇ °÷°÷¿¡¼­ »ç¿ëµÉ ÀÌ¸§µéÀº \ksnamedef ¸ðµëÀ¸·Î Á¤ÀÇµÈ´Ù.
%%
%% ´Ù¸¥ ²Ù·¯¹Ì°¡ ÀÌ ÀÌ¸§µéÀ» ´Ù½Ã Á¤ÇÏ°Ô µÉ °æ¿ìµµ ÀÖÀ¸¹Ç·Î ¾Æ·¡ÀÇ
%% Á¤ÀÇ´Â ¸ðµç ²Ù·¯¹Ì¸¦ ´Ù Ã³¸®ÇÏ°í ³­ ÈÄ \begin{document}°¡ ³ª¿Ã ¶§
%% È¿·ÂÀ» °®µµ·Ï ÇÑ´Ù.  ÀÌ·± ÀÌ¸§µéÀº \begin{document} ¾Õ¿¡¼­
%% \renewcommand¸¦ ÅëÇØ º¯°æÇÒ ¼ö ÀÖ´Ù.

\def\ksnamedef#1#2{%
\AtBeginDocument{\@namedef{ks#1}{#2\protect\make@josa{#2}}
                 \@namedef{#1}{\expandafter\protect\csname ks#1\endcsname}}}

\if@hanja
  \ksnamedef{today}{\number\year Ò´~\number\month êÅ~\number\day ìí}
  \ksnamedef{enclname}{ÔÒÜæÚª}
  \ksnamedef{ccname}{ÞÐÜâ}% »çÀü¿¡¼­
  \ksnamedef{headtoname}{áôãáìÑ}%
  \ksnamedef{seename}{\À»~óÑÍÅ}%
  \ksnamedef{contentsname}{ÙÍ~ó­}% Öâ}
  \ksnamedef{listfigurename}{±×¸²~ÙÍó­}% Öâ}
  \ksnamedef{listtablename}{øú~ÙÍó­}% Öâ}
  \ksnamedef{refname}{óÑÍÅ~ÙþúÌ}% {óÑðÎ~ßöîß}
  \ksnamedef{indexname}{ßã~ìÚ}
  \ksnamedef{tablename}{øú}
  \ksnamedef{abstractname}{é©~å³}
  \ksnamedef{bibname}{îÊßö~ÙÍÖâ}% »çÀü¿¡¼­
  \ksnamedef{appendixname}{Ý¾Öâ}% »çÀü¿¡¼­
  \ksnamedef{ksTHE}{ð¯}
  \ksnamedef{partname}{ø¹}
  \ksnamedef{chaptername}{íñ}
  \ksnamedef{sectionname}{ï½}
  \ksnamedef{colorlayer}{ü³Ôó÷ú~ßäßÓ}% »çÀü¿¡¼­
  \ksnamedef{glossaryname}{åÞ~ýÄ}% »çÀü¿¡¼­
\else
  \ksnamedef{today}{\number\year ³â~\number\month ¿ù~\number\day ÀÏ}
  \ksnamedef{enclname}{µ¿ºÀ¹°}
  \ksnamedef{ccname}{»çº»}%
  \ksnamedef{headtoname}{¹Þ´ÂÀÌ}%
  \ksnamedef{seename}{\À»~Âü°í}% Á¶}%
  \ksnamedef{contentsname}{¸ñ~Â÷}% ·Ï}
  \ksnamedef{listfigurename}{±×¸²~¸ñÂ÷}% ·Ï}
  \ksnamedef{listtablename}{Ç¥~¸ñÂ÷}% ·Ï}
  \ksnamedef{refname}{Âü°í~¹®Çå}% {ÂüÁ¶~¼­Àû}
  \ksnamedef{indexname}{Ã£¾Æº¸±â}% ÇÑÀÚ´Â »ö~ÀÎ
  \ksnamedef{tablename}{Ç¥}
  \ksnamedef{abstractname}{¿ä~¾à}
  \ksnamedef{bibname}{Àú¼­~¸ñ·Ï}% »çÀü¿¡¼­
  \ksnamedef{appendixname}{ºÎ·Ï}% »çÀü¿¡¼­
  \ksnamedef{ksTHE}{Á¦}%
  \ksnamedef{partname}{Æí}% ºÎ
  \ksnamedef{chaptername}{Àå}%
  \ksnamedef{sectionname}{Àý}% ´Ü¶ô - subsection ¼Ò´Ü¶ô
  \ksnamedef{colorlayer}{È¯µîÆÇ~»ö±ò}% »çÀü¿¡¼­
  \ksnamedef{glossaryname}{¿ë¾î~Ç®ÀÌ}% »çÀü¿¡¼­
\fi
\ksnamedef{pagename}{ÂÊ}
\ksnamedef{figurename}{±×¸²}

%% ´Ü¿øÀÇ ÇÑ±ÛÈ­
%% =============
%%
%% Part I       --> Á¦ I Æí, ð¯ I ø¹
%% Chapter 1    --> Á¦ 1 Àå, ð¯ 1 íñ   <book,report>
%% Section 1    --> Á¦ 1 Àý, ð¯ 1 ï½
%% Appendix A   --> ºÎ·Ï  A, Ý¾ÒÑ  A
%%
%% À§¿Í °°Àº ´Ü¿øÀÇ ÇÑ±ÛÈ­´Â Àý(ï½)±îÁö ¿µÇâÀ» ¹ÌÄ£´Ù. ±×·¯¹Ç·Î ¿ì¸®´Â
%% ¸ñÂ÷¿¡ \subsubsection±îÁö ´Ü¿øÀÌ ¹øÈ£¿Í ÇÔ²² ³ª¿Àµµ·Ï ÇÑ´Ù.
%% article¿¡¼­´Â ÀÌ¹Ì 3À¸·Î ÁöÁ¤µÇ¾úÀ¸³ª, ±×¿Ü¿¡¼­´Â 2·Î ÁöÁ¤µÇ¾î
%% \subsection±îÁö¸¸ ¹øÈ£°¡ ¸ñÂ÷¿¡ ³ª¿Àµµ·Ï µÇ¾î ÀÖ´Ù.
\setcounter{secnumdepth}{\thr@@}

\@ifclassloaded{article}{% <article>
  \renewcommand{\appendix}{\par
    \setcounter{section}{0}%
    \setcounter{subsection}{0}%
    \def\@chapapp{\appendixname}% ºÎ·ÏÀÇ ÇÑ±ÛÈ­¿¡ ÀÇÇØ ÇÊ¿ä.
    \kscntformat{section}{\appendixname~}{}
    \def\thesection{\@Alph\c@section}}%
}{\@ifundefined{@chapapp}{}{% <report|book>
    \renewcommand\thesection{\@arabic\c@section}
    \renewcommand\appendix{\par
      \setcounter{chapter}{0}%
      \setcounter{section}{0}%
      \renewcommand\@chapapp{\appendixname}%
      \kscntformat{chapter}{\appendixname~}{}
      \renewcommand\thechapter{\@Alph\c@chapter}}%
}}

%% À§¿Í°°Àº ÀçÁ¤ÀÇ·Î ´ÙÀ½°ú °°Àº ¹®Á¦°¡ ¹ß»ýÇÑ´Ù.
%% 1. \part´Â \partname~\thepart·Î ³ª¿À°Ô µÈ´Ù. Æí~I
%% 2. \chapter´Â \@chapapp{} \thechapter·Î. Àå~1
%% 3. \sectionÀº \sectionname~\thesectionÀ¸·Î. Àý~1
%% 4. ¸ñÂ÷ÀÛ¼ºÀÇ µé¿©¾²±â°¡ ¿ì¸®¸» È¯°æ¿¡ Àû´çÇÏÁö ¾Ê´Ù.
%% 5. ÆäÀÌÁö headingÀÇ ±ÛÀÚÃ¼°¡ \slshapeÀ¸·Î ¹Ù²ñÀ¸·Î¼­ ¿ì¸®¸»ÀÌ
%%    ºÒ¾ÈÁ¤ÇØÁø´Ù.
%%
%% ÀÌ·± ¾àÁ¡À» º¸¿ÏÇÏ±â À§ÇØ ´Ü¿øÀÇ ÀÏ·Ã¹øÈ£ÀÇ ¾Õ°ú µÚ¿¡ ³¢¿ö³ÖÀ»
%% ¸ðµëÀ» ´ÙÀ½°ú °°ÀÌ ¼³Á¤ÇÑ´Ù.
\def\kscntformat#1#2#3{\@namedef{pre@#1cnt}{#2}
                       \@namedef{post@#1cnt}{#3}}
\kscntformat{part}{\ksTHE~}{~\partname}
\kscntformat{chapter}{\ksTHE~}{~\chaptername}
\kscntformat{section}{\ksTHE~}{~\sectionname}

\@ifclassloaded{article}{% <article>
  \def\@part[#1]#2{%
    \ifnum \c@secnumdepth >\m@ne
      \refstepcounter{part}%
      \addcontentsline{toc}{part}%
        {\pre@partcnt\thepart\post@partcnt\hspace{1em}#1}%
    \else
      \addcontentsline{toc}{part}{#1}%
    \fi
    {\parindent \z@ \raggedright
     \interlinepenalty \@M
     \normalfont
     \ifnum \c@secnumdepth >\m@ne
       \Large\bfseries \pre@partcnt\thepart\post@partcnt
       \par\nobreak
     \fi
     \huge \bfseries #2%
     \markboth{}{}\par}%
   \nobreak
   \vskip 3ex
   \@afterheading}
}{% <report|book>
  \@ifundefined{@part}{}{%
    \def\@part[#1]#2{%
      \ifnum \c@secnumdepth >-2\relax
        \refstepcounter{part}%
        \addcontentsline{toc}{part}%
          {\pre@partcnt\thepart\post@partcnt\hspace{1em}#1}%
      \else
        \addcontentsline{toc}{part}{#1}%
      \fi
      \markboth{}{}%
      {\centering
       \interlinepenalty \@M
       \normalfont
       \ifnum \c@secnumdepth >-2\relax
         \huge\bfseries \pre@partcnt\thepart\post@partcnt
         \par
         \vskip 20\p@
       \fi
       \Huge \bfseries #2\par}%
     \@endpart}
  }
}

\@ifclassloaded{book}{%
  \def\@chapter[#1]#2{%
    \ifnum \c@secnumdepth >\m@ne
      \if@mainmatter
        \refstepcounter{chapter}%
        \typeout{\pre@chaptercnt\thechapter\post@chaptercnt}%
        \addcontentsline{toc}{chapter}%
          {\protect\numberline{%
             \pre@chaptercnt\thechapter\post@chaptercnt}#1}%
      \else
        \addcontentsline{toc}{chapter}{#1}%
      \fi
    \else
      \addcontentsline{toc}{chapter}{#1}%
    \fi
    \chaptermark{#1}%
    \addtocontents{lof}{\protect\addvspace{10\p@}}%
    \addtocontents{lot}{\protect\addvspace{10\p@}}%
    \if@twocolumn
      \@topnewpage[\@makechapterhead{#2}]%
    \else
      \@makechapterhead{#2}%
      \@afterheading
    \fi}
  \def\@makechapterhead#1{%
    \vspace*{50\p@}%
    {\parindent \z@ \raggedright \normalfont
     \ifnum \c@secnumdepth >\m@ne
       \if@mainmatter
         \huge\bfseries
         \pre@chaptercnt\thechapter\post@chaptercnt
         \par\nobreak
         \vskip 20\p@
       \fi
     \fi
     \interlinepenalty\@M
     \Huge \bfseries #1\par\nobreak
     \vskip 40\p@
     }}}{}%
\@ifclassloaded{report}{%
  \def\@chapter[#1]#2{%
    \ifnum \c@secnumdepth >\m@ne
      \refstepcounter{chapter}%
      \typeout{\pre@chaptercnt\thechapter\post@chaptercnt}
      \addcontentsline{toc}{chapter}%
        {\protect\numberline{%
           \pre@chaptercnt\thechapter\post@chaptercnt}#1}%
    \else
      \addcontentsline{toc}{chapter}{#1}%
    \fi
    \chaptermark{#1}%
    \addtocontents{lof}{\protect\addvspace{10\p@}}%
    \addtocontents{lot}{\protect\addvspace{10\p@}}%
    \if@twocolumn
      \@topnewpage[\@makechapterhead{#2}]%
    \else
      \@makechapterhead{#2}%
      \@afterheading
    \fi}
  \def\@makechapterhead#1{%
    \vspace*{50\p@}%
    {\parindent \z@ \raggedright \normalfont
      \ifnum \c@secnumdepth >\m@ne
        \huge\bfseries
        \pre@chaptercnt\thechapter\post@chaptercnt
        \par\nobreak
        \vskip 20\p@
      \fi
      \interlinepenalty\@M
      \Huge \bfseries #1\par\nobreak
      \vskip 40\p@
    }}}{}

\@ifundefined{chapter}{}{%
  \renewcommand*\l@chapter[2]{%
    \ifnum \c@tocdepth >\m@ne
      \addpenalty{-\@highpenalty}%
      \vskip 1.0em \@plus\p@
      \setbox\z@=\hbox{\bfseries\pre@chaptercnt\post@chaptercnt}
      \setlength\@tempdima{1.5em}
      \advance\@tempdima\wd\z@
      \begingroup
        \parindent \z@ \rightskip \@pnumwidth
        \parfillskip -\@pnumwidth
        \leavevmode \bfseries
        \advance\leftskip \@tempdima
        \hskip -\leftskip
        #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
        \penalty\@highpenalty
      \endgroup
    \fi}}

\@ifundefined{section}{}{%
  \def\section{%
    \if@noskipsec \leavevmode \fi
    \par
    \@afterindentfalse
    \if@nobreak
      \everypar{}%
    \else
      \addpenalty\@secpenalty\addvspace{3.5ex \@plus 1ex \@minus .2ex\relax}
    \fi
    \secdef\ks@sect\ks@ssect}
  \def\ks@sect[#1]#2{%
    \ifnum \c@secnumdepth<1
      \let\@svsec\@empty
    \else
      \refstepcounter{section}%
      \protected@edef\@svsec{%
        \noexpand\pre@sectioncnt\thesection\noexpand\post@sectioncnt
        \quad\relax}%
    \fi
    \begingroup
      \normalfont\Large\bfseries{%
        \@hangfrom{\hskip \z@\relax\@svsec}%
        \interlinepenalty \@M #2\@@par}%
    \endgroup
    \sectionmark{#1}%
    \addcontentsline{toc}{section}{%
      \ifnum\c@secnumdepth<1 \else
        \protect\numberline{\pre@sectioncnt\thesection\post@sectioncnt}%
      \fi
      #1}
    \@xsect{2.3ex \@plus.2ex}}
  \def\ks@ssect#1{%
    \begingroup
      \normalfont\Large\bfseries{%
        \@hangfrom{\hskip \z@}%
        \interlinepenalty \@M #1\@@par}%
    \endgroup
    \@xsect{2.3ex \@plus.2ex}}
}

\@ifclassloaded{article}{%
  \renewcommand*\l@section[2]{%
    \ifnum \c@tocdepth >\z@
      \addpenalty{\@secpenalty}%
      \addvspace{1.0em \@plus\p@}%
      \setbox\z@=\hbox{\bfseries\pre@sectioncnt\post@sectioncnt}
      \setlength\@tempdima{1.5em}
      \advance\@tempdima\wd\z@
      \begingroup
        \parindent \z@ \rightskip \@pnumwidth
        \parfillskip -\@pnumwidth
        \leavevmode \bfseries
        \advance\leftskip\@tempdima
        \hskip -\leftskip
        #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
      \endgroup
    \fi}
}{\@ifundefined{l@section}{}{%
    \renewcommand*\l@section{\@dottedtocline{1}{1em}{4em}}}%1.5em 2.3em
}

%% ´ÙÀ½Àº \ps@headings°ú \ps@myheadings¸¦ ÇÑ±Û¿¡ ¸Â°Ô ¼öÁ¤ÇÑ °ÍÀÌ´Ù.
%% °¢°¢ÀÇ classµéÀÌ ¼­·Î ´Ù¸¥ ¹æ½ÄÀ¸·Î ÆäÀÌÁö ¸Ó¸®¸¦ Â¥¹Ç·Î ¿ì¸®´Â
%% ¿©±â¼­ °¢°¢À» µû·Îµû·Î Á¤ÀÇÇØ ÁÖ¾î¾ß ÇÑ´Ù.
%% \LaTeXe¿¡ »õ·Î µµÀÔµÈ \MakeUpperCase´Â 8ºñÆ® ¹®ÀÚ¸¦ ¾²´Â
%% iso-latin°ú °°Àº ´Ù¸¥ ²Ù·¯¹Ì¸¦ »ç¿ëÇÒ ¶§ À¯¿ëÇÏ´Ù. -- ¾ÆÁ÷
%% ¥â-»óÅÂÀÌ¹Ç·Î ´Ü¼øÈ÷ \uppercase·Î ´ëÄ¡ÇÑ´Ù.
\DeclareRobustCommand{\MakeUppercase}[1]{\uppercase{#1}}
\DeclareRobustCommand{\MakeLowercase}[1]{\lowercase{#1}}

\@ifclassloaded{article}{%
  \if@twoside
    \renewcommand\ps@headings{%
      \let\@oddfoot\@empty\let\@evenfoot\@empty
      \def\@evenhead{\thepage\hfil\slshape\leftmark}%
      \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
      \let\@mkboth\markboth
      \def\sectionmark##1{%
        \markboth {\MakeUppercase{%
          \ifnum \c@secnumdepth >\z@
            \pre@sectioncnt\thesection\post@sectioncnt\quad
          \fi
          ##1}}{}}%
      \def\subsectionmark##1{%
        \markright {%
          \ifnum \c@secnumdepth >\@ne
            \thesubsection\quad
          \fi
          ##1}}}
  \else
    \def\ps@headings{%
      \let\@oddfoot\@empty
      \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
      \let\@mkboth\markboth
      \def\sectionmark##1{%
        \markright {\MakeUppercase{%
          \ifnum \c@secnumdepth >\m@ne
            \pre@sectioncnt\thesection\post@sectioncnt\quad
          \fi
          ##1}}}}
  \fi
}{}

\@ifclassloaded{book}{%
  \if@twoside
    \def\ps@headings{%
      \let\@oddfoot\@empty\let\@evenfoot\@empty
      \def\@evenhead{\thepage\hfil\slshape\leftmark}%
      \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
      \let\@mkboth\markboth
      \def\chaptermark##1{%
        \markboth {\MakeUppercase{%
            \ifnum \c@secnumdepth >\m@ne
              \if@mainmatter
                 \pre@chaptercnt\thechapter\post@chaptercnt\quad%
              \fi
            \fi
            ##1}}{}}%
      \def\sectionmark##1{%
        \markright {\MakeUppercase{%
            \ifnum \c@secnumdepth >\z@
              \pre@sectioncnt\thesection\post@sectioncnt\quad%
            \fi
            ##1}}}}
  \else
    \def\ps@headings{%
      \let\@oddfoot\@empty
      \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
      \let\@mkboth\markboth
      \def\chaptermark##1{%
        \markright {\MakeUppercase{%
          \ifnum \c@secnumdepth >\m@ne
            \if@mainmatter
              \pre@chaptercnt\thechapter\post@chaptercnt\quad%
            \fi
          \fi
          ##1}}}}
  \fi
  \pagestyle{headings}
  }{}

\@ifclassloaded{report}{%
  \if@twoside
    \def\ps@headings{%
      \let\@oddfoot\@empty\let\@evenfoot\@empty
      \def\@evenhead{\thepage\hfil\slshape\leftmark}%
      \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
      \let\@mkboth\markboth
      \def\chaptermark##1{%
        \markboth {\MakeUppercase{%
          \ifnum \c@secnumdepth >\m@ne
            \pre@chaptercnt\thechapter\post@chaptercnt\quad%
          \fi
          ##1}}{}}%
      \def\sectionmark##1{%
        \markright {\MakeUppercase{%
          \ifnum \c@secnumdepth >\z@
            \pre@sectioncnt\thesection\post@sectioncnt\quad%
          \fi
          ##1}}}}
  \else
    \def\ps@headings{%
      \let\@oddfoot\@empty
      \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
      \let\@mkboth\markboth
      \def\chaptermark##1{%
        \markright {\MakeUppercase{%
          \ifnum \c@secnumdepth >\m@ne
            \pre@chaptercnt\thechapter\post@chaptercnt\quad%
          \fi
          ##1}}}}
  \fi
}{}

%%% From File: ltcounts.dtx
%% ¿µ¹®¼ýÀÚ¿¡¼­ ¿ì¸®¸» Á¶»çÃ³¸®
\def\@arabic#1{\number #1\ifx\protect\relax\ks@num{\number #1}\fi}
\def\@roman#1{\romannumeral #1\ifx\protect\relax\ks@num{\number #1}\fi}
\def\@Roman#1{\expandafter\uppercase\expandafter{\romannumeral #1}%
  \ifx\protect\relax\ks@num{\number #1}\fi}
\def\@alph#1{%
  \ifcase#1\or a\or b\or c\or d\or e\or f\or g\or h\or i\or j\or
   k\or l\or m\or n\or o\or p\or q\or r\or s\or t\or u\or v\or w\or x\or
    y\or z\else\@ctrerr\fi\ifx\protect\relax\alph@josa{#1}\fi}
\def\@Alph#1{%
  \ifcase#1\or A\or B\or C\or D\or E\or F\or G\or H\or I\or J\or
   K\or L\or M\or N\or O\or P\or Q\or R\or S\or T\or U\or V\or W\or X\or
    Y\or Z\else\@ctrerr\fi\ifx\protect\relax\alph@josa{#1}\fi}
\def\@fnsymbol#1{\ensuremath{\ifcase#1\or *\or \dagger\or \ddagger\or
   \mathchar "278\or \mathchar "27B\or \|\or **\or \dagger\dagger
   \or \ddagger\ddagger \else\@ctrerr\fi}\ifx\protect\relax\@jung\fi}
\def\alph@josa#1{%
  \ifnum#1=12 \ri@ul\else
  \ifnum#1=13 \@jong\else
  \ifnum#1=14 \@jong\else
  \ifnum#1=18 \ri@ul\else\@jung
  \fi\fi\fi\fi}

%% Á¶»çÀÚµ¿Ã³¸®¸í·É:
%%   \Àº/\´Â \ÀÌ/\°¡ \À»/\¸¦ \¿Í/\°ú \À¸·Î/\·Î (\À¸·Î¼­/\·Î¼­ \À¸·Î½á/\·Î½á)
\DeclareRobustCommand*{\@jung}{\gdef\is@rieul{n}%
  \global\let\@josa\@firstoftwo\ignorespaces}
\DeclareRobustCommand*{\@jong}{\gdef\is@rieul{n}%
  \global\let\@josa\@secondoftwo\ignorespaces}
\DeclareRobustCommand*{\ri@ul}{\gdef\is@rieul{y}%
  \global\let\@josa\@secondoftwo\ignorespaces}
\DeclareRobustCommand*{\ks@num}[1]{{\count@#1%
  \ifnum\count@<\z@ \count@-\count@ \fi\count2\count@
  \divide\count2 10 \multiply\count2 10 \advance\count@-\count2
  \ifcase\count@\@jong\or\ri@ul\or\@jung\or\@jong\or\@jung\or
  \@jung\or\@jong\or\ri@ul\or\ri@ul\or\@jung\fi}\ignorespaces}

%% Á¶»ç°áÁ¤¹æ¹ý
\if@josa
\begingroup
\IfFileExists{josa.tab}{%
  \newread\JS@tab
  \endlinechar\m@ne
  \def\JS@{\read\JS@tab to\@t \expandafter\split@t\@t\relax
    \ifnum\count@=2 \let\next\relax \else
      \ifcase\count@\let\next\@jung\or\let\next\ri@ul\fi
      \global\expandafter\let\csname\reserved@a\endcsname\next
      \let\next\JS@ \fi\next}
  \def\split@t##1,##2,##3\relax{\count@##1\def\reserved@a{##2|##3}}%
  \openin\JS@tab=josa.tab \JS@ \closein\JS@tab}%
{\PackageWarningNoLine{\string\HLaTeX}{``josa.tab''ÀÌ ¾øÀ¾´Ï´Ù!!!^^J
  \@spaces\@spaces\@spaces\@spaces\@spaces\@spaces
  ÀÎ¿ë¿¡ »ç¿ëµÇ´Â ÀÚµ¿Á¶»ç´Â Àß¸ø Ã³¸®µÉ ¼ö ÀÖÀ¾´Ï´Ù.}}
\endgroup
\fi

%% ¿ì¸®¸»¼ýÀÚ
\def\jaso#1{\@jaso{\@nameuse{c@#1}}}
\def\@jaso#1{\ifcase#1\or ¤¡\@jong\or ¤¤\@jong\or ¤§\@jong\or ¤©\ri@ul
  \else\@ijaso{#1}\fi}
\def\@ijaso#1{\ifcase#1\or\or\or\or\or ¤±\or ¤²\or ¤µ\or ¤·\or ¤¸\or
  ¤º\or ¤»\or ¤¼\or ¤½\or ¤¾\else\@ctrerr\fi\ifx\protect\relax\@jong\fi}
\def\gana#1{\@gana{\@nameuse{c@#1}}}
\def\@gana#1{\ifcase#1\or °¡\or ³ª\or ´Ù\or ¶ó\else\@igana{#1}\fi
  \ifx\protect\relax\@jung\fi}
\def\@igana#1{\ifcase#1\or\or\or\or\or ¸¶\or ¹Ù\or »ç\or ¾Æ\or ÀÚ\or
  Â÷\or Ä«\or Å¸\or ÆÄ\or ÇÏ\else\@ctrerr\fi}
\def\ojaso#1{\@ojaso{\@nameuse{c@#1}}}
\def\@ojaso#1{\ifcase#1\or ¨±\@jung\or ¨²\@jung\or ¨³\@jung\or
  ¨´\ri@ul\else\@iojaso{#1}\fi}
\def\@iojaso#1{\ifcase#1\or\or\or\or\or ¨µ\or ¨¶\or ¨·\or ¨¸\or ¨¹\or
  ¨º\or ¨»\or ¨¼\or ¨½\or ¨¾\else\@ctrerr\fi\ifx\protect\relax\@jong\fi}
\def\ogana#1{\@ogana{\@nameuse{c@#1}}}
\def\@ogana#1{\ifcase#1\or ¨¿\or ¨À\or ¨Á\or ¨Â\else\@iogana{#1}\fi
  \ifx\protect\relax\@jung\fi}
\def\@iogana#1{\ifcase#1\or\or\or\or\or ¨Ã\or ¨Ä\or ¨Å\or ¨Æ\or ¨Ç\or
  ¨È\or ¨É\or ¨Ê\or ¨Ë\or ¨Ì\else\@ctrerr\fi}
\def\pjaso#1{\@pjaso{\@nameuse{c@#1}}}
\def\@pjaso#1{\ifcase#1\or ©±\@jong\or ©²\@jong\or ©³\@jong\or
  ©´\ri@ul\else\@ipjaso{#1}\fi}
\def\@ipjaso#1{\ifcase#1\or\or\or\or\or ©µ\or ©¶\or ©·\or ©¸\or ©¹\or
  ©º\or ©»\or ©¼\or ©½\or ©¾\else\@ctrerr\fi\ifx\protect\relax\@jong\fi}
\def\pgana#1{\@pgana{\@nameuse{c@#1}}}
\def\@pgana#1{\ifcase#1\or ©¿\or ©À\or ©Á\or ©Â\else\@ipgana{#1}\fi
  \ifx\protect\relax\@jung\fi}
\def\@ipgana#1{\ifcase#1\or\or\or\or\or ©Ã\or ©Ä\or ©Å\or ©Æ\or ©Ç\or
  ©È\or ©É\or ©Ê\or ©Ë\or ©Ì\else\@ctrerr\fi}
\def\onum#1{\@onum{\@nameuse{c@#1}}}
\def\@onum#1{\ifcase#1\or ¨ç\or ¨è\or ¨é\or ¨ê\else\@ionum{#1}\fi
  \ifnum#1<\sixt@@n\ifx\protect\relax\ks@num{\number #1}\fi\fi}
\def\@ionum#1{\ifcase#1\or\or\or\or\or ¨ë\or ¨ì\or ¨í\or ¨î\or ¨ï\or
  ¨ð\or ¨ñ\or ¨ò\or ¨ó\or ¨ô\or ¨õ\else\@ctrerr\fi}
\def\pnum#1{\@pnum{\@nameuse{c@#1}}}
\def\@pnum#1{\ifcase#1\or ©ç\or ©è\or ©é\or ©ê\else\@ipnum{#1}\fi
  \ifnum#1<\sixt@@n\ifx\protect\relax\ks@num{\number #1}\fi\fi}
\def\@ipnum#1{\ifcase#1\or\or\or\or\or ©ë\or ©ì\or ©í\or ©î\or ©ï\or
  ©ð\or ©ñ\or ©ò\or ©ó\or ©ô\or ©õ\else\@ctrerr\fi}
\def\oeng#1{\@oeng{\@nameuse{c@#1}}}
\def\@oeng#1{\ifcase#1\or ¨Í\or ¨Î\or ¨Ï\or ¨Ð\else\@ioeng{#1}\fi
  \ifx\protect\relax\alph@josa{#1}\fi}
\def\@ioeng#1{\ifcase#1\or\or\or\or\or ¨Ñ\or ¨Ò\or ¨Ó\or ¨Ô\or ¨Õ\or
  ¨Ö\or ¨×\or ¨Ø\or ¨Ù\or ¨Ú\or ¨Û\or ¨Ü\or ¨Ý\or ¨Þ\or ¨ß\or ¨à\or
  ¨á\or ¨â\or ¨ã\or ¨ä\or ¨å\or ¨æ\else\@ctrerr\fi}
\def\peng#1{\@peng{\@nameuse{c@#1}}}
\def\@peng#1{\ifcase#1\or ©Í\or ©Î\or ©Ï\or ©Ð\else\@ipeng{#1}\fi
  \ifx\protect\relax\alph@josa{#1}\fi}
\def\@ipeng#1{\ifcase#1\or\or\or\or\or ©Ñ\or ©Ò\or ©Ó\or ©Ô\or ©Õ\or
  ©Ö\or ©×\or ©Ø\or ©Ù\or ©Ú\or ©Û\or ©Ü\or ©Ý\or ©Þ\or ©ß\or ©à\or
  ©á\or ©â\or ©ã\or ©ä\or ©å\or ©æ\else\@ctrerr\fi}
\def\hnum#1{\@hnum{\@nameuse{c@#1}}}
\def\@hnum#1{\ifcase#1\or ÇÏ³ª\or µÑ\or ¼Â\or ³Ý\or\@ihnum{#1}\fi}
\def\@ihnum#1{\ifcase#1\or\or\or\or\or ´Ù¼¸\or ¿©¼¸\or ÀÏ°ö\or ¿©´ü\or
  ¾ÆÈ©\or ¿­\or ¿­ÇÏ³ª\or ¿­µÑ\or ¿­¼Â\or ¿­³Ý\or ¿­´Ù¼¸\or ¿­¿©¼¸\or
  ¿­ÀÏ°ö\or ¿­¿©´ü\or ¿­¾ÆÈ©\or ½º¹°\or ½º¹°ÇÏ³ª\or ½º¹°µÑ\or
  ½º¹°¼Â\or ½º¹°³Ý\else\@ctrerr\fi\ifx\protect\relax\@tempcnta#1%
  \ifnum\@tempcnta>9\advance\@tempcnta-10\fi
  \ifnum\@tempcnta>9\advance\@tempcnta-10\fi
  \ifcase\@tempcnta\ri@ul\or\@jung\or\ri@ul\else\@jong\fi\fi}
\def\Hnum#1{\@Hnum{\@nameuse{c@#1}}}
\def\@Hnum#1{\ifcase#1\or Ã¹\or µÑ\or ¼¼\or ³×\or\@iHnum{#1}\fi
  Â°\ifx\protect\relax\@jung\fi}
\def\@iHnum#1{\ifcase#1\or\or\or\or\or ´Ù¼¸\or ¿©¼¸\or ÀÏ°ö\or ¿©´ü\or
  ¾ÆÈ©\or ¿­\or ¿­ÇÏ³ª\or ¿­µÑ\or ¿­¼Â\or ¿­³Ý\or ¿­´Ù¼¸\or ¿­¿©¼¸\or
  ¿­ÀÏ°ö\or ¿­¿©´ü\or ¿­¾ÆÈ©\or ½º¹°\or ½º¹°ÇÏ³ª\or ½º¹°µÑ\or ½º¹°¼Â\or
  ½º¹°³Ý\else\@ctrerr\fi}

%% »öÀÎÀÛ¼º½Ã makeidx.styÀ» ¾²¸é \see°¡ Á¤ÀÇµÈ´Ù.
\@ifundefined{see}{}{%
  \AtBeginDocument{%
    \renewcommand*\see[2]{#1\emph{\make@josa{#1}\seename}}}
}

%% hind.ist¸¦ »ç¿ëÇÏ¿© »öÀÎÀ» ÀÛ¼ºÇÒ ¶§, ´ÙÀ½ÀÇ ¸ðµë¸í·ÉÀº ¿ì¸®¸»ÀÇ
%% ÀÚ¼Ò Áý´ÜÀ» ¾Ë¸Â°Ô ºÐ¸®ÇÑ´Ù.
\begingroup
\if@hanja\gdef\hj@head{ùÓí®}\else\gdef\hj@head{ÇÑÀÚ}\fi
\gdef\KSitem #1\endKS{\@tempcnta\expandafter`\@car#1\@nil\relax
  \ifnum\@tempcnta>"0A0
    \ifnum\@tempcnta<"0B0\let\hitem\item
      \expandafter\ifx\csname I|4\endcsname\relax
        \indexspace\hindexhead{½É¹ú}\nopagebreak
        \global\expandafter\let\csname I|4\endcsname\@empty\fi
    \else\ifnum\@tempcnta<"0CA\advance\@tempcnta-"0B0
      \gdef\hitem{\@ifnextchar#1{\@nameuse{I-\number\@tempcnta}}%
        {\def\reserved@f{#1}\expandafter\KS@item}}
    \else\let\hitem\item
      \expandafter\ifx\csname I|5\endcsname\relax
        \indexspace\hindexhead{\hj@head}\nopagebreak
        \global\expandafter\let\csname I|5\endcsname\@empty\fi\fi\fi
  \else\indexspace\hindexhead{#1}\nopagebreak\fi}
\gdef\KS@item#1#2{%
  \expandafter\ifx\reserved@f#1%
    \@tempcnta`#1\advance\@tempcnta-"0B0
    \@nameuse{I-\number\@tempcnta} #1#2%
  \else\ifx\protect#1\expandafter\KS@item#2
  \else\item #1#2\fi\fi}
\gdef\hindexhead#1{¡¼{\bfseries#1}¡½\hfil}
\def\^^a0#1#2{\count@`#1\advance\count@-"0B0
  \@tempcnta`#2\advance\@tempcnta-"0A1
  \expandafter\xdef\csname I-\number\count@\endcsname ##1##2{%
    \noexpand\expandafter\noexpand\ifx\noexpand\csname
    I|\number\@tempcnta\noexpand\endcsname\relax
      \noexpand\indexspace\noexpand\hindexhead{\noexpand ^^a4\noexpand#2}
      \noexpand\nopagebreak 
      \noexpand\global\noexpand\expandafter\let\noexpand\csname
      I|\number\@tempcnta\noexpand\endcsname\noexpand\@empty
    \noexpand\fi
    \noexpand\item ##1##2}}
\def\^^ff#1#2#3#4{\count@`#1\advance\count@-"0B0
  \@tempcnta`#3\advance\@tempcnta-"0A1\@tempcntb\@tempcnta
  \ifnum\@tempcnta=1\advance\@tempcntb2\else
  \ifnum\@tempcnta=3\advance\@tempcntb3\else
  \ifnum\@tempcnta=8\advance\@tempcntb8\else
  \ifnum\@tempcnta=18\advance\@tempcntb2
  \else\advance\@tempcntb1\fi\fi\fi\fi
  \expandafter\xdef\csname I-\number\count@\endcsname ##1##2{%
    \noexpand\ifnum`##2<#2
      \noexpand\expandafter\noexpand\ifx\noexpand\csname
      I|\number\@tempcnta\noexpand\endcsname\relax
        \noexpand\indexspace\noexpand\hindexhead{\noexpand ^^a4\noexpand#3}
        \noexpand\nopagebreak
        \noexpand\global\noexpand\expandafter\let\noexpand\csname
        I|\number\@tempcnta\noexpand\endcsname\noexpand\@empty
      \noexpand\fi
    \noexpand\else
      \noexpand\expandafter\noexpand\ifx\noexpand\csname
      I|\number\@tempcntb\noexpand\endcsname\relax
        \noexpand\indexspace\noexpand\hindexhead{\noexpand ^^a4\noexpand#4}
        \noexpand\nopagebreak
        \noexpand\global\noexpand\expandafter\let\noexpand\csname
        I|\number\@tempcntb\noexpand\endcsname\noexpand\@empty
      \noexpand\fi
    \noexpand\fi
    \noexpand\item ##1##2}}
\^^a0{^^b0}{^^a1}             \^^ff{^^b1}{"0EE}{^^a1}{^^a2}
\^^a0{^^b2}{^^a2}             \^^ff{^^b3}{"0AA}{^^a2}{^^a4}
\^^ff{^^b4}{"0D9}{^^a4}{^^a7} \^^ff{^^b5}{"0FB}{^^a7}{^^a8}
\^^ff{^^b6}{"0F3}{^^a8}{^^a9} \^^a0{^^b7}{^^a9}
\^^ff{^^b8}{"0B6}{^^a9}{^^b1} \^^ff{^^b9}{"0D9}{^^b1}{^^b2}
\^^ff{^^ba}{"0FC}{^^b2}{^^b3} \^^ff{^^bb}{"0E7}{^^b3}{^^b5}
\^^a0{^^bc}{^^b5}             \^^ff{^^bd}{"0CE}{^^b5}{^^b6}
\^^ff{^^be}{"0C6}{^^b6}{^^b7} \^^a0{^^bf}{^^b7}
\^^ff{^^c0}{"0DA}{^^b7}{^^b8} \^^a0{^^c1}{^^b8}
\expandafter\gdef\csname I-18\endcsname #1#2{%
  \ifnum`#2<"0A5
    \expandafter\ifx\csname I|23\endcsname\relax
      \indexspace\hindexhead{¤¸}\nopagebreak
      \global\expandafter\let\csname I|23\endcsname\@empty
    \fi
  \else\ifnum`#2<"0F7
    \expandafter\ifx\csname I|24\endcsname\relax
      \indexspace\hindexhead{¤¹}\nopagebreak
      \global\expandafter\let\csname I|24\endcsname\@empty
    \fi
  \else
    \expandafter\ifx\csname I|25\endcsname\relax
      \indexspace\hindexhead{¤º}\nopagebreak
      \global\expandafter\let\csname I|25\endcsname\@empty
    \fi
  \fi\fi
  \item #1#2}
\^^a0{^^c3}{^^ba}             \^^ff{^^c4}{"0AB}{^^ba}{^^bb}
\^^ff{^^c5}{"0B8}{^^bb}{^^bc} \^^ff{^^c6}{"0C4}{^^bc}{^^bd}
\^^ff{^^c7}{"0CF}{^^bd}{^^be} \^^a0{^^c8}{^^be}

\endgroup

%% ¾îÈÖÁýÀ» ¸¸µé ¶§ ´ÙÀ½°ú °°Àº È¯°æÀÇ Á¤ÀÇ°¡ ÇÊ¿äÇÏ´Ù.
\let\gloitem\@idxitem
\def\glopage{\hfill}
\newenvironment{theglossary}
               {\if@twocolumn
                  \@restonecolfalse
                \else
                  \@restonecoltrue
                \fi
                \columnseprule \z@
                \columnsep 35\p@
                \twocolumn[\section*{\glossaryname}]%
                \@mkboth{\MakeUppercase{\glossaryname}}%
                        {\MakeUppercase{\glossaryname}}%
                \thispagestyle{plain}\parindent\z@
                \parskip\z@ \@plus .3\p@\relax
                \let\item\gloitem}
               {\if@restonecol\onecolumn\else\clearpage\fi}
\newcommand\printglossary{\@input@{\jobname.gls}}

%% ÇÑ±ÛLaTeXÀÇ logo´Â ÀÌ·¸°Ô.
\DeclareRobustCommand{\HLaTeX}{ÇÑ\kern-.4ex\lower.3ex\hbox{±Û}\kern-.4ex\LaTeX}

%% \LaTeXÀÇ ÇÑ±ÛÈ­:
%% ----------------
%%% From File: ltbibl.dtx
\def\@lbibitem[#1]#2{\item[\@biblabel{#1}\hfill]\if@filesw
      {\let\protect\noexpand
       \immediate
       \write\@auxout{\string\bibcite{#2}%
        {#1\string\make@josa{#1}}}}\fi\ignorespaces}
\def\@bibitem#1{\item\if@filesw
       {\let\protect\noexpand\immediate\write\@auxout
        {\string\bibcite{#1}{\the\value{\@listctr}%
         \string\ks@num{\the\value{\@listctr}}}}}\fi\ignorespaces}
\def\bibcite{\let\protect\string\@newl@bel b}
\def\@citex[#1]#2{\let\protect\string%
  \let\@citea\@empty
  \@cite{\@for\@citeb:=#2\do
    {\@citea\def\@citea{,\penalty\@m\ }%
     \edef\@citeb{\expandafter\@firstofone\@citeb\@empty}%
     \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
     \let\protect\@typeset@protect
     \@ifundefined{b@\@citeb}{\mbox{\reset@font\bfseries ?}%
       \G@refundefinedtrue
       \@latex@warning
         {Citation `\@citeb' on page \thepage \space undefined}}%
       {\hbox{\csname b@\@citeb\endcsname}}}}{#1}%
       \let\protect\@typeset@protect}
\def\nocite#1{\@bsphack\let\protect\string%
  \@for\@citeb:=#1\do{%
    \edef\@citeb{\expandafter\@firstofone\@citeb\@empty}%
    \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
    \let\protect\relax
    \@ifundefined{b@\@citeb}{\G@refundefinedtrue
        \@latex@warning{Citation `\@citeb' undefined}}{}}%
  \@esphack}
%%
\if@josa
\def\make@josa#1{\decide@josa#1\relax}
\def\decide@josa{\afterassignment\analyse@ksc\let\next= }
\def\analyse@ksc{%
  \ifx\next\relax
    \if m\expandafter\@car\meaning\@second\relax\@nil
      \set@display@protect
      \edef\reserved@a{\@first~}%
      \count@\expandafter\expandafter\expandafter
        `\expandafter\@firstoftwo\reserved@a
      \@tempcnta\count@ \divide\@tempcnta\sixt@@n
      \@tempcntb\@tempcnta \multiply\@tempcntb\sixt@@n
      \advance\count@-\@tempcntb
      \edef\reserved@a{\hexnumber@{\@tempcnta}\hexnumber@{\count@}}%
      \edef\reserved@b{\@second~}%
      \count@\expandafter\expandafter\expandafter
        `\expandafter\@firstoftwo\reserved@b
      \@tempcnta\count@ \divide\@tempcnta\sixt@@n
      \@tempcntb\@tempcnta \multiply\@tempcntb\sixt@@n
      \advance\count@-\@tempcntb
      \edef\reserved@b{\hexnumber@{\@tempcnta}\hexnumber@{\count@}}%
      \set@typeset@protect
      \expandafter\ifx\csname\reserved@a|\reserved@b\endcsname\relax\@jong
      \else\expandafter\csname\reserved@a|\reserved@b\endcsname\fi\else
    \ifx 0\@second\@jong\else
    \ifx 1\@second\ri@ul\else
    \ifx 2\@second\@jung\else
    \ifx 3\@second\@jong\else
    \ifx 4\@second\@jung\else
    \ifx 5\@second\@jung\else
    \ifx 6\@second\@jong\else
    \ifx 7\@second\ri@ul\else
    \ifx 8\@second\ri@ul\else
    \ifx 9\@second\@jung\else
    \ifx l\@second\ri@ul\else
    \ifx m\@second\@jong\else
    \ifx n\@second\@jong\else
    \ifx r\@second\ri@ul\else
    \ifx L\@second\ri@ul\else
    \ifx M\@second\@jong\else
    \ifx N\@second\@jong\else
    \ifx R\@second\ri@ul\else\@jung
    \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\else
  \let\@first\@second\let\@second\next\let\next\decide@josa\fi\next}
\else
\def\make@josa#1{\@jong}
\fi

%%%% From File: ltxref.dtx
\def\@setref#1#2#3{%
  \let\protect\relax
  \ifx#1\relax
   \protect\G@refundefinedtrue
   \nfss@text{\reset@font\bfseries ??}%
   \@latex@warning{Reference `#3' on page \thepage \space
             undefined}%
  \else
   \expandafter#2#1\null
  \fi}
\def\label#1{\@bsphack
  \protected@write\@auxout{}%
         {\string\newlabel{#1}%
          {{\@currentlabel\string\make@josa{\@currentlabel}}%
           {\thepage\string\make@josa{\thepage}}}}%
  \@esphack}
\def\ref#1{\let\protect\string
        \expandafter\@setref\csname r@#1\endcsname\@firstoftwo{#1}}
\def\pageref#1{\let\protect\string
          \expandafter\@setref\csname r@#1\endcsname\@secondoftwo{#1}}
\def\newlabel{\let\protect\string\@newl@bel r}%

%%% ÀÚµ¿Á¶»ç¸í·É ¹× ±ÛÀÚÃ¼¹Ù²Þ ¿ì¸®¸» ¸í·É:
%%%   \Àº/\´Â \ÀÌ/\°¡ \À»/\¸¦ \¿Í/\°ú \À¸·Î/\·Î (\À¸·Î¼­/\·Î¼­ \À¸·Î½á/\·Î½á)
%%%   \¿¾±Û\¿Ü°û\¸íÁ¶\¸ñ°¢\°íµñ\±×·¡ÇÈ\±Ã¼­\»õ¸íÁ¶\ÇÊ±â\Ææ±Û¾¾\ÆæÈê¸²\º½±Û¾¾
%%%
%% ¿ì¸®¸» ¸í·É
\let\@josa\@firstoftwo
\def\^^c0{\@ifnextchar^^da\f@urj@mo\f@urjos@}
\def\f@urjos@#1{%
  \ifx#1^^cc\@josa{°¡}{ÀÌ}\else%   ÀÌ(C0CC)
  \ifx#1^^ba\@josa{´Â}{Àº}\else%   Àº(C0BA)
  \ifx#1^^bb\@josa{¸¦}{À»}\else%   À»(C0BB)
  \ifx#1^^b8%                      À¸(C0B8) ·Î(¼­/½á)
    \if y\is@rieul\else\@josa{}{À¸}\fi
  \fi\fi\fi\fi}
\def\f@urj@mo^^da¸ð#1#2#3#4{% ÀÚ¸ð(C0DAB8F0)
  \ifx#1^^b8\hfontfamily{jmj}\else% ¸íÁ¶(B8EDC1B6)
  \ifx#1^^b0\hfontfamily{jgt}\else% °íµñ(B0EDB5F1)
  \ifx#1^^b3\hfontfamily{jnv}\else% ³ëº§(B3EBBAA7)
  \ifx#1^^bc\hfontfamily{jsr}%      ¼Ò¶ó(BCD2B6F3)
  \fi\fi\fi\fi\ignorespaces}%
\def\´Â{\Àº}%                                  ´Â(B4C2)
\def\·Î{\if y\is@rieul\else\@josa{}{À¸}\fi·Î}% ·Î(B7CE) (¼­/½á)
\def\^^bf{%
  \@ifnextchar^^cd{\@josa{¿Í}{°ú}\@gobble}\yt@or@ol}% ¿Í(BFCD)
\def\yt@or@ol#1#2#3{%
  \ifx#1^^be\hfontfamily{yt}\else%                    ¿¾±Û(BFBDB1BD)
  \ifx#1^^dc\hfontfamily{ol}\fi\fi\ignorespaces}%     ¿Ü°û(BFDCB0FB)
\def\^^b8{\@ifnextchar^^a6{\À»\@gobble}\mj@or@mg}% ¸¦(B8A6)
\def\mj@or@mg#1#2#3{%
  \ifx#1^^ed\hfontfamily{mj}\else%                 ¸íÁ¶(B8EDC1B6)
  \ifx#1^^f1\hfontfamily{mg}\fi\fi\ignorespaces}%  ¸ñ°¢(B8F1B0A2)
\def\^^b0{\@ifnextchar^^ed\only@gt\ga@or@gwa}
\def\only@gt#1#2#3{%
  \ifx#1^^ed\gtfamily\fi\ignorespaces}% °íµñ(B0EDB5F1)
\def\ga@or@gwa#1{%
  \ifx#1^^a1\ÀÌ\else%                   °¡(B0A1)
  \ifx#1^^fa\@josa{¿Í}{°ú}\fi\fi}%      °ú(B0FA)
\def\^^b1{\@ifnextchar^^c3\gs@or@gh\only@gr}
\def\gs@or@gh#1#2#3#4#5{%
  \ifx#2^^bc\hfontfamily{gs}#4#5\else%         ±Ã¼­(B1C3BCAD)
  \hfontfamily{gh}\fi\ignorespaces}%           ±ÃÈê¸²(B1C3C8EAB8B2)
\def\only@gr#1#2#3#4#5{%
  \ifx#1^^d7\hfontfamily{gr}\fi\ignorespaces}% ±×·¡ÇÈ(B1D7B7A1C7C8)
%
\def\»õ¸íÁ¶{\hfontfamily{sm}\ignorespaces}% »õ¸íÁ¶(BBF5B8EDC1B6)
\def\ÇÊ±â{\hfontfamily{pg}\ignorespaces}%   ÇÊ±â  (C7CAB1E2)
\def\Ææ#1#2#3#4{\ifx#1^^c8\hfontfamily{ph}% ÆæÈê¸²(C6E6C8EAB8B2)
  \else\hfontfamily{pn}\fi\ignorespaces}%   Ææ±Û¾¾(C6E6B1DBBEBE)
\def\º½±Û¾¾{\hfontfamily{bm}\ignorespaces}% º½±Û¾¾(BABDB1DBBEBE)
\def\Å¸ÀÚ{\hfontfamily{tz}\ignorespaces}%   Å¸ÀÚ  (C5B8C0DA)
\def\½Å¹®{\hfontfamily{sh}\ignorespaces}%   ½Å¹®  (BDC5B9AE)

%%% End of file `hangul.sty'.

