diff options
author | Karl Berry <karl@freefriends.org> | 2024-03-07 21:21:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-03-07 21:21:43 +0000 |
commit | ce57eecafb65f83c537834dc4f3ad46405dc8f95 (patch) | |
tree | 379ff416c1579c5ff83284293bed4ca40a57a7c6 /Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/memhangul-common.sty | |
parent | 2c56734eda9bd17602a331a529c11df1ae6caf71 (diff) |
kotex-oblivoir (7mar24)
git-svn-id: svn://tug.org/texlive/trunk@70465 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/memhangul-common.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/memhangul-common.sty | 119 |
1 files changed, 5 insertions, 114 deletions
diff --git a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/memhangul-common.sty b/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/memhangul-common.sty index 01fa1efcda0..07fa9a8739c 100644 --- a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/memhangul-common.sty +++ b/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/memhangul-common.sty @@ -1,6 +1,6 @@ %% File `memhangul-common.sty` %% -%% (C) Copyright 2013-2021 Kangsoo Kim <karnes at ktug org> +%% (C) Copyright 2013-2024 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 @@ -17,7 +17,7 @@ %%% 편, 장 섹션 타이틀 재설정 %%% 절의 섹션 타이틀은 수정하지 않음. %% -\ProvidesPackage{memhangul-common}[2022/11/04] +\ProvidesPackage{memhangul-common}[2024/03/06] \let\@CHAPAPP\@chapapp \def\refreshprepostchapters{% @@ -1023,7 +1023,8 @@ \makeoddhead{hangul}{}{}{\normalfont\small\rightmark~\makebox[2em][r]{\normalfont\normalsize\sffamily\thepage}} \makeevenhead{hangul}{\makebox[2em][l]{\normalfont\normalsize\sffamily\thepage}~\normalfont\small\leftmark}{}{} -%%%%%%%%%%%%%%%% chapterstyles %%%%%%%%%%%%%%% +%%%%% chapter styles %%%% + \makechapterstyle{default}{% \renewcommand{\post@chapter}{\chaptername}% \renewcommand{\chapnamefont}{\normalfont\huge\bfseries} @@ -1051,117 +1052,7 @@ \renewcommand*{\hchaptertitlehead}{\chaptername~\thechapter} } -\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} -} - +\RequirePackage{obchapterstyles} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%% appendix %%%%%%%%%%%%%%%%%%%%%%%%% |