summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/luatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-05-26 21:24:59 +0000
committerKarl Berry <karl@freefriends.org>2019-05-26 21:24:59 +0000
commit2014750e7bcf55bab5c430e3d98d8a11430eb979 (patch)
treebef9a778b3b51cea29fefadfbbf930a261791875 /Master/texmf-dist/doc/luatex
parent5a993557f8f849481525f4d473d6c9f1da51981d (diff)
luatexko (26may19)
git-svn-id: svn://tug.org/texlive/trunk@51228 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/luatex')
-rw-r--r--Master/texmf-dist/doc/luatex/luatexko/ChangeLog8
-rw-r--r--Master/texmf-dist/doc/luatex/luatexko/README2
-rw-r--r--Master/texmf-dist/doc/luatex/luatexko/luatexko-doc.pdfbin273055 -> 277717 bytes
-rw-r--r--Master/texmf-dist/doc/luatex/luatexko/luatexko-doc.tex56
4 files changed, 48 insertions, 18 deletions
diff --git a/Master/texmf-dist/doc/luatex/luatexko/ChangeLog b/Master/texmf-dist/doc/luatex/luatexko/ChangeLog
index 98901c4201e..68122fd00b6 100644
--- a/Master/texmf-dist/doc/luatex/luatexko/ChangeLog
+++ b/Master/texmf-dist/doc/luatex/luatexko/ChangeLog
@@ -1,3 +1,11 @@
+2019-05-25 Dohyun Kim <nomos at ktug org>
+
+ Version 2.1
+
+ * luatexko.sty: give smallest stretch to quite short ruby;
+ allow star option to markoverwith.
+
+
2019-05-01 Dohyun Kim <nomos at ktug org>
Version 2.0
diff --git a/Master/texmf-dist/doc/luatex/luatexko/README b/Master/texmf-dist/doc/luatex/luatexko/README
index b2569ff3d13..e5f821aa96b 100644
--- a/Master/texmf-dist/doc/luatex/luatexko/README
+++ b/Master/texmf-dist/doc/luatex/luatexko/README
@@ -1,4 +1,4 @@
-LuaTeX-ko Package version 2.0 (2019/05/01)
+LuaTeX-ko Package version 2.1 (2019/05/25)
===========================================
This is a Lua(La)TeX macro package that supports typesetting Korean
diff --git a/Master/texmf-dist/doc/luatex/luatexko/luatexko-doc.pdf b/Master/texmf-dist/doc/luatex/luatexko/luatexko-doc.pdf
index c99174f8825..dacd6f386ef 100644
--- a/Master/texmf-dist/doc/luatex/luatexko/luatexko-doc.pdf
+++ b/Master/texmf-dist/doc/luatex/luatexko/luatexko-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/luatex/luatexko/luatexko-doc.tex b/Master/texmf-dist/doc/luatex/luatexko/luatexko-doc.tex
index 9206e938d40..12ee2ac8786 100644
--- a/Master/texmf-dist/doc/luatex/luatexko/luatexko-doc.tex
+++ b/Master/texmf-dist/doc/luatex/luatexko/luatexko-doc.tex
@@ -8,9 +8,9 @@
%%
%% public domain
-%\RequirePackage{luatex85}
\documentclass[a4paper]{article}
\usepackage[hmargin=3.8cm]{geometry}
+\usepackage[svgnames]{xcolor}
\usepackage[hangul]{luatexko}
\setmainhangulfont{Noto Serif CJK KR}[
AutoFakeSlant,
@@ -30,13 +30,13 @@
InterLatinCJK=.125em,
]
\setmonofont{Inconsolatazi4}[
- Color=191970, % MidnightBlue
+ Color=MidnightBlue,
]
\setmonohangulfont{Noto Sans CJK KR}[
UprightFont=* DemiLight,
BoldFont=* Bold,
CharRaise=-.2ex,
- Color=191970, % MidnightBlue
+ Color=MidnightBlue,
]
\setmathhangulfont{Noto Sans CJK KR}[
Script=Hangul,
@@ -58,7 +58,7 @@
\edef\verbatim{\unexpanded\expandafter{\verbatim\linespread{1.1}\selectfont}}
\edef\itemize{\unexpanded\expandafter{\itemize\small}}
-\catcode`|=13 \protected\def|{\verb|\let\\=\textbackslash} %|
+\catcode`|=13 \protected\def|{\verb|\let\\=\textbackslash}
\protected\def\cs#1{\texttt{\language=1 \textbackslash\detokenize{#1}}}
\def\logoko{\textsf{k}\kern-.0625em\textit{o}}
\def\luatexko{\luatex-\logoko}
@@ -66,15 +66,13 @@
\def\kotex{\logoko\kern-.1ex .\kern-.1667em \TeX}
\def\hemph#1{\textsf{\bfseries #1}}
\def\ldots{$\dots$}
-\registerpunctuations{`-}
-\automatichyphenmode=1 % for emdash in tl2019
\begin{document}
\title{\luatexko\ 간단 매뉴얼}
\author{Dohyun Kim \normalsize |<nomos at ktug org>| \and
Soojin Nam \normalsize |<jsunam at gmail com>| \and
\normalsize <\url{http://github.com/dohyunkim/luatexko}>}
-\date{Version 2.0\quad 2019/05/01}
+\date{Version 2.1\quad 2019/05/25}
\maketitle
\begin{quote}\small
@@ -309,7 +307,8 @@ fontspec의 글꼴 옵션 외에 \luatexko가 따로 제공하는 것들이 있
이 옵션은 |CharacterWidth=AlternateHalf| 내지 {\small (세로쓰기의 경우)}
|Vertical=HalfMetrics|와 거의 같은 기능을 한다.%
\footnote{%
- 플레인텍에서는 각각 |+halt| 및 |+vhal|이다. }
+ 플레인텍에서는 각각 |+halt| 및 |+vhal|이다. 이들과 완전 동일하진
+ 않다. 가령 U+3002 (\char"3002) 처리의 경우.}
\end{description}
\section{고문헌}\label{sec:classic}
@@ -485,7 +484,7 @@ v2.0부터는 자동으로 수식 한글을 잡아주지 않는다.
\leftskip=3em\noindent
|\\font\\rubyfont=UnBatang at \\rubysize em| }
-③~|\def\rubysep{0.2ex}|: 루비와 본문 글자 사이의 간격을 지정
+③~|\def\rubysep{0.1ex}|: 루비와 본문 글자 사이의 간격을 지정
④~\cs{rubynooverlap}: 루비의 폭이 본문 글자의 폭보다 클 때 루비가 이웃
글자들 위로 삐져나가지 못하게 한다. 본문 글자의 흐름을 중시하여
@@ -502,14 +501,14 @@ ulem 패키지가 \luatexko와 궁합이 잘 맞지 않아{\small (줄바꿈에
\def\RA{\>$\Rightarrow$\>}
\begin{tabbing}
-\cs{dotuline{밑줄을 점선으로 긋는다}}\quad\=$\Rightarrow$\quad\= \kill
-\cs{uline{밑줄을 그을 수 있다}}\RA\uline{밑줄을 그을 수 있다}\\
-\cs{sout{취소선을 그을 수 있다}}\RA\sout{취소선을 그을 수 있다}\\
-\cs{uuline{밑줄을 두 줄 긋는다}}\RA\uuline{밑줄을 두 줄 긋는다}\\
-\cs{xout{빗금으로 취소할 수 있다}}\RA\xout{빗금으로 취소할 수 있다}\\
-\cs{uwave{물결표로 밑줄을 삼는다}}\RA\uwave{물결표로 밑줄을 삼는다}\\
-\cs{dashuline{대시로 밑줄을 삼는다}}\RA\dashuline{대시로 밑줄을 삼는다}\\
-\cs{dotuline{밑줄을 점선으로 긋는다}}\RA\dotuline{밑줄을 점선으로 긋는다}
+ \cs{dotuline{밑줄을 점선으로 긋는다}}\quad\=$\Rightarrow$\quad\= \kill
+ \cs{uline{밑줄을 그을 수 있다}}\RA\uline{밑줄을 그을 수 있다}\\
+ \cs{sout{취소선을 그을 수 있다}}\RA\sout{취소선을 그을 수 있다}\\
+ \cs{uuline{밑줄을 두 줄 긋는다}}\RA\uuline{밑줄을 두 줄 긋는다}\\
+ \cs{xout{빗금으로 취소할 수 있다}}\RA\xout{빗금으로 취소할 수 있다}\\
+ \cs{uwave{물결표로 밑줄을 삼는다}}\RA\uwave{물결표로 밑줄을 삼는다}\\
+ \cs{dashuline{대시로 밑줄을 삼는다}}\RA\dashuline{대시로 밑줄을 삼는다}\\
+ \cs{dotuline{밑줄을 점선으로 긋는다}}\RA\dotuline{밑줄을 점선으로 긋는다}
\end{tabbing}
관련하여 다음 설정을 할 수 있다.
@@ -519,6 +518,29 @@ ulem 패키지가 \luatexko와 궁합이 잘 맞지 않아{\small (줄바꿈에
②~|\def\ulinewidth{0.04em}|: 밑줄의 굵기
+\medskip
+사실 위 밑줄 양식들을 만드는 데는 예외없이 \cs{markoverwith} 명령이 사용되었다.
+따라서 사용자는 이를 이용해 원하는 양식을 만들 수 있다.
+가령 노란색 마커펜을 흉내내려면,%
+\footnote{%
+ 이 명령의 인자로 들어갈 수 있는 것은 box와 rule에 국한된다.
+ 예시에서는 박스를 넣었다.}\,%
+\footnote{%
+ 별표 붙은 명령 \cs{markoverwith*}는 \cs{xleaders}를 실행하고,
+ 예시처럼 별표가 없으면 \cs{cleaders}를 실행한다. }
+\begin{verbatim}
+ \def\ymarker{%
+ \markoverwith{%
+ \hbox{{\color{yellow!50}\vrule width 1pt height 9pt depth 2pt}}%
+ }}
+\end{verbatim}
+
+\def\ymarker{\markoverwith{%
+ \hbox{{\color{yellow!50}\vrule width 1pt height 9pt depth 2pt}}}}
+
+\cs{ymarker{노란색을 칠해서 강조한다}}\quad$\Rightarrow$\quad
+\ymarker{노란색을 칠해서 강조한다}.
+
\section{자동조사}\label{sec:autojosa}
자동조사는 \kotex 과 동일하게 \cs{은} \cs{는} \cs{이} \cs{가} \cs{을} \cs{를}
\cs{와} \cs{과} \cs{로} \cs{으로} \cs{라} \cs{이라} 따위를 사용한다.