diff options
author | Karl Berry <karl@freefriends.org> | 2020-03-14 21:01:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-03-14 21:01:21 +0000 |
commit | 58c4ce1681c0ba0f511802729b1409b92a864617 (patch) | |
tree | 1979db7169a2800b64a53be8756252699f30e0d5 /Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs | |
parent | 5539e90b9707a375e00782a39510a63435afd840 (diff) |
kotex-oblivoir (14mar20)
git-svn-id: svn://tug.org/texlive/trunk@54302 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs')
9 files changed, 0 insertions, 2371 deletions
diff --git a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/10_5.sty b/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/10_5.sty deleted file mode 100644 index 401c569ff9a..00000000000 --- a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/10_5.sty +++ /dev/null @@ -1,82 +0,0 @@ -%% File `10_5.sty` -%% -%% Copyright (c) 2006-2013 Kangsoo Kim <karnes at ktug org> -%% -%% This work may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.3c -%% of this license or (at your option) any later version. -%% The latest version of this license is in -%% http://www.latex-project.org/lppl.txt -%% and version 1.3c or later is part of all distributions of LaTeX -%% version 2006/05/20 or later. -%% -%% default font sizes 10.5 -%% 폰트 사이즈 설정. -%% -\def\@xvarpt{10.5} -\def\@ixvarpt{9.5} -\def\@vvarpt{5.5} -\def\@vivarpt{6.5} -\def\@viivarpt{7.5} -\def\@viiivarpt{8.6} -\def\@xivarpt{11.65} -\def\@xiivarpt{12.5} -\def\@xiiipt{13} -\renewcommand{\normalsize}{% - \@setfontsize\normalsize\@xvarpt\@xiipt - \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@ - \abovedisplayshortskip \z@ \@plus3\p@ - \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@ - \belowdisplayskip \abovedisplayskip - \let\@listi\@listI} -\normalsize -\renewcommand{\small}{% - \@setfontsize\small\@ixvarpt{11}% - \abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@ - \abovedisplayshortskip \z@ \@plus2\p@ - \belowdisplayshortskip 4\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 -%% \itemindent\z@ - }% - \belowdisplayskip \abovedisplayskip -} -\renewcommand{\footnotesize}{% - \@setfontsize\footnotesize\@viiivarpt{9.5}% - \abovedisplayskip 6\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 -%% \itemindent\z@ - }% - \belowdisplayskip \abovedisplayskip -} -\renewcommand{\miniscule}{\@setfontsize\miniscule\@vipt{6}} -\renewcommand{\tiny}{\@setfontsize\tiny\@viipt{7.5}} -\renewcommand{\scriptsize}{\@setfontsize\scriptsize\@viivarpt{8}} -\renewcommand{\large}{\@setfontsize\large\@xivarpt{13.6}} -\renewcommand{\Large}{\@setfontsize\Large\@xiiipt{14.5}} -\renewcommand{\LARGE}{\@setfontsize\LARGE\@xivpt{18}} -\renewcommand{\huge}{\@setfontsize\huge\@xviipt{22}} -\renewcommand{\Huge}{\@setfontsize\Huge\@xxpt{25}} -\renewcommand{\HUGE}{\@setfontsize\HUGE\@xxvpt{30}} -\setlength{\onelineskip}{\@xiipt\p@} -\if@twocolumn - \setlength\parindent{1em} -\else - \setlength\parindent{15\p@} -\fi - -\if@twocolumn - \setlength\marginparsep{11\p@} -\else - \setlength\marginparsep{6\p@} -\fi -\setlength{\marginparpush}{7\p@} - -\endinput diff --git a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/fapapersize.sty b/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/fapapersize.sty deleted file mode 100644 index 4cb7d1ffd6b..00000000000 --- a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/fapapersize.sty +++ /dev/null @@ -1,141 +0,0 @@ -%% File `fapapersize.sty` -%% -%% Copyright (c) 2006-2013 Kangsoo Kim <karnes at ktug org> -%% -%% This work may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.3c -%% of this license or (at your option) any later version. -%% The latest version of this license is in -%% http://www.latex-project.org/lppl.txt -%% and version 1.3c or later is part of all distributions of LaTeX -%% version 2006/05/20 or later. -%% -%% ver 0.031 (2006/12/04) -%% trivial bug fix. -%% ver 0.03 (2006/11/24) -%% stocksize를 별도 지정할 수 있게 함 -%% option [stock], command \usefastocksize{<width>}{<height>} -%% ver 0.02 -%% 사륙배판, 국판, 신국판 정의. -%% marginnote 영역 설정은 제외되어 있음. -\ProvidesPackage{fapapersize} -%%% -%%% 옵션 -%%% dbl4x6 : 사륙배판 -%%% mum : 국판 -%%% newmum : 신국판 -\DeclareOption{dbl4x6}{% - \AtEndOfPackage{\usefapapersize{190mm,260mm,30mm,*,30mm,*}}% -} -\DeclareOption{mum}{% - \AtEndOfPackage{\usefapapersize{148mm,210mm,25mm,*,25mm,*}}% -} -\DeclareOption{newmum}{% - \AtEndOfPackage{\usefapapersize{154mm,225mm,25mm,*,25mm,*}}% -} -\newif\ifStockSize@\StockSize@false -\DeclareOption{stock}{% - \StockSize@true -} -\newif\if@showtrim\@showtrimfalse -%\DeclareOption{trimmark}{\@showtrimtrue} -\DeclareOption{showtrims}{\@showtrimtrue} -\ProcessOptions - -\newlength\fa@stockheight\newlength\fa@stockwidth -\newlength\fa@paperheight\newlength\fa@paperwidth -\newlength\fa@leftmargin\newlength\fa@rightmargin -\newlength\fa@uppermargin\newlength\fa@lowermargin -\newlength\fa@tmplenwd\newlength\fa@tmplenht - -\newdimen\tmp@dim - -\def\set@paper@size{% - \ifnum\fa@paperwidth>\fa@tmplenwd - \if@showtrim - \typeout{the page size is too small. Trim mark will not be shown.} - \@showtrimfalse\trimNone - \fi - \fi - \if@showtrim - \setstocksize{\fa@tmplenht}{\fa@tmplenwd} - \settrimmedsize{\fa@paperheight}{\fa@paperwidth}{*} - \setlrmarginsandblock{\fa@leftmargin}{\fa@rightmargin}{*} - \setulmarginsandblock{\fa@uppermargin}{\fa@lowermargin}{*} - \setlength{\trimtop}{\stockheight} - \addtolength{\trimtop}{-\paperheight} - \setlength{\trimedge}{\stockwidth} - \addtolength{\trimedge}{-\paperwidth} - \settrims{.5\trimtop}{.5\trimedge} - \trimLmarks - \else - \setstocksize{\fa@paperheight}{\fa@paperwidth} - \settrimmedsize{\stockheight}{\stockwidth}{*} - \setlrmarginsandblock{\fa@leftmargin}{\fa@rightmargin}{*} - \setulmarginsandblock{\fa@uppermargin}{\fa@lowermargin}{*} - \trimNone - \fi - \tmp@dim=\headheight\advance\tmp@dim by\headsep\advance\tmp@dim by1mm - \ifdim\fa@uppermargin<\tmp@dim - \setheaderspaces{*}{10pt}{*} - \tmp@dim=\fa@uppermargin\advance\tmp@dim by-\headsep\advance\tmp@dim by-1mm - \setheadfoot{\tmp@dim}{\tmp@dim} - \fi - \checkandfixthelayout -} - -\def\@usefastocksize#1#2{% - \setlength\fa@stockheight{#2}% - \setlength\fa@stockwidth{#1}% -} - -\newcommand*{\usefastocksize}[1]{% - \set@fa@stocksizeparameters#1\@nil -} - -\def\set@fa@stocksizeparameters#1,#2\@nil{% - \setlength{\fa@stockwidth}{#1}% - \setlength{\fa@stockheight}{#2}% -} - -\def\@usefapapersize#1#2#3[#4]#5[#6]{% - \setlength\fa@paperwidth{#1} - \setlength\fa@paperheight{#2} - \setlength\fa@leftmargin{#3} - \setlength\fa@rightmargin{#4} - \setlength\fa@uppermargin{#5} - \setlength\fa@lowermargin{#6} -} - -\newcommand*\usefapapersize[1]{% - \get@stocksize - \set@fa@papersizeparameters#1\@nil - \set@paper@size -} - -\def\get@stocksize{% - \ifStockSize@ - \def\fa@tmplenwd{\fa@stockwidth}\def\fa@tmplenht{\fa@stockheight} - \else - \def\fa@tmplenwd{\stockwidth}\def\fa@tmplenht{\stockheight} - \fi -} - -\def\set@fa@papersizeparameters#1,#2,#3,#4,#5,#6\@nil{% - \ifx*#1\def\@tmp@pgwidth{\fa@tmplenwd}\else\def\@tmp@pgwidth{#1}\fi - \ifx*#2\def\@tmp@pgheight{\fa@tmplenht}\else\def\@tmp@pgheight{#2}\fi - \ifx*#4 - \ifx*#6 - \@usefapapersize{\@tmp@pgwidth}{\@tmp@pgheight}{#3}[{#3}]{#5}[{#5}] - \else - \@usefapapersize{\@tmp@pgwidth}{\@tmp@pgheight}{#3}[{#3}]{#5}[{#6}] - \fi\else - \ifx*#6 - \@usefapapersize{\@tmp@pgwidth}{\@tmp@pgheight}{#3}[{#4}]{#5}[{#5}] - \else - \@usefapapersize{\@tmp@pgwidth}{\@tmp@pgheight}{#3}[{#4}]{#5}[{#6}] - \fi - \fi -} - -\endinput diff --git a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/memhangul-common.sty b/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/memhangul-common.sty deleted file mode 100644 index 2b0ae2ef71e..00000000000 --- a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/memhangul-common.sty +++ /dev/null @@ -1,1154 +0,0 @@ -%% File `memhangul-common.sty` -%% -%% (C) Copyright 2013-2015 Kangsoo Kim <karnes at ktug org> -%% -%% This work may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.3c -%% of this license or (at your option) any later version. -%% The latest version of this license is in -%% http://www.latex-project.org/lppl.txt -%% and version 1.3c or later is part of all distributions of LaTeX -%% version 2006/05/20 or later. -%% -%%% -%%% part of kotex-oblivoir -%%% -%%% ===================== -%%% 편, 장 섹션 타이틀 재설정 -%%% 절의 섹션 타이틀은 수정하지 않음. -%% -\ProvidesPackage{memhangul-common}[2015/10/15] - -\let\@CHAPAPP\@chapapp -\def\refreshprepostchapters{% - \if@hanja - \def\pre@chapter{第}% - \else - \def\pre@chapter{제}% - \fi - \let\@chapapp\@CHAPAPP - \def\post@chapter{\@chapapp}% -} -\refreshprepostchapters -%\renewcommand\@chapapp{장} -\def\prechapternum{\pre@chapter} -\def\postchapternum{\post@chapter} -\newcommand\hchaptertitlehead{\pre@chapter\,\thechapter\,\post@chapter} -\providecommand\partmark[1]{} - -\let\pre@part\pre@chapter -\let\post@part\partname -%\renewcommand{\printpartname}{\partnamefont \pre@part} -\renewcommand{\printpartname}{} % disabled. -\renewcommand{\partnamenum}{\space} -\def\prepartnum{\partnamefont \pre@part} -\def\postpartnum{\partnamefont \post@part} -\newcommand\hparttitlehead{\pre@part\partnamenum\thepart\partnamenum\post@part} - -%% PART -%\long\def\@part[#1]#2{% -% \M@gettitle{#1}% -% \ifnum \c@secnumdepth >-2\relax -% \refstepcounter{part}% -% \addcontentsline{toc}{part}% -% {\protect\partnumberline{\hparttitlehead}#1}% -% \else -% \addcontentsline{toc}{part}{#1}% -% \fi -%% \markboth{}{}% -% \ifx#1\@empty\partmark{#2}\else\partmark{#1}\fi -% {\centering -% \interlinepenalty \@M -% \normalfont -% \ifnum \c@secnumdepth >-2\relax -% \prepartnum \partnamenum \printpartnum \partnamenum \postpartnum -% \midpartskip -% \fi -% \printparttitle{#2}\par}% -% \@endpart} -\long\def\@part[#1]#2{% -% \ifx#1\@empty\PrerenderUnicode{#2}\else\PrerenderUnicode{#1}\fi - \M@gettitle{#1}% - \def\f@rtoc{#1}% - \@nameuse{part@f@rtoc@before@write@hook}% - \phantomsection - \mempreaddparttotochook - \ifnum \c@secnumdepth >-2\relax - \refstepcounter{part}% - \addcontentsline{toc}{part}% -% {\protect\partnumberline{\thepart}#1}% - {\protect\partnumberline{\hparttitlehead}#1}% - \mempartinfo{\thepart}{#1}{#2}% - \else - \addcontentsline{toc}{part}{#1}% - \mempartinfo{}{#1}{#2}% - \fi - \mempostaddparttotochook - \partmark{#1}% - {\centering - \interlinepenalty \@M - \normalfont - \ifnum \c@secnumdepth >-2\relax -% \printpartname \partnamenum \printpartnum -% \midpartskip - \prepartnum \partnamenum \printpartnum \partnamenum \postpartnum - \midpartskip - \fi - \printparttitle{#2}\par}% - \@endpart} - -\def\@spart#1{% - \M@gettitle{#1}% - \phantomsection - {\centering - \interlinepenalty \@M - \normalfont - \printparttitle{#1}\par}% - \@endpart} - -%\def\@endpart{\afterpartskip -% \if@twoside -% \if@openright -% \null -% \thispagestyle{empty}% -% \newpage -% \fi -% \fi -% \if@tempswa -% \twocolumn -% \fi} - -%% CHAPTER -%%%%%%%%%%% -\renewcommand{\@m@mchapter}[1][\@empty]{% - \def\ch@pt@c{#1}% capture first optional arg - \@dblarg{\@chapter}} -%%\def\m@m@empty{\@empty} - -%%%%\def\@chapter[#1]#2{% -%%%% \ifx\ch@pt@c\m@m@empty % no optional args -%%%% \def\f@rtoc{#1}% -%%%% \def\f@rhdr{#1}% -%%%% \else % at least one opt arg -%%%% \def\f@rtoc{\ch@pt@c}% -%%%% \nametest{#1}{#2}% -%%%% \ifsamename % one opt arg -%%%% \def\f@rhdr{\ch@pt@c}% -%%%% \else % two opt args -%%%% \def\f@rhdr{#1}% -%%%% \fi -%%%% \fi -%%%% \ifnum \c@secnumdepth >\m@ne -%%%% \if@mainmatter -%%%% \refstepcounter{chapter}% -%%%% \fi -%%%% \fi -%%%% \chaptermark{\f@rhdr}% -%%%% \ifartopt -%%%% \@makechapterhead{#2}% -%%%% \@afterheading -%%%% \else -%%%% \insertchapterspace -%%%% \if@twocolumn -%%%% \@topnewpage[\@makechapterhead{#2}]% -%%%% \else -%%%% \@makechapterhead{#2}% -%%%% \fi -%%%% \@afterheading -%%%% \fi -%%%% \ifnum \c@secnumdepth >\m@ne -%%%% \if@mainmatter -%%%% \addcontentsline{toc}{chapter}{% -%%%%% \protect\chapternumberline{\thechapter}\f@rtoc}% -%%%% \protect\chapternumberline{\hchaptertitlehead}\f@rtoc}% -%%%% \else -%%%% \addcontentsline{toc}{chapter}{\f@rtoc}% -%%%% \fi -%%%% \else -%%%% \addcontentsline{toc}{chapter}{\f@rtoc}% -%%%% \fi -%%%% \ifheadnameref\M@gettitle{\f@rhdr}\else\M@gettitle{\f@rtoc}\fi -%%%%} -%%%% -%%%%\def\@makechapterhead#1{% -%%%% \chapterheadstart% \vspace*{50\p@}% -%%%% {\parindent \z@ \raggedright \normalfont -%%%% \ifnum \c@secnumdepth >\m@ne -%%%% \if@mainmatter -%%%% \memucsinterwordchapterskiphook -%%%%% \printchaptername \chapternamenum \printchapternum \chapternamenum \postchapternum -%%%% \prechapternum \chapternamenum \printchapternum \chapternamenum \postchapternum -%%%% \afterchapternum % \par\nobreak \vskip 20\p@ -%%%% \else -%%%% \printchapternonum -%%%% \fi -%%%% \else -%%%% \printchapternonum -%%%% \fi -%%%% \interlinepenalty\@M -%%%% \printchaptertitle{#1} % \Huge \bfseries #1 -%%%% \afterchaptertitle % \par\nobreak \vskip 40\p@ -%%%% }} -%%%% -%%%%\def\@makeschapterhead#1{% -%%%% \chapterheadstart -%%%% {\parindent \z@ \raggedright \normalfont \memucsinterwordchapterskiphook -%%%% \printchapternonum -%%%% \interlinepenalty\@M -%%%% \printchaptertitle{#1} -%%%% \afterchaptertitle -%%%% } -%%%%} - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% CHAPTER -%% memhangul : opt args : different from memoir 1.618 -%% \chapter[toc][hdr]{title} -%% \chapter[toc]{hdr/title} -%% \chapter{toc/hdr/title} -\def\@chapter[#1]#2{% - \m@mpn@new@chaptrue% - \m@mpn@new@schapfalse% - \def\f@rbdy{#2}% -% \ifx\ch@pt@c\@empty % no optional args -% \def\f@rtoc{#2}% -% \def\f@rhdr{#2}% -% \PrerenderUnicode{#2}% -% \else % at least one opt arg -% \let\f@rtoc\ch@pt@c -% \ifx\@empty#1\@empty -% \let\f@rhdr\ch@pt@c -% \PrerenderUnicode{#1#2}% -% \else -% \def\f@rhdr{#1}% -% \PrerenderUnicode{#1}% -% \fi -% \fi - \ifx\ch@pt@c\m@m@empty % no optional args - \def\f@rtoc{#1}% - \def\f@rhdr{#1}% -% \PrerenderUnicode{#1}% - \else % at least one opt arg - \def\f@rtoc{\ch@pt@c}% - \nametest{#1}{#2}% - \ifsamename % one opt arg - \def\f@rhdr{\ch@pt@c}% -% \PrerenderUnicode{#1#2}% - \else % two opt args - \def\f@rhdr{#1}% -% \PrerenderUnicode{#1}% - \fi - \fi - \m@m@Andfalse - \ifnum \c@secnumdepth >\m@ne - \if@mainmatter - \m@m@Andtrue - \fi - \fi - \ifm@m@And - \ifanappendix - \refstepcounter{APPchapter}% - \else - \refstepcounter{chapter}% - \fi - \fi - \chaptermark{\f@rhdr} - \ifartopt - \@makechapterhead{#2}% - \@afterheading - \else - \insertchapterspace - \if@twocolumn - \@topnewpage[\@makechapterhead{#2}]% - \else - \@makechapterhead{#2}% - \fi - \@afterheading - \fi - \ifm@m@And - \ifanappendix - \addcontentsline{toc}{appendix}{% -% \protect\chapternumberline{\thechapter}\f@rtoc}% - \protect\chapternumberline{\hchaptertitlehead}\f@rtoc}% -% \memappchapinfo{\thechapter}{\f@rtoc}{\f@rhdr}{#2}% - \memappchapinfo{\thechapter}{\f@rtoc}{\f@rhdr}{#2}% - \else - \addcontentsline{toc}{chapter}{% -% \protect\chapternumberline{\thechapter}\f@rtoc}% - \protect\chapternumberline{\hchaptertitlehead}\f@rtoc}% -% \memchapinfo{\thechapter}{\f@rtoc}{\f@rhdr}{#2}% - \memchapinfo{\hchaptertitlehead}{\f@rtoc}{\f@rhdr}{#2}% - \fi - \else - \addcontentsline{toc}{chapter}{\f@rtoc}% - \ifanappendix - \memappchapinfo{}{\f@rtoc}{\f@rhdr}{#2}% - \else - \memchapinfo{\hchaptertitlehead}{\f@rtoc}{\f@rhdr}{#2}% - \fi - \fi - \mempostaddchaptertotochook% - \ifheadnameref\M@gettitle{\f@rhdr}\else\M@gettitle{\f@rtoc}\fi -%%% for chapter - \ifanappendix - \protected@edef\@currentlabel{\thechapter}% - \fi - \memendofchapterhook% -} - -\def\@makechapterhead#1{% - \chapterheadstart% \vspace*{50\p@}% - {\parindent \z@ \raggedright \normalfont - \ifm@m@And - \memucsinterwordchapterskiphook -% \printchaptername \chapternamenum \printchapternum -% \afterchapternum % \par\nobreak \vskip 20\p@ - \prechapternum \chapternamenum \printchapternum \chapternamenum \postchapternum - \afterchapternum % \par\nobreak \vskip 20\p@ - \else - \printchapternonum - \fi - \interlinepenalty\@M - \printchaptertitle{#1} % \Huge \bfseries #1 - \afterchaptertitle % \par\nobreak \vskip 40\p@ - }} - -\renewcommand{\@m@mschapter}[2][\@empty]{% - \@schapter{#2}% - \ifx \@empty#1 - \def\f@rhdr{#2}% -% \PrerenderUnicode{#2}% - \else % opt arg - \def\f@rhdr{#1}% -% \PrerenderUnicode{#1}% - \setcounter{secnumdepth}{-10}% - \chaptermark{#1}% - \setcounter{secnumdepth}{\value{maxsecnumdepth}}% - \fi - \ifanappendix - \memappchapstarinfo{\f@rhdr}{#2}% - \else - \memchapstarinfo{\f@rhdr}{#2}% - \fi} - -\def\@makeschapterhead#1{% - \chapterheadstart -% {\parindent \z@ \raggedright \normalfont - {\parindent \z@ \raggedright \normalfont \memucsinterwordchapterskiphook - \printchapternonum - \interlinepenalty\@M - \printchaptertitle{#1} - \afterchaptertitle - } -} - -%%%%%%%%%%%%% - -\renewcommand{\@chs@def@ult}{% - \def\chapterheadstart{\vspace*{\beforechapskip}} -% \def\printchaptername{\chapnamefont \@chapapp} -% \def\printchaptername{\chapnamefont \pre@chapter} - \def\printchaptername{} % disabled. -% \def\chapternamenum{\space} - \def\chapternamenum{\,} - \def\printchapternum{\chapnumfont \thechapter} - \def\prechapternum{\chapnamefont \pre@chapter} - \def\postchapternum{\chapnamefont \post@chapter} - \def\afterchapternum{\par\nobreak\vskip \midchapskip} - \def\printchapternonum{} - \def\printchaptertitle##1{\chaptitlefont ##1} - \def\postchaptertitle{\post@chapter} - \def\afterchaptertitle{\par\nobreak\vskip \afterchapskip} -} - -%% l@chapter, l@part - -\setlength{\cftpartnumwidth}{4.5em} -\setlength{\cftchapternumwidth}{4.0em} -%% for compatibility with mempatch 3.12 -\def\@chapapp@head{}% - -%% SECTION - -\renewcommand{\section}{% - \sechook\memucsinterwordhook% - \@startsection{section}{1}% level 1 - {\secindent}% heading indent - {\beforesecskip}% skip before the heading - {\aftersecskip}% skip after the heading - {\normalfont\secheadstyle}} % font - -%% PAGESTYLES -%% headings, ruled, Ruled, companioin을 수정함 - -%% pagestyle headings -\if@twoside - \makepagestyle{headings} - \makepsmarks{headings}{% - \let\@mkboth\markboth - \def\chaptermark##1{% - \markboth{\MakeUppercase{% - \ifnum \c@secnumdepth >\m@ne - \if@mainmatter - \hchaptertitlehead \enskip\ % - \fi - \fi - ##1}}{}}% - \def\tocmark{\markboth{\MakeUppercase{\contentsname}}{}}% - \def\lofmark{\markboth{\MakeUppercase{\listfigurename}}{}}% - \def\lotmark{\markboth{\MakeUppercase{\listtablename}}{}}% - \def\bibmark{\markboth{\MakeUppercase{\bibname}}{}}% - \def\indexmark{\markboth{\MakeUppercase{\indexname}}{}}% - \def\sectionmark##1{% - \markright{\MakeUppercase{% - \ifnum \c@secnumdepth > \z@ - \thesection \enskip\ % - \fi - ##1}}}% - } - \makeevenhead{headings}{\thepage}{}{\normalfont\slshape\leftmark} - \makeoddhead{headings}{\normalfont\slshape\rightmark}{}{\thepage} -\else - \makepagestyle{headings} - \makepsmarks{headings}{% - \let\@mkboth\markboth - \def\chaptermark##1{% - \markright{\MakeUppercase{% - \ifnum \c@secnumdepth >\m@ne - \if@mainmatter - \hchaptertitlehead \enskip\ % - \fi - \fi - ##1}}}% - \def\tocmark{\markright{\MakeUppercase{\contentsname}}}% - \def\lofmark{\markright{\MakeUppercase{\listfigurename}}}% - \def\lotmark{\markright{\MakeUppercase{\listtablename}}}% - \def\bibmark{\markright{\MakeUppercase{\bibname}}}% - \def\indexmark{\markright{\MakeUppercase{\indexname}}}% - } - \makeoddhead{headings}{\normalfont\slshape\rightmark}{}{\thepage} -\fi - -%% Pagestyle ruled - -\makepagestyle{ruled} -\makeevenfoot{ruled}{\thepage}{}{} -\makeoddfoot{ruled}{}{}{\thepage} -\makeheadrule{ruled}{\textwidth}{\normalrulethickness} -\renewcommand{\@ruledmarks}{% - \let\@mkboth\markboth - \def\chaptermark##1{% - \markboth{% - \ifnum \c@secnumdepth >\m@ne - \if@mainmatter - \hchaptertitlehead \enskip\ % - \fi - \fi - ##1}{}} - \def\sectionmark##1{\markright{##1}} - \def\tocmark{\markboth{\contentsname}{}} - \def\lofmark{\markboth{\listfigurename}{}} - \def\lotmark{\markboth{\listtablename}{}} - \def\bibmark{\markboth{\bibname}{}} - \def\indexmark{\markboth{\indexname}{}} -} -\makepsmarks{ruled}{\@ruledmarks} -\makeevenhead{ruled}{\normalfont\scshape\leftmark}{}{} -\makeoddhead{ruled}{}{}{\normalfont\rightmark} - -%% Pagestyle Ruled - -\makepagestyle{Ruled} -\makerunningwidth{Ruled}{1.1\textwidth} -\makeheadposition{Ruled}{flushright}{flushleft}{flushright}{flushleft} -\makeevenfoot{Ruled}{\thepage}{}{} -\makeoddfoot{Ruled}{}{}{\thepage} -\makeheadrule{Ruled}{1.1\textwidth}{\normalrulethickness} -\makepsmarks{Ruled}{\@ruledmarks} -\makeevenhead{Ruled}{\normalfont\scshape\leftmark}{}{} -\makeoddhead{Ruled}{}{}{\normalfont\rightmark} - -%% Pagestyle companion - -%\makepagestyle{companion} -%\setlength{\headwidth}{\textwidth} -% \addtolength{\headwidth}{\marginparsep} -% \addtolength{\headwidth}{\marginparwidth} -%\makerunningwidth{companion}{\headwidth} -%\makeheadrule{companion}{\headwidth}{\normalrulethickness} -%\makeheadposition{companion}{flushright}{flushleft}{}{} -%\makepsmarks{companion}{% -% \let\@mkboth\markboth -% \def\chaptermark##1{\markboth{##1}{##1}} % left mark & right marks -% \def\sectionmark##1{\markright{% -% \ifnum \c@secnumdepth>\z@ -% \thesection. \ % -% \fi -% ##1}} -% \def\tocmark{\markboth{\contentsname}{\contentsname}} -% \def\lofmark{\markboth{\listfigurename}{\listfigurename}} -% \def\lotmark{\markboth{\listtablename}{\listtablename}} -% \def\bibmark{\markboth{\bibname}{\bibname}} -% \def\indexmark{\markboth{\indexname}{\indexname}} -%} -%\makeevenhead{companion}{\normalfont\bfseries\thepage}{}% -% {\normalfont\bfseries\leftmark} -%\makeoddhead{companion}{\normalfont\bfseries\rightmark}{}% -% {\normalfont\bfseries\thepage} - -%% 한글 pagestyle hangul -\makepagestyle{hangul} -\newdimen\pghgheadwidth\let\pghgheadwidth=\textwidth -\makerunningwidth{hangul}{\pghgheadwidth} -%\makeheadrule{hangul}{\pghgheadwidth}{0pt} -\makeheadposition{hangul}{flushleft}{flushright}{flushleft}{flushright} -\def\@hgpsmarks{% - \let\@mkboth\markboth - \def\chaptermark##1{% - \markboth{\scshape - \ifnum \c@secnumdepth >\m@ne - \if@mainmatter - \hchaptertitlehead \enskip\ % - \fi - \fi - ##1}{}}% - \def\tocmark{\markboth{\scshape\contentsname}{}}% - \def\lofmark{\markboth{\scshape\listfigurename}{}}% - \def\lotmark{\markboth{\scshape\listtablename}{}}% - \def\bibmark{\markboth{\scshape\bibname}{}}% - \def\indexmark{\markboth{\scshape\indexname}{}}% - \def\sectionmark##1{% - \markright{\scshape -%% disabled printing \thesection. -% \ifnum \c@secnumdepth >\z@ -% \thesection \enskip\ % -% \fi - ##1}}% - } -\makepsmarks{hangul}{\@hgpsmarks} -\makeoddhead{hangul}{}{}{\normalfont\small\rightmark~\makebox[2em][r]{\normalfont\normalsize\sffamily\thepage}} -\makeevenhead{hangul}{\makebox[2em][l]{\normalfont\normalsize\sffamily\thepage}~\normalfont\small\leftmark}{}{} - -%%% CHAPTERSTYLE - -\makechapterstyle{default}{% - \renewcommand{\post@chapter}{\chaptername}% - \renewcommand{\chapnamefont}{\normalfont\huge\bfseries} - \renewcommand{\chapnumfont}{\normalfont\huge\bfseries} - \renewcommand{\chaptitlefont}{\normalfont\Huge\bfseries} - \setlength{\beforechapskip}{50pt} - \setlength{\midchapskip}{20pt} - \setlength{\afterchapskip}{40pt} -} -\chapterstyle{default} - -%% for Appendix -\makechapterstyle{appendixdefault}{% - \renewcommand{\chapnamefont}{\normalfont\huge\bfseries} - \renewcommand{\chapnumfont}{\normalfont\huge\bfseries} - \renewcommand{\chaptitlefont}{\normalfont\Huge\bfseries} -% \renewcommand{\printchaptername}{\chapnumfont\@chapapp} - \renewcommand{\prechapternum}{\chapnumfont\@chapapp} - \renewcommand{\postchapternum}{} - \renewcommand{\chapternamenum}{\enskip} - \setlength{\beforechapskip}{50pt} - \setlength{\midchapskip}{20pt} - \setlength{\afterchapskip}{40pt} -} - -\makechapterstyle{section}{% -% \renewcommand{\printchaptername}{} - \renewcommand{\chapternamenum}{\enskip} - \renewcommand{\prechapternum}{} - \renewcommand{\postchapternum}{} - \renewcommand{\chapnumfont}{\normalfont\Huge\bfseries} - \renewcommand{\printchapternum}{\chapnumfont \thechapter\space} - \renewcommand{\afterchapternum}{} -} - -%% for appendix -\makechapterstyle{appendixsection}{% -% \renewcommand{\printchaptername}{\chapnumfont\@chapapp} - \renewcommand{\chapternamenum}{\enskip} - \renewcommand{\prechapternum}{\chapnumfont\@chapapp} - \renewcommand{\postchapternum}{} - \renewcommand{\chapnumfont}{\normalfont\Huge\bfseries} - \renewcommand{\printchapternum}{\chapnumfont \thechapter\space} - \renewcommand{\afterchapternum}{} -} - -\makechapterstyle{article}{% - \renewcommand{\chapterheadstart}{\vspace{\beforechapskip}} - \setlength{\beforechapskip}{3.5ex \@plus 1ex \@minus .2ex} - \setlength{\afterchapskip}{2.3ex \@plus .2ex} -% \renewcommand{\printchaptername}{} - \renewcommand{\prechapternum}{} - \renewcommand{\chapternamenum}{} - \renewcommand{\postchapternum}{} - \renewcommand{\chaptitlefont}{\normalfont\Large\bfseries} - \renewcommand{\chapnumfont}{\normalfont\Large\bfseries} - \renewcommand{\printchapternum}{\chapnumfont \thechapter\quad} - \renewcommand{\afterchapternum}{} -} - -\makechapterstyle{hangnum}{% - \renewcommand{\chapnumfont}{\chaptitlefont} - \settowidth{\chapindent}{\chapnumfont 999} -% \renewcommand{\printchaptername}{} - \renewcommand{\chapternamenum}{} - \renewcommand{\prechapternum}{} - \renewcommand{\postchapternum}{} - \renewcommand{\printchapternum}{% - \noindent\llap{\makebox[\chapindent][l]{\chapnumfont \thechapter}}} - \renewcommand{\afterchapternum}{} -} - -%\newlength{\chapindent} - -\makechapterstyle{companion}{% - \chapterstyle{default} - \renewcommand*{\chapnamefont}{\normalfont\LARGE\scshape} - \renewcommand*{\printchaptername}{\raggedleft\chapnamefont \@chapapp} - \renewcommand*{\prechapternum}{\raggedleft\chapnamefont \pre@chapter} - \renewcommand*{\chapnumfont}{\normalfont\Huge} - \setlength{\chapindent}{\marginparsep} - \addtolength{\chapindent}{\marginparwidth} - \renewcommand*{\printchaptertitle}[1]{% - \begin{adjustwidth}{}{-\chapindent} - \raggedleft \chaptitlefont ##1\par\nobreak - \end{adjustwidth}}} - -%% for appendix. -\makechapterstyle{appendixcompanion}{% - \renewcommand{\chapnamefont}{\normalfont\LARGE\scshape} - \renewcommand{\prechapternum}{\raggedleft\chapnamefont \@chapapp} -% \renewcommand{\printchaptername}{\raggedleft\chapnamefont \pre@chapter} - \renewcommand{\chapnumfont}{\normalfont\Huge} - \renewcommand{\postchapternum}{} - \setlength{\chapindent}{\marginparsep} - \addtolength{\chapindent}{\marginparwidth} - \renewcommand{\printchaptertitle}[1]{% - \begin{adjustwidth}{}{-\chapindent} - \raggedleft \chaptitlefont ##1\par\nobreak - \end{adjustwidth}} -} - -\makechapterstyle{demo}{ -% \renewcommand{\printchaptername}{\centering} - \renewcommand{\prechapternum}{\centering} - \renewcommand{\printchapternum}{\chapnumfont \numtoName{\c@chapter}} - \renewcommand{\postchapternum}{} - \renewcommand{\chaptitlefont}{\normalfont\Huge\sffamily} - \renewcommand{\printchaptertitle}[1]{% - \hrule\vskip\onelineskip \raggedleft \chaptitlefont ##1} - \renewcommand{\afterchaptertitle}{\vskip\onelineskip \hrule\vskip \afterchapskip} -} - -\makechapterstyle{demovar}{ -% \renewcommand{\printchaptername}{\centering} - \renewcommand{\prechapternum}{\centering} - \renewcommand{\printchapternum}{\chapnumfont \hNum{chapter}} - \renewcommand{\postchapternum}{\post@chapter} - \renewcommand{\chaptitlefont}{\normalfont\Huge\sffamily} - \renewcommand{\printchaptertitle}[1]{% - \hrule\vskip\onelineskip \raggedleft \chaptitlefont ##1} - \renewcommand{\afterchaptertitle}{\vskip\onelineskip \hrule\vskip \afterchapskip} -} - -%% for appendix -\makechapterstyle{appendixdemo}{ -% \renewcommand{\printchaptername}{\centering\chapnumfont\@chapapp} - \renewcommand{\prechapternum}{\centering\chapnumfont\@chapapp} - \renewcommand{\printchapternum}{\chapnumfont \@Alph\c@chapter} - \renewcommand{\postchapternum}{\ } - \renewcommand{\chaptitlefont}{\normalfont\Huge\sffamily} - \renewcommand{\printchaptertitle}[1]{% - \hrule\vskip\onelineskip \raggedleft \chaptitlefont ##1} - \renewcommand{\afterchaptertitle}{\vskip\onelineskip \hrule\vskip \afterchapskip} -} - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%% appendix %%%%%%%%%%%%%%%%%%%%%%%%% - -\def\set@appendix@chapsec{% - %%% SECTION in APPENDIX - \renewcommand{\section}{% - \sechook\memucsinterwordhook% - \@startsection{section}{1}% level 1 - {\secindent}% heading indent - {\beforesecskip}% skip before the heading - {\aftersecskip}% skip after the heading - {\normalfont\secheadstyle}} % font - \def\M@sect##1##2##3##4##5##6[##7][##8]##9{% - \ifheadnameref\M@gettitle{##8}\else\M@gettitle{##7}\fi - \ifnum ##2>\c@secnumdepth - \let\@svsec\@empty - \else - \refstepcounter{APP##1}% - \protected@edef\@svsec{\@seccntformat{##1}\relax}% - \fi - \@tempskipa ##5\relax - \ifdim \@tempskipa>\z@ - \begingroup - ##6{% - \@hangfrom{\hskip ##3\relax\@svsec}% - \interlinepenalty \@M ##9\@@par}% - \endgroup - \csname ##1mark\endcsname{##8}% - \addcontentsline{toc}{##1}{% - \ifnum ##2>\c@secnumdepth \else - \protect\numberline{\noexpand\protect\csname the##1\endcsname}% - \fi - ##7}% - \else - \def\@svsechd{% - ##6{\hskip ##3\relax - \@svsec ##9}% - \csname ##1mark\endcsname{##8}% - \addcontentsline{toc}{##1}{% - \ifnum ##2>\c@secnumdepth \else - \protect\numberline{\csname the##1\endcsname}% - \fi - ##7}}% - \fi - \@xsect{##5}}% -} - -\def\restorechapsec{% - %%% SECTION in APPENDIX - \renewcommand{\section}{% - \sechook\memucsinterwordhook% - \@startsection{section}{1}% level 1 - {\secindent}% heading indent - {\beforesecskip}% skip before the heading - {\aftersecskip}% skip after the heading - {\normalfont\secheadstyle}} % font - \def\M@sect##1##2##3##4##5##6[##7][##8]##9{% - \ifheadnameref\M@gettitle{##8}\else\M@gettitle{##7}\fi - \ifnum ##2>\c@secnumdepth - \let\@svsec\@empty - \else - \refstepcounter{##1}% - \protected@edef\@svsec{\@seccntformat{##1}\relax}% - \fi - \@tempskipa ##5\relax - \ifdim \@tempskipa>\z@ - \begingroup - ##6{% - \@hangfrom{\hskip ##3\relax\@svsec}% - \interlinepenalty \@M ##9\@@par}% - \endgroup - \csname ##1mark\endcsname{##8}% - \addcontentsline{toc}{##1}{% - \ifnum ##2>\c@secnumdepth \else - \protect\numberline{\noexpand\protect\csname the##1\endcsname}% - \fi - ##7}% - \else - \def\@svsechd{% - ##6{\hskip ##3\relax - \@svsec ##9}% - \csname ##1mark\endcsname{##8}% - \addcontentsline{toc}{##1}{% - \ifnum ##2>\c@secnumdepth \else - \protect\numberline{\csname the##1\endcsname}% - \fi - ##7}}% - \fi - \@xsect{##5}} -} - -\renewcommand{\appendix}{\par -% \setcounter{chapter}{0}% -% \setcounter{section}{0}% -% \gdef\@chapapp{\appendixname}% -% \gdef\thechapter{\@Alph\c@chapter}% - \set@appendix@chapter - \anappendixtrue - \chapterstyle{appendixdefault}% -} - -\newcounter{APPchapter}\setcounter{APPchapter}{0}% -\newcounter{APPsection}[APPchapter]\setcounter{APPsection}{0}% -\newcounter{APPsubsection}[APPsection]\setcounter{APPsubsection}{0}% - -\def\set@appendix@chapter{% - \gdef\@chapapp{\appendixname}% - \gdef\thechapter{\Alph{APPchapter}}% - \gdef\thesection{\thechapter.\arabic{APPsection}}% -% \counterwithout{figure}{chapter}\counterwithout{table}{chapter}% - \counterwithin{figure}{APPchapter}\counterwithin{table}{APPchapter}% - \counterwithin{equation}{APPchapter}% - \renewcommand\thefigure{\thechapter.\arabic{figure}}% - \renewcommand\thetable{\thechapter.\arabic{table}}% - \renewcommand\theequation{\thechapter.\arabic{equation}}% - \set@appendix@chapsec - \renewcommand\hchaptertitlehead{\appendixname\:\thechapter}% -} - -%%% here, I will renewcommand chapterstyle, -%%% to recover chapterstyle after appendices. -\renewcommand{\chapterstyle}[1]{% - \@nameuse{chs@#1}% - \ifanappendix\else\gdef\CURR@chpstyle{#1}\fi -} - -\def\restore@appendices@chapter{% - \refreshprepostchapters - \gdef\thechapter{\arabic{chapter}}% - \gdef\thesection{\thechapter.\arabic{section}}% - \def\hchaptertitlehead{\pre@chapter\:\thechapter}% - \counterwithin{figure}{chapter}\counterwithin{table}{chapter}% - \restorechapsec - \@ifundefined{CURR@chapstyle}{\chapterstyle{default}}% - {\expandafter\expandafter\chapterstyle{\CURR@chapstyle}}% -} - -\renewcommand{\@resets@pp}{% - \par - \@ppsavesec -% \setcounter{section}{0}% -% \setcounter{chapter}{0}% -% \renewcommand\@chapapp{\appendixname}% -% \renewcommand\thechapter{\@Alph\c@chapter}% - \set@appendix@chapter - \chapterstyle{appendixdefault} - \restoreapp -} - -\renewenvironment{appendices}% - {\@resets@pp\anappendixtrue}% - {\@ppsaveapp\@pprestoresec\restore@appendices@chapter\anappendixfalse} - -\renewenvironment{subappendices}{% - \@resets@ppsub - \def\addappheadtotoc{\phantomsection\addcontentsline{toc}{section}{\appendixtocname}} % <- mempatch 2.3 - \ifnamesubappendix - \def\sectionname{\protect\subappendixname}% - \def\@seccntformat##1{\@ifundefined{##1name}{}{\csname ##1name\endcsname\ }% - \csname the##1\endcsname\quad} - \fi - }{} - -%%% References -\renewcommand\Cref[1]{% - \pre@chapter\,\ref{#1}\,\chapterrefname% -} -\renewcommand\Pref[1]{% - \pre@part\,\ref{#1}\,\partrefname% -} -\renewcommand\pref[1]{% - \pageref{#1}~\pagerefname -} -\renewcommand\tref[1]{% - \tablerefname~\ref{#1}% -} -\renewcommand\fref[1]{% - \figurerefname~\ref{#1}% -} - -%% arabic, roman... etc. -%%\def\HArabic#1{\arabic{#1}} -\def\HAlph#1{\Alph{#1}} -\def\Halph#1{\alph{#1}} -\def\HROMAN#1{\hRoman{#1}} -\def\Hroman#1{\hroman{#1}} -%% - -%% phantomchapter = phantomsection -\def\phantomchapter{% - \Hy@GlobalStepCount\Hy@linkcounter - \xdef\@currentHref{chapter*.\the\Hy@linkcounter}% - \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% -} - -%%% index -\renewcommand{\@wrindexm@m}[1]{\@@wrindexhyp#1||\\} - - -%%% 한글 문장부호 관련 명령 -%%% \hfontfamilynameprefix is deprecated. (ver1.5.0) -\def\hfontfamilynameprefix{ut} % for compatibility only - -\def\cnm@char@open{〈} -\def\cnm@char@close{〉} -\def\ccnm@char@open{《} -\def\ccnm@char@close{》} -\def\snm@char@open{「} -\def\snm@char@close{」} -\def\bnm@char@open{『} -\def\bnm@char@close{』} - -\def\memx@make@bnmcmd#1#2{% - \leavevmode - \unhbox0\memx@bnmcmd@prekern\csname #1@char@open\endcsname - #2\csname #1@char@close\endcsname\memx@bnmcmd@postkern -} - -\protected\def\cnm{% - \@ifnextchar*\cnm@star\cnm@nostar -} - -\def\cnm@star*#1{% - \def\memx@bnmcmd@prekern{\kern-.35em}% - \def\memx@bnmcmd@postkern{\kern-.4em}% - \memx@make@bnmcmd{cnm}{#1}% -} - -\def\cnm@nostar#1{% - \let\memx@bnmcmd@prekern\relax - \let\memx@bnmcmd@postkern\relax - \memx@make@bnmcmd{cnm}{#1}% -} - -\protected\def\ccnm{% - \@ifnextchar*\ccnm@star\ccnm@nostar -} - -\def\ccnm@star*#1{% - \def\memx@bnmcmd@prekern{\kern-.35em}% - \def\memx@bnmcmd@postkern{\kern-.4em}% - \memx@make@bnmcmd{ccnm}{#1}% -} - -\def\ccnm@nostar#1{% - \let\memx@bnmcmd@prekern\relax - \let\memx@bnmcmd@postkern\relax - \memx@make@bnmcmd{ccnm}{#1}% -} - - -\protected\def\snm{% - \@ifnextchar*\snm@star\snm@nostar -} - -\def\snm@star*#1{% - \def\memx@bnmcmd@prekern{\kern-.35em}% - \def\memx@bnmcmd@postkern{\kern-.4em}% - \memx@make@bnmcmd{snm}{#1}% -} - -\def\snm@nostar#1{% - \let\memx@bnmcmd@prekern\relax - \let\memx@bnmcmd@postkern\relax - \memx@make@bnmcmd{snm}{#1}% -} - - -\protected\def\bnm{% - \@ifnextchar*\bnm@star\bnm@nostar -} - -\def\bnm@star*#1{% - \def\memx@bnmcmd@prekern{\kern-.35em}% - \def\memx@bnmcmd@postkern{\kern-.4em}% - \memx@make@bnmcmd{bnm}{#1}% -} - -\def\bnm@nostar#1{% - \let\memx@bnmcmd@prekern\relax - \let\memx@bnmcmd@postkern\relax - \memx@make@bnmcmd{bnm}{#1}% -} - -\AtBeginDocument{ - \@ifpackageloaded{hyperref}{% - \pdfstringdefDisableCommands{% - \def\cnm#1{\ifx#1*\expandafter\@@cnm\else <#1>\fi} - \def\@@cnm#1{<#1>} - \def\snm#1{\ifx#1*\expandafter\@@cnm\else <#1>\fi} - \def\ccnm#1{\ifx#1*\expandafter\@@cnm\else <#1>\fi} - \def\bnm#1{\ifx#1*\expandafter\@@cnm\else <#1>\fi} - \def\oblivoirdblquote#1{\ifx#1*\expandafter\@@obquote\else "#1"\fi} - \def\@@obquote#1{"#1"} - \def\oblivoirquote#1{\ifx#1*\expandafter\@@obsquote\else '#1'\fi} - \def\@@obsquote#1{'#1'} - \def\cntrdots{…} - }% - }{} -} - -%%%% 따옴표 -\def\oblivoirdblquote@char@open{“} -\def\oblivoirdblquote@char@close{”} -\def\oblivoirquote@char@open{‘} -\def\oblivoirquote@char@close{’} - -\protected\def\oblivoirdblquote{% - \@ifnextchar*\oblivoirdblquote@star\oblivoirdblquote@nostar -} - -\def\oblivoirdblquote@star*#1{% - \def\memx@bnmcmd@prekern{\kern-.35em}% - \def\memx@bnmcmd@postkern{\kern-.4em}% - \memx@make@bnmcmd{oblivoirdblquote}{#1}% -} - -\def\oblivoirdblquote@nostar#1{% - \let\memx@bnmcmd@prekern\relax - \let\memx@bnmcmd@postkern\relax - \memx@make@bnmcmd{oblivoirdblquote}{#1}% -} - -\protected\def\oblivoirquote{% - \@ifnextchar*\oblivoirquote@star\oblivoirquote@nostar -} - -\def\oblivoirquote@star*#1{% - \def\memx@bnmcmd@prekern{\kern-.35em}% - \def\memx@bnmcmd@postkern{\kern-.4em}% - \memx@make@bnmcmd{oblivoirquote}{#1}% -} - -\def\oblivoirquote@nostar#1{% - \let\memx@bnmcmd@prekern\relax - \let\memx@bnmcmd@postkern\relax - \memx@make@bnmcmd{oblivoirquote}{#1}% -} - -%%%% cntrdots - -\ifx\cntrdot\undefined -\DeclareRobustCommand{\cntrdot}{% - \@ifnextchar*\@cntrd@t\@@cntrd@t -} -\else -\renewcommand{\cntrdot}{% - \@ifnextchar*\@cntrd@t\@@cntrd@t -} -\fi - -\ifx\oblivoirallowbreak\undefined -\let\oblivoirallowbreak\allowbreak -\fi - -\def\@cntrd@t*{% - \leavevmode\kern.2em\@@cntrd@t\hskip.2em\oblivoirallowbreak -} -\def\@@cntrd@t{% - \leavevmode\nobreak\raise.02ex\hbox{·}\oblivoirallowbreak -} - -\DeclareRobustCommand{\cntrdots}{% - \leavevmode…%\oblivoirallowbreak -} - -\DeclareRobustCommand{\cntrdotss}{% - \leavevmode ……% -} - -%% Punctuation Explanation Rule. -%% usage: \explpunc.Some_running_texts.\ % last space must not be succeeded by ^M. -\protected\def\explpunc.#1.\ {\leavevmode\,\XBrule#1\XErule\,} -\protected\def\expldash{\leavevmode\,\XBrule\,} -% -\newsavebox\togetheightoffont\sbox\togetheightoffont{!} -\newlength\htoffnt\setlength\htoffnt{\ht\togetheightoffont} -\addtolength\htoffnt{\dp\togetheightoffont} -\def\XBrule{\raise.45\htoffnt\hbox{\rule{1.25em}{.25pt}}} -\def\XErule{\raise.45\htoffnt\hbox{\hskip1pt\rule{1.25em}{.25pt}}} - -%% Misc def. -%\def\PageName{페이지} -%\def\AltPageName{쪽} - -%% \titleref -%% -- 2009/02/11. revert to original definition. -\let\M@TitleReference\@firstoftwo -\let\M@M@TitleReference\@firstoftwo -\def\@mem@theTR{\let\M@M@TitleReference\@firstoftwo\theTitleReference} - -%% vertical distance of math display -\if@mathdisp -\addtodef{\normalsize}{}{\abovedisplayskip 6\p@ \@plus2\p@ \@minus5\p@ - \abovedisplayshortskip \z@ \@plus3\p@ - \belowdisplayshortskip 3\p@ \@plus3\p@ \@minus3\p@ - \belowdisplayskip \abovedisplayskip} -\fi - -%% arabic frontmatter numbering -\if@arabicfrontmatter -\renewcommand{\@memfront}{% - \@smemfront\pagenumbering{arabic}} -\fi - -%% default pagestyle -\if@defaulthangulpagestyle - \pagestyle{hangul} -\fi - -%% 할주. -%% still experimental -%% \hbox로 처리하기 때문에 행끝에서 할주 행나눔은 이루어지지 않는다. -%% 글꼴이 \tiny로 고정. \footnotesize를 쓰면 행간이 흐트러짐. -%% TODO: 현재 설정은 10pt 문서에서 1pt정도가 행간에 추가됨. -%% \lineskiplimit를 이용해서 행간을 고정시켜둘 것인지는 아직 -%% 결정하지 못하였음. -\newskip\divnoteskip -\def\divnotedelimopen{\hskip.1em$\big($} -\def\divnotedelimclose{$\big)$\hskip.1em} -\divnoteskip = .18em plus .02em minus .02em -\def\divnotestyle{% - \spaceskip\divnoteskip\normalfont\tiny} -\protected\def\divnote#1{% - \settowidth{\@tempdima}{\divnotestyle #1}% - \ifvmode\leavevmode\fi\divnotedelimopen - \raise.2em\hbox{\parbox{.525\@tempdima}{\divnotestyle\singlespace #1}}\divnotedelimclose -} - -%% 각주 설정을 위한 추가 매크로 -\def\SetFnmark#1#2{% - \expandafter\def\csname @makefnmark\endcsname{\bgroup #1\@thefnmark#2\egroup}% -} - -%% chapter의 첫 단락 들여쓰기. -\newcommand*\chapterindentfirst{% - \addtodef{\@afterheading}{\@afterindenttrue}{} -} - -%% memhangul-patch -\InputIfFileExists{memhangul-patch.sty}{}{} - -%%% fig, tab caption -\def\obCaptionFont#1{\def\@figtabcaptfont@{#1}} -\providecommand\@figtabcaptfont@{\normalfont} -\if@figtabcapt@ -\AtBeginDocument{ -\@ifpackageloaded{caption}{% requested by Progress - \DeclareCaptionLabelFormat{xob-cnm-parens}{\cnm{#1~#2}} - \captionsetup{labelformat=xob-cnm-parens,labelsep=space} -}% -{% - \precaption{{\@figtabcaptfont@\cnm@char@open}} - \captiondelim{{\@figtabcaptfont@\cnm@char@close}\quad} - \renewcommand\cfttablepresnum{\cnm@char@open\tablename\space} - \renewcommand\cfttableaftersnum{\cnm@char@close} - \setlength\cfttablenumwidth{3.8em} - \renewcommand\cftfigurepresnum{\cnm@char@open\figurename\space} - \renewcommand\cftfigureaftersnum{\cnm@char@close} - \setlength\cftfigurenumwidth{4.5em} -} -} -\fi - -%%% LuaTeX, XeTeX logos -\RequirePackage{xparse} -\ExplSyntaxOn -\tl_if_exist:NF \XeTeX -{ - \RequirePackage{hologo} - \ProvideDocumentCommand \XeTeX { } { \hologo{XeTeX} } - \ProvideDocumentCommand \XeLaTeX { } { \hologo{XeLaTeX} } -} -\tl_if_exist:NF \LuaTeX -{ - \RequirePackage{hologo} - \ProvideDocumentCommand \LuaTeX { } { \hologo{LuaTeX} } - \ProvideDocumentCommand \LuaLaTeX { } { \hologo{LuaLaTeX} } -} -\ExplSyntaxOff - -\endinput - -%%% 2015/10/15: \@part, \@chapter renewal. -%%% 2015/08/07: default chapter style, postchapternum (hoze & gromov) diff --git a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/memhangul-patch.sty b/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/memhangul-patch.sty deleted file mode 100644 index b3cf7299587..00000000000 --- a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/memhangul-patch.sty +++ /dev/null @@ -1,20 +0,0 @@ -%% File `memhangul-patch.sty` -%% -%% Copyright (c) 2005-2013 Kangsoo Kim <karnes at ktug org> -%% -%% This work may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.3c -%% of this license or (at your option) any later version. -%% The latest version of this license is in -%% http://www.latex-project.org/lppl.txt -%% and version 1.3c or later is part of all distributions of LaTeX -%% version 2006/05/20 or later. -%% -%% 2005/10/15 -%% some day, this patch has to be weaved into memhangul-use, 1.4, I hope. -%% 2005/12/28 -%% appendix-related minor fix -%% 2006/04/27 -%% remove redundant prerenderunicodes according to dhucs 3.0.0 -%% -\endinput
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/memucs-enumerate.sty b/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/memucs-enumerate.sty deleted file mode 100644 index c3fd53f85ed..00000000000 --- a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/memucs-enumerate.sty +++ /dev/null @@ -1,49 +0,0 @@ -%% File `memucs-enumerate.sty` -%% -%% (C) Copyright 2006-2013 Dohyun Kim <nomos at ktug org> -%% Kangsoo Kim <karnes at ktug org> -%% -%% This work may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.3c -%% of this license or (at your option) any later version. -%% The latest version of this license is in -%% http://www.latex-project.org/lppl.txt -%% and version 1.3c or later is part of all distributions of LaTeX -%% version 2006/05/20 or later. -%% -\ProvidesPackage{memucs-enumerate} - [2006/07/01 partially support enumrate in memoir under memhangul] - -%\@ifpackageloaded{enumerate}{}{\RequirePackage{enumerate}} - -\g@addto@macro\@enhook{% - \ifx^^ea\@entemp % 가, - \let\@memtempa\@dhucs@enumerate\else %%%%% - \ifx^^e2\@entemp % ①, ⑴, ⒜, ⓐ, ⅰ, Ⅰ - \let\@memtempa\@dhucs@enumerate\else %%%%% - \ifx^^e3\@entemp % ㄱ, ㉠, ㉮, ㈀, ㈎ - \let\@memtempa\@dhucs@enumerate - \fi\fi\fi} -\def\@dhucs@enumerate#1#2#3{% - \bgroup\let\unihangulchar\@firstofone - \xdef\@dhucs@enum@temp{#1#2#3}\egroup - \ifnum\@dhucs@enum@temp=44032 \def\@tempa{\@enLabel\gana}\else - \ifnum\@dhucs@enum@temp=8560 \def\@tempa{\@enLabel\hroman}\else - \ifnum\@dhucs@enum@temp=8544 \def\@tempa{\@enLabel\hRoman}\else - \ifnum\@dhucs@enum@temp=9372 \def\@tempa{\@enLabel\peng}\else - \ifnum\@dhucs@enum@temp=9424 \def\@tempa{\@enLabel\oeng}\else - \ifnum\@dhucs@enum@temp=9332 \def\@tempa{\@enLabel\pnum}\else - \ifnum\@dhucs@enum@temp=9312 \def\@tempa{\@enLabel\onum}\else - \ifnum\@dhucs@enum@temp=12814 \def\@tempa{\@enLabel\pgana}\else - \ifnum\@dhucs@enum@temp=12910 \def\@tempa{\@enLabel\ogana}\else - \ifnum\@dhucs@enum@temp=12896 \def\@tempa{\@enLabel\ojaso}\else - \ifnum\@dhucs@enum@temp=12593 \def\@tempa{\@enLabel\jaso}\else - \ifnum\@dhucs@enum@temp=12800 \def\@tempa{\@enLabel\pjaso}\else - \PackageError{dhucs-enumerate} - {You can't use `\unexpanded{#1#2#3}' as enum label} - {Legal enum labels of hangul-ucs are: \MessageBreak\space\space - \unexpanded{가, ㄱ, ㉠, ㉮, ㈀, ㈎, ①, ⑴, ⒜, ⓐ, ⅰ, Ⅰ}.} - \fi\fi\fi\fi\fi \fi\fi\fi\fi\fi \fi\fi - \@tempa\relax} - -\endinput diff --git a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/memucs-setspace.sty b/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/memucs-setspace.sty deleted file mode 100644 index 8db9d17acfa..00000000000 --- a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/memucs-setspace.sty +++ /dev/null @@ -1,587 +0,0 @@ -%% File `memucs-setspace.sty` -%% -%% Copyright (c) 2007-2013 Kangsoo Kim <karnes at ktug org> -%% -%% This work may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.3c -%% of this license or (at your option) any later version. -%% The latest version of this license is in -%% http://www.latex-project.org/lppl.txt -%% and version 1.3c or later is part of all distributions of LaTeX -%% version 2006/05/20 or later. -%% -%% ======================= -%% -%% 이 스타일은 setspace 6.7을 바탕으로, memoir의 -%% 출력루틴을 hooking하여 거의 동일하게 동작하도록 -%% 수정한 스타일이다. -%% memoir 클래스에서 memhangul 스타일을 사용했을 때 -%% 불린다. 다른 용도로는 사용할 수 없음. -%% -%% This style is a modified version of SETSTYLE ver 6.7 by Erica M. S. Harris -%% modified by Karnes Kim -%% -%% FEATURES: -%% all the features of setstyle package -%% -%% NEW FEATURES: -%% -%% 1. [nofloatspacing] option -%% disables the feature of SETSTYLE, turning off all the line spacing -%% in the floats(figures, tables) and footnotes. -%% \noadjustfloatfnspacing, \adjustfloatfnspacing -%% 2. [hangul] option -%% When [hangul] option is on, the basic line spreading is set to -%% a proper line spacing in Korean(Hangul) documents, which has -%% a wider gap between the lines. -%% \SetHangulspace -%% 3. quote and quotation environment -%% quote and quotation environment have the same line spacing -%% with the floats and footnotes, verse. -%% \noadjustquotespacing, \adjustquotespacing -%% 4. [adjustfootnotesep] option -%% this option is meaningful only when [hangul] is on and -%% [nofloatspacing] off. -%% 5. [adjustverbatim] option. -%% verbatim environment. -%% \SetHangulVerbatimSpace. -%% 6. \ResetHangulspace, \RestoreHangulspace -%% - -\NeedsTeXFormat {LaTeX2e}[1994/12/09] -\def \filename {memucs-setspace.sty} -\def \filedate {2007/09/21} -\def \fileversion {6.7-memucs8} -\ProvidesPackage {memucs-setspace}[\filedate\space\fileversion\space - Contributed and Supported LaTeX2e package] -\typeout {Package: `memucs-setspace', a modified version of `setspace', \fileversion\space <\filedate>} - -% BP: add nodisplayskipstretch option and \setdisplayskipstretch command. - -\newcommand{\displayskipstretch}{\baselinestretch} -\newcommand{\setdisplayskipstretch}[1]{\renewcommand{\displayskipstretch}{#1}} -\DeclareOption{nodisplayskipstretch}{\setdisplayskipstretch{1.0}} - -% GT: add George Pearsons' suggested options. - -%% Karnes' -\newif\if@singlespacefn -\DeclareOption{nofloatspacing}{\@singlespacefnfalse} -\newif\if@singlespacequote -\DeclareOption{quotespacing}{\@singlespacequotetrue} -\newif\if@hangul -\DeclareOption{hangul}{\@hangultrue\AtEndOfPackage{\hangulspacing}} -\newif\if@adjustfootnotesep -\DeclareOption{adjustfootnotesep}{\@adjustfootnoteseptrue} -\newif\if@adjustverbatim -\DeclareOption{adjustverbatim}{\@adjustverbatimtrue} - -\DeclareOption{singlespacing}{\AtEndOfPackage{\singlespacing}} -\DeclareOption{onehalfspacing}{\AtEndOfPackage{\onehalfspacing}} -\DeclareOption{doublespacing}{\AtEndOfPackage{\doublespacing}} - -\@singlespacefntrue -\@singlespacequotefalse -\@hangulfalse -\@adjustfootnotesepfalse -\@adjustverbatimfalse -\ProcessOptions - -%%% provide memucsfninterwordhook -\ifx\undefined\memucsfninterwordhook - \providecommand\memucsfninterwordhook{}% -\fi - -\def\@floatfnspacinghook{% - \if@singlespacefn - \hangulfspacing - \else - \hangulspacing - \fi -} - -\newcommand\noadjustquotespacing{% - \@singlespacequotefalse -} - -\newcommand\adjustquotespacing{% - \@singlespacequotetrue -} - -\newcommand\adjustfloatfnspacing{% - \@singlespacefntrue -} - -\newcommand\noadjustfloatfnspacing{% - \@singlespacefnfalse -} - -% GT: Sat 28 Sep 1996: Widely using \newcommand, \renewcommand, and -% \newenvironment, instead of \def. - -% ** Line space commands. - -\newcommand{\setstretch}[1]{% - \def\baselinestretch{#1}% - \@currsize -} - -% GT: Sat 28 Sep 1996: spacing commands and environments modified to -% use \setstretch instead of \baselinestretch. -% -% GT: Sat 28 Sep 1996: No, I don't know understand the line spacing -% algorithms! If someone (LaTeX team) can enlighten me as to the -% general rule, please do! It would be very pleasant if setspace.sty -% were suited for document font sizes other than 10, 11 and 12 pt. -% -% GT: Tue 10 Dec 1996: Instead of fixing singlespacing to exact unity, -% allow user to redefine it (only slightly, please!) from its initial -% value of unity, in the case when a particular font is slightly larger -% or slightly smaller than its point size would indicate. This change -% affects setspace's single spacing commands, and LaTeX's footnote and -% float environments. The one and a half, double, and arbitrary -% spacing commands are unaltered. - -\newcommand{\SetSinglespace}[1]{% - \def\setspace@singlespace{#1}% -} - -%% Karnes. -\newcommand{\Set@Hangulspace}[2]{% - \def\setspace@hangulspace{#1}% - \def\setspace@hangulfspace{#2}% - \setstretch{#1}% -} - -\def\SetHangulspace#1#2{% - \AtBeginDocument{% - \gdef\setspace@hangulspace{#1}% - \gdef\setspace@hangulfspace{#2}% - }% - \setstretch{#1}% -} - -\newcommand{\SetHangulVerbatimSpace}[1]{% - \def\setspace@hangulverbspace{#1}% -} - -\let\tmp@current@hangulspace\setspace@hangulspace -\let\tmp@current@hangulfspace\setspace@hangulfspace - -\newcommand{\ResetHangulspace}[2]{% - \let\tmp@current@hangulspace\setspace@hangulspace% - \let\tmp@current@hangulfspace\setspace@hangulfspace% - \Set@Hangulspace{#1}{#2}% -} - -\newcommand{\RestoreHangulspace}{% - \Set@Hangulspace{\tmp@current@hangulspace}{\tmp@current@hangulfspace}% -} - -% Here's the default single line spacing value. -\SetSinglespace{1} - -%% Karnes. -\if@hangul -\Set@Hangulspace{1.333}{1.1} -\else -\Set@Hangulspace{1.0}{1.0} -\fi - -\newcommand{\singlespacing}{% - \setstretch {\setspace@singlespace}% normally 1 - \vskip \baselineskip % Correction for coming into singlespace -} - -%% Karnes. -\newcommand{\hangulspacing}{% - \setstretch{\setspace@hangulspace}% default -} - -\newcommand{\hangulfspacing}{% - \setstretch{\setspace@hangulfspace}% -} - -\newcommand{\hangulverbspacing}{% - \setstretch{\setspace@hangulverbspace}% -} - -\newcommand{\onehalfspacing}{% - \setstretch{1.25}% default - \ifcase \@ptsize \relax % 10pt - \setstretch {1.25}% - \or % 11pt - \setstretch {1.213}% - \or % 12pt - \setstretch {1.241}% - \fi -} - -\newcommand{\doublespacing}{% - \setstretch {1.667}% default - \ifcase \@ptsize \relax % 10pt - \setstretch {1.667}% - \or % 11pt - \setstretch {1.618}% - \or % 12pt - \setstretch {1.655}% - \fi -} - -%% adjust verbatim -%% if and only if [nofloatspacing] and [adjustverbatim] is on, -%% the verbatim will be the same to the main text linestretch. -%% if [hangul] it will adjust the linestretch to the quote or quotation -%% the other case, it will be 1.0, I hope. -%% -\if@adjustverbatim -\SetHangulVerbatimSpace{\setspace@hangulfspace}% -\else -\SetHangulVerbatimSpace{1.0} -\fi - -% ** Modification of the LaTeX command \@setsize. - -%---Stretch the baseline BEFORE calculating the strut size. This improves -% spacing below tabular environments etc., probably... -% Comments are welcomed. - -% GT: Sun 29 Sep 1996: Question: Is this code anywhere near correct -% since this part of LaTeX (in, eg, latex.ltx) has been greatly changed? - -% GT: Sun 29 Sep 1996: The meanings of the arguments to \@setsize -% appear to be (whatever these may signify) : -% current size; font baselineskip; ignored (!); and font size. - -% GT: Sun 29 Sep 1996: Note that \@setsize (in latest LaTeX, -% \@setfontsize, which is called by \@setsize) seems to be the only -% place in purely modern LaTeX where \@currsize is set, and ltxguide.cls -% seems to be the only file in the LaTeX base distribution that uses it! - -\def\@setsize#1#2#3#4{% - % Modified 1993.04.07--GDG per KPC - \@nomath#1% - \let\@currsize#1% - \baselineskip #2% - \baselineskip \baselinestretch\baselineskip - \parskip \baselinestretch\parskip - \setbox\strutbox \hbox{% - \vrule height.7\baselineskip - depth.3\baselineskip - width\z@}% - \skip\footins \baselinestretch\skip\footins - \normalbaselineskip\baselineskip#3#4} - -% ** Float and footnote adjustments to compensate for a change in the -% ** main text's line spacing. - -%---Increase the space between last line of text and footnote rule. -%\skip\footins 20pt plus4pt minus4pt - -%---Reset baselinestretch within floats and footnotes. - -% GT: Tue 23 Jan 1996: This is where the conflict with the combination -% of the color package and the figure environment used to occur. - -% Floats. - -% GT: Sat 28 Sep 1996: \@xfloat is the only place where \normalsize -% is still used in setspace.sty ! - -\if@singlespacefn -\let\latex@xfloat=\@xfloat -\def\@xfloat #1[#2]{% - \latex@xfloat #1[#2]% - \if@singlespacefn - \def\baselinestretch {\setspace@hangulfspace} - \else - \def\baselinestretch {\setspace@hangulspace} - \fi - \normalsize -} -\else\fi - -% Karnes: footnotesep for hangul -\if@adjustfootnotesep -\if@hangul -\if@singlespacefn - \ifcase \@ptsize \relax - \setlength\footnotesep{8.51 pt}% 10pt - \or - \setlength\footnotesep{9.6 pt}% 11pt - \or - \setlength\footnotesep{10.3 pt}% 12pt - \fi -\else -\fi -\else\fi -\else\fi - -% GT: Wed 24 Jan 1996: This footnote code was copied from LaTeX and -% modified rather naively. It had to be brought up to date, not only -% because of LaTeX's new color ability, but also because ther had -% been major changes to this code in LaTeX at least as far back as -% March 1992. - -% Normal, bottom of the page, footnotes. -% -% GT: Based HEAVILY on original LaTeX (2e) code. A standard hook would -% be MUCH preferred, so that LaTeX's footnote implementation needn't be -% copied each time it changes. -% -% GT: The \protected@edef requires at least the December 1994 LaTeX. -% This is precisely the kind of VERSION DEPENDENCY situation that -% cannot (AFAIK) be avoided, because LaTeX (2e) LACKS appropriate -% standard hooks and/or context markers. -\if@singlespacefn -\def\m@mold@footnotetext{\@memsetspace@footnotetext} -\renewcommand{\@footnotetext}[1]{\m@mold@footnotetext{#1}\m@mmf@prepare} -\long\def\@memsetspace@footnotetext#1{% - \insert\footins{% -% GT: Next line added. Hook desired here! - \@floatfnspacinghook\memucsfninterwordhook -% \def\baselinestretch {\setspace@hangulfspace}% -% \@SetFloatspaces - \reset@font\footnotesize - \interlinepenalty\interfootnotelinepenalty - \splittopskip\footnotesep - \splitmaxdepth \dp\strutbox \floatingpenalty \@MM - \hsize\columnwidth - \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark - }% - \color@begingroup - \@makefntext{% - \rule\z@\footnotesep\ignorespaces#1\@finalstrut\strutbox}% - \color@endgroup}} - -% Minipage footnotes. -\renewcommand{\@mpfootnotetext}[1]{% - \global\setbox\@mpfootins\vbox{% - \unvbox\@mpfootins -% GT: Next line added. Hook desired here! - \@floatfnspacinghook\memucsfninterwordhook -% \def\baselinestretch {\setspace@hangulfspace}% - \foottextfont \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{\csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@makefntext{% - \rule\z@\footnotesep\ignorespaces#1\@finalstrut\strutbox}% - \color@endgroup}} - -\else\fi - -% ** Line space environments. - -% A single spaced quote (say) is done by surrounding singlespace with quote. - -\newenvironment{singlespace}{% - \vskip \baselineskip - \setstretch {\setspace@singlespace}% - \vskip -\baselineskip -}{% - \par -} - -% GT (c/o Mark Olesen), Wed 15 April 1998. - -\newenvironment{singlespace*}{% - \setstretch {\setspace@singlespace}% - \vskip -\baselineskip -}{% - \vskip -0.5\baselineskip -} - -% spacing, doublespace and onehalfspace all are meant to INCREASE the -% spacing (i.e. calling onehalfspace from within doublespace will not -% produce a graceful transition between spacings) -% -% Next two definitions fixed for consistency with TeX 3.x - -% In order to use \newenvironment, while easily using same code for -% end of each environment, the code that used to be in \endspacing has -% been moved into a new (but internal) macro, \restore@spacing. - -\newcommand{\restore@spacing}{% - \par - \vskip \parskip - \vskip \baselineskip - \endgroup - \vskip -\parskip - \vskip -\baselineskip -} - -\newenvironment{spacing}[1]{% - \par - \begingroup % moved from \endspacing by PGBR 29-1-91 - \setstretch {#1}% -}{% - \restore@spacing -} - -% one and a half spacing is 1.5 x pt size -\newenvironment{onehalfspace}{% - \begingroup - \onehalfspacing -}{% - \restore@spacing -} - -% double spacing is 2 x pt size -\newenvironment{doublespace}{% - \begingroup - \doublespacing -}{% - \restore@spacing -} - -%% quote and quotation environment : Karnes. -\def\@quotespacinghook{% - \if@singlespacequote - \hangulfspacing% - \else - \hangulspacing% - \fi -} - -\renewenvironment{quotation}% - {\list{}{\listparindent 1.5em% - \itemindent \listparindent - \rightmargin \leftmargin - \parsep \z@ \@plus\p@}% -% \memhangulinterwordhook - \item[]% - \@quotespacinghook - }% - {\endlist - \if@singlespacequote\vskip-.2\onelineskip\fi} -\renewenvironment{quote}% - {\list{}{\rightmargin\leftmargin}% -% \memhangulinterwordhook - \item[] - \@quotespacinghook - }% - {\endlist - \if@singlespacequote\vskip-.2\onelineskip\fi} -\renewenvironment{symbols}{\list{}% - {\itemindent 0em \leftmargin 8em - \labelsep 1em \labelwidth 5em -% \memhangulinterwordhook - \let\makelabel\symbollabel}% - \@quotespacinghook - }% - {\endlist} - -%%%%%%%%%%%%%%%%%%%% -%%%% fix vertical spacing in the verse environment. mempatch 3.3 -\renewenvironment{verse}[1][\linewidth]{% - \refstepcounter{verse}% - \setcounter{poemline}{0}\refstepcounter{poemline}% - \setcounter{vslineno}{1}% - \let\\=\@vscentercr - \list{}{\itemsep \z@ - \itemindent -\vindent - \listparindent\itemindent - \parsep \stanzaskip - \ifdim #1<\linewidth %% short line - \rightmargin \z@ - \leftmargin \linewidth - \advance\leftmargin -#1\relax - \advance\leftmargin -0.5\leftmargin - \advance\leftmargin \vindent - \else - \ifdim #1>\linewidth %% long line - \rightmargin \z@ - \leftmargin \vindent - \else %% default - \rightmargin \leftmargin - \advance\leftmargin \vindent - \fi - \fi} - \item[]% - \@quotespacinghook}{\endlist} -%%%%%%%%%%%%%% - -\renewenvironment{altverse}% - {\starpatternfalse\patternfalse\altindenttrue\setcounter{vslineno}{1}% - \@quotespacinghook - }% - {\altindentfalse} - -\def\@verbatim{\the\every@verbatim - \trivlist - \if@adjustverbatim\hangulverbspacing\else\fi% - \item \relax - \if@minipage\else\vskip\parskip\fi - \@beginparpenalty \predisplaypenalty - \leftskip\@totalleftmargin\rightskip\z@ - \parindent\z@\parfillskip\@flushglue\parskip\z@ - \@@par - \def\par{% - \if@tempswa - \leavevmode\null\@@par\penalty\interlinepenalty - \else - \@tempswatrue - \ifhmode\@@par\penalty\interlinepenalty\fi - \fi}% - \def\@noitemerr{\@warning{No verbatim text}}% - \obeylines - \let\do\@makeother \dospecials - \verbatim@font - \everypar \expandafter{\the\everypar \unpenalty}% - \wrapright\the\afterevery@verbatim} - -%% Karnes : epigraph -\newcommand\epigraphspacinghook{\setstretch{1.0}} -\newcommand\epigraphspacing[1]{% - \renewcommand\epigraphspacinghook{\setstretch{#1}}% -} - -\renewcommand{\epigraph}[2]{\vspace{\beforeepigraphskip} - {\epigraphsize\begin{\epigraphflush}% - \epigraphspacinghook - \begin{minipage}{\epigraphwidth} - \@epitext{#1}\\ \@episource{#2} - \end{minipage}\end{\epigraphflush} - \vspace{\afterepigraphskip}}} - -\renewenvironment{epigraphs}{% - \vspace{\beforeepigraphskip}\begin{\epigraphflush} - \epigraphsize - \begin{minipage}{\epigraphwidth} - \epigraphspacinghook - \list{}% - {\itemindent\z@ \labelwidth\z@ \labelsep\z@ - \leftmargin\z@ \rightmargin\z@ - \let\makelabel\qitemlabel}}% - {\endlist\end{minipage}\end{\epigraphflush} - \vspace{\afterepigraphskip}} - -% GT: EMSH chose to omit display math part that follows. -% She wrote (see above) that the "altered spacing before and after displayed -% equations ... just looked too much". -% -% Fix up spacing before and after displayed math -% (arraystretch seems to do a fine job for inside LaTeX displayed math, -% since array and eqnarray seem to be affected as expected). -% Changing \baselinestretch and doing a font change also works if done here, -% but then you have to change @setsize to remove the call to @nomath) -% -% GT: The \belowdisplayskip line was mistyped; now fixed, courtesy of -% David Hull. -% -% GT: Brett Parnell has addressed EMSH's concern by replacing -% \baselinestretch by \displayskipstretch in displays, as follows. - -\everydisplay\expandafter{% - \the\everydisplay - \abovedisplayskip \displayskipstretch\abovedisplayskip - \belowdisplayskip \displayskipstretch\belowdisplayskip - \abovedisplayshortskip \displayskipstretch\abovedisplayshortskip - \belowdisplayshortskip \displayskipstretch\belowdisplayshortskip -} - -\endinput - -%%% EOF. diff --git a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/ob-koreanappendix.sty b/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/ob-koreanappendix.sty deleted file mode 100644 index 9c46eaa9c58..00000000000 --- a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/ob-koreanappendix.sty +++ /dev/null @@ -1,98 +0,0 @@ -%% File `ob-koreanappendix.sty` -%% -%% Copyright (c) 2007-2015 Kangsoo Kim <karnes at ktug org> -%% -%% This work may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.3c -%% of this license or (at your option) any later version. -%% The latest version of this license is in -%% http://www.latex-project.org/lppl.txt -%% and version 1.3c or later is part of all distributions of LaTeX -%% version 2006/05/20 or later. -%% -%% oblivoir sub-style. part of oblivoir -%% \appendix (부록) -%% -\gdef\set@appendix@chapter{% - \renewcommand\thesection{\Alph{APPsection}}% - \renewcommand\thesubsection{\thesection.\arabic{APPsubsection}} - \ifanappendix - \counterwithout{APPsection}{APPchapter} - \counterwithin{APPsubsection}{APPsection} - \fi% - \counterwithin{figure}{APPsection}\counterwithin{table}{APPsection}% - \counterwithin{equation}{APPsection}% - \renewcommand\thefigure{\Alph{APPsection}.\arabic{figure}}% - \renewcommand\thetable{\Alph{APPsection}.\arabic{table}}% - \renewcommand\theequation{\Alph{APPsection}.\arabic{equation}}% - \set@appendix@chapsec -} - -\renewcommand{\@resets@pp}{% - \par - \@ppsavesec - \set@appendix@chapter - \restoreapp -} - -\renewcommand{\appendix}{\par - \set@appendix@chapter - \anappendixtrue -% \chapterstyle{appendixdefault}% - \if@AppendixTitleToToc - \addcontentsline{toc}{chapter}{\appendixname}% - \fi - \if@AttachAppendixTitleToSecnum - \addtodef{\secheadstyle}{}{\appendixrefname~}% - \fi -} - -\def\set@appendix@chapsec{% - %%% SECTION in APPENDIX - \renewcommand{\section}{% - \sechook\memucsinterwordhook% - \@startsection{section}{1}% level 1 - {\secindent}% heading indent - {\beforesecskip}% skip before the heading - {\aftersecskip}% skip after the heading - {\normalfont\secheadstyle}} % font - % - \def\M@sect##1##2##3##4##5##6[##7][##8]##9{% - \ifheadnameref\M@gettitle{##8}\else\M@gettitle{##7}\fi - \ifnum ##2>\c@secnumdepth - \let\@svsec\@empty - \else - \refstepcounter{APP##1}% - \protected@edef\@svsec{\@seccntformat{##1}\relax}% - \fi - \@tempskipa ##5\relax - \ifdim \@tempskipa>\z@ - \begingroup - ##6{% - \@hangfrom{\hskip ##3\relax\@svsec}% - \interlinepenalty \@M ##9\@@par}% - \endgroup - \csname ##1mark\endcsname{##8}% - \addcontentsline{toc}{##1}{% - \ifnum ##2>\c@secnumdepth \else - \protect\numberline{\noexpand\protect\csname the##1\endcsname}% - \fi - ##7}% - \else - \def\@svsechd{% - ##6{\hskip ##3\relax - \@svsec ##9}% - \csname ##1mark\endcsname{##8}% - \addcontentsline{toc}{##1}{% - \ifnum ##2>\c@secnumdepth \else - \protect\numberline{\csname the##1\endcsname}% - \fi - ##7}}% - \fi - \expandafter\protected@edef - \expandafter\@currentlabel - \expandafter{\csname the##1\endcsname}% - \@xsect{##5}}% -} - -\endinput diff --git a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/ob-nokoreanappendix.sty b/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/ob-nokoreanappendix.sty deleted file mode 100644 index 69044f5eba1..00000000000 --- a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/ob-nokoreanappendix.sty +++ /dev/null @@ -1,96 +0,0 @@ -%% File `ob-nokoreanappendix.sty` -%% -%% Copyright (c) 2007-2013 Kangsoo Kim <karnes at ktug org> -%% -%% This work may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.3c -%% of this license or (at your option) any later version. -%% The latest version of this license is in -%% http://www.latex-project.org/lppl.txt -%% and version 1.3c or later is part of all distributions of LaTeX -%% version 2006/05/20 or later. -%% -%% oblivoir sub-style. part of oblivoir -%% \appendix (부록) : nokorean -%% -\gdef\set@appendix@chapter{% - \ifanappendix\counterwithout{section}{chapter}\fi% - \setcounter{section}{0} - \setcounter{chapter}{0} - \renewcommand\thesection{\Alph{section}}% - \counterwithin{figure}{section}\counterwithin{table}{section}% - \counterwithin{equation}{section}% - \renewcommand\thefigure{\Alph{section}.\arabic{figure}}% - \renewcommand\thetable{\Alph{section}.\arabic{table}}% - \renewcommand\theequation{\Alph{section}.\arabic{equation}}% - \set@appendix@chapsec -} - -\renewcommand{\@resets@pp}{% - \par - \@ppsavesec - \set@appendix@chapter - \restoreapp -} - -\renewcommand{\appendix}{\par - \set@appendix@chapter - \anappendixtrue -% \chapterstyle{appendixdefault}% - \if@AppendixTitleToToc - \addcontentsline{toc}{chapter}{\appendixname}% - \fi - \if@AttachAppendixTitleToSecnum - \addtodef{\secheadstyle}{}{\appendixrefname~}% - \fi -} - -\def\set@appendix@chapsec{% - %%% SECTION in APPENDIX - \renewcommand{\section}{% - \sechook - \@startsection{section}{1}% level 1 - {\secindent}% heading indent - {\beforesecskip}% skip before the heading - {\aftersecskip}% skip after the heading - {\normalfont\secheadstyle}} % font - % - \def\M@sect##1##2##3##4##5##6[##7][##8]##9{% - \ifheadnameref\M@gettitle{##8}\else\M@gettitle{##7}\fi - \ifnum ##2>\c@secnumdepth - \let\@svsec\@empty - \else - \refstepcounter{##1}% - \protected@edef\@svsec{\@seccntformat{##1}\relax}% - \fi - \@tempskipa ##5\relax - \ifdim \@tempskipa>\z@ - \begingroup - ##6{% - \@hangfrom{\hskip ##3\relax\@svsec}% - \interlinepenalty \@M ##9\@@par}% - \endgroup - \csname ##1mark\endcsname{##8}% - \addcontentsline{toc}{##1}{% - \ifnum ##2>\c@secnumdepth \else - \protect\numberline{\noexpand\protect\csname the##1\endcsname}% - \fi - ##7}% - \else - \def\@svsechd{% - ##6{\hskip ##3\relax - \@svsec ##9}% - \csname ##1mark\endcsname{##8}% - \addcontentsline{toc}{##1}{% - \ifnum ##2>\c@secnumdepth \else - \protect\numberline{\csname the##1\endcsname}% - \fi - ##7}}% - \fi - \expandafter\protected@edef - \expandafter\@currentlabel - \expandafter{\csname the##1\endcsname}% - \@xsect{##5}}% -} - -\endinput diff --git a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/ob-toclof.sty b/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/ob-toclof.sty deleted file mode 100644 index 5ef56b463fb..00000000000 --- a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/ob-toclof.sty +++ /dev/null @@ -1,144 +0,0 @@ -%% File `ob-toclof.sty` -%% -%% Copyright (c) 2007-2013 Kangsoo Kim <karnes at ktug org> -%% -%% This work may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.3c -%% of this license or (at your option) any later version. -%% The latest version of this license is in -%% http://www.latex-project.org/lppl.txt -%% and version 1.3c or later is part of all distributions of LaTeX -%% version 2006/05/20 or later. -%% -%% oblivoir substyle. part of oblivoir, -%% -%% \newlistof{listoffigures}{lof}{\listfigurename} -%% \kill@lastcounter{lofdepth} -%% \newlistentry[section]{figure}{lof}{0} -%% \cftsetindents{figure}{0em}{2.3em} -%% -\if@toclofentry\else -\renewcommand{\put@bsintoc}{% - \ifadd@bstotoc - \ifnumber@bs\else - \phantomsection - \addcontentsline{toc}{section}{\abstractname} - \fi - \fi} - -\def\addappheadtotoc{\addcontentsline{toc}{section}{\appendixtocname}} - -\renewcommand{\newlistof}[3]{% - \@namedef{ext@#2}{#2} - \@ifundefined{c@#2depth}{\newcounter{#2depth}}{} - \setcounter{#2depth}{1} - \@namedef{#2mark}{\markboth{#3}{#3}} - \@namedef{#1}{\@ifstar{\@nameuse{@star#2}}{\@nameuse{@plain#2}}} - \@namedef{@star#2}{% - \ensureonecol - \par - \begingroup -%%% \parindent\z@ \parskip\cftparskip - \@nameuse{@#2maketitle} - \@starttoc{#2}% - \endgroup - \restorefromonecol} - \@namedef{@plain#2}{% - \ensureonecol - \par - \begingroup -%%% \parindent\z@ \parskip\cftparskip - \@nameuse{@#2maketitle} - \phantomsection - \addcontentsline{toc}{section}{#3} - \@starttoc{#2}% - \endgroup - \restorefromonecol} - \@namedef{@#2maketitle}{% - \@nameuse{#2headstart} - {\parindent\z@ \parskip\cftparskip - \interlinepenalty\@M - \@nameuse{print#2nonum}% - \@nameuse{print#2title}{#3}% - \@nameuse{#2mark}% - \thispagestyle{chapter}% - \@nameuse{after#2title} - } - \@afterheading} -% \@namedef{#2headstart}{\chapterheadstart} -% \@namedef{after#2title}{\afterchaptertitle} -% \@namedef{print#2nonum}{\printchapternonum} -% \@namedef{print#2title}##1{\printchaptertitle{##1}} -} % end \newlistof - -\def\@chapter[#1]#2{% - \ifx\ch@pt@c\m@m@empty % no optional args - \def\f@rtoc{#1}% - \def\f@rhdr{#1}% - \else % at least one opt arg - \def\f@rtoc{\ch@pt@c}% - \nametest{#1}{#2}% - \ifsamename % one opt arg - \def\f@rhdr{\ch@pt@c}% - \else % two opt args - \def\f@rhdr{#1}% - \fi - \fi - \m@m@Andfalse - \ifnum \c@secnumdepth >\m@ne - \if@mainmatter - \m@m@Andtrue - \fi - \fi - \ifm@m@And - \ifanappendix - \refstepcounter{APPchapter}% - \else - \refstepcounter{chapter}% - \fi - \fi - \chaptermark{\f@rhdr} - \ifartopt - \@makechapterhead{#2}% - \@afterheading - \else - \insertchapterspace - \if@twocolumn - \@topnewpage[\@makechapterhead{#2}]% - \else - \@makechapterhead{#2}% - \fi - \@afterheading - \fi - \ifm@m@And - \ifanappendix - \addcontentsline{toc}{appendix}{% - \protect\chapternumberline{\hchaptertitlehead}\f@rtoc}% - \memappchapinfo{\thechapter}{\f@rtoc}{\f@rhdr}{#2}% - \else - \addcontentsline{toc}{section}{% - \protect\chapternumberline{\hchaptertitlehead}\f@rtoc}% - \memchapinfo{\hchaptertitlehead}{\f@rtoc}{\f@rhdr}{#2}% - \fi - \else - \addcontentsline{toc}{section}{\f@rtoc}% - \ifanappendix - \memappchapinfo{}{\f@rtoc}{\f@rhdr}{#2}% - \else - \memchapinfo{\hchaptertitlehead}{\f@rtoc}{\f@rhdr}{#2}% - \fi - \fi - \ifheadnameref\M@gettitle{\f@rhdr}\else\M@gettitle{\f@rtoc}\fi -%%% for chapter - \ifanappendix - \protected@edef\@currentlabel{\thechapter}% - \fi -} - -\newlistof{tableofcontents}{toc}{\contentsname} -\newlistof{listoffigures}{lof}{\listfigurename} -\newlistof{listoftables}{lot}{\listtablename} - -\fi % of \if@toclofentry - -\endinput |