• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

ソースコードの管理場所


Commit MetaInfo

修订版729bde95611e574d7869fe91c3806ff33bf90df8 (tree)
时间2015-09-22 14:56:04
作者Hironori Kitagawa <h_kitagawa2001@yaho...>
CommiterHironori Kitagawa

Log Message

Updated the manual

更改概述

差异

--- a/doc/luatexja.dtx
+++ b/doc/luatexja.dtx
@@ -4420,7 +4420,7 @@ Furthermore, the glyph is shifted according to values of fields
44204420 \end{figure}
44214421
44224422 \item[kern={\{[$j$]=<kern>, [$j'$]=\{<kern>, [ratio=<ratio>]\}, ...\}}]
4423-
4423+\nopagebreak
44244424 \item[glue={\{[$j$]=\{<width>, <stretch>, <shrink>, [ratio=<ratio>, ...]\}, ...\}}]\leavevmode
44254425 %<*ja>
44264426
@@ -4441,7 +4441,7 @@ $0$から$+1$の実数値をとる.省略時の値は$0.5$である.
44414441 %<*en>
44424442 \
44434443
4444-Specifies the width of kern or glue which will be inserted
4444+Specifies the amount of kern or glue which will be inserted
44454445 between characters in character class~$i$ and those in character class~$j$.
44464446
44474447 <ratio> specifies how much the glue is originated in the ``right'' character.
@@ -4464,9 +4464,34 @@ we specify <ratio> to $0.25/(0.5+0.25)=1/3$.
44644464 度を$-2$から$+2$の間の整数で指定する.大きい値ほど「伸びやすく,縮みやすい」
44654465 ことを意味する.省略時の値
44664466 は0であり,範囲外の値が指定されたときの動作は未定義である.
4467-\item[ksp\_natural=<bool>]
4468-\item[ksp\_stretch=<bool>]
4469-\item[ksp\_shrink=<bool>]
4467+\item[ksp\_natural=<bool>\textrm{, }%
4468+ ksp\_stretch=<bool>\textrm{, }ksp\_shrink=<bool>]\leavevmode
4469+
4470+JFMによって本来挿入されるグルーの他に
4471+\Param{kanjiskip}分の空白を自然長(\texttt{ksp\_natural}),伸び量(\texttt{ksp\_stretch}),
4472+縮み量(\texttt{ksp\_shrink})ごとに挿入する\footnote{本来\Param{xkanjiskip}が挿入される場所においては
4473+ \Param{xkanjiskip}分の空白を自然長・伸び量・縮み量ごとに.追加できる.}%
4474+ための指定である.
4475+
4476+例えば,\LuaTeX-jaの横組標準JFMの \texttt{jfm-ujis.lua} では,
4477+\begin{itemize}
4478+ \item 通常の文字「あ」と開き括弧類の間に入るグルーは,自然長・縮み量半角,伸び量0のグルー
4479+となっているが,\texttt{ksp\_stretch=true} のおかげで,さらに\Param{kanjiskip}の伸び量だけ
4480+伸びることが許される.
4481+ \item 同様に,閉じ括弧類(全角コンマ「,」も含む)と通常の文字「う」「え」の間にも
4482+自然長・縮み量半角,伸び量0のグルー
4483+となっているが,\texttt{ksp\_stretch=true} のおかげで,さらに\Param{kanjiskip}の伸び量だけ
4484+伸びることが許される.
4485+\end{itemize}
4486+となっている.従って,以下のような組版結果を得る.
4487+
4488+\medskip
4489+\begin{LTXexample}[width=16\zw]
4490+\leavevmode
4491+\ltjsetparameter{kanjiskip=0pt plus 3\zw}
4492+\vrule\hbox to 15\zw{あ「い」う,えお}\vrule
4493+\end{LTXexample}
4494+
44704495 \end{cslist}
44714496 %</ja>
44724497 %<*en>
@@ -4478,9 +4503,32 @@ An integer in $[-2,2]$ (treated as 0 if omitted), and this is
44784503 used only in line adjustment with priority by \Pkg{luatexja-adjust}
44794504 (see Subsection~\ref{ssec-adj}). Higher value means the glue is easy to stretch,
44804505 and is also easy to shrink.
4481-\item[ksp\_natural=<bool>]
4482-\item[ksp\_stretch=<bool>]
4483-\item[ksp\_shrink=<bool>]
4506+\item[ksp\_natural=<bool>\textrm{, }%
4507+ ksp\_stretch=<bool>\textrm{, }ksp\_shrink=<bool>]\leavevmode
4508+
4509+These keys specifies whether the natural width of \Param{kanjiskip}
4510+(the stretch/shrink part, respectively) will be inserted in addition to the original
4511+JFM glue.
4512+
4513+As an example, in \texttt{jfm-ujis.lua}, the standard JFM in horizontal writing, we have
4514+\begin{itemize}
4515+ \item Between an ordinal letter ``あ'' and an ideographic opening bracket, we have
4516+a glue whose natural part and shrink part are both half-width, while its stretch part is
4517+ zero. However, because of \texttt{ksp\_stretch=true}, this glue can be stretched
4518+ as much as \Param{kanjiskip}.
4519+ \item Between an ideographic closeing brackets (the ideographic comma ``,''
4520+ is included) and an ordinal letter, we have the same glue. Again, because of
4521+\texttt{ksp\_stretch=true}, this glue can be stretched as much as \Param{kanjiskip}.
4522+\end{itemize}
4523+Hence we have the following result:
4524+
4525+\medskip
4526+\begin{LTXexample}[width=16\zw]
4527+\leavevmode
4528+\ltjsetparameter{kanjiskip=0pt plus 3\zw}
4529+\vrule\hbox to 15\zw{あ「い」う,えお}\vrule
4530+\end{LTXexample}
4531+
44844532 \end{cslist}
44854533 %</en>
44864534