X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=doc%2Fluatexja.dtx;h=617b84a9bfc31eecbf75db5c6c3f2f15170cf952;hb=d177010c46e52e722b4752eded1ae4a6807953df;hp=4bf6643502e39ada2f9db7cce684e2417ff52bd8;hpb=5b6c02ef39feece9ddcca446b9cc38bc891342a1;p=luatex-ja%2Fluatexja.git
diff --git a/doc/luatexja.dtx b/doc/luatexja.dtx
index 4bf6643..617b84a 100644
--- a/doc/luatexja.dtx
+++ b/doc/luatexja.dtx
@@ -482,7 +482,7 @@ Japanese characters in discretionary break (\cs{discretionary}) is not supported
By default, \LuaTeX-ja uses Japanese fonts to typeset Greek and Cyrillic letters,
To change this behavior,
put \verb!\ltjsetparameter{jacharrange={-2,-3}}! in the preamble.
- For the detailed description, see Subsection~\ref{ssec-setrange}.
+ For the detailed description, see Subsection~\ref{ssec:setrange}.
From version~20150906.0, characters which belongs both ISO~8859-1 and JIS~X~0208,
such as \P~and~\S, are now typeset in alphabetic fonts.
@@ -499,7 +499,7 @@ without the \cs{fontspec} (and~\Pkg{luatexja-fontspec}) package.
\end{lstlisting}
ãå
¥ããã¨
ä¸è¨ç¨®é¡ã®æåã¯æ¬§æãã©ã³ããç¨ãã¦çµã¾ããããã«ãªãï¼
- 詳ãã説æã¯\ref{ssec-setrange}ç¯ãåç
§ãã¦ã»ããï¼
+ 詳ãã説æã¯\ref{ssec:setrange}ç¯ãåç
§ãã¦ã»ããï¼
ã¾ãï¼\P,~\S ã¨ãã£ãISO~8859-1ã®ä¸ä½é åã¨JIS~X~0208ã®å
±éé¨åã®æåã¯
ãã¼ã¸ã§ã³20150906.0ããæ¨æºã§æ¬§ææ±ãã¨ãªã£ãï¼\LaTeXe\ 2017/01/01以éã§ã¯
@@ -524,11 +524,11 @@ In this document, the following terms and notations are used:
%<*en>
\item Characters are classified into following two types.
Note that the classification can be customized by a user
- (see Subsection~\ref{ssec-setrange}).
+ (see Subsection~\ref{ssec:setrange}).
%
%<*ja>
\item æåã¯æ¬¡ã®2種é¡ã«åããããï¼ãã®é¡å¥ã¯åºå®ããã¦ãããã®ã§ã¯ãªãï¼ã¦ã¼ã¶ãå¾ããå¤æ´å¯è½ã§ãã
- ï¼\ref{ssec-setrange}ç¯ãåç
§ï¼ï¼
+ ï¼\ref{ssec:setrange}ç¯ãåç
§ï¼ï¼
%
\begin{itemize}
%<*en>
@@ -874,7 +874,7 @@ and finally delete the temporary directory.
%\subsection{Using in plain \TeX}
%\subsection{plain \TeX ã§ä½¿ã}
-\label{ssec-plain}
+\label{ssec:plain}
%To use \LuaTeX-ja in plain \TeX, simply put the following at the beginning of the document:
%\LuaTeX-jaã plain \TeX ã§ä½¿ãããã«ã¯ï¼åã«æ¬¡ã®è¡ãã½ã¼ã¹ãã¡ã¤ã«ã®åé ã«è¿½å ããã°ããï¼
@@ -923,11 +923,11 @@ and finally delete the temporary directory.
\begin{itemize}
%<*en>
\item With \texttt{luatexja.cfg}, one can use other fonts
-as ``default'' Japanese fonts (Subsection~\ref{ssec-cfg}).
+as ``default'' Japanese fonts (Subsection~\ref{ssec:cfg}).
%
%<*ja>
\item \texttt{luatexja.cfg} ãç¨ãããã¨ã«ãã£ã¦ï¼æ¨æºåæãã©ã³ãã
-IPAexãã©ã³ãããå¥ã®ãã©ã³ãã«ç½®ãæãããã¨ãã§ããï¼\ref{ssec-cfg}ç¯ãåç
§ï¼
+IPAexãã©ã³ãããå¥ã®ãã©ã³ãã«ç½®ãæãããã¨ãã§ããï¼\ref{ssec:cfg}ç¯ãåç
§ï¼
%
%<*en>
@@ -960,7 +960,7 @@ IPAexãã©ã³ãããå¥ã®ãã©ã³ãã«ç½®ãæãããã¨ãã§ããï¼
%\subsection{Using in \LaTeX}
%\subsection{\LaTeX ã§ä½¿ã}
-\label{ssec-ltx}
+\label{ssec:ltx}
%<*en>
Using in \LaTeXe\ is basically same. To set up the minimal environment
@@ -1086,6 +1086,15 @@ Note that the bold series in both family are same as the medium series of gothic
\renewcommand{\kanjifamilydefault}{\gtdefault}
\end{lstlisting}
+%<*ja>
+\item \pLaTeX ã¨åæ§ã«ï¼\texttt{mc},~\texttt{gt}両ãã¡ããªã«ã¯ãå¾å±æ¬§æãæ¸ä½ãå®ç¾©ããã¦ããï¼
+ ãããã¯\cs{userelfont}ã\cs{selectfont}ï¼ãï¼ãã®ä»ã®ãå®éã«ã
+ ãã©ã³ããå¤æ´ããå½ä»¤ï¼ã®åã§å®è¡ãããã¨ã«ãã使ããã¨ãã§ããï¼
+
+ \pLaTeX ã§ã¯æ¨æºã®æ¬§æãã©ã³ãã¯OT1ã¨ã³ã³ã¼ãã£ã³ã°ã®Computer Modern Roman (\texttt{cmr})%
+ ã§ãã£ããï¼2017年以éã®\LuaLaTeX ã§ã¯TUã¨ã³ã³ã¼ãã£ã³ã°ã®latin Modern Roman (\texttt{lmr})%
+ ã«å¤æ´ããã¦ããï¼ãã®ããï¼å段è½ã§è¿°ã¹ããå¾å±æ¬§æããï¼Latin Modern Romanã«è¨å®ãã¦ããï¼
+%
\end{itemize}
@@ -1204,17 +1213,17 @@ This patch \Pkg{lltjp-geometry} also can be used in \pLaTeX; for the detail, ple
%\section{ãã©ã³ãã®å¤æ´}
\subsection{plain \TeX~and~\LaTeXe}
-\label{ssec-chgfnt}
+\label{ssec:chgfnt}
\paragraph{plain \TeX}
%<*en>
To change Japanese fonts in plain \TeX, you must use the command
-\cs{jfont}~and~\cs{tfont}. So please see Subsection~\ref{ssec-jfont}.
+\cs{jfont}~and~\cs{tfont}. So please see Subsection~\ref{ssec:jfont}.
%
%<*ja>
plain \TeX ã§åæãã©ã³ããå¤æ´ããããã«ã¯ï¼
\pTeX ã®ããã« \cs{jfont} å½ä»¤ã \cs{tfont} å½ä»¤ãç´æ¥ç¨ããï¼
-\ref{ssec-jfont}ç¯ãåç
§ï¼
+\ref{ssec:jfont}ç¯ãåç
§ï¼
%
\paragraph{\LaTeXe\ (NFSS2)}
@@ -1277,7 +1286,7 @@ auto select&\cs{fontencoding}&\cs{fontfamily}&---&---&\cs{usefont}\\
alphabetic fonts to \texttt{T1}.
\cs{fontfamily} also changes the current Japanese font family,
the current alphabetic font family, \emph{or both}.
- For the detail, see Subsection~\ref{ssec-nfsspat}.
+ For the detail, see Subsection~\ref{ssec:nfsspat}.
%
%<*ja>
ããã§ï¼\verb+\fontencoding{+\verb+}+ ã¯ï¼å¼æ°ã«ããåæå´ã欧æ
@@ -1286,7 +1295,7 @@ auto select&\cs{fontencoding}&\cs{fontfamily}&---&---&\cs{usefont}\\
\texttt{JY3}ã«å¤æ´ãï¼\verb+\fontencoding{T1}+ ã¯æ¬§æãã©ã³ãå´ã
\texttt{T1}ã¸ã¨å¤æ´ããï¼\cs{fontfamily} ãå¼æ°ã«ããåæå´ï¼æ¬§æ
å´ï¼\emph{ãããã¯ä¸¡æ¹}ã®ãã©ã³ããã¡ããªãå¤æ´ããï¼è©³ç´°ã¯
- \ref{ssec-nfsspat}ç¯ãåç
§ãããã¨ï¼
+ \ref{ssec:nfsspat}ç¯ãåç
§ãããã¨ï¼
%
%<*en>
@@ -1310,8 +1319,8 @@ auto select&\cs{fontencoding}&\cs{fontfamily}&---&---&\cs{usefont}\\
\end{lstlisting}
%<*ja>
ä»®åæ¸ä½ã使ãå ´åãªã©ï¼è¤æ°ã®åæãã©ã³ããçµã¿åããã¦ä½¿ãããå ´åã¯
-\ref{ssec-altfont}ç¯ã® \cs{ltjdeclarealtfont} ã¨ï¼ãã®\LaTeX çã®\
-\cs{DeclareAlternateKanjiFont}ï¼\ref{ssec-nfsspat}ç¯ï¼ãåç
§ããï¼
+\ref{ssec:altfont}ç¯ã® \cs{ltjdeclarealtfont} ã¨ï¼ãã®\LaTeX çã®\
+\cs{DeclareAlternateKanjiFont}ï¼\ref{ssec:nfsspat}ç¯ï¼ãåç
§ããï¼
%
\end{itemize}
@@ -1367,17 +1376,17 @@ $5\in ç´ :=\{\,p\in\mathbb N:\text{$p$ is a prime}\,\}$.
%<*en>
We also believe that using Japanese characters as identifiers is rare,
hence we don't describe how to change Japanese fonts in math mode in
-this chapter. For the method, please see Subsection~\ref{ssec-math}.
+this chapter. For the method, please see Subsection~\ref{ssec:math}.
%
%<*ja>
ã¾ã\LuaTeX-jaããã¸ã§ã¯ãã§ã¯ï¼åææåãèå¥åã¨ãã¦ç¨ãããããã¨ã¯ã»ã¨ãã©ãªã
ã¨èãã¦ããï¼ãããã£ã¦ãã®ç¯ã§ã¯æ°å¼ã¢ã¼ãä¸ã®åæãã©ã³ããå¤æ´ããæ¹æ³ã«ã¤ãã¦ã¯
-è¨è¿°ããªãï¼ãã®æ¹æ³ã«ã¤ãã¦ã¯\ref{ssec-math}ç¯ãåç
§ã®ãã¨ï¼
+è¨è¿°ããªãï¼ãã®æ¹æ³ã«ã¤ãã¦ã¯\ref{ssec:math}ç¯ãåç
§ã®ãã¨ï¼
%
%\subsection{\Pkg{luatexja-fontspec} package}
%\subsection{\Pkg{luatexja-fontspec}ããã±ã¼ã¸}
-\label{ssec-fontspec}
+\label{ssec:fontspec}
%<*en>
To use the functionality of the \Pkg{fontspec} package to Japanese fonts,
it is needed to load the \Pkg{luatexja-fontspec} package in the preamble, as follows:
@@ -1478,13 +1487,23 @@ if and only if this \texttt{\textup{match}} option is specified}.
\item[scale=]
%<*en>
Override the ratio of the font size of Japanese fonts to that of alphabetic fonts.
-The default value is calculated automatically (for~example, about~0.924865 when
- the \Pkg{ltjsarticle} class is used).
+The default value is determined as follows:
+ \begin{itemize}
+ \item The value of \cs{Cjascale} is used, if this control sequence is already defined.
+ \item It is calculated automatically from the current Japanese font at the loading of the
+ package, if \cs{Cjascale} is not defined.
+ \end{itemize}
+\cs{Cjascale} is defined in \Pkg{ltjclasses} and \Pkg{ltjsclasses}.
%
%<*ja>
-欧æã«å¯¾ããåæã®æ¯çã¯ï¼æ¨æºã§ã¯ \Pkg{luatexja-fontspec}èªã¿è¾¼ã¿æã®å欧ææ¯çãã
-èªåè¨ç®ãããï¼ä¾ãã°ï¼\Pkg{ltjsarticle}ã¯ã©ã¹ä½¿ç¨æã«ã¯åæã¯æ¬§æã®ç´0.924865åã¨ãªãï¼ãï¼
-ãããæåã§ä¸æ¸ãããã¨ãã«ä½¿ç¨ããï¼
+欧æã«å¯¾ããåæã®æ¯çãæåã§ä¸æ¸ãããã¨ãã«ä½¿ç¨ããï¼
+æ¨æºã§ã¯
+\begin{itemize}
+ \item \cs{Cjascale}ãå®ç¾©ããã¦ããå ´å
+ \footnote{\LuaTeX-ja ãç¨æãã¦ããã¯ã©ã¹ãã¡ã¤ã«(\Pkg{ltjclasses},~\Pkg{ltjsclasses})ã
+ 使ãå ´åã¯ãã¡ãã«å½ã¦ã¯ã¾ãï¼}ã¯ï¼ãããç¨ããï¼
+ \item \cs{Cjascale}ãæªå®ç¾©ã®å ´åã¯ï¼\Pkg{luatexja-fontspec}èªã¿è¾¼ã¿æã®åæãã©ã³ãããèªåè¨ç®ãããï¼
+\end{itemize}
%
\end{cslist}
@@ -1604,13 +1623,13 @@ as an external package \Pkg{luatexja-otf}.
ããã3ãªãã·ã§ã³ã«ã¤ãã¦ã¯ï¼
\Pkg{luatexja-preset} ããã±ã¼ã¸ã«ããªã»ããã使ãæã«ä¸ç·ã«æå®ãããï¼
-ãããã¯å¯¾å¿ããå
容ã\ref{ssec-chgfnt}ç¯ï¼\ref{ssec-nfsspat}ç¯ (NFSS2) ã
-\ref{ssec-fontspec}ç¯ (\Pkg{fontspec}) ã®æ¹æ³ã§æåã§æå®ããå¿
è¦ãããï¼
+ãããã¯å¯¾å¿ããå
容ã\ref{ssec:chgfnt}ç¯ï¼\ref{ssec:nfsspat}ç¯ (NFSS2) ã
+\ref{ssec:fontspec}ç¯ (\Pkg{fontspec}) ã®æ¹æ³ã§æåã§æå®ããå¿
è¦ãããï¼
%
%\subsection{Changing default Japanese fonts}
%\subsection{æ¨æºåæãã©ã³ãã®å¤æ´}
-\label{ssec-cfg}
+\label{ssec:cfg}
%<*en>
If \texttt{luatexja.cfg} can be seen from \LuaTeX, \LuaTeX-ja automatically reads it.
The main use of \texttt{luatexja.cfg} is for changing default Japanese fonts,
@@ -1681,7 +1700,7 @@ parameters, you have to use commands \cs{ltjsetparameter} and
%\subsection{Range of \textbf{JAchar}s}
%\subsection{\textbf{JAchar}ã®ç¯å²}
-\label{ssec-setrange}
+\label{ssec:setrange}
%<*en>
\LuaTeX-ja divides the Unicode codespace \texttt{U+0080}--\texttt{U+10FFFF}
@@ -2147,10 +2166,10 @@ as follows:
\ltjsetparameter{alxspmode={`ã,preonly}, jaxspmode={`\!,postonly}}
\end{lstlisting}
%<*en>
-One can use also numbers to specify these two parameters (see Subsection~\ref{ssec-param}).
+One can use also numbers to specify these two parameters (see Subsection~\ref{ssec:param}).
%
%<*ja>
-ã¾ãï¼ããã2ãã©ã¡ã¼ã¿ã«ã¯æ°å¤ã§å¤ãæå®ãããã¨ãã§ããï¼\ref{ssec-param}ç¯ãåç
§ï¼ï¼
+ã¾ãï¼ããã2ãã©ã¡ã¼ã¿ã«ã¯æ°å¤ã§å¤ãæå®ãããã¨ãã§ããï¼\ref{ssec:param}ç¯ãåç
§ï¼ï¼
%
%<*en>
@@ -2350,7 +2369,6 @@ However, the penalty inserted after it is 10 which is the \Param{postbreakpenalt
``ã¢'', not 20.
%
%<*ja>
-\newpage
\subsection{ç¦åå¦çé¢é£ãã©ã¡ã¼ã¿ã¨OpenTypeã®font feature}
ç¦åå¦çã \Param{kanjiskip}, \Param{xkanjiskip} ã®æ¿å
¥ã«é¢é£ãããã©ã¡ã¼ã¿ã®ãã¡
\begin{quote}
@@ -2359,7 +2377,7 @@ However, the penalty inserted after it is 10 which is the \Param{postbreakpenalt
\end{quote}
ã¯ï¼æåã³ã¼ããã¨ã«è¨å®ããéã§ããï¼
-\Pkg{fontspec}ããã±ã¼ã¸ã使ãï¼\ref{ssec-fontspec}ç¯ï¼å ´åãªã©ï¼
+\Pkg{fontspec}ããã±ã¼ã¸ã使ãï¼\ref{ssec:fontspec}ç¯ï¼å ´åãªã©ï¼
å種ã®OpenType featureãé©ç¨ãããã¨ãããã¨æããï¼å段è½ã«è¿°ã¹ããã©ã¡ã¼ã¿é¡ã¯ï¼
\emph{OpenType featureã®é©ç¨åã®æåã³ã¼ãã«ãã£ã¦é©ç¨ãããï¼}
ä¾ãã°ï¼ä»¥ä¸ã®ä¾ã«ããã¦10è¡ç®ã®ãã¢ãã¯ï¼\verb+hwid+ featureã®é©ç¨ã«ããåè§ã«ã¿ã«ãã®ãï½±ã
@@ -2468,7 +2486,7 @@ and \LuaTeX-ja can control these four kinds separately:
\begin{itemize}
\item
\emph{Distinction between \textbf{JAchar} or \textbf{ALchar}}
-is controlled by the character range, see Subsection~\ref{ssec-setrange}.
+is controlled by the character range, see Subsection~\ref{ssec:setrange}.
\item
\emph{Whether the character can be used in a control word}
is controlled by setting \cs{catcode} to 11~(enabled) or 12~(disabled), as usual.
@@ -2485,7 +2503,7 @@ is controlled by the lowermost bit of the \Param{kcatcode} parameter.
åå²ãã¦ããï¼
\begin{description}
\item[欧æ/åæã®åºå¥ (\upTeX)]
-\cs{ltjdefcharrange} ã¨\textsf{jacharrange}ãã©ã¡ã¼ã¿ï¼\ref{ssec-setrange}ç¯ï¼
+\cs{ltjdefcharrange} ã¨\textsf{jacharrange}ãã©ã¡ã¼ã¿ï¼\ref{ssec:setrange}ç¯ï¼
\item[å¶å¾¡ç¶´ä¸ã«ä½¿ç¨å¯ã]
\LuaTeX èªèº«ã® \cs{catcode} ã§ãã
\item[\Param{jcharwidowpenalty}ãæ¿å
¥å¯ã]
@@ -2752,7 +2770,9 @@ We implemented this for debugging purpose.
The fifth column (\emph{utod} direction) corresponds the ``\texttt{tate (math) direction}'' of \pTeX.
Directions can be changed by \cs{yoko},~\cs{tate}, \cs{dtou},~\cs{utod},
-only when the current list is null. Also, the direction of a math formula is changed to
+only when the current list is null.
+These commands cannot be executed in unrestricted horizontal modes, nor math modes.
+The direction of a math formula is changed to
\emph{utod}, when the direction outside the math formula is \emph{tate} (vertical writing).
%
@@ -2766,6 +2786,8 @@ Down-TO-Upã®æå³ãªã®ã ããï¼\cs{dtou} ã使ç¨ããæ©ä¼ã¯ãªãã
çµæ¹åã¯ï¼\cs{yoko},~\cs{tate}, \cs{dtou},~\cs{utod} ããããã使ç¨ãããã¨ã§ï¼
ç¾å¨ä½æä¸ã®ãªã¹ããããã¯ã¹ã空ã®æã«ã®ã¿å¤æ´å¯è½ã§ããï¼
+ãã ãï¼ç¾å¨ã®ã¢ã¼ããéå¶éæ°´å¹³ã¢ã¼ããï¼æä¸ï¼å¥è¡ç«ã¦åããï¼æ°å¼ã¢ã¼ãã§ããã¨ãã«ã¯
+çµæ¹åãå¤æ´ãããã¨ã¯åºæ¥ãªãï¼
ã¾ãï¼ç¸¦çµä¸ã®æ°å¼å
ã®ããã¯ã¹ã¯\pTeX ã¨åãããã«çµæ¹åã \cs{utod} ã¨ãªãï¼
%
@@ -3240,7 +3262,7 @@ overridden by \LuaTeX-ja, using~\verb+\protected\def+.
%\section{ãã©ã³ãã¡ããªãã¯ã¨åæãã©ã³ã}
%\subsection{\cs{jfont}}
%\subsection{\cs{jfont} å½ä»¤}
-\label{ssec-jfont}
+\label{ssec:jfont}
%<*en>
To load a font as a Japanese font (for horizontal direction), you must use the
@@ -3477,7 +3499,7 @@ because of the compatibility with previous versions of \LuaTeX-ja.
\autoref{fig:kern-jfm}ãåç
§ï¼
\begin{itemize}
\item \emph{\cs{jfont} ãï¼
-NFSS2ç¨ã®å½ä»¤ï¼\ref{ssec-chgfnt}ç¯ï¼\ref{ssec-nfsspat}ç¯ï¼ã«ãããæå®ã§ã¯
+NFSS2ç¨ã®å½ä»¤ï¼\ref{ssec:chgfnt}ç¯ï¼\ref{ssec:nfsspat}ç¯ï¼ã«ãããæå®ã§ã¯
ã«ã¼ãã³ã°æ
å ±ã¯æ¨æºã§ä½¿ç¨ãã}ãã¨ã«ãªã£ã¦ããããã§ããï¼
è¨ãæããã°ï¼ã«ã¼ãã³ã°æ
å ±ã使ç¨ããªãè¨å®ã«ããã«ã¯ï¼é¢åã§ã
\begin{lstlisting}
@@ -3674,7 +3696,7 @@ A font defined by~\cs{tfont} differs the following points from that by~\cs{jfont
}ï¼
\item ããã«ï¼ããããªãscript,~languageã§ã\texttt{vert}ã«ããç½®æãããªããã°ãªã
ã®ãã¡ï¼UAX~\#50ã§``r''ãããã¯``Tr''ã¨æå®ããã¦ãããã®ã¯90度èªåå転ãããï¼
- \item \ref{ssec-math}ç¯ã§è¿°ã¹ãï¼æ°å¼ä¸ã®åæãã©ã³ãã«ã¯ç¸¦çµç¨åæãã©ã³ãã¯æå®ã§ããªãï¼
+ \item \ref{ssec:math}ç¯ã§è¿°ã¹ãï¼æ°å¼ä¸ã®åæãã©ã³ãã«ã¯ç¸¦çµç¨åæãã©ã³ãã¯æå®ã§ããªãï¼
\item \texttt{jfm=}\ ã®é¨åã«ã¯ç¸¦çµç¨JFMãæå®ããï¼
以ä¸ã®ç¸¦çµç¨JFMã\LuaTeX-jaã«ã¯å梱ããã¦ããï¼%ããï¼éãã\autoref{tab-difjfm-tate}ã«ç¤ºããï¼
\begin{description}
@@ -3693,7 +3715,7 @@ A font defined by~\cs{tfont} differs the following points from that by~\cs{jfont
%\subsection{Prefix \texttt{psft}}
%\subsection{\texttt{psft}ããªãã£ãã¯ã¹}
-\label{ssec-psft}
+\label{ssec:psft}
%<*en>
Besides ``\texttt{file:}''\ and ``\texttt{name:}''\ prefixes which
are introduced in the \Pkg{luaotfload} package,
@@ -3796,7 +3818,7 @@ Please contact the LuaTeX-ja project team.
%\subsection{Structure of a JFM file}
%\subsection{JFMãã¡ã¤ã«ã®æ§é }
-\label{ssec-jfm-str}
+\label{ssec:jfm-str}
%A JFM file is a Lua script which has only one function call:
%JFMãã¡ã¤ã«ã¯ãã ä¸ã¤ã®é¢æ°å¼ã³åºããå«ãLuaã¹ã¯ãªããã§ããï¼
\begin{lstlisting}
@@ -4254,7 +4276,7 @@ we specify to $0.25/(0.5+0.25)=1/3$.
\begin{cslist}[style=standard]
\item[priority=]
\Pkg{luatexja-adjust}ã«ããåªå
é ä½ä»ã
- è¡é·èª¿æ´ï¼\ref{ssec-adj}ç¯ï¼ã«ããã¦ï¼ãã®ã°ã«ã¼ã®åªå
度ãæå®ããï¼è¨±ãããå¤ã¯ä»¥ä¸ã®éãï¼
+ è¡é·èª¿æ´ï¼\ref{ssec:adj}ç¯ï¼ã«ããã¦ï¼ãã®ã°ã«ã¼ã®åªå
度ãæå®ããï¼è¨±ãããå¤ã¯ä»¥ä¸ã®éãï¼
\begin{description}
\item[ãã¼ã¸ã§ã³1] $-4$ãã$+3$ã®éã®æ´æ°
\item[ãã¼ã¸ã§ã³2以é] $-4$ãã$+3$ã®éã®æ´æ°ã®2ã¤çµ\texttt{\{, \}}ãï¼
@@ -4303,7 +4325,7 @@ An integer in $[-4,3]$ (treated as 0 if omitted), or
a pair of these integers \texttt{\{, \}} (version 2~or~later).
This is
used only in line adjustment with priority by \Pkg{luatexja-adjust}
-(see Subsection~\ref{ssec-adj}). Higher value means the glue is easy to stretch,
+(see Subsection~\ref{ssec:adj}). Higher value means the glue is easy to stretch,
and is also easy to shrink.
\item[kanjiskip\_natural=\textrm{, }%
kanjiskip\_stretch=\textrm{, }kanjiskip\_shrink=]\leavevmode
@@ -4355,7 +4377,7 @@ Hence we have the following result:
åªå
é ä½ä»ãè¡é·èª¿æ´ãæå¹ã§ããï¼ãã¤ç¾å¨ã®æåã¯ã©ã¹ã®æåã
è¡æ«ã«æ¥ãæã«ï¼ãã®æåã¨è¡æ«ã®éã«ã¯æå®ãããå¤ã®ããããã®å¤§ããã®ã«ã¼ã³ã
- æ¿å
¥ãããï¼\autoref{ssec-adj}åç
§ï¼ï¼
+ æ¿å
¥ãããï¼\autoref{ssec:adj}åç
§ï¼ï¼
ãã¼ã¸ã§ã³1ã«ããã
\begin{lstlisting}[escapechar=\$]
@@ -4581,7 +4603,7 @@ JFMå´ã§ä¸é¨ã®å¯¾å¦ãã§ãããã¨ã«ããï¼\Pkg{jsclasses}ã®ãã
%\subsection{Math font family}
%\subsection{æ°å¼ãã©ã³ããã¡ããª}
-\label{ssec-math}
+\label{ssec:math}
%<*en>
\TeX\ handles fonts in math formulas by 16~font families\footnote{Omega,
@@ -4926,7 +4948,7 @@ Then, the position of glyphs is shifted up by
%\section{Parameters}
%\section{ãã©ã¡ã¼ã¿}
\subsection{\cs{ltjsetparameter}}
-\label{ssec-param}
+\label{ssec:param}
%<*en>
As described before, \cs{ltjsetparameter} and \cs{ltjgetparameter} are
@@ -5156,7 +5178,7 @@ The default glue which inserted between two \textbf{JAchar}s.
Changing current Japanese font does not alter this parameter, as \pTeX.
If the natural width of this parameter is \cs{maxdimen}, \LuaTeX-ja uses
-the value which is specified in the JFM for current Japanese font (See Subsection~\ref{ssec-jfm-str}).
+the value which is specified in the JFM for current Japanese font (See Subsection~\ref{ssec:jfm-str}).
%
\item[\DParam{xkanjiskip}\,=$^\ast$] [\cs{xkanjiskip}]\
@@ -5172,7 +5194,7 @@ The default glue which inserted between a \textbf{JAchar} and an
Changing current font does not alter this parameter, as \pTeX.
As \Param{kanjiskip}, if the natural width of this parameter is \cs{maxdimen}, \LuaTeX-ja uses
-the value which is specified in the JFM for current Japanese font (See Subsection~\ref{ssec-jfm-str}).
+the value which is specified in the JFM for current Japanese font (See Subsection~\ref{ssec:jfm-str}).
%
@@ -5201,7 +5223,7 @@ The default value is \texttt{paverage}. \dots
%
%<*ja>
ããã©ã«ãå¤ã¯ \texttt{paverage} ã§ããï¼
-åã
ã®å¤ã«ããå·®ç°ã®è©³ç´°ã¯\ref{ssec-cluster-wa}ç¯ã®ããå³ç©ºç½ãã®ç®åºããåç
§ãã¦ã»ããï¼
+åã
ã®å¤ã«ããå·®ç°ã®è©³ç´°ã¯\ref{ssec:cluster-wa}ç¯ã®ããå³ç©ºç½ãã®ç®åºããåç
§ãã¦ã»ããï¼
%
\item[\DParam{jacharrange}\,=]
@@ -5227,7 +5249,7 @@ the behavior of this assignment is undefined.
\subsection{\cs{ltjgetparameter}}
-\label{ssec-getpar}
+\label{ssec:getpar}
%<*en>
\cs{ltjgetparameter} is a control sequence for acquiring parameters. It
always takes a parameter name as first argument.
@@ -5697,7 +5719,7 @@ As an example, the example above can be improved as follows:
\subsection{\cs{ltjdeclarealtfont}}
-\label{ssec-altfont}
+\label{ssec:altfont}
%<*en>
Using \cs{ltjdeclarealtfont}, one can ``compose'' more than one Japanese fonts.
This \cs{ltjdeclarealtfont} uses in the following form:
@@ -5766,7 +5788,7 @@ are typeset by \cs{piyo}.
\subsection{\cs{ltjalchar} 㨠\cs{ltjjachar}}
æåã³ã¼ãã$\text{}~(\geq 128=\mathtt{0x80})$ã®æåã
\ \cs{char} ããªããã£ãã使ã \cs{char} ã¨ãã¦åºåãããã¨ï¼
-ãã®æåã®å±ããæåç¯å²ï¼\ref{ssec-setrange}ç¯åç
§ï¼ã«ãã£ã¦
+ãã®æåã®å±ããæåç¯å²ï¼\ref{ssec:setrange}ç¯åç
§ï¼ã«ãã£ã¦
\textbf{ALchar}ã\textbf{JAchar}ãï¼ã¤ã¾ã欧æãã©ã³ãã§åºåããããåæãã©ã³ãã§åºåãã
ããã決ã¾ãï¼
@@ -5777,7 +5799,7 @@ are typeset by \cs{piyo}.
ã127以ä¸ã®å ´åã¯ï¼\cs{ltjjachar} ã§ãã£ã¦ã\textbf{ALchar}ã¨ãã¦åºåããããã¨
ã«æ³¨æï¼
-以ä¸ã¯\ref{ssec-setrange}ç¯ã«è¼ããä¾ã«ï¼\cs{char} ã®åä½ã追å ãããã®ã§ããï¼
+以ä¸ã¯\ref{ssec:setrange}ç¯ã«è¼ããä¾ã«ï¼\cs{char} ã®åä½ã追å ãããã®ã§ããï¼
\begin{LTXexample}[width=0.25\textwidth]
\gtfamily\large % default, ALchar, JAchar
¶, \char`¶, \ltjalchar`¶, \ltjjachar`¶\\ % default: ALchar
@@ -5790,19 +5812,19 @@ are typeset by \cs{piyo}.
%\subsection{Patch for NFSS2}
%\subsection{NFSS2ã¸ã®ããã}
-\label{ssec-nfsspat}
+\label{ssec:nfsspat}
%<*en>
Japanese patch for NFSS2 in \LuaTeX-ja
is based on \texttt{plfonts.dtx} which plays the same role in \pLaTeXe.
We will describe
-commands which are not described in Subsection~\ref{ssec-chgfnt}.
+commands which are not described in Subsection~\ref{ssec:chgfnt}.
%
%<*ja>
\LuaTeX-jaã®NFSS2ã¸ã®æ¥æ¬èªãããã¯
\pLaTeXe ã§åæ§ã®å½¹å²ãæãã \texttt{plfonts.dtx} ããã¼ã¹ã«ï¼
åæã¨ã³ã³ã¼ãã£ã³ã°ã®ç®¡ççãLuaã§æ¸ããªããããã®ã§ããï¼
-ããã§ã¯\ref{ssec-chgfnt}ç¯ã§è¿°ã¹ã¦ããªãã£ãå½ä»¤ã«ã¤ãã¦
+ããã§ã¯\ref{ssec:chgfnt}ç¯ã§è¿°ã¹ã¦ããªãã£ãå½ä»¤ã«ã¤ãã¦
è¨è¿°ãã¦ããï¼
%
@@ -5929,17 +5951,16 @@ assignment, where \cs{DeclareRelationFont} does a global assignment.
\item[\cs{userelfont}]
%<*en>
-Change current alphabetic font encoding/family/\dots\ to the `accompanied' alphabetic
- font family with respect to current Japanese font family,
- which was set by
- \cs{DeclareRelationFont} or \cs{SetRelationFont}.
-Like \cs{fontfamily}, \cs{selectfont} is required to take an effect.
+(Only)~at the next call of \cs{selectfont},
+ change current alphabetic font encoding/family/\dots\ to the `accompanied' alphabetic
+ font family with respect to current Japanese font family,
+ which was set by
+ \cs{DeclareRelationFont} or \cs{SetRelationFont}.
%
%<*ja>
-ç¾å¨ã®æ¬§æãã©ã³ãã®ã¨ã³ã³ã¼ãã£ã³ã°ï¼ãã¡ããªï¼â¦â¦ ãï¼
+次åï¼ã®ã¿ï¼ã®\cs{selectfont}ã®å®è¡æã«ï¼ç¾å¨ã®æ¬§æãã©ã³ãã®ã¨ã³ã³ã¼ãã£ã³ã°ï¼ãã¡ããªï¼â¦â¦ ãï¼
\cs{DeclareRelationFont} ã \cs{SetRelationFont} ã§æå®ããã
ç¾å¨ã®åæãã©ã³ãã«å¯¾å¿ãããå¾å±æ¬§æããã©ã³ãã«å¤æ´ããï¼
-\cs{fontfamily} ã®ããã«ï¼æå¹ã«ããããã«ã¯ \cs{selectfont} ãå¿
è¦ã§ããï¼
%
\item[\cs{adjustbaseline}]
@@ -5980,11 +6001,11 @@ character whose character class is zero, instead of `ã'.
\item[\cs{fontfamily}\{\}]
%<*en>
As in \LaTeXe, this command changes current font family (alphabetic, Japanese,~\emph{or both})
-to . See Subsection~\ref{ssec-fontfamilycmd} for detail.
+to . See Subsection~\ref{ssec:fontfamilycmd} for detail.
%
%<*ja>
å
ã
ã®\LaTeXe ã«ããããã®ã¨åæ§ã«ï¼ãã®ã³ãã³ãã¯ç¾å¨ã®ãã©ã³ããã¡ããªï¼æ¬§æï¼
-åæï¼\emph{ãããã¯ä¸¡æ¹}ï¼ãã«å¤æ´ããï¼è©³ç´°ã¯\ref{ssec-fontfamilycmd}ç¯ãåç
§ãããã¨ï¼
+åæï¼\emph{ãããã¯ä¸¡æ¹}ï¼ãã«å¤æ´ããï¼è©³ç´°ã¯\ref{ssec:fontfamilycmd}ç¯ãåç
§ãããã¨ï¼
%
@@ -6007,7 +6028,7 @@ to . See Subsection~\ref{ssec-fontfamilycmd} for detail.
\item[\cs{DeclareAlternateKanjiFont}\{\}\{\}\{\}\{\}\\
\null\hfill\{\}\{\}\{\}\{\}\{\}]
%<*ja>
-\ref{ssec-altfont}ç¯ã®\
+\ref{ssec:altfont}ç¯ã®\
\cs{ltjdeclarealtfont} ã¨åæ§ã«ï¼ååã®4å¼æ°ã®
åæãã©ã³ãï¼åºåºãã©ã³ãï¼ã®ãã¡ä¸ã®æåã
第5ãã第8å¼æ°ã®åæãã©ã³ãã使ã£ã¦çµãããã«æ示ããï¼
@@ -6027,7 +6048,7 @@ to . See Subsection~\ref{ssec-fontfamilycmd} for detail.
\end{itemize}%
%
%<*en>
-As \cs{ltjdeclarealtfont}~(Subsection~\ref{ssec-altfont}),
+As \cs{ltjdeclarealtfont}~(Subsection~\ref{ssec:altfont}),
characters in of the Japanese font (we say the \emph{base font})
which specified by first 4 arguments are typeset
by the Japanese font which specified by fifth to eighth arguments
@@ -6064,7 +6085,7 @@ Avant Garde (OT1/pag/m/n) ã«å¤ãã£ã¦ãããã¨ããããï¼
%\subsection{Detail of \cs{fontfamily} command}
%\subsection{\cs{fontfamily}ã³ãã³ãã®è©³ç´°}
-\label{ssec-fontfamilycmd}
+\label{ssec:fontfamilycmd}
%<*en>
In this subsection, we describe when \cs{fontfamily} changes current
Japanese/alphabetic font family. Basically, current Japanese fotn family is changed to
@@ -6301,9 +6322,9 @@ by \cs{input}.
\cs{input} ã§èªã¿è¾¼ã¿å¯è½ã§ããï¼
%
\subsection{\Pkg{luatexja-fontspec}}
-\label{ssec-fontspec2}
+\label{ssec:fontspec2}
%<*en>
-As described in Subsection~\ref{ssec-fontspec}, this optional package
+As described in Subsection~\ref{ssec:fontspec}, this optional package
provides the counterparts for several commands defined in the
\Pkg{fontspec} package (requires \Pkg{fontspec}~v2.4).
In addition to OpenType font features in the original \Pkg{fontspec},
@@ -6311,7 +6332,7 @@ the following ``font features'' specifications are allowed for
the commands of Japanese version:
%
%<*ja>
-\ref{ssec-fontspec}ç¯ã§è¿°ã¹ãããã«ï¼ãã®è¿½å ããã±ã¼ã¸ã¯\Pkg{fontspec}%
+\ref{ssec:fontspec}ç¯ã§è¿°ã¹ãããã«ï¼ãã®è¿½å ããã±ã¼ã¸ã¯\Pkg{fontspec}%
ããã±ã¼ã¸ã§å®ç¾©ããã¦ããã³ãã³ãã«å¯¾å¿ããåæãã©ã³ãç¨ã®ã³ãã³ããæä¾ããï¼
\Pkg{fontspec}ããã±ã¼ã¸ã§æå®å¯è½ãªå種OpenTypeæ©è½ã«å ãã¦ï¼åæçã®ã³ãã³ãã«ã¯
@@ -6325,7 +6346,7 @@ the commands of Japanese version:
%<*en>
These 3 keys correspond to \texttt{cid}, \texttt{jfm} and
\texttt{jfmvar} keys for \cs{jfont}~and~\cs{tfont} respectively.
-See Subsections~\ref{ssec-jfont} and \ref{ssec-psft} for details
+See Subsections~\ref{ssec:jfont} and \ref{ssec:psft} for details
of \texttt{cid}, \texttt{jfm} and
\texttt{jfmvar} keys.
@@ -6337,8 +6358,8 @@ will be actually used in \texttt{YokoFeatures}~and~\texttt{TateFeatures} keys.
%<*ja>
ããã3ã¤ã®ãã¼ã¯ãããã \cs{jfont},~\cs{tfont}ã«å¯¾ãã
\texttt{cid}, \texttt{jfm}, \texttt{jfmvar}ãã¼ã¨ãããã対å¿ããï¼
-\texttt{cid}, \texttt{jfm}, \texttt{jfmvar}ãã¼ã®è©³ç´°ã¯\ref{ssec-jfont}ç¯
- ã¨\ref{ssec-psft}ç¯ãåç
§ï¼
+\texttt{cid}, \texttt{jfm}, \texttt{jfmvar}ãã¼ã®è©³ç´°ã¯\ref{ssec:jfont}ç¯
+ ã¨\ref{ssec:psft}ç¯ãåç
§ï¼
\texttt{CID} ãã¼ã¯ä¸ã® \texttt{NoEmbed} ã¨åããã¦ç¨ããããã¨ãã®ã¿æå¹ã§ããï¼
ã¾ãï¼æ¨ªçµç¨JFMã¨ç¸¦çµç¨JFMã¯å
±ç¨ã§ããªãããï¼å®éã« \texttt{JFM} ãã¼ãç¨ããéã¯
@@ -6349,11 +6370,11 @@ will be actually used in \texttt{YokoFeatures}~and~\texttt{TateFeatures} keys.
\item[NoEmbed]
%<*en>
By specifying this key, one can use ``name-only'' Japanese font which
-will not be embedded in the output PDF file. See Subsection~\ref{ssec-psft}.
+will not be embedded in the output PDF file. See Subsection~\ref{ssec:psft}.
%
%<*ja>
ãããæå®ãããã¨ã§ï¼PDFã«åãè¾¼ã¾ããªããååã ããã®ãã©ã³ããæå®ãããã¨ã
-ã§ããï¼\ref{ssec-psft}ç¯ãåç
§ï¼
+ã§ããï¼\ref{ssec:psft}ç¯ãåç
§ï¼
%
\begin{figure}[!tb]
@@ -6425,16 +6446,16 @@ A demonstrarion is shown in \autoref{fig:yokotate-fontspec}.
\item[AltFont]
%<*en>
-As \cs{ltjdeclarealtfont}~(Subsection~\ref{ssec-altfont}) and
-\cs{DeclareAlternateKanjiFont}~(Subsection~\ref{ssec-nfsspat}),
+As \cs{ltjdeclarealtfont}~(Subsection~\ref{ssec:altfont}) and
+\cs{DeclareAlternateKanjiFont}~(Subsection~\ref{ssec:nfsspat}),
with this key, one can typeset some Japanese characters
by a different font and/or using different features.
The \texttt{AltFont} feature takes a comma-separated list of comma-separated lists,
as the following:
%
%<*ja>
-\ref{ssec-altfont}ç¯ã® \cs{ltjdeclarealtfont} ãï¼
-\ref{ssec-nfsspat}ç¯ã® \cs{DeclareAlternateKanjiFont} ã¨åæ§ã«ï¼
+\ref{ssec:altfont}ç¯ã® \cs{ltjdeclarealtfont} ãï¼
+\ref{ssec:nfsspat}ç¯ã® \cs{DeclareAlternateKanjiFont} ã¨åæ§ã«ï¼
ãã®ãã¼ãç¨ããã¨ä¸é¨ã®æåãç°ãªã£ããã©ã³ããæ©è½ãã¡ã使ã£ã¦çµããã¨ãã§ããï¼
\texttt{AltFont} ãã¼ã«æå®ããå¤ã¯ï¼æ¬¡ã®ããã«äºéã®ã³ã³ãåºåããªã¹ãã§ããï¼
%
@@ -6534,7 +6555,7 @@ OpenTypeæ©è½æå®ã¯
\subsection{\Pkg{luatexja-otf}}
-\label{ssec-ltjotf}
+\label{ssec:ltjotf}
%<*en>
This optional package supports typesetting glyphs
by specifying a CID number.
@@ -6640,7 +6661,7 @@ JFMã®\texttt{chars}ãã¼ãã«ã®ã¨ã³ããªã¨ã㦠\verb+'AJ1-xxx'+ ã®å½¢
%
\subsection{\Pkg{luatexja-adjust}}
-\label{ssec-adj}
+\label{ssec:adj}
\begin{figure}[t]
\def\sq{%
\hbox to 1\zw{\hss\fboxsep=-.5\fboxrule\fbox{%