X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=doc%2Fluatexja.dtx;h=271315a375bdddbbc2ade11baafcc5c4f4da275d;hb=db94e608b0fe848b08a050d4226f7fae8be1f87d;hp=ed343fefb84d78727519ec40731c93ff7280f25d;hpb=58e3e9d3d260b597fa582d4fef1a30422ff9e875;p=luatex-ja%2Fluatexja.git
diff --git a/doc/luatexja.dtx b/doc/luatexja.dtx
index ed343fe..271315a 100644
--- a/doc/luatexja.dtx
+++ b/doc/luatexja.dtx
@@ -48,6 +48,7 @@
\usepackage{amsmath,array,tikz,pict2e,multienum,float}
\usepackage{booktabs,multicol,luatexja-ruby}
+\usepackage{xy}
%%%%%%%% listings
@@ -390,12 +391,10 @@ The followings are major changes from \pTeX:
ä½ãï¼å¶å¾¡ç¶´ä¸ã«ä½¿ããåææåã\pTeXã»\upTeX ã¨å
¨ãåãã§ã¯ãªããã¨ã«æ³¨æãããã¨ï¼
%
-%<*en>
-\item At the present, vertical typesetting (\emph{tategaki}), is not
- supported in \LuaTeX-ja.
-%
%<*ja>
-\item ç¾æç¹ã§ã¯ï¼ç¸¦æ¸ãã¯\LuaTeX-jaã§ã¯ãµãã¼ãããã¦ããªãï¼
+\item ****çããã¯ï¼ä¸å®å®ãªããã\LuaTeX-ja ã«ããã縦çµã¿ããµãã¼ããã¦ããï¼
+\LuaTeX ã®ã³ã¼ã«ããã¯ã®å¶éãªã©ã«ããï¼ç¹ã«ç°ãªã£ãçµæ¹åã®ããã¯ã¹ãæ±ãå ´åã«ã¯
+ä»æ§ãç°ãªãã®ã§æ³¨æãããã¨ï¼
%
\end{itemize}
@@ -533,6 +532,7 @@ and \emph{Japanese fonts} for fonts used in \textbf{JAchar}.
\item \Pkg{luatexbase} v0.6
\item \Pkg{xunicode} v0.981~(2011/09/09)
\item \Pkg{adobemapping} (Adobe cmap and pdfmapping files)
+\item \Pkg{everysel}
\end{itemize}
%<*en>
@@ -570,7 +570,7 @@ $ tlmgr install luatexja
\item W32\TeX\ (\texttt{luatexja.tar.xz})
\end{itemize}
-ä¾ãã°\TeX~Live~2013ãå©ç¨ãã¦ãããªãï¼\LuaTeX-jaã¯\TeX~Live manager (\texttt{tlmgr})ã
+ä¾ãã°\TeX~Live~2013以éãå©ç¨ãã¦ãããªãï¼\LuaTeX-jaã¯\TeX~Live manager (\texttt{tlmgr})ã
使ã£ã¦ã¤ã³ã¹ãã¼ã«ãããã¨ãã§ããï¼
\begin{verbatim}
$ tlmgr install luatexja
@@ -703,7 +703,7 @@ IPA mjææãªã©ã®å¤§ãããã©ã³ããç¨ããå ´åã«ã¯\LuaTeX ãã
%<*en>
\textbf{Note for MiK\TeX\ users}\quad
\LuaTeX-ja requires that several CMap files%
-\footnote{\texttt{UniJIS2004-UTF32-H} and \texttt{Adobe-Japan1-UCS2}.}
+\footnote{\texttt{UniJIS2004-UTF32-\{H,V\}} and \texttt{Adobe-Japan1-UCS2}.}
must be found from \LuaTeX.
Strictly speaking, those CMaps are needed
only in the first run of \LuaTeX-ja after installing or updating.
@@ -712,7 +712,7 @@ so you will encounter an error like the following:
%
%<*ja>
\LuaTeX-jaãåä½ããããã«ã¯ï¼\emph{å°å
¥ã»æ´æ°å¾ã®ååèµ·åæã«}
-\texttt{UniJIS2004-UTF32-H}, \texttt{Adobe-Japan1-UCS2}ã¨ãã2ã¤ã®CMapã
+\texttt{UniJIS2004-UTF32-\{H,V\}}, \texttt{Adobe-Japan1-UCS2}ã¨ãã3ã¤ã®CMapã
\LuaTeX ã«ãã£ã¦è¦ã¤ãããããã¨ãå¿
è¦ã§ããï¼
ãããMiK\TeX ã§ã¯ãã®ããã«ãªã£ã¦ããªãã®ã§ï¼æ¬¡ã®ã¨ã©ã¼ãçºçããã ããï¼
%
@@ -751,25 +751,36 @@ run \LuaTeX-ja in this directory, and finally delete the temporaly directory.
\begin{itemize}
%<*en>
-\item The following 6~Japanese fonts are preloaded:
+\item The following 12~Japanese fonts are preloaded:
\begin{center}\small
-\begin{tabular}{ccccc}
+\begin{tabular}{cccccc}
\toprule
+\textbf{direction}&
\textbf{classification}&\textbf{font name}&\bf `10\,pt'&\bf`7\,pt'&\bf`5\,pt'\\\midrule
+\smash{\raisebox{-1ex}{\emph{yoko} (horizontal)}}&
\emph{mincho}&Ryumin-Light &\verb+\tenmin+&\verb+\sevenmin+&\verb+\fivemin+\\
\emph{gothic}&GothicBBB-Medium&\verb+\tengt+ &\verb+\sevengt+ &\verb+\fivegt+\\
+\midrule
+\smash{\raisebox{-1ex}{\emph{tate} (vertical)}}&
+\emph{mincho}&Ryumin-Light &\verb+\tentmin+&\verb+\seventmin+&\verb+\fivetmin+\\
+\emph{gothic}&GothicBBB-Medium&\verb+\tentgt+ &\verb+\seventgt+ &\verb+\fivetgt+\\
\bottomrule
\end{tabular}
\end{center}
%
%<*ja>
-\item 以ä¸ã®6ã¤ã®åæãã©ã³ããå®ç¾©ãããï¼
+\item 以ä¸ã®12åã®åæãã©ã³ããå®ç¾©ãããï¼
\begin{center}\small
-\begin{tabular}{ccccc}
+\begin{tabular}{cccccc}
\toprule
-\emph{åä½}&\emph{ãã©ã³ãå}&\bf `10\,pt'&\bf`7\,pt'&\bf`5\,pt'\\\midrule
+\emph{çµæ¹å}&\emph{åä½}&\emph{ãã©ã³ãå}&\bf `10\,pt'&\bf`7\,pt'&\bf`5\,pt'\\\midrule
+\smash{\raisebox{-1ex}{横çµ}}&
ææä½&Ryumin-Light &\verb+\tenmin+&\verb+\sevenmin+&\verb+\fivemin+\\
ã´ã·ãã¯ä½&GothicBBB-Medium&\verb+\tengt+ &\verb+\sevengt+ &\verb+\fivegt+\\
+\midrule
+\smash{\raisebox{-1ex}{縦çµ}}&
+ææä½&Ryumin-Light &\verb+\tentmin+&\verb+\seventmin+&\verb+\fivetmin+\\
+ã´ã·ãã¯ä½&GothicBBB-Medium&\verb+\tentgt+ &\verb+\seventgt+ &\verb+\fivetgt+\\
\bottomrule
\end{tabular}
\end{center}
@@ -846,13 +857,12 @@ plfonts.dtx} and \texttt{pldefs.ltx}):
\begin{itemize}
%<*en>
-\item \texttt{JY3} is the font encoding for Japanese fonts (in horizontal direction).\\
-When vertical typesetting is supported by \LuaTeX-ja in the future, \texttt{JT3} will be used for vertical fonts.
+\item The font encoding for Japanese fonts (fot horizontal direction) is \texttt{JY3}.\\
+\texttt{JT3} is used for Japanese fonts for vertical diraction.
%
%<*ja>
-\item \texttt{JY3}ã¯åæãã©ã³ãç¨ã®ãã©ã³ãã¨ã³ã³ã¼ãã£ã³ã°ã§ããï¼æ¨ªæ¸ãç¨ï¼ï¼\\
-å°æ¥çã«ï¼\LuaTeX-jaã§ç¸¦æ¸ãããµãã¼ããããéã«ã¯ï¼\texttt{JT3}ã縦æ¸ãç¨ã¨ãã¦
-ç¨ããäºå®ã§ããï¼
+\item åæãã©ã³ãã®ã¨ã³ã³ã¼ãã£ã³ã°ã¨ãã¦ã¯ï¼æ¨ªçµç¨ã«ã¯ \texttt{JY3}ï¼ç¸¦çµç¨ã«ã¯\
+\texttt{JT3}ãç¨ããããï¼
%
%<*en>
@@ -943,10 +953,11 @@ Okumura), namely, \Pkg{ltjclasses} and \Pkg{ltjsclasses}.
\paragraph{plain \TeX}
%<*en>
To change Japanese fonts in plain \TeX, you must use the command
-\verb+\jfont+. So please see Subsection~\ref{ssec-jfont}.
+\verb+\jfont+~and~\verb+\tfont+. So please see Subsection~\ref{ssec-jfont}.
%
%<*ja>
-plain \TeX ã§åæãã©ã³ããå¤æ´ããããã«ã¯ï¼\pTeX ã®ããã« \verb+\jfont+ å½ä»¤ãç´æ¥ç¨ããï¼
+plain \TeX ã§åæãã©ã³ããå¤æ´ããããã«ã¯ï¼
+\pTeX ã®ããã« \verb+\jfont+ å½ä»¤ã \verb+\tfont+ å½ä»¤ãç´æ¥ç¨ããï¼
\ref{ssec-jfont}ç¯ãåç
§ï¼
%
@@ -2443,6 +2454,380 @@ JIS~X~0213ã®ç¯å²ã«åºããã¨ï¼å·®ç°ã¯ããã«å¤§ãããªãï¼
%
+
+
+%<*ja>
+\section{縦çµ}
+\label{sec-direction}
+\LuaTeX æ¬ä½ã§ãï¼$\Omega$ã»$\aleph$ç±æ¥ã®æ©è½ã¨ãã¦ï¼è¤æ°ã®çµæ¹åããµãã¼ããã¦ããï¼
+ãããï¼\LuaTeX ããµãã¼ãããã®ã¯ \texttt{TLT},~\texttt{TRT}, \texttt{RTT},~\texttt{LTL}\
+ã®ã¿ã§ããï¼æ¥æ¬èªã®ç¸¦æ¸ãã«ä½¿ãã®ã¯æã¾ãããªã\footnote{%
+åææåã ããªãã° \texttt{RTT} ã使ãã°ãªãã¨ããªãã¨æããï¼
+欧ææåãå
¥ã£ã¦ããå ´åã¯ãã¾ããããï¼\texttt{RTR} ã¨ããçµæ¹åãå¿
è¦ã«ãªãï¼
+}ï¼ãã®ããï¼\LuaTeX-jaã§ã¯æ¨ªçµ(\texttt{TLT})ã§çµãã ããã¯ã¹ãå転ãããæ¹å¼ã§
+縦çµãå®è£
ããï¼
+
+\subsection{ãµãã¼ãããçµæ¹å}
+\begin{table}[t]
+\caption{\LuaTeX-ja ã®ãµãã¼ãããçµæ¹å}
+%\medskip
+\label{tab-dir}
+\centering\small
+\def\obox#1{%
+ \setbox0=\hbox{\yoko\hbox{#1%
+ \large\ltjsetparameter{talbaselineshift=0pt}%
+ \vrule height 25pt width 0.4pt depth 15pt\kern-.2pt%
+ \raise25pt\hbox to 0pt{\hss\composite{*r^@{>>}}\hss}%
+ \raise-15pt\hbox to 0pt{\hss\composite{*l^@{>|}}\hss}\kern.2pt%
+ \vrule height.2pt depth.2pt width 60pt\hbox to 0pt{\hss\composite{*d^@{>}}\hss}\kern-60pt
+ \hbox to 60pt{\,éã¯ãAg\hss}}}%
+ \raise\dimexpr 0.5\ltjgetdp0-0.5\ltjgetht0\box0%
+}
+\begin{tabular}{>{\bfseries}lccc}
+\toprule
+&\texttt{\textbackslash yoko}ï¼æ¨ªçµï¼&\texttt{\textbackslash tate}ï¼ç¸¦çµï¼
+ &\texttt{\textbackslash dtou}\\
+\midrule
+åéãæ¹å&æ°´å¹³å³åãï¼âï¼&åç´ä¸åãï¼âï¼&åç´ä¸åãï¼âï¼\\
+è¡éãæ¹å&åç´ä¸åãï¼âï¼&水平左åãï¼âï¼&æ°´å¹³å³åãï¼âï¼\\
+使ç¨ããåæãã©ã³ã&横çµç¨(\verb+\jfont+)&縦çµç¨(\verb+\tfont+)&横çµç¨(\verb+\jfont+)ã®
+ $90^\circ$å転\\[\smallskipamount]
+çµçä¾\null $^*$ &\obox{\yoko}&\obox{\tate}&\obox{\dtou}\\
+\noalign{\medskip}
+\bottomrule
+\end{tabular}
+
+\medskip\raggedright
+\def\R#1{%
+ \raise0.38\zw\hbox{%
+ \vrule height.2pt depth.2pt width2\zw%
+ \hbox to 0pt{\hss\composite{*d^@{#1}}\hss}%
+ }%
+}
+$^*$\ å¹
(width)ï¼é«ã(height)ï¼æ·±ã(depth)ã®å¢å æ¹åãï¼
+ããããã\R{>}ãï¼ã\R{>>}ãï¼ã\R{>|}ãã§è¡¨ãã¦ããï¼
+\raggedright
+
+\end{table}
+
+\LuaTeX-jaããµãã¼ãããçµæ¹åã¯è¡¨\ref{tab-dir}ã«ç¤ºã3ã¤ã§ããï¼
+4åç®ã® \verb+\dtou+ ã¯èãæ
£ããªãå½ä»¤ã ã¨æããï¼
+å®ã¯\pTeX ã«ååã®å½ä»¤ãï¼ããã¥ã¡ã³ãã«ã¯æ¸ããã¦ããªããï¼åå¨ããï¼
+Down-TO-Upã®æå³ãªã®ã ããï¼\verb+\dtou+ ã使ç¨ããæ©ä¼ã¯ãªãã ãããï¼
+\LuaTeX-jaã§ã¯ãããã°ç¨ã«å®è£
ãã¦ããï¼
+
+
+çµæ¹åã¯ï¼\verb+\yoko+,~\verb+\tate+,~\verb+\dtou+ ããããã使ç¨ãããã¨ã§ï¼
+ç¾å¨ä½æä¸ã®ãªã¹ããããã¯ã¹ã空ã®æã«ã®ã¿å¤æ´å¯è½ã§ããï¼
+
+
+\subsection{ç°æ¹åã®ããã¯ã¹}
+
+縦çµã®ä¸ã«ã42ããªã©ã®2æ¡ä»¥ä¸ã®ç®ç¨æ°åã横çµã§çµããªã©ï¼
+ç°ãªãçµæ¹åãæ··å¨ããããã¨ããã°ãã°è¡ãããï¼
+çµæ¹åã®æ··å¨ã\pTeX ã¨åãããã«ã§ããï¼
+\begin{LTXexample}
+ããã¯æ¨ªçµ% yoko
+\hbox{\tate % tate
+ \hbox{縦çµ}% tate
+ ã®ä¸ã«
+ \hbox{\yoko 横çµã®å
容}% yoko
+ ãæ¿å
¥ãã
+}
+ã¾ã横çµã«æ»ã% yoko
+\end{LTXexample}
+
+ç°ãªãçµæ¹åã®ããã¯ã¹ãé
ç½®ããå ´åã«ã©ãçµã¾ãããã®ä»æ§ãï¼\pTeX ã
+è¸è¥²ãã¦ããï¼è¡¨\ref{tab-diffdir}ã«ç¤ºãï¼
+
+\begin{table}[t]
+\caption{ç°æ¹åã®ããã¯ã¹ã®é
ç½®}
+%\medskip
+\label{tab-diffdir}
+ \centering\small\unitlength3mm
+ \def\TATEeg{%
+ \hbox{\smash{\begin{picture}(0,0)(-2,0)
+ \thicklines
+ \polyline(-2,0)(-2,-7)(5,-7)(5,0)
+ \put(0,0){\circle*{0.3}}
+ \put(0,0){\vector(1,0){5}} \put(2.5,-0.2){\makebox(0,0)[t]{$h_{\mathrm{T}}$}}
+ \put(0,0){\vector(-1,0){2}}\put(-1,-0.2){\makebox(0,0)[t]{$d_{\mathrm{T}}$}}
+ \put(0,0){\vector(0,-1){7}}\put(0.2,-3.5){\makebox(0,0)[l]{$w_{\mathrm{T}}$}}
+ \end{picture}}}
+ }
+ \def\DTOUeg{%
+ \hbox{\smash{\begin{picture}(0,0)(-5,0)
+ \thicklines
+ \polyline(-5,0)(-5,7)(2,7)(2,0)
+ \put(0,0){\circle*{0.3}}
+ \put(0,0){\vector(-1,0){5}} \put(-2.5,0.3){\makebox(0,0)[b]{$h_{\mathrm{D}}$}}
+ \put(0,0){\vector(1,0){2}}\put(1,0.3){\makebox(0,0)[b]{$d_{\mathrm{D}}$}}
+ \put(0,0){\vector(0,1){7}}\put(-0.2,3.5){\makebox(0,0)[r]{$w_{\mathrm{D}}$}}
+ \end{picture}}}
+ }
+ \def\YOKOeg{%
+ \hbox{\smash{\begin{picture}(0,0)
+ \thicklines
+ \polyline(0,5)(7,5)(7,-2)(0,-2)
+ \put(0,0){\circle*{0.3}}
+ \put(0,0){\vector(0,1){5}} \put(0.3,2.5){\makebox(0,0)[l]{$h_{\mathrm{Y}}$}}
+ \put(0,0){\vector(0,-1){2}}\put(0.3,-1){\makebox(0,0)[l]{$d_{\mathrm{Y}}$}}
+ \put(0,0){\vector(1,0){7}}\put(3.5,0.2){\makebox(0,0)[b]{$w_{\mathrm{Y}}$}}
+ \end{picture}}}
+ }
+\begin{tabular}{ccc}
+\toprule
+\emph{横çµä¸ã«é
ç½®}&\emph{縦çµä¸ã«é
ç½®}&%
+\emph{çµæ¹å\hskip\ltjgetparameter{xkanjiskip}\texttt{\textbackslash dtou}ä¸ã«é
ç½®}\\
+\midrule
+ \parbox[c]{15\unitlength}{\begin{picture}(15,15)(0,-4)
+ \put(0,0){\line(1,0){3.8}}
+ \put(4,7){\TATEeg}
+ \put(11.2,0){\line(1,0){3.8}}
+%
+ \put(2,7){\line(1,0){1.8}}
+ \put(3,3.5){\vector(0,1){3.5}\vector(0,-1){3.5}}
+ \put(2.8,3.5){\makebox(0,0)[r]{$H_{\mathrm{Y}}$}}
+ \put(3,-2){\vector(0,1){2}}
+ \put(2.8,-1){\makebox(0,0)[r]{$D_{\mathrm{Y}}$}}
+%
+ \put(4,7.2){\line(0,1){1.8}}
+ \put(11,7.2){\line(0,1){1.8}}
+ \put(6,8){\vector(-1,0){2}}
+ \put(9,8){\vector(1,0){2}}
+ \put(7.5,8){\makebox(0,0){$W_{\mathrm{Y}}$}}
+%
+ \end{picture}\vspace{-\baselineskip}
+ \begin{align*}
+ W_{\mathrm{Y}} &= h_{\mathrm{T}}+d_{\mathrm{T}},\\
+ H_{\mathrm{Y}} &= w_{\mathrm{T}},\\
+ D_{\mathrm{Y}} &=0\,\mathrm{pt}
+ \end{align*}%
+ }&
+ \parbox[c]{15\unitlength}{\begin{picture}(15,15)(0,-4)
+ \put(7.5,-0.2){\line(0,-1){2.8}}
+ \put(4,2){\YOKOeg}
+ \put(7.5, 7.2){\line(0,1){3.8}}
+%
+ \put(2,7){\line(1,0){1.8}}
+ \put(2,0){\line(1,0){1.8}}
+ \put(3,5){\vector(0,1){2}}
+ \put(3,2){\vector(0,-1){2}}
+ \put(3,3.5){\makebox(0,0){$W_{\mathrm{T}}$}}
+%
+ \put(4,7.2){\line(0,1){1.8}}
+ \put(11,7.2){\line(0,1){1.8}}
+ \put(8,8){\vector(-1,0){0.5}\vector(1,0){3}}
+ \put(7,8){\vector(-1,0){3}\vector(1,0){0.5}}
+ \put(9.25,8.2){\makebox(0,0)[b]{$H_{\mathrm{T}}$}}
+ \put(5.75,8.2){\makebox(0,0)[b]{$D_{\mathrm{T}}$}}
+%
+ \end{picture}\vspace{-\baselineskip}
+ \begin{align*}
+ W_{\mathrm{T}} &= h_{\mathrm{Y}}+d_{\mathrm{Y}},\\
+ H_{\mathrm{T}} &= w_{\mathrm{Y}}/2,\\
+ D_{\mathrm{T}} &= w_{\mathrm{Y}}/2
+ \end{align*}%
+ }&
+ \parbox[c]{15\unitlength}{\begin{picture}(15,15)(0,-4)
+ \put(11,-0.2){\line(0,-1){2.8}}
+ \put(4,2){\YOKOeg}
+ \put(11, 7.2){\line(0,1){3.8}}
+%
+ \put(2,7){\line(1,0){1.8}}
+ \put(2,0){\line(1,0){1.8}}
+ \put(3,5){\vector(0,1){2}}
+ \put(3,2){\vector(0,-1){2}}
+ \put(3,3.5){\makebox(0,0){$W_{\mathrm{D}}$}}
+%
+ \put(4,7.2){\line(0,1){1.8}}
+ \put(11,7.2){\line(0,1){1.8}}
+ \put(7.5,8){\vector(-1,0){3.5}\vector(1,0){3.5}}
+ \put(13,8){\vector(-1,0){2}}
+ \put(7.5,8.2){\makebox(0,0)[b]{$H_{\mathrm{D}}$}}
+ \put(12,8.2){\makebox(0,0)[b]{$D_{\mathrm{D}}$}}
+%
+ \end{picture}\vspace{-\baselineskip}
+ \begin{align*}
+ W_{\mathrm{D}} &= h_{\mathrm{Y}}+d_{\mathrm{Y}},\\
+ H_{\mathrm{D}} &= w_{\mathrm{Y}},\\
+ D_{\mathrm{D}} &= 0\,\mathrm{pt}
+ \end{align*}%
+ }%
+\\\midrule
+ \parbox[c]{15\unitlength}{\begin{picture}(15,15)(0,-4)
+ \put(0,0){\line(1,0){3.8}}
+ \put(4,0){\DTOUeg}
+ \put(11.2,0){\line(1,0){3.8}}
+%
+ \put(2,7){\line(1,0){1.8}}
+ \put(3,3.5){\vector(0,1){3.5}\vector(0,-1){3.5}}
+ \put(2.8,3.5){\makebox(0,0)[r]{$H_{\mathrm{Y}}$}}
+ \put(3,-2){\vector(0,1){2}}
+ \put(2.8,-1){\makebox(0,0)[r]{$D_{\mathrm{Y}}$}}
+%
+ \put(4,7.2){\line(0,1){1.8}}
+ \put(11,7.2){\line(0,1){1.8}}
+ \put(6,8){\vector(-1,0){2}}
+ \put(9,8){\vector(1,0){2}}
+ \put(7.5,8){\makebox(0,0){$W_{\mathrm{Y}}$}}
+%
+ \end{picture}\vspace{-\baselineskip}
+ \begin{align*}
+ W_{\mathrm{Y}} &= h_{\mathrm{D}}+d_{\mathrm{D}},\\
+ H_{\mathrm{Y}} &= w_{\mathrm{D}},\\
+ D_{\mathrm{Y}} &= 0\,pt
+ \end{align*}%
+ }&
+ \parbox[c]{15\unitlength}{\begin{picture}(15,15)(0,-4)
+ \put(9,-0.2){\line(0,-1){2.8}}
+ \put(4,0){\DTOUeg}
+ \put(9, 7.2){\line(0,1){3.8}}
+%
+ \put(2,7){\line(1,0){1.8}}
+ \put(2,0){\line(1,0){1.8}}
+ \put(3,5){\vector(0,1){2}}
+ \put(3,2){\vector(0,-1){2}}
+ \put(3,3.5){\makebox(0,0){$W_{\mathrm{T}}$}}
+%
+ \put(4,7.2){\line(0,1){1.8}}
+ \put(11,7.2){\line(0,1){1.8}}
+ \put(6.5,8){\vector(-1,0){2.5}\vector(1,0){2.5}}
+ \put(10,8){\vector(-1,0){1}\vector(1,0){1}}
+ \put(10,8.2){\makebox(0,0)[b]{$H_{\mathrm{T}}$}}
+ \put(6.5,8.2){\makebox(0,0)[b]{$D_{\mathrm{T}}$}}
+%
+ \end{picture}\vspace{-\baselineskip}
+ \begin{align*}
+ W_{\mathrm{T}} &= h_{\mathrm{D}}+d_{\mathrm{D}},\\
+ H_{\mathrm{T}} &= d_{\mathrm{D}},\\
+ D_{\mathrm{T}} &= h_{\mathrm{D}}
+ \end{align*}%
+ }&
+ \parbox[c]{15\unitlength}{\begin{picture}(15,15)(0,-4)
+ \put(6,-0.2){\line(0,-1){2.8}}
+ \put(4,7){\TATEeg}
+ \put(6, 7.2){\line(0,1){3.8}}
+%
+ \put(2,7){\line(1,0){1.8}}
+ \put(2,0){\line(1,0){1.8}}
+ \put(3,5){\vector(0,1){2}}
+ \put(3,2){\vector(0,-1){2}}
+ \put(3,3.5){\makebox(0,0){$W_{\mathrm{D}}$}}
+%
+ \put(4,7.2){\line(0,1){1.8}}
+ \put(11,7.2){\line(0,1){1.8}}
+ \put(5,8){\vector(-1,0){1}\vector(1,0){1}}
+ \put(8.5,8){\vector(-1,0){2.5}\vector(1,0){2.5}}
+ \put(5,8.2){\makebox(0,0)[b]{$H_{\mathrm{D}}$}}
+ \put(8.5,8.2){\makebox(0,0)[b]{$D_{\mathrm{D}}$}}
+%
+ \end{picture}\vspace{-\baselineskip}
+ \begin{align*}
+ W_{\mathrm{D}} &= w_{\mathrm{T}},\\
+ H_{\mathrm{D}} &= d_{\mathrm{T}},\\
+ D_{\mathrm{D}} &= h_{\mathrm{T}}
+ \end{align*}%
+ }\\
+\bottomrule
+\end{tabular}
+\end{table}
+
+
+\paragraph{\texttt{\textbackslash wd} ã¯çµæ¹åã«ã¯å¯¾å¿ããªã}
+ããã¯ã¹ã¬ã¸ã¹ã¿ \verb+\box+ ã«ã»ããããã¦ããããã¯ã¹ã®å¹
ã»é«ãã»æ·±ãã®åå¾ã
+å¤æ´ã«ã¯ãããã \verb+\wd+,~\verb+\ht+,~\verb+\dp+ ããªããã£ããç¨ããã®ã§ãã£ãï¼
+\pTeX ã§ã¯ãããã®ããªããã£ãã¯ï¼ãç¾å¨ã®çµæ¹åã«ãããããã¯ã¹ã®å¯¸æ³ããæããã®ã§ãã£ãï¼
+
+\LuaTeX-jaã«ããã¦ã¯ç¶æ³ãç°ãªãï¼\verb+\wd+,~\verb+\ht+,~\verb+\dp+ ã¯\emph{çµæ¹åã
+æ··å¨ããç¶æ³ã«ããã¦ã¯æ£ããæ©è½ããªã}ï¼ã¾ãï¼ç¾å¨ã®çµæ¹åã«ä¾åããªããã¨ãæããããï¼
+\begin{LTXexample}
+% yoko direction
+\setbox0=\hbox to 20pt{foo}
+\the\wd0,~\hbox{\tate\vrule\the\wd0}
+\wd0=100pt
+\the\wd0,~\hbox{\tate \the\wd0}
+\end{LTXexample}
+ã¾ãï¼ç°æ¹åã®ããã¯ã¹ã®é
ç½®å¦çã®é¢ä¿ã§ï¼
+\verb+\lastbox+ ãé§ä½¿ãã¦ããã¯ã¹ã®ã³ãã¼ã
+ä½æããå ´åã§ãï¼\verb+\wd+ çã®å¤ãç°ãªãå ´åãããï¼
+ä¾ãã°ï¼ä¸ã®å®è¡ä¾ã«ããã \verb+\wd1+ ã®å¤ã¯ï¼ã縦çµã§çµãã æã® \verb+\box0+ ã®
+å°æããå¹
ãã¨ãªãï¼
+\begin{LTXexample}
+% yoko direction
+\setbox0=\hbox to 20pt{Xy}
+\the\wd0,
+\setbox0=\hbox{\tate\copy0}
+\setbox0=\hbox{\tate\unhbox0
+ \global\setbox1\lastbox}
+\the\wd1
+\end{LTXexample}
+
+\paragraph{\texttt{\textbackslash wd} çã®ä»£æ¿å½ä»¤}
+
+\pTeX ã®ããã«ç¾å¨ã®çµæ¹åã«å¿ããããã¯ã¹ã®å¯¸æ³ã®åå¾ã»è¨å®ãè¡ãããï¼
+次ã®å½ä»¤ãæ°è¨ããï¼
+
+\begin{cslist}
+
+ \item[ltjgetwd\{\}\textrm{, }\textbackslash ltjgetht\{\}\textrm{, }%
+ \textbackslash ltjgetdp\{\}]
+ç¾å¨ã®çµæ¹åã«å¿ããããã¯ã¹ã®å¯¸æ³ã®åå¾ãè¡ãï¼çµæã¯å
é¨é·ãã§ããããï¼
+{\let\item=\origitem
+\begin{verbatim}
+\dimexpr 2\ltjgetwd{42}-3pt\relax, \the\ltjgetwd{1701}
+\end{verbatim}
+ã®ããã« \verb+\wd+ ã®ä»£ããã¨ãã¦æ±ããã¨ãã§ããï¼å¼æ°ã1æ¡ã®å ´åã¯ï¼
+\verb+\ltjgetwd3+ ã®ããã«å¼æ°ãã°ã«ã¼ãã§æ¬ããªãã¦ãè¯ããï¼ããã§ãªãå ´åã¯
+ï¼é常ã®å½ä»¤ã¸ã®å¼æ°ã®ããã«ï¼\verb+\ltjgetwd{42}+ ã¨ã°ã«ã¼ãã«æ¬ãå¿
è¦ãããï¼
+使ç¨ä¾ã¯ä»¥ä¸ã®éãã§ããï¼
+\begin{LTXexample}[width=0.3\textwidth]
+\parindent0pt
+\setbox32767=\hbox{\yoko ãããã¿}
+\fboxsep=0mm\fbox{\copy32767}
+\vbox{\hsize=20mm
+\yoko YOKO \the\ltjgetwd{32767}, \\
+ \the\ltjgetht{32767}, \\ \the\ltjgetdp{32767}.}
+\vbox{\hsize=20mm\raggedleft
+\tate TATE \the\ltjgetwd{32767}, \\
+ \the\ltjgetht{32767}, \\ \the\ltjgetdp{32767}.}
+\vbox{\hsize=20mm\raggedleft
+\dtou DTOU \the\ltjgetwd{32767}, \\
+ \the\ltjgetht{32767}, \\ \the\ltjgetdp{32767}.}
+\end{LTXexample}}
+
+ \item[ltjsetwd=\textrm{, }\textbackslash ltjsetht=\textrm{, }%
+ \textbackslash ltjsetdp=]
+ç¾å¨ã®çµæ¹åã«å¿ããããã¯ã¹ã®å¯¸æ³ã®è¨å®ãè¡ãï¼\verb+\afterassignment+ ã2åå©ç¨ãã¦
+å®è£
ãã¦ããã®ã§ï¼æ¬¡ã®4éãã¯å
¨ã¦åãæå³ã§ããï¼
+{\let\item=\origitem
+\begin{verbatim}
+\ltjsetwd42 20pt, \ltjsetwd42=20pt, \ltjsetwd=42 20pt, \ltjsetwd=42=20pt
+\end{verbatim}
+}%
+
+è¨å®å¤ã¯çµæ¹åãã¨ã«ç¬ç«ãã¦è¨é²ãããï¼
+
+\end{cslist}
+
+\subsection{çµæ¹åã®åå¾ã»æ¡ä»¶å¤æ}
+ãç¾å¨ã®çµæ¹åãããçªã®ããã¯ã¹ã®çµæ¹åãã¯ï¼ä»¥ä¸ã®å½ä»¤ã«ãã£ã¦
+ç¥ããã¨ãã§ããï¼
+
+\begin{cslist}
+ \item[ifydir\textrm{, }\textbackslash iftdir\textrm{, }\textbackslash ifddir]
+ç¾å¨ã®çµæ¹åã横çµ(\verb+\yoko+)ï¼ç¸¦çµ(\verb+\tate+)ï¼\verb+\dtou+ æ¹åã§ãããã
+ããããå¤å®ããï¼
+
+ \item[ifybox\{\}\textrm{, }\textbackslash iftbox\{\}\textrm{, }%
+ \textbackslash ifdbox\{\}]
+çªã®ã¬ã¸ã¹ã¿ã®ä¸èº«ã横çµããã¯ã¹ï¼ç¸¦çµããã¯ã¹ï¼\verb+\dtou+ æ¹åã®
+ããã¯ã¹ãå¦ããããããå¤å®ããï¼
+
+\end{cslist}
+
+%
+
%\section{Font Metric and Japanese Font}
%\section{ãã©ã³ãã¡ããªãã¯ã¨åæãã©ã³ã}
%\subsection{\texttt{\textbackslash jfont}}
@@ -2450,14 +2835,14 @@ JIS~X~0213ã®ç¯å²ã«åºããã¨ï¼å·®ç°ã¯ããã«å¤§ãããªãï¼
\label{ssec-jfont}
%<*en>
-To load a font as a Japanese font, you must use the
+To load a font as a Japanese font (for horizontal direction), you must use the
\verb+\jfont+ instead of~\verb+\font+, while
\verb+\jfont+ admits the same syntax used in~\verb+\font+.
\LuaTeX-ja automatically loads \Pkg{luaotfload} package,
so TrueType/OpenType fonts with features can be used for Japanese fonts:
%
%<*ja>
-ãã©ã³ããåæãã©ã³ãã¨ãã¦èªã¿è¾¼ãããã«ã¯ï¼\verb+\jfont+ ã
+ãã©ã³ããï¼æ¨ªçµç¨ï¼åæãã©ã³ãã¨ãã¦èªã¿è¾¼ãããã«ã¯ï¼\verb+\jfont+ ã
\verb+\font+ ããªããã£ãã®ä»£ããã«ç¨ããï¼
\verb+\jfont+ ã®ææ³ã¯ \verb+\font+ ã¨åãã§ããï¼
\LuaTeX-jaã¯\Pkg{luaotfload}ããã±ã¼ã¸ãèªåçã«èªã¿è¾¼ãã®ã§ï¼
@@ -2525,8 +2910,8 @@ which JFM will be used for this font by the following keys:
\toprule
&\tt jfm-ujis.lua&\tt jfm-jis.lua&\tt jfm-min.lua\\
\midrule
-%Example~1\cite{min10}
-%ä¾1\cite{min10}
+%Example~1~\cite{min10}
+%ä¾1~\cite{min10}
&\r{ujis}&\r{jis}&\r{min}\\
%Example~2
%ä¾2
@@ -2541,14 +2926,15 @@ Bounding Box&\t{ujis}&\t{jis}&\t{min}\\
\begin{list}{}{\def\makelabel{\ttfamily}\def\{{\char`\{}\def\}{\char`\}}\advance\leftmargin1\zw}
\item[jfm=]
%<*en>
-Specify the name of JFM. If specified JFM has not been loaded, \LuaTeX-ja search and load
+Specify the name of (horizontal) JFM.
+If specified JFM has not been loaded, \LuaTeX-ja search and load
a file named \texttt{jfm-.lua}.
The following JFMs are shipped with \LuaTeX-ja:
%
%<*ja>
-JFMã®ååãæå®ããï¼ãã以åã«æå®ãããJFMãèªã¿è¾¼ã¾ãã¦ããªããã°ï¼
-\texttt{jfm-.lua}ãèªã¿è¾¼ãï¼ä»¥ä¸ã®JFMã\LuaTeX-jaã«ã¯å梱ããã¦ããï¼
+ç¨ããï¼æ¨ªçµç¨ï¼JFMã®ååãæå®ããï¼ãã以åã«æå®ãããJFMãèªã¿è¾¼ã¾ãã¦ããªããã°ï¼
+\texttt{jfm-.lua}ãèªã¿è¾¼ãï¼ä»¥ä¸ã®æ¨ªçµç¨JFMã\LuaTeX-jaã«ã¯å梱ããã¦ããï¼
%
\begin{description}
%<*en>
@@ -2715,6 +3101,30 @@ letter-spacing and the width of italic correction are not correct:
\S ããã\/ABC
\end{LTXexample}
+%\subsection{\texttt{\textbackslash tfont}}
+%\subsection{\texttt{\textbackslash tfont} å½ä»¤}
+
+%<*en>
+...
+%
+%<*ja>
+\verb+\tfont+ ã¯ãã©ã³ãã縦çµç¨ã®åæãã©ã³ãã¨ãã¦èªã¿è¾¼ãå½ä»¤ã§ããï¼
+\verb+\jfont+ ã®ææ³ã¯ \verb+\jfont+ ã¨åãã§ããï¼
+\verb+\tfont+ ã§å®ç¾©ããã縦çµç¨åæãã©ã³ãã¯ï¼
+以ä¸ã®ç¹ã \verb+\jfont+ ã«ãã横çµç¨åæãã©ã³ãã¨ã¯ç°ãªãï¼
+\begin{itemize}
+ \item åºåæã«ï¼èªåçã«ã\verb+vert+ featureç¸å½ãã®ã°ãªãç½®æãè¡ãããï¼
+ ããã¯ï¼\Pkg{luaotfload}ã«ããå種featureã®ãµãã¼ãã¨ã¯å
¨ãå¥åã«è¡ããããã®ã§ï¼
+ ãã¡ãã¡ \verb+vert+ featureãæå®ããå¿
è¦ã¯ãªãï¼
+\begin{verbatim}
+\tfont\S=file:KozMinPr6N-Regular.otf:jfm=ujis % OK
+\end{verbatim}
+ \item \ref{ssec-math}ç¯ã§è¿°ã¹ãï¼æ°å¼ä¸ã®åæãã©ã³ãã«ã¯ç¸¦çµç¨åæãã©ã³ãã¯æå®ã§ããªãï¼
+ \item \texttt{jfm=}\ ã®é¨åã«ã¯ç¸¦çµç¨JFMãæå®ããï¼ç¾å¨å梱ããã¦ããã®ã¯ï¼
+OTFããã±ã¼ã¸ã® \verb+upnmlminr-v.tfm+ ãå
ã«ãã\texttt{jfm-ujisv.lua}\ ã®ã¿ã§ããï¼
+\end{itemize}
+%
+
%\subsection{Prefix \texttt{psft}}
%\subsection{\texttt{psft}ããªãã£ãã¯ã¹}
\label{ssec-psft}
@@ -2843,8 +3253,13 @@ floating-point numbers in design-size unit.
%(required)
%ï¼å¿
é ï¼
-%The direction of JFM. At the present, only \texttt{'yoko'} is supported.
-%JFMã®æ¸åæ¹åï¼ç¾æç¹ã§ã¯æ¨ªæ¸ã(\texttt{'yoko'})ã®ã¿ããµãã¼ããããï¼
+%<*en>
+The direction of JFM. \texttt{'yoko'}~(horizontal)
+or \texttt{'tate'}~(vertical) are supported.
+%
+%<*ja>
+JFMã®æ¸åæ¹åï¼\texttt{'yoko'}ï¼æ¨ªçµï¼ã¨ \texttt{'tate'}ï¼ç¸¦çµï¼ããµãã¼ããããï¼
+%
\item[zw=]
%(required)
@@ -3852,6 +4267,8 @@ for the same character.
%[\TeX ã® \verb+\scriptscriptfont+]
\item[\Param{yjabaselineshift}\,=]\
\item[\Param{yalbaselineshift}\,=] [\verb+\ybaselineshift+]
+\item[\Param{tjabaselineshift}\,=]\
+\item[\Param{talbaselineshift}\,=] [\verb+\tbaselineshift+]
\item[\Param{jaxspmode}\,=\{,\}$^\ast$]
@@ -4369,22 +4786,23 @@ but on the other hand \verb+\zw+~and~\verb+\zh+ are specified by JFM.
\item[DeclareYokoKanjiEncoding\{\}\{\}\{\}]
+\item[DeclareYokoKanjiEncoding\{\}\{\}\{\}]
%<*en>
In NFSS2 under \LuaTeX-ja, distinction between alphabetic font families
and Japanese font families are only made by their
encodings. For example, encodings OT1 and T1 are for
alphabetic font families, and a Japanese font family cannot
- have these encodings. This command defines a new encoding
- scheme for Japanese font family (in horizontal direction).
+ have these encodings. These command define a new encoding
+ scheme for Japanese font family.
%
%<*ja>
\LuaTeX-jaã®NFSS2ã«ããã¦ã¯ï¼æ¬§æãã©ã³ããã¡ããªã¨åæãã©ã³ããã¡ããªã¯
ãã®ã¨ã³ã³ã¼ãã£ã³ã°ã«ãã£ã¦ã®ã¿åºå¥ãããï¼
ä¾ãã°ï¼OT1ã¨T1ã®ã¨ã³ã³ã¼ãã£ã³ã°ã¯æ¬§æãã©ã³ããã¡ããªã«å¯¾ãããã®ã§ããï¼
åæãã©ã³ããã¡ããªã¯ãããã®ã¨ã³ã³ã¼ãã£ã³ã°ãæã¤ãã¨ã¯ã§ããªãï¼
-ãã®ã³ãã³ãã¯æ¨ªæ¸ãç¨åæãã©ã³ãã®ããã®æ°ããã¨ã³ã³ã¼ãã£ã³ã°ã
-å®ç¾©ããï¼
+ãããã³ãã³ãã¯æ¨ªçµç¨ã»ç¸¦çµç¨åæãã©ã³ãã®ããã®æ°ããã¨ã³ã³ã¼ãã£ã³ã°ã
+ããããå®ç¾©ããï¼
%
\item[DeclareKanjiEncodingDefaults\{\}\{\}]
@@ -4472,9 +4890,7 @@ to match the vertical center of ``M'' and that of ``ã'' in vertical typesetti
+ d_{\text{ã}} - d_{\text{M}},
\]
where $h_{a}$~and~$d_{a}$ denote the height of ``$a$'' and the depth, respectively.
-
-Current \LuaTeX-ja does not support vertical typesetting, so
-this \verb+\adjustbaseline+ has almost no effect.
+In \LuaTeX-ja, this \verb+\adjustbaseline+ does same task.
%
%<*ja>
\pLaTeXe ã§ã¯ï¼\verb+\adjustbaseline+ ã¯ç¸¦æ¸æã«ãMãã¨ãããã®ä¸å¿ç·ãä¸è´ãããããã«ï¼
@@ -4485,9 +4901,7 @@ this \verb+\adjustbaseline+ has almost no effect.
+ d_{\text{ã}} - d_{\text{M}},
\]
ããã§ï¼$h_{a}$,~$d_{a}$ã¯ããããã$a$ãã®é«ãã»æ·±ãã表ãï¼
-
-ç¾å¨ã®\LuaTeX-jaã¯ç¸¦æ¸ãããµãã¼ããã¦ããªãã®ã§ï¼ãã® \verb+\adjustbaseline+ ã¯
-ã»ã¨ãã©ä½ããã¦ããªãï¼
+\LuaTeX-jaã«ããã¦ã\verb+\adjustbaseline+ ã¯åæ§ã®å¦çãè¡ã£ã¦ããï¼
%
\item[fontfamily\{\}]
@@ -4521,7 +4935,8 @@ to . Which family will be changed is determined as follows:
\verb+\DeclareKanijFamily+.
%
%<*ja>
-\item ã¨ã³ã³ã¼ãã£ã³ã°ã«ããããã¡ããªãæ¢ã« \verb+\DeclareKanjiFamily+ ã«ãã£ã¦å®ç¾©ããã¦ããï¼
+\item ã¨ã³ã³ã¼ãã£ã³ã°ã«ããããã¡ããªã
+æ¢ã« \verb+\DeclareKanjiFamily+ ã«ãã£ã¦å®ç¾©ããã¦ããï¼
%
%<*en>
\item A font definition named \texttt{.fd} (the file name is
@@ -4562,8 +4977,10 @@ In this case, the default family for font substitution is used for
\null\hfill\{\}\{\}\{\}\{\}\{\}]
%<*ja>
\ref{ssec-altfont}ç¯ã®\
-\verb+\ltjdeclarealtfont+ ã¨åæ§ã«ï¼ååã®4å¼æ°ã®åæãã©ã³ãï¼åºåºãã©ã³ãï¼ã®ãã¡ä¸ã®æåã
-第5--第8å¼æ°ã®åæãã©ã³ãã使ã£ã¦çµãããã«æ示ããï¼ä½¿ç¨ä¾ãå³\ref{fig:altkanji}ã«è¼ããï¼
+\verb+\ltjdeclarealtfont+ ã¨åæ§ã«ï¼ååã®4å¼æ°ã®
+åæãã©ã³ãï¼åºåºãã©ã³ãï¼ã®ãã¡ä¸ã®æåã
+第5--第8å¼æ°ã®åæãã©ã³ãã使ã£ã¦çµãããã«æ示ããï¼
+使ç¨ä¾ãå³\nobreak\ref{fig:altkanji}ã«è¼ããï¼
{\let\item\origitem
%\advance\linewidth-2em
@@ -5121,6 +5538,7 @@ Here the following is the list of dimensions and attributes which are used in \L
\begin{list}{}{%
\def\makelabel{\ttfamily}\advance\leftmargin1\zw
\def\dim#1{\item[\textbackslash #1\ \textrm{(dimension)}]}
+\def\cnt#1{\item[\textbackslash #1\ \textrm{(counter)}]}
\def\attr#1{\item[\textbackslash #1\ \textrm{(attribute)}]}
}
@@ -5182,10 +5600,18 @@ Current number of Japanese font family for math formulas.
\attr{ltj@curjfnt}
%<*en>
-The font index of current Japanese font.
+The font index of current Japanese font for horizontal direction.
+%
+%<*ja>
+ç¾å¨ã®æ¨ªçµç¨åæãã©ã³ãã®ãã©ã³ãçªå·ï¼
+%
+
+\attr{ltj@curtfnt}
+%<*en>
+The font index of current Japanese font for vertical direction.
%
%<*ja>
-ç¾å¨ã®åæãã©ã³ãã®ãã©ã³ãçªå·ï¼
+ç¾å¨ã®ç¸¦çµç¨åæãã©ã³ãã®ãã©ã³ãçªå·ï¼
%
\attr{ltj@charclass}
@@ -5212,6 +5638,9 @@ The amount of shifting the baseline of Japanese fonts in scaled point ($2^{-16}\
ã¹ã±ã¼ã«ãã»ãã¤ã³ã($2^{-16}\,\textrm{pt}$)ãåä½ã¨ããåæãã©ã³ãã®ãã¼ã¹ã©ã¤ã³ã®ç§»åéï¼
%
+\attr{ltj@tablshift}
+\attr{ltj@tkblshift}
+
\attr{ltj@autospc}
%<*en>
Whether the auto insertion of \Param{\hyperlink{fld:kanjiskip}{kanjiskip}} is allowed at the node.
@@ -5295,18 +5724,42 @@ $i$ã¯7ããå°ããèªç¶æ°ï¼
ããã7ã¤ã®å±æ§ã¬ã¸ã¹ã¿ã¯ï¼ã©ã®æåãããã¯ã\textbf{JAchar}ã®ãããã¯ã¨ãã¦
æ±ããããã示ãããããã¯ãã«ãæ ¼ç´ããï¼
%
+
+\cnt{ltj@dir@count}
+%<*ja>
+ç¾å¨ã®çµæ¹åã表ãï¼
+%
+\begin{description}
+\item[\textit{dir\_dtou} (1)]
+\item[\textit{dir\_tate} (3)]
+\item[\textit{dir\_yoko} (4)]
+\end{description}
+
+\attr{ltj@dir}
+%<*ja>
+ããã¯ã¹ã«ãããçµæ¹åã示ãï¼ä¸è¨ã®3ã¤ã®å¤(1,~3,~4)ã®ä»ã«ï¼
+ãããã«æ¬¡ãå ããå¤(17,~19, 20, 33, 35,~36)ãã¨ãå¾ãï¼
+%
+\begin{description}
+\item[\textit{dir\_node\_auto} (16)]
+\item[\textit{dir\_node\_manual} (32)]
+\end{description}
+
+
\end{list}
%<*en>
Furthermore, \LuaTeX-ja uses several user-defined whatsit nodes for
-inrernal processing. All those nodes store a natural number (hence the node's
-\texttt{type} is 100).
+inrernal processing. All those nodes except \emph{direction} whatsits
+store a natural number (hence its \texttt{type} is 100).
+\emph{direction} whatsits store a node list, hence its \texttt{type} is 110.
Their \texttt{user\_id} (used for distinguish user-defined whatsits)
are allocated by \texttt{luatexbase.newuserwhatsitid}.
%
%<*ja>
ããã«ï¼\LuaTeX-jaã¯ããã¤ãã®user-defined whatsit nodeãå
é¨å¦çã«ç¨ããï¼
-ãããã®whatsitãã¼ãã® \texttt{type} ã¯100ã§ããï¼ãã¼ãã¯èªç¶æ°ãæ ¼ç´ãã¦ããï¼
+\textit{direction} whatsitã¯ãã¼ããªã¹ããæ ¼ç´ãããï¼
+ãã以å¤ã®whatsitãã¼ãã® \texttt{type} ã¯100ã§ããï¼ãã¼ãã¯èªç¶æ°ãæ ¼ç´ãã¦ããï¼
user-defined whatsitãèå¥ããããã® \texttt{user\_id} ã¯\
\texttt{luatexbase.newuserwhatsitid} ã«ãã確ä¿ããã¦ããï¼
ä¸ã®è¦åºãã¯åãªãèå¥ç¨ã§ãããªãï¼
@@ -5372,6 +5825,9 @@ for its label before the actual contents. So \dots
ã段è½ã®éå§ããæå³ãããã¼ãï¼
listç°å¢ï¼itemizeç°å¢ãªã©ã«ããã¦ï¼\verb+\item+ ã§å§ã¾ãåé
ç®ã¯â¦â¦
%
+
+\item[\textit{direction}]
+
\end{description}
%<*en>
@@ -7354,6 +7810,13 @@ nilã§ãªãããã£ãã·ã¥ã«ä¿åããï¼
\end{list}
%
+
+%<*ja>
+\section{縦çµã®å®è£
}
+
+
+%
+
\begin{thebibliography}{99}
\addcontentsline{toc}{section}{\refname}
\bibitem{texbytopic}
@@ -7373,10 +7836,14 @@ TUG 2013, October 2013.
Requirements for Japanese Text Layout (W3C Working Group Note), 2011, 2012. \newblock
\url{http://www.w3.org/TR/jlreq/}%
% \\æ¥æ¬èªè¨³ã®æ¸ç±çï¼W3Cæ¥æ¬èªçµçã¿ã¹ã¯ãã©ã¼ã¹ï¼ç·¨ï¼ï¼ãW3Cæè¡ãã¼ã æ¥æ¬èªçµçå¦çã®è¦ä»¶ãï¼æ±äº¬é»æ©å¤§å¦åºçå±ï¼2012ï¼
-\bibitem{min10} ä¹é¨å³å·±ï¼min10ãã©ã³ãã«ã¤ãã¦ï¼\\\null\hfill
+\bibitem{min10} ä¹é¨å³å·±ï¼min10ãã©ã³ãã«ã¤ãã¦ï¼\\\null\hfill
\url{http://argent.shinshu-u.ac.jp/~otobe/tex/files/min10.pdf}
-\bibitem{x4051} æ¥æ¬å·¥æ¥è¦æ ¼(Japanese Industrial Standard), JIS~X~4051,
+\bibitem{x4051} æ¥æ¬å·¥æ¥è¦æ ¼(Japanese Industrial Standard). JIS~X~4051,
æ¥æ¬èªææ¸ã®çµçæ¹æ³(Formatting rules for Japanese documents), 1993, 1995, 2004.
+\bibitem{ptexdoc} 濱éå°äººï¼ç°ææå²ï¼åæ²¢è¯ä¸ï¼\TeX ã®åºçã¸ã®å¿ç¨â縦çµã¿æ©è½ã®çµã¿è¾¼ã¿âï¼
+\\\null\hfill\texttt{.../texmf-dist/doc/ptex/base/ptexdoc.pdf}
+\bibitem{ptextug} Hisato Hamano. \newblock
+\textit{Vertical Typesetting with \TeX}, TUGBoat~\textbf{11}(3), 346--352, 1990.
\end{thebibliography}
\newpage