X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=doc%2Fluatexja.dtx;h=7b73c3f3b1cbeb9e085b5bf404e4364e30b09ee3;hb=cd6c052eda6cf9534e1919ce5be10c90ed31b8b5;hp=84e383c6869ea6ea4569b2375b004067a0d028bd;hpb=0421dbb98350a890e5f3cdaa7c5bfb9903c3ec95;p=luatex-ja%2Fluatexja.git
diff --git a/doc/luatexja.dtx b/doc/luatexja.dtx
index 84e383c..7b73c3f 100644
--- a/doc/luatexja.dtx
+++ b/doc/luatexja.dtx
@@ -1,6 +1,11 @@
%<*!showexpl>
%#! lualatex -shell-escape
+% To typeset this manual, you need following two fonts:
+% - KozMinPr6N-Regular.otf
+% - KozGoPr6N-Medium.otf
+
+
%\documentclass[a4paper,titlepage]{article}
%\documentclass[a4paper,titlepage]{ltjsarticle}
@@ -27,6 +32,10 @@
\usepackage[margin=25mm,footskip=6mm]{geometry}
\usepackage{luatexja-adjust}\ltjdisableadjust
\parskip=\smallskipamount
+\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
+ {3.25ex \@plus1ex \@minus.2ex}%
+ {-1em}%
+ {\normalfont\normalsize\bfseries\raisebox{.2ex}{$\mdlgblksquare\mkern1mu$}}}
%
%<*ja>
\usepackage[textwidth=45\zw, lines=45, footskip=6mm]{geometry}
@@ -80,12 +89,12 @@
%%%%%%%% fonts
\usepackage{luatexja-otf}
-\usepackage[jis2004]{luatexja-preset}
+\usepackage[kozuka-pr6n]{luatexja-preset}
%\usepackage{amssymb}
%<*en>
\usepackage{unicode-math}
\setmainfont[Ligatures=TeX]{TeX Gyre Termes}
-\setsansfont[Ligatures=TeX]{TeX Gyre Heros}
+\setsansfont[Scale=0.95,Ligatures=TeX]{TeX Gyre Heros}
\setmathfont{xits-math.otf}
\frenchspacing
%
@@ -143,7 +152,7 @@
%<*en>
\textbf{This documentation is far from complete. It may have many
grammatical (and contextual) errors.} Also, several parts
-(especially, Section~\ref{sec-jfmglue}) are written in Japanese only.
+are written in Japanese only.
%
%<*ja>
\textbf{\large æ¬ããã¥ã¡ã³ãã¯ã¾ã ã¾ã æªå®æã§ãï¼}
@@ -223,6 +232,7 @@ scripts for appropriate callbacks.
%\subsection{Major Changes from \pTeX}
%\subsection{\pTeX ããã®ä¸»ãªå¤æ´ç¹}
+\label{ssec:chgptex}
%<*en>
The \LuaTeX-ja package is under much influence of \pTeX\ engine. The initial
@@ -249,15 +259,13 @@ The followings are major changes from \pTeX:
\begin{itemize}
%<*en>
\item A Japanese font is a tuple of a `real' font, a Japanese font
- metric (\textbf{JFM}, for short), and an optional string called
- `variation'.
+ metric (\textbf{JFM}, for short).
%
%<*ja>
\item åæãã©ã³ãã¯ï¼å°å¡ææï¼IPAææãªã©ã®ï¼å®éã®ãã©ã³ãï¼åæãã©ã³
ãã¡ããªãã¯ï¼JFMã¨å¼ã¶\footnote{æ··ä¹±ãé²ãããï¼p\TeX ã®æå³ã§ã®
JFM (\texttt{min10.tfm}) ãªã©ã¯æ¬ããã¥ã¡ã³ãã§ã¯\textbf{åæç¨
- TFM}ã¨ãã¶ãã¨ã«ããï¼}ï¼ï¼ããã¦`variation'ã¨å¼ã°ããæååã®çµã§
- ããï¼
+ TFM}ã¨ãã¶ãã¨ã«ããï¼}ï¼ã®çµã§ããï¼
%
%<*en>
@@ -316,7 +324,7 @@ The followings are major changes from \pTeX:
使ããã¦ããããã¤ãã®æ¹æ³ã¯ç¨ãããã¨ãã§ããªãï¼å
·ä½çã«ã¯ï¼æ¬¡ã®æ¹æ³ã¯ãã¯ãç¡å¹ã§ããï¼}
%
\begin{verbatim}
-ããã¡ã{}ã£ã¨ããã¡ã\/ã£ã¨
+\hskip2\zw ã¡ã{}ã£ã¨\hskip2\zw ã¡ã\/ã£ã¨
\end{verbatim}
%<*en>
If you want to do so, please put an empty hbox between it instead:
@@ -325,16 +333,16 @@ The followings are major changes from \pTeX:
ããåããã¨ããããããã°ï¼ç©ºã®æ°´å¹³ããã¯ã¹ãéã«æãã°ããï¼
%
\begin{verbatim}
-ããã¡ã\hbox{}ã£ã¨
+\hskip2\zw ã¡ã\hbox{}ã£ã¨
\end{verbatim}
%<*en>
\item In the process, two Japanese fonts which only differ in their `real'
- fonts are identified.
+ fonts are identified.
%
%<*ja>
-\item å¦çä¸ã§ã¯ï¼2ã¤ã®åæãã©ã³ãã¯ï¼ãå®éã®ããã©ã³ãã®ã¿ãç°ãªãå ´åã«åä¸è¦
+\item å¦çä¸ã§ã¯ï¼2ã¤ã®åæãã©ã³ãã¯ï¼ãå®éã®ããã©ã³ããç°ãªãã ãã®å ´åã«ã¯åä¸è¦
ãããï¼
%
\end{itemize}
@@ -664,11 +672,11 @@ But only the contents in \texttt{src/} are needed to work \LuaTeX-ja.
%
\begin{itemize}
%<*en>
-\item It is widely accepted that the font `Ryumin-Light' and
+\item It is widely accepted that fonts `Ryumin-Light' and
`GothicBBB-Medium' aren't embedded into PDF files, and a PDF reader
substitute them by some external Japanese fonts (\textit{e.g.},
- Kozuka Mincho is used for Ryumin-Light in Adobe Reader). We adopt this custom to
- the default setting.
+ Ryumin-Light is substituted with Kozuka Mincho in Adobe Reader).
+ We adopt this custom to the default setting.
%
%<*ja>
\item `Ryumin-Light'ã¨`GothicBBB-Medium'ã¯PDFãã¡ã¤ã«ã«åãè¾¼ã¾ãã«
@@ -744,22 +752,46 @@ When vertical typesetting is supported by \LuaTeX-ja in the future, \texttt{JT3}
%
%<*en>
-\item Two font families \texttt{mc} and \texttt{gt} are defined:
+\item Traditionally, Japanese documents use two typeface category: \emph{mincho}~(ææä½) and
+ \emph{gothic}~(\textgt{ã´ã·ãã¯ä½}). \emph{mincho} is used in the main text, while \emph{gothic}
+ is used in the headings or for emphasis.
+\begin{center}\small
+\begin{tabular}{lllc}
+\toprule
+\textbf{classification}&&&\textbf{family name}\\\midrule
+\emph{mincho} (ææä½)&\verb+\textmc{...}+&\verb+{\mcfamily ...}+&\verb+\mcdefault+\\
+\emph{gothic} (\textgt{ã´ã·ãã¯ä½})&\verb+\textgt{...}+&\verb+{\gtfamily ...}+&\verb+\gtdefault+\\
+\bottomrule
+\end{tabular}
+\end{center}
+\item
+By default, the following fonts are used for \emph{mincho} and \emph{gothic}:
\begin{center}\small
\begin{tabular}{ccccc}
\toprule
-\textbf{classification}&\textbf{family}&\verb+\mdseries+&\verb+\bfseries+&\textbf{scale}\\\midrule
-\emph{mincho}&\tt mc&Ryumin-Light &GothicBBB-Medium&0.962216\\
-\emph{gothic}&\tt gt&GothicBBB-Medium&GothicBBB-Medium&0.962216\\
+\textbf{classification}&\textbf{family name}&\verb+\mdseries+&\verb+\bfseries+&\textbf{scale}\\\midrule
+\emph{mincho} (ææä½)&\tt mc&Ryumin-Light &GothicBBB-Medium&0.962216\\
+\emph{gothic} (\textgt{ã´ã·ãã¯ä½})&\tt gt&GothicBBB-Medium&GothicBBB-Medium&0.962216\\
\bottomrule
\end{tabular}
\end{center}
-Remark that the bold series in both family are same as the medium series of \emph{gothic} family.
-This is a convention in \pLaTeX. This is a trace that there were only 2~fonts (these are Ryumin-Light
-and GothicBBB-Medium) in early years of DTP.
+Note that the bold series in both family are same as the medium series of \emph{gothic} family.
+This is a convention in \pLaTeX. This is trace that there were only 2~fonts (these are Ryumin-Light
+and GothicBBB-Medium) in early years of DTP. There is no italic nor slanted shape for
+ these \texttt{mc}~and~\texttt{gt}.
%
%<*ja>
-\item 2ã¤ã®ãã©ã³ããã¡ããª\texttt{mc}ã¨\texttt{gt}ãå®ç¾©ããã¦ããï¼
+\item \pLaTeX ã¨åæ§ã«ï¼æ¨æºã§ã¯ãææä½ããã´ã·ãã¯ä½ãã®2種é¡ãç¨ããï¼
+\begin{center}\small
+\begin{tabular}{cllc}
+\toprule
+\textbf{åä½}&&&\textbf{ãã¡ããªå}\\\midrule
+ææä½&\verb+\textmc{...}+&\verb+{\mcfamily ...}+&\verb+\mcdefault+\\
+\textgt{ã´ã·ãã¯ä½}&\verb+\textgt{...}+&\verb+{\gtfamily ...}+&\verb+\gtdefault+\\
+\bottomrule
+\end{tabular}
+\end{center}
+\item æ¨æºã§ã¯ï¼æ¬¡ã®ãã©ã³ããã¡ããªãç¨ããããï¼
\begin{center}\small
\begin{tabular}{ccccc}
\toprule
@@ -769,14 +801,16 @@ and GothicBBB-Medium) in early years of DTP.
\bottomrule
\end{tabular}
\end{center}
-ã©ã¡ãã®ãã¡ããªã«ããã¦ãï¼ãã®boldã·ãªã¼ãºã¯ã´ã·ãã¯ä½ã®mediumã·ãªã¼ãºã§
-ãããã¨ã«æ³¨æï¼ããã¯åæã®DTPã«ããã¦åæãã©ã³ãã2ã¤ï¼ãããã¡ããã©\
+ã©ã¡ãã®ãã¡ããªã«ããã¦ãï¼ãã®boldã·ãªã¼ãºã§ä½¿ããããã©ã³ãã¯
+ã´ã·ãã¯ä½ã®mediumã·ãªã¼ãºã§ä½¿ããããã©ã³ãã¨åããããã¨ã«æ³¨æï¼
+ããã¯åæã®DTPã«ããã¦åæãã©ã³ãã2ã¤ï¼ãããã¡ããã©\
Ryumin-Light, GothicBBB-Mediumã ã£ãï¼ããå©ç¨ã§ããªãã£ãæã®åæ®ã§ããï¼\pLaTeX{}
ã§ã®æ¨æºè¨å®ã¨ãåãã§ããï¼
%
+
%\item Japanese characters in math mode are typeset by the font family \texttt{mc}.
-%\item æ°å¼ã¢ã¼ãä¸ã®åææåã¯\texttt{mc}ãã¡ããªã§åºåãããï¼
+%\item æ°å¼ã¢ã¼ãä¸ã®åææåã¯ææä½(\texttt{mc})ã§åºåãããï¼
\end{itemize}
%<*en>
@@ -822,17 +856,6 @@ For \LaTeXe, \LuaTeX-ja adopted most of the font selection system of \pLaTeXe\ (
%
\begin{itemize}
%<*en>
-\item Two control sequences \verb+\mcdefault+ and \verb+\gtdefault+ are
- used to specify the default font families for \emph{mincho} and
- \emph{gothic}, respectively. Default values: \texttt{mc} for
- \verb+\mcdefault+ and \texttt{gt} for \verb+\gtdefault+.
-%
-%<*ja>
-\item 2ã¤ã®ã³ã³ããã¼ã«ã·ã¼ã±ã³ã¹ \verb+\mcdefault+ 㨠\verb+\gtdefault+ ãããã
- ãææä½ã¨ã´ã·ãã¯ä½ã®ããã©ã«ãã®ãã©ã³ããã¡ããªãæå®ããããã«ç¨ããããï¼
- åæå¤ï¼\verb+\mcdefault+ ã¯\texttt{mc}ï¼\verb+\gtdefault+ ã¯\texttt{gt}ï¼
-%
-%<*en>
\item Commands \verb+\fontfamily+, \verb+\fontseries+,
\verb+\fontshape+ and \verb+\selectfont+ can be used to change
attributes of Japanese fonts.
@@ -1031,12 +1054,12 @@ alphabetic fonts
\end{tabular}
\end{center}
%
-\begin{LTXexample}
+\begin{LTXexample}[width=0.4\textwidth]
\fontspec[Numbers=OldStyle]{LMSans10-Regular}
\jfontspec{IPAexMincho}
JIS~X~0213:2004âè¾»
-\addjfontfeatures{CJKShape=JIS1990}
+\jfontspec[CJKShape=JIS1990]{IPAexMincho}
JIS~X~0208:1990âè¾»
\end{LTXexample}
@@ -1074,14 +1097,27 @@ and loads \Pkg{luatexja-fontspec} internally.
%\paragraph{General options}
%\paragraph{ä¸è¬çãªãªãã·ã§ã³}
\begin{list}{}{\def\makelabel{\ttfamily}\def\{{\char`\{}\def\}{\char`\}}\advance\leftmargin1\zw}
+\item[nodeluxe]
+%<*en>
+Use one-weighted \textit{mincho} and \textit{gothic} font families.
+This means that \verb+\mcfamily\bfseries+, \verb+\gtfamily\bfseries+ and
+\verb+\gtfamily\mdseries+ use the same font.
+\emph{This option is enabled by default.}
+%
+%<*ja>
+\LaTeXe ç°å¢ä¸ã§ã®æ¨æºè¨å®ã®ããã«ï¼ææä½ã»ã´ã·ãã¯ä½ãå1ã¦ã§ã¤ãã§ä½¿ç¨ããï¼
+ããå
·ä½çã«è¨ãã¨ï¼ãã®è¨å®ã®ä¸ã§ã¯
+\verb+\mcfamily\bfseries+, \verb+\gtfamily\bfseries+, \verb+\gtfamily\mdseries+ã¯
+ã¿ãªåããã©ã³ãã¨ãªãï¼\emph{ãã®ãªãã·ã§ã³ã¯æ¨æºã§æå¹ã«ãªã£ã¦ããï¼}
+%
\item[deluxe]
%<*en>
-Specifying this option enables us to use \textit{mincho} with two weights (medium~and~bold),
+Use \textit{mincho} with two weights (medium~and~bold),
\textit{gothic} with three weights (medium,~bold and~heavy), and \textit{rounded gothic}%
\footnote{Provided by \texttt{\char92mgfamily},
because \textit{rounded gothic} is called \textit{maru gothic} (丸ã´ã·ãã¯) in Japanese.}.
-The heavy weight of \textit{gothic} can be used by ``changing the family'' \verb+\gtebfamily+.
-This is because \Pkg{fontspec} package can handle only medium (\verb+\mdseries+) and
+The heavy weight of \textit{gothic} can be used by ``changing the family'' \verb+\gtebfamily+,
+because \Pkg{fontspec} package can handle only medium (\verb+\mdseries+) and
bold (\verb+\bfseries+).
%
%<*ja>
@@ -1116,6 +1152,16 @@ Use the JFM \texttt{jfm-jis.lua}, instead of \texttt{jfm-ujis.lua}, which is the
\LuaTeX-jaæ¨æºã®\texttt{jfm-ujis.lua}ãç¨ããããï¼
%
\end{list}
+%<*en>
+Note that \texttt{90jis} and \texttt{jis2004} only affect with \textit{mincho},
+\textit{gothic} (and possibly \textit{rounded gothic}) defined by this package.
+We didn't taken accound of when both \texttt{90jis} and \texttt{jis2004} are specified.
+%
+%<*ja>
+\texttt{90jis}ã¨\texttt{jis2004}ã«ã¤ãã¦ã¯æ¬ããã±ã¼ã¸ã§å®ç¾©ããã
+ææä½ã»ã´ã·ãã¯ä½ï¼ã»ä¸¸ã´ã·ãã¯ä½ï¼ã«ã®ã¿æå¹ã§ããï¼ä¸¡ãªãã·ã§ã³ã
+åæã«æå®ãããå ´åã«åä½ã«ã¤ãã¦ã¯å
¨ãèæ
®ãã¦ããªãï¼
+%
%\paragraph{Kozuka fonts}
%\paragraph{å°å¡ãã©ã³ã}
@@ -1126,7 +1172,8 @@ as a substitute for \textit{rounded gothic}.
%<*ja>
丸ã´ã·ãã¯ä½ã¯ãªãã®ã§ä¾¿å®ä¸å°å¡ã´ã·ãã¯Hã§ä»£ç¨ãã¦ããï¼
%
-\begin{center}\small
+\par\nobreak\medskip
+{\centering\small
\begin{tabular}{llll}
\toprule
&\tt kozuka-pro&\tt kozuka-pr6&\tt kozuka-pr6n\\
@@ -1149,29 +1196,29 @@ as a substitute for \textit{rounded gothic}.
&Kozuka Gothic Pro H&Kozuka Gothic ProVI H&Kozuka Gothic Pr6N H\\
%
%<*ja>
-\gt ææä½ç´°å&å°å¡ææPro~R&å°å¡ææProVI~R&å°å¡ææPr6N~R\\
-\gt ææä½å¤ªå&å°å¡ææPro~B&å°å¡ææProVI~B&å°å¡ææPr6N~B\\
+\gtfamily ææä½ç´°å&å°å¡ææPro~R&å°å¡ææProVI~R&å°å¡ææPr6N~R\\
+\gtfamily ææä½å¤ªå&å°å¡ææPro~B&å°å¡ææProVI~B&å°å¡ææPr6N~B\\
\midrule
-\gt ã´ã·ãã¯ä½ç´°å\\
+\gtfamily ã´ã·ãã¯ä½ç´°å\\
ãåã¦ã§ã¤ãæ
&å°å¡ã´ã·ãã¯Pro~M&å°å¡ã´ã·ãã¯ProVI~M&å°å¡ã´ã·ãã¯Pr6N~M\\
ãå¤ã¦ã§ã¤ãæ
&å°å¡ã´ã·ãã¯Pro~R&å°å¡ã´ã·ãã¯ProVI~R&å°å¡ã´ã·ãã¯Pr6N~R\\
\midrule
-\gt ã´ã·ãã¯ä½å¤ªå
+\gtfamily ã´ã·ãã¯ä½å¤ªå
&å°å¡ã´ã·ãã¯Pro~B&å°å¡ã´ã·ãã¯ProVI~B&å°å¡ã´ã·ãã¯Pr6N~B\\
-\gt ã´ã·ãã¯ä½æ¥µå¤ª
+\gtfamily ã´ã·ãã¯ä½æ¥µå¤ª
&å°å¡ã´ã·ãã¯Pro~H&å°å¡ã´ã·ãã¯ProVI~H&å°å¡ã´ã·ãã¯Pr6N~H\\
\inhibitglueï¼ä¸¸ã´ã·ãã¯ä½ï¼\inhibitglue
&å°å¡ã´ã·ãã¯Pro~H&å°å¡ã´ã·ãã¯ProVI~H&å°å¡ã´ã·ãã¯Pr6N~H\\
%
\bottomrule
-\end{tabular}
-\end{center}
+\end{tabular}\par\medskip}
%\paragraph{Hiragino and Morisawa}\
%\paragraph{ãã©ã®ãã»ã¢ãªãµã¯}\
-\begin{center}\small
+\par\nobreak\medskip
+{\centering\small
\begin{tabular}{lll}
\toprule
&\tt hiragino-pro&\tt hiragino-pron\\
@@ -1196,22 +1243,22 @@ Hiragino Kaku Gothic Std W8&Hiragino Kaku Gothic StdN W8\\
Hiragino Maru Gothic Pro W4&Hiragino Maru Gothic ProN W4\\
%
%<*ja>
-\gt ææä½ç´°å&
+\gtfamily ææä½ç´°å&
ãã©ã®ãææä½Pro~W3&ãã©ã®ãææä½Pr6N~W3\\
-\gt ææä½å¤ªå&
+\gtfamily ææä½å¤ªå&
ãã©ã®ãææä½Pro~W6&ãã©ã®ãææä½Pr6N~W6\\
\midrule
-\gt ã´ã·ãã¯ä½ç´°ç´°å\\
+\gtfamily ã´ã·ãã¯ä½ç´°ç´°å\\
ãåã¦ã§ã¤ãæ
&ãã©ã®ãè§ã´Pro~W6&ãã©ã®ãè§ã´ProN~W6\\
ãå¤ã¦ã§ã¤ãæ
&ãã©ã®ãè§ã´Pro~W3&ãã©ã®ãè§ã´ProN~W3\\
\midrule
-\gt ã´ã·ãã¯ä½å¤ªå&
+\gtfamily ã´ã·ãã¯ä½å¤ªå&
ãã©ã®ãè§ã´Pro~W6&ãã©ã®ãè§ã´ProN~W6\\
-\gt ã´ã·ãã¯ä½æ¥µå¤ª&
+\gtfamily ã´ã·ãã¯ä½æ¥µå¤ª&
ãã©ã®ãè§ã´Std~W8&ãã©ã®ãè§ã´StdN~W8\\
-\gt 丸ã´ã·ãã¯ä½&
+\gtfamily 丸ã´ã·ãã¯ä½&
ãã©ã®ã丸ã´Pro~W4&ãã©ã®ã丸ã´ProN~W4\\
%
\midrule
@@ -1233,22 +1280,21 @@ Midashi Go Pro MB31&Midashi Go Pr6N MB31\\
Jun Pro 101&Jun Pr6N 101\\
%
%<*ja>
-\gt ææä½ç´°å&
+\gtfamily ææä½ç´°å&
ãªã¥ã¦ãã³Pro~L-KL&ãªã¥ã¦ãã³Pr6N~L-KL\\
-\gt ææä½å¤ªå&
+\gtfamily ææä½å¤ªå&
太ãã³A101~Pro~Bold&太ãã³A101~Pr6N~Bold\\
-\gt ã´ã·ãã¯ä½ç´°å&
+\gtfamily ã´ã·ãã¯ä½ç´°å&
ä¸ã´ã·ãã¯BBB~Pro~Med&ä¸ã´ã·ãã¯BBB~Pr6N~Med\\
-\gt ã´ã·ãã¯ä½å¤ªå&
+\gtfamily ã´ã·ãã¯ä½å¤ªå&
太ã´B101~Pro~Bold&太ã´B101~Pr6N~Bold\\
-\gt ã´ã·ãã¯ä½æ¥µå¤ª&
+\gtfamily ã´ã·ãã¯ä½æ¥µå¤ª&
è¦åºã´Pro~MB31&è¦åºã´Pr6N~MB31\\
-\gt 丸ã´ã·ãã¯ä½&
+\gtfamily 丸ã´ã·ãã¯ä½&
ãã
ãPro 101&ãã
ãPr6N 101\\
%
\bottomrule
-\end{tabular}
-\end{center}
+\end{tabular}\par\medskip}
%\paragraph{Settings for single weight}
%\paragraph{åã¦ã§ã¤ãç¨è¨å®}
@@ -1256,13 +1302,14 @@ Jun Pro 101&Jun Pr6N 101\\
Next, we describe settings for using only single weight.
In four settings below, we use same fonts for medium and bold (and heavy) weights.
(Hence \verb+\mcfamily\bfseries+ and \verb+\mcfamily\mdseries+ yields same Japanese fonts,
-if \texttt{deluxe} option is also specified).
+even if \texttt{deluxe} option is also specified).
%
%<*ja>
次ã«ï¼åã¦ã§ã¤ãç¨ã®è¨å®ãè¿°ã¹ãï¼ãã®4è¨å®ã§ã¯ãç´°åãã太åãã®åºå¥ã¯ãªãï¼
ã¾ãï¼ä¸¸ã´ã·ãã¯ä½ã¯ã´ã·ãã¯ä½ã¨åããã©ã³ããç¨ããï¼
%
-\begin{center}\small
+\par\nobreak\medskip
+{\centering\small
\begin{tabular}{lllll}
\toprule
&\tt noembed&\tt ipa&\tt ipaex&\tt ms\\
@@ -1274,14 +1321,13 @@ if \texttt{deluxe} option is also specified).
&IPAGothic&IPAexGothic&MS Gothic\\
%
%<*ja>
-\gt ææä½&Ryumin-Lightï¼éåè¾¼ï¼
+\gtfamily ææä½&Ryumin-Lightï¼éåè¾¼ï¼
&IPAææ&IPAexææ&MSææ\\
-\gt ã´ã·ãã¯ä½&GothicBBB-Mediumï¼éåè¾¼ï¼
+\gtfamily ã´ã·ãã¯ä½&GothicBBB-Mediumï¼éåè¾¼ï¼
&IPAã´ã·ãã¯&IPAexã´ã·ãã¯&MSã´ã·ãã¯\\
%
\bottomrule
-\end{tabular}
-\end{center}
+\end{tabular}\par\medskip}
%\paragraph{Using HG fonts}
%\paragraph{HGãã©ã³ãã®å©ç¨}
@@ -1292,7 +1338,8 @@ We can use HG~fonts bundled with Microsoft Office for realizing multiple weights
ããåã«æ¸ããåã¦ã§ã¤ãç¨è¨å®ãï¼Microsoft Officeçã«ä»å±ããHGãã©ã³ãã使ã£ã¦
å¤ã¦ã§ã¤ãåããè¨å®ãããï¼
%
-\begin{center}\small
+\par\nobreak\medskip
+{\centering\small
\begin{tabular}{llll}
\toprule
&\tt ipa-hg&\tt ipaex-hg&\tt ms-hg\\
@@ -1318,11 +1365,11 @@ We can use HG~fonts bundled with Microsoft Office for realizing multiple weights
\multicolumn{3}{c}{HG Maru Gothic PRO}\\
%
%<*ja>
-\gt ææä½ç´°å
+\gtfamily ææä½ç´°å
&IPAææ&IPAexææ&MSææ\\\midrule
-\gt ææä½å¤ªå&
+\gtfamily ææä½å¤ªå&
\multicolumn{3}{c}{HGææE}\\\midrule
-\gt ã´ã·ãã¯ä½ç´°å\\
+\gtfamily ã´ã·ãã¯ä½ç´°å\\
ãåã¦ã§ã¤ãæ
&IPAã´ã·ãã¯&IPAexã´ã·ãã¯&MSã´ã·ãã¯\\
ã{\tt jis2004}æå®æ
@@ -1330,16 +1377,16 @@ We can use HG~fonts bundled with Microsoft Office for realizing multiple weights
\cmidrule(lr){1-4}
ããã以å¤ã®æ&
\multicolumn{3}{c}{HGã´ã·ãã¯M}\\\midrule
-\gt ã´ã·ãã¯ä½å¤ªå&
+\gtfamily ã´ã·ãã¯ä½å¤ªå&
\multicolumn{3}{c}{HGã´ã·ãã¯E}\\\midrule
-\gt ã´ã·ãã¯ä½æ¥µå¤ª&
+\gtfamily ã´ã·ãã¯ä½æ¥µå¤ª&
\multicolumn{3}{c}{HGåµè±è§ã´ã·ãã¯UB}\\\midrule
-\gt 丸ã´ã·ãã¯ä½&
+\gtfamily 丸ã´ã·ãã¯ä½&
\multicolumn{3}{c}{HG丸ã´ã·ãã¯ä½PRO}\\
%
\bottomrule
-\end{tabular}
-\end{center}
+\end{tabular}\par\medskip}
+
%<*en>
Note that HG~Mincho~E, HG~Gothic~E, HG Soei Kaku Gothic UB and HG Maru Gothic PRO
are internally specified by:
@@ -1642,8 +1689,8 @@ This range consist of the following Unicode ranges, \emph{except characters in t
\begin{lstlisting}
\ltjdefcharrange{4}{%
"500-"10FF, "1200-"1DFF, "2440-"245F, "27C0-"28FF, "2A00-"2AFF,
- "2C00-"2E7F, "4DC0-"4DFF, "A4D0-"A82F, "A840-"ABFF, "FB50-"FE0F,
- "FE20-"FE2F, "FE70-"FEFF, "FB00-"FB4F, "10000-"1FFFF, "E000-"F8FF} % non-Japanese
+ "2C00-"2E7F, "4DC0-"4DFF, "A4D0-"A82F, "A840-"ABFF, "FB00-"FE0F,
+ "FE20-"FE2F, "FE70-"FEFF, "10000-"1FFFF, "E000-"F8FF} % non-Japanese
\end{lstlisting}
%\item[Range~5${}^{\text{A}}$] Surrogates and Supplementary Private Use Areas.
%\item[ç¯å²5${}^{\text{A}}$] 代ç¨ç¬¦å·ã¨è£å©ç§ç¨é åï¼
@@ -1914,10 +1961,10 @@ so TrueType/OpenType fonts with features can be used for Japanese fonts:
TrueType/OpenTypeãã©ã³ãã«featureãæå®ãããã®ãåæãã©ã³ãã¨ãã¦ç¨ãã
ãã¨ãã§ããï¼
%
-\begin{LTXexample}
-\jfont\tradgt={file:ipaexg.ttf:script=latn;%
+\begin{LTXexample}[width=0.3\textwidth]
+\jfont\tradgt={file:KozMinPr6N-Regular.otf:script=latn;%
+trad;-kern;jfm=ujis} at 14pt
-\tradgt{}å½ï¼ä½ï¼å»ï¼åº
+\tradgt å½ï¼ä½ï¼å»ï¼åº
\end{LTXexample}
%<*en>
@@ -1959,9 +2006,7 @@ The following JFMs are shipped with \LuaTeX-ja:
%
%<*ja>
JFMã®ååãæå®ããï¼ãã以åã«æå®ãããJFMãèªã¿è¾¼ã¾ãã¦ããªããã°ï¼
-\texttt{jfm-.lua}ãèªã¿è¾¼ãï¼
-
-以ä¸ã®JFMã\LuaTeX-jaã«ã¯å梱ããã¦ããï¼
+\texttt{jfm-.lua}ãèªã¿è¾¼ãï¼ä»¥ä¸ã®JFMã\LuaTeX-jaã«ã¯å梱ããã¦ããï¼
%
\begin{description}
%<*en>
@@ -2001,7 +2046,24 @@ JFMã®ååãæå®ããï¼ãã以åã«æå®ãããJFMãèªã¿è¾¼ã¾
%
\end{description}
+%<*en>
\item[jfmvar=] Sometimes there is a need that \ldots.
+%
+%<*ja>
+\item[jfmvar=] æ¨æºã§ã¯ï¼JFMã¨ãµã¤ãºãåãã§ï¼
+ å®ãã©ã³ãã ããç°ãªã2ã¤ã®åæãã©ã³ãã¯â¦â¦
+%
+\begin{LTXexample}[width=0.3\textwidth]
+\ltjsetparameter{differentjfm=both}
+\jfont\F=file:KozMinPr6N-Regular.otf:jfm=ujis
+\jfont\G=file:KozGoPr6N-Medium.otf:jfm=ujis
+\jfont\H=file:KozGoPr6N-Medium.otf:jfm=ujis;jfmvar=hoge
+
+\F ï¼{\G ãã}ï¼ % halfwidth space
+ ï¼{\H ãã}ï¼ % fullwidth space
+
+\ltjsetparameter{differentjfm=paverage}
+\end{LTXexample}
\end{list}
\begin{table}[t]
@@ -2010,13 +2072,13 @@ JFMã®ååãæå®ããï¼ãã以åã«æå®ãããJFMãèªã¿è¾¼ã¾
\label{tab-difjfm}
\ltjsetparameter{jacharrange={+3}}
\begin{center}\small
-\def\r#1{{\jfont\g=psft:Ryumin-Light:jfm=#1 at 14.43324pt \g
+\def\r#1{{\jfont\g=file:KozMinPr6N-Regular.otf:jfm=#1 at 14.43324pt \g
\setbox0=\vtop{\hsize=7\zw\noindent âââââââ
ããæ¥ã¢ã¢ã¡ãããã使ãã§è¿·åã«ãªã£ã¦æ³£ãã¾ããï¼}\copy0
\vrule height 0pt depth \dp0}}
-\def\s#1{{\jfont\g=psft:Ryumin-Light:jfm=#1 at 14.43324pt \g
+\def\s#1{{\jfont\g=file:KozMinPr6N-Regular.otf:jfm=#1 at 14.43324pt \g
\setbox0=\vtop{\hsize=7\zw\noindent ã¡ãã£ã¨ï¼ä½}\copy0}}
-\def\t#1{{\jfont\g=psft:Ryumin-Light:jfm=#1 at 19.24432pt \g
+\def\t#1{{\jfont\g=file:KozMinPr6N-Regular.otf:jfm=#1 at 19.24432pt \g
\setbox0=\hbox{æ¼¢}%
\vrule width 0.4pt height\ht0 depth\dp0\kern-.2pt\copy0
\kern-\wd0\vrule width\wd0height .2pt depth .2pt
@@ -2080,6 +2142,40 @@ TODO: kanjiskip?
\end{itemize}
+%<*ja>
+\paragraph{\texttt{extend}ã¨\texttt{slant}}
+OpenType font featureã¨è¦ããä¸åããããªå½¢å¼ã§æå®ã§ãããã®ã«ï¼
+\begin{description}
+\item[\texttt{extend=}] 横æ¹åã«åæ¡å¤§ããï¼
+\item[\texttt{slant=}] ã«æå®ãããå²åã ãå¾ããï¼
+\end{description}
+ã®2ã¤ãããï¼
+\texttt{extend}ã\texttt{slant}ãæå®ããå ´åã¯ï¼ããã«å¿ããJFMãæå®ãã¹ãã§ãã%
+\footnote{\LuaTeX-jaã§ã¯ï¼ãããã«å¯¾ããJFMãç¹ã«æä¾ãããã¨ã¯ããªãäºå®ã§ããï¼}ï¼
+ä¾ãã°ï¼æ¬¡ã®ä¾ã§ã¯ç¡çããé常ã®JFMã使ã£ã¦ããããã«ï¼æåééãã¤ã¿ãªãã¯è£æ£éã
+æ£ãããªãï¼
+%
+%<*en>
+\paragraph{\texttt{extend} and \texttt{slant}}
+The following setting can be specified as OpenType font features:
+\begin{description}
+\item[\texttt{extend=}] expand the font horizontally by .
+\item[\texttt{slant=}] slant the font.
+\end{description}
+Note that \LuaTeX-ja doesn't adjust JFMs by these \texttt{extend} and \texttt{slant}
+settings; you have to write new JFMs on purpose.
+For example, the following example uses the standard JFM \texttt{jfm-ujis.lua}, hence
+letter-spacing and the width of italic correction are not correct:
+%
+\begin{LTXexample}[width=0.3\textwidth]
+\jfont\E=file:KozMinPr6N-Regular.otf:extend=1.5;jfm=ujis
+\E ããããã
+
+\jfont\S=file:KozMinPr6N-Regular.otf:slant=1;jfm=ujis
+\S ããã\/ABC
+\end{LTXexample}
+
+
%\subsection{Prefix \texttt{psft}}
%\subsection{\texttt{psft}ããªãã£ãã¯ã¹}
\label{ssec-psft}
@@ -2090,9 +2186,12 @@ to specify a `name-only' Japanese font which
will not be embedded to PDF. Typical use of this prefix is to specify
the `standard' Japanese fonts, namely, `Ryumin-Light' and
`GothicBBB-Medium'.
+
\emph{OpenType font features, such as `{\tt +jp90}',
have no meaning in `name-only' fonts using this `{\tt psft:}'\ prefix.
This is because we can't expect what fonts are actually used by the PDF reader.}
+Note that \texttt{extend}~and~\texttt{slant} settings (see~above) are supported
+with \texttt{psft} prefix, because they are only simple linear transformations.
%
%<*ja>
\texttt{file:} 㨠\texttt{name:} ã®ããªãã£ãã¯ã¹ã«å ãã¦ï¼
@@ -2101,8 +2200,13 @@ This is because we can't expect what fonts are actually used by the PDF reader.}
ãã®ããªãã£ãã¯ã¹ãç¨ãããã¨ã§ï¼PDFã«ã¯åãè¾¼ã¾ããªããååã ãã®ã
åæãã©ã³ããæå®ãããã¨ãã§ããï¼ãæ¨æºçãªãåæãã©ã³ãï¼
ã¤ã¾ã`Ryumin-Light'ã¨`GothicBBB-Medium'ã®æå®ã§ãã®ããªãã£ãã¯ã¹ã使ãããï¼
-\textbf{éåè¾¼ãã©ã³ããPDFã«ä½¿ç¨ããã¨ï¼å®éã«ã©ã®ãããªãã©ã³ãã表示ã«ç¨ãããããäºæ¸¬ã§ããªãï¼
-æ¬ããªãã£ãã¯ã¹æå®æã«ã¯ï¼\texttt{+jp90} ãªã©ã®OpenType font featureã®å¹åã¯ãªãï¼}
+
+\textbf{\texttt{psft}ããªãã£ãã¯ã¹ã®ä¸ã§ã¯
+\texttt{+jp90} ãªã©ã®OpenType font featureã®å¹åã¯ãªãï¼
+éåè¾¼ãã©ã³ããPDFã«ä½¿ç¨ããã¨ï¼å®éã«ã©ã®ãããªãã©ã³ãã
+表示ã«ç¨ãããããäºæ¸¬ã§ããªãããã§ããï¼}
+\texttt{extend}ã¨\texttt{slant}æå®ã¯åãªãå¤å½¢ã®ãã
+\texttt{psft}ããªãã£ãã¯ã¹ã§ã使ç¨å¯è½ã§ããï¼
%
%\paragraph{\texttt{cid} key}
@@ -2114,15 +2218,6 @@ The default font defined by using \texttt{psft:} prefix is for Japanese typesett
it is Adobe-Japan1-6 CID-keyed font.
One can specify \texttt{cid} key to use other CID-keyed non-embedded fonts
for Chinese or Korean typesetting.
-\begin{lstlisting}[numbers=left]
-\jfont\testJ={psft:Ryumin-Light:cid=Adobe-Japan1-6;jfm=jis} % Japanese
-\jfont\testD={psft:Ryumin-Light:jfm=jis} % default value is Adobe-Japan1-6
-\jfont\testC={psft:AdobeMingStd-Light:cid=Adobe-CNS1-5;jfm=jis} % Traditional Chinese
-\jfont\testG={psft:SimSun:cid=Adobe-GB1-5;jfm=jis} % Simplified Chinese
-\jfont\testK={psft:Batang:cid=Adobe-Korea1-2;jfm=jis} % Korean
-\end{lstlisting}
-Note that the code above specifies \texttt{jfm-jis.lua}, which is for Japanese fonts,
-as JFM for Chinese and Korean fonts.
%
%<*ja>
æ¨æºã§\texttt{psft:}ããªãã£ãã¯ã¹ã§å®ç¾©ããããã©ã³ãã¯æ¥æ¬èªç¨ã®ãã®ã§
@@ -2131,13 +2226,19 @@ as JFM for Chinese and Korean fonts.
ã®å¯¾å¿ãå¿
è¦ã¨ãªã£ãï¼ãã®ããã«è¿½å ãããã®ã\texttt{cid}ãã¼ã§ããï¼
\texttt{cid}ãã¼ã«å¤ãæå®ããã¨ï¼ãã®CIDãæã£ãéåè¾¼ãã©ã³ããå®ç¾©ãããã¨ãã§ããï¼
+%
\begin{lstlisting}[numbers=left]
-\jfont\testJ={psft:Ryumin-Light:cid=Adobe-Japan1-6;jfm=jis} % æ¥æ¬èª
-\jfont\testD={psft:Ryumin-Light:jfm=jis} % ç¡æå®æ㯠Adobe-Japan1-6
-\jfont\testC={psft:AdobeMingStd-Light:cid=Adobe-CNS1-5;jfm=jis} % ä¸å½èªç¹ä½å
-\jfont\testG={psft:SimSun:cid=Adobe-GB1-5;jfm=jis} % ä¸å½èªç°¡ä½å
-\jfont\testK={psft:Batang:cid=Adobe-Korea1-2;jfm=jis} % éå½èª
+\jfont\testJ={psft:Ryumin-Light:cid=Adobe-Japan1-6;jfm=jis} % Japanese
+\jfont\testD={psft:Ryumin-Light:jfm=jis} % default value is Adobe-Japan1-6
+\jfont\testC={psft:AdobeMingStd-Light:cid=Adobe-CNS1-6;jfm=jis} % Traditional Chinese
+\jfont\testG={psft:SimSun:cid=Adobe-GB1-5;jfm=jis} % Simplified Chinese
+\jfont\testK={psft:Batang:cid=Adobe-Korea1-2;jfm=jis} % Korean
\end{lstlisting}
+%<*en>
+Note that the code above specifies \texttt{jfm-jis.lua}, which is for Japanese fonts,
+as JFM for Chinese and Korean fonts.
+%
+%<*ja>
ä¸ã®ã³ã¼ãã§ã¯ä¸å½èªã»éå½èªç¨ãã©ã³ãã«å¯¾ãã¦ãJFMã«
æ¥æ¬èªç¨ã®\texttt{jfm-jis.lua}ãæå®ãã¦ããã®ã§æ³¨æããããï¼
%
@@ -2174,40 +2275,6 @@ Please contact the LuaTeX-ja project team.
?
\end{lstlisting}
-%<*ja>
-\paragraph{\texttt{extend}ã¨\texttt{slant}}
-OpenType font featureã¨è¦ããä¸åããããªå½¢å¼ã§æå®ã§ãããã®ã«ï¼
-\begin{description}
-\item[\texttt{extend=}] 横æ¹åã«åæ¡å¤§ããï¼
-\item[\texttt{slant=}] ã«æå®ãããå²åã ãå¾ããï¼
-\end{description}
-ã®2ã¤ãããï¼ãããã ãã¯\texttt{psft}ããªãã£ãã¯ã¹ã§ã使ç¨å¯è½ã«ãã¦ããï¼
-\texttt{extend}ã\texttt{slant}ãæå®ããå ´åã¯ï¼ããã«å¿ããJFMãæå®ãã¹ãã§ãã%
-\footnote{\LuaTeX-jaã§ã¯ï¼ãããã«å¯¾ããJFMãç¹ã«æä¾ãããã¨ã¯ããªãäºå®ã§ããï¼}ï¼
-ä¾ãã°ï¼æ¬¡ã®ä¾ã§ã¯ç¡çããé常ã®JFMã使ã£ã¦ããããã«ï¼æåééãã¤ã¿ãªãã¯è£æ£éã
-æ£ãããªãï¼
-%
-%<*en>
-\paragraph{\texttt{extend} and \texttt{slant}}
-The following setting can be specified as OpenType font features:
-\begin{description}
-\item[\texttt{extend=}] expand the font horizontally by .
-\item[\texttt{slant=}] slant the font.
-\end{description}
-These two settings are also supported with \texttt{psft} prefix.
-Note that \LuaTeX-ja doesn't adjust JFMs by these \texttt{extend} and \texttt{slant}
-settings; you have to write new JFMs on purpose.
-For example, the following example uses the standard JFM \texttt{jfm-ujis.lua}, hence
-letter-spacing and the width of italic correction are not correct:
-%
-\begin{LTXexample}[width=0.3\textwidth]
-\jfont\E=psft:Ryumin-Light:extend=1.5;jfm=ujis
-\E ããããã
-
-\jfont\S=psft:Ryumin-Light:slant=1;jfm=ujis
-\S ããã\/ABC
-\end{LTXexample}
-
%\subsection{Structure of JFM file}
%\subsection{JFMãã¡ã¤ã«ã®æ§é }
@@ -2553,7 +2620,7 @@ Furthermore, the glyph is shifted according to values of fields
\end{lstlisting}
å¥ç¹ãããã®å¹
ã¯äºåã§ããã®ã§
\begin{LTXexample}
-\jfont\a=psft:Ryumin-Light:jfm=test;+vert
+\jfont\a=file:KozMinPr6N-Regular.otf:jfm=test;+vert
\setbox0\hbox{\a ã\inhibitglue æ¼¢}
\the\wd0
\end{LTXexample}
@@ -2568,8 +2635,8 @@ Furthermore, the glyph is shifted according to values of fields
ä¸æ¹ï¼ã\texttt{'ã*'}ãã®ããã«ã¢ã¹ã¿ãªã¹ã¯ã¤ãã®æå®ãããã¨ï¼
ç¶æ³ã¯ç°ãªã£ã¦ããï¼
-\begin{LTXexample}
-\jfont\a=psft:Ryumin-Light:jfm=test;+vert
+\begin{LTXexample}[width=0.3\textwidth]
+\jfont\a=file:KozMinPr6N-Regular.otf:jfm=test;+vert
\a æ¼¢ã\inhibitglue æ¼¢
\end{LTXexample}
ããã§ï¼èªç¹ãããã®æåã¯ã©ã¹ã¯ï¼ä»¥ä¸ã®ããã«ãã¦æ±ºã¾ãï¼
@@ -2582,8 +2649,8 @@ Furthermore, the glyph is shifted according to values of fields
\end{enumerate}
ãªãï¼ç½®æå¾ã®ã°ãªãã§å¤å®ããæåã¯ã©ã¹ã®å¤ã0ã§ãªããã°ï¼ãã¡ãããã®ã¾ã¾ä½ç¨ããï¼
-\begin{LTXexample}
-\jfont\a=psft:Ryumin-Light:jfm=test;+hwid
+\begin{LTXexample}[width=0.3\textwidth]
+\jfont\a=file:KozMinPr6N-Regular.otf:jfm=test;+hwid
\a æ¼¢ï¾ã²
\end{LTXexample}
ä¸ã®ä¾ã§ã¯ï¼
@@ -2672,7 +2739,7 @@ The following is the list of `imaginary characters':
\texttt{'parbdd'}ãå
¥ããã°å
¨è§ä¸ããã¨ãªãï¼
\begin{LTXexample}
-\jfont\g=psft:Ryumin-Light:jfm=test \g
+\jfont\g=file:KozMinPr6N-Regular.otf:jfm=test \g
\parindent1\zw\noindent{}âââââ
\par ãâââäºåä¸ãã
\par ãâââå
¨è§ä¸ãã
@@ -3282,7 +3349,7 @@ the beginning of a box and `ã', and also between `ã' and `ã¦'.
%
\begin{LTXexample}
-\jfont\g=psft:Ryumin-Light:jfm=test \g
+\jfont\g=file:KozMinPr6N-Regular.otf:jfm=test \g
\fbox{\hbox{ãã¦ã\inhibitglue ã¦}}
\inhibitglue\par\noindent ã1
\par\inhibitglue\noindent ã2
@@ -3517,9 +3584,10 @@ As closing this subsection, we shall introduce an example of
ç´¹ä»ãã¦ãããï¼\verb+\userelfont+ ã®ä½¿ç¨ã«ãã£ã¦ï¼ãabcãã®é¨åã®ãã©ã³ãã
Avant Garde (OT1/pag/m/n) ã«å¤ãã£ã¦ãããã¨ããããï¼
%
-\begin{LTXexample}
-\kanjifamily{gt}\selectfont ãããxyz
-\SetRelationFont{JY3}{gt}{m}{n}{OT1}{pag}{m}{n}
+\begin{LTXexample}[width=0.3\textwidth]
+\makeatletter
+\SetRelationFont{JY3}{\k@family}{m}{n}{OT1}{pag}{m}{n}
+ % \k@family: current Japanese font family
\userelfont\selectfont ãããabc
\end{LTXexample}
@@ -5409,7 +5477,7 @@ Each character is printed as follows:
åæåã¯
%
\begin{center}
-\tt\fboxsep=1pt\fbox{\hbox to \zw{\gt ã\hss}}\,\scriptsize LUP
+\tt\fboxsep=1pt\fbox{\hbox to \zw{\gtfamily ã\hss}}\,\scriptsize LUP
\end{center}
%<*ja>
ã®ããã«è¡¨ç¤ºãã¦ããï¼åæåã¯æ¬¡ã®æå³ãæã£ã¦ããï¼
@@ -5775,7 +5843,7 @@ JIS~X~0208ã«ãªããã\pTeX ã§ã¯ä½¿ç¨ä¸è½ã¨èãã¦è¯ããã®ã§ã
\ifnum\ltjgetparameter{jacharrange}{\ltjgetparameter{chartorange}{\cntB}}=0
\def\@@@tmp{white}\else\def\@@@tmp{white!85!blue}\fi
\fcolorbox{black}{\@@@tmp}{%
- \hbox to \zw{\gt ã\hskip-\zw\ltjjachar\cntB ã\hss}}\,\scriptsize%
+ \hbox to \zw{\gtfamily ã\hskip-\zw\ltjjachar\cntB ã\hss}}\,\scriptsize%
\ifnum\catcode\cntB=11 L\else\ \fi
\chk@in@{\uplist}{\cntA}\ifnum\flag=1 U\else~\fi
\chk@in@{\plist}{\cntA}\ifnum\flag=1 P\else~\fi
@@ -5784,7 +5852,7 @@ JIS~X~0208ã«ãªããã\pTeX ã§ã¯ä½¿ç¨ä¸è½ã¨èãã¦è¯ããã®ã§ã
\ifnum\ltjgetparameter{jacharrange}{\ltjgetparameter{chartorange}{\cntB}}=0
\def\@@@tmp{white}\else\def\@@@tmp{white!85!blue}\fi
\fcolorbox{black}{\@@@tmp}{\color{red!50!black}%
- \hbox to \zw{\gt ã\hskip-\zw\ltjjachar\cntB ã\hss}}\,\scriptsize%
+ \hbox to \zw{\gtfamily ã\hskip-\zw\ltjjachar\cntB ã\hss}}\,\scriptsize%
\ifnum\catcode\cntB=11 L\else~\fi
\chk@in@{\uplist}{\cntA}\ifnum\flag=1 U\else~\fi-%
\fi\global\advance\cntA1 }