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. This means that
- without the \cs{fontspec} (and~\Pkg{luatexja-fontspec}) package, these characters are not typeset correctly.
+such as \P~and~\S, are now typeset in alphabetic fonts.
+If you are using \LaTeXe\ prior to 2017/01/01, these characters are not typeset correctly
+without the \cs{fontspec} (and~\Pkg{luatexja-fontspec}) package.
%</en>
%<*ja>
\paragraph{ギリシャ文字・キリル文字とISO~8859-1の記号}
詳しい説明は\ref{ssec-setrange}節を参照してほしい.
また,\P,~\S といったISO~8859-1の上位領域とJIS~X~0208の共通部分の文字は
- 20150906.0版から標準で欧文扱いとなり,\emph{ソース中に直接記述しても
- \Pkg{fontspec}パッケージ(および\Pkg{luatexja-fontspec}パッケージ)非読み込みの状態では出力されなくなった}.
- 和文扱いで出力するには \verb+\ltjjachar`§+ のように \cs{ltjjachar} 命令
- を使えばよい.
+ 20150906.0版から標準で欧文扱いとなった.\LaTeXe\ 2017/01/01以降では
+標準でTUエンコーディングのLatin Modernフォントが使われるので,
+特に何もせずソース中にそのまま記述してもこれらの文字が出力される
+\footnote{\LaTeXe\ 2017/01/01より前では,ソース中に直接記述しても
+ \Pkg{fontspec}パッケージ(および\Pkg{luatexja-fontspec}パッケージ)非読み込みの状態では出力されない.}.
+和文扱いで出力するには \verb+\ltjjachar`§+ のように \cs{ltjjachar} 命令
+を使えばよい.
%</ja>
%<en>\subsection{Notations}
\end{tabular}
\end{center}
-%<ja>\newpage
-
\item[morisawa-pro] Morisawa Pro (Adobe-Japan1-4) fonts.
%<en> \\*[-\dimexpr\medskipamount+\baselineskip\relax]
\item[morisawa-pr6n] Morisawa Pr6N (Adobe-Japan1-6, JIS04-savvy) fonts.
\item[yu-win] Yu fonts bundled with Windows~8.1.
%<en> \\*[-\dimexpr\medskipamount+\baselineskip\relax]
+ \item[yu-win10] Yu fonts bundled with Windows~10.
+%<en> \\*[-\dimexpr\medskipamount+\baselineskip\relax]
\item[yu-osx] Yu fonts bundled with OSX~Mavericks.
\begin{center}\small
-\begin{tabular}{clll}
+\begin{tabular}{cllll}
\toprule
-\bf family&\bf series&\tt yu-win&\tt yu-osx\\
+\bf family&\bf series&\texttt{yu-win}&\texttt{yu-win10}&\texttt{yu-osx}\\
\midrule
- &medium&YuMincho-Regular&YuMincho~Medium\\
+ &medium&YuMincho-Regular&YuMincho-Regular&YuMincho~Medium\\
%<en>\smash{\raisebox{1.5ex}{\textit{mincho}}}%
%<ja>\smash{\raisebox{1.5ex}{\gt 明朝}}%
- &bold&YuMincho-Demibold&YuMincho~Demibold\\
+ &bold&YuMincho-Demibold&YuMincho-Demibold&YuMincho~Demibold\\
\midrule
- &&YuGothic-Regular*&YuGothic~Medium*\\
- &\smash{\raisebox{1.5ex}{medium}}
- &YuGothic-Bold&YuGothic~Bold\\
-\cmidrule(l){2-4}
+ &&YuGothic-Regular*&YuGothic-Regular*&YuGothic~Medium*\\
+ &\smash{\raisebox{1.5ex}{medium}}%
+ &YuGothic-Regular&YuGothic-Medium&YuGothic~Medium\\
+\cmidrule(l){2-5}
%<en>\textit{gothic}%
%<ja>\gt ゴシック
- &bold&YuGothic-Bold&YuGothic~Bold\\
- &heavy&YuGothic-Bold&YuGothic~Bold\\
+ &bold&YuGothic-Bold&YuGothic-Bold&YuGothic~Bold\\
+ &heavy&YuGothic-Bold&YuGothic-Bold&YuGothic~Bold\\
\midrule
%<en>\textit{rounded gothic}
%<ja>\gt 丸ゴシック
-&&YuGothic-Bold&YuGothic~Bold\\
+&&YuGothic-Bold&YuGothic-Bold&YuGothic~Bold\\
\bottomrule
\end{tabular}
\end{center}
%<en>\newpage
\item[moga-mobo] MogaMincho, MogaGothic, and MoboGothic.
+\item[moga-mobo-ex] MogaExMincho, MogaExGothic, and MoboExGothic.
%<en>These fonts can be downloaded from\\\hfill \url{http://yozvox.web.fc2.com/}.
%<ja>これらのフォントは \url{http://yozvox.web.fc2.com/} からダウンロードできる.
-
\begin{center}\small
\begin{tabular}{clll}
\toprule
%<ja>\smash{\raisebox{1.5ex}{\gt 明朝}}%
&bold&Moga90Mincho Bold&MogaMincho Bold\\
\midrule
- &&Moga90Gothic*&MogaGothic*\\
- &\smash{\raisebox{1.5ex}{medium}}
- &Moga90Gothic Bold&MogaGothic Bold\\
-\cmidrule(l){2-4}
+ &medium&Moga90Gothic&MogaGothic\\
%<en>\textit{gothic}%
%<ja>\gt ゴシック
&bold&Moga90Gothic Bold&MogaGothic Bold\\
\bottomrule
\end{tabular}
\end{center}
-
-
+%<en>When \texttt{moga-mobo-ex} is specified, the font ``MogaEx90Mincho'' etc.\ are used.
+%<ja>\texttt{moga-mobo-ex}オプション指定時にはMogaEx90MinchoなどのExが名前についたフォントが使われる.
\end{cslist}
%<en>\paragraph{Presets for single weight}
%<ja>\paragraph{単ウェイト用プリセット一覧}
% luatexja-preset.sty
-\ProvidesPackage{luatexja-preset}[2016/01/30 Japanese font presets]
+\ProvidesPackage{luatexja-preset}[2017/01/23 Japanese font presets]
\RequirePackage{expl3,l3keys2e}
\RequirePackage{luatexja}
\ltjpreset_declare_option:nn{yu-win}{
\ltjpreset_set_multi:n {
YuMincho-Regular , YuMincho-Demibold , % mc/m, mc/bx
- YuGothic-Regular , YuGothic-Bold , % gt/m, gt/bx (multiweight))
+ YuGothic-Regular , YuGothic-Regular , % gt/m, gt/bx (multiweight))
+ YuGothic-Bold , YuGothic-Bold , % gt/m (uni), gt/eb
+ YuGothic-Bold % mg/m
+ }
+}
+% Win10
+\ltjpreset_declare_option:nn{yu-win10}{
+ \ltjpreset_set_multi:n {
+ YuMincho-Regular , YuMincho-Demibold , % mc/m, mc/bx
+ YuGothic-Medium , YuGothic-Regular , % gt/m, gt/bx (multiweight))
YuGothic-Bold , YuGothic-Bold , % gt/m (uni), gt/eb
YuGothic-Bold % mg/m
}
\ltjpreset_declare_option:nn{yu-osx}{
\ltjpreset_set_multi:n {
YuMincho~Medium , YuMincho~Demibold , % mc/m, mc/bx
- YuGothic~Medium , YuGothic~Bold , % gt/m, gt/bx (multiweight))
+ YuGothic~Medium , YuGothic~Medium , % gt/m, gt/bx (multiweight))
YuGothic~Bold , YuGothic~Bold , % gt/m (uni), gt/eb
YuGothic~Bold % mg/m
}
\ltjpreset_declare_option:nn{moga-mobo}{
\ltjpreset_set_multi:n {
Moga90Mincho, Moga90Mincho~Bold , % mc/m, mc/bx
- Moga90Gothic, Moga90Gothic~Bold , % gt/m, gt/bx (multiweight))
+ Moga90Gothic, Moga90Gothic, % gt/m, gt/bx (multiweight))
Moga90Gothic~Bold, Moga90Gothic~Bold, % gt/m (uni), gt/eb
Mobo90Gothic % mg/m
}
}
+\ltjpreset_declare_option:nn{moga-mobo-ex}{
+ \ltjpreset_set_multi:n {
+ MogaEx90Mincho, MogaEx90Mincho~Bold , % mc/m, mc/bx
+ MogaEx90Gothic, MogaEx90Gothic, % gt/m, gt/bx (multiweight))
+ MogaEx90Gothic~Bold, MogaEx90Gothic~Bold, % gt/m (uni), gt/eb
+ MoboEx90Gothic % mg/m
+ }
+}
% ipa, ipaex, ms
\tl_remove_all:Nn \l_ltjpreset_font_list {90}
\tl_clear:N \l_ltjpreset_kanji_shape_tl
}
+ \clist_if_in:NnT \l_ltjpreset_font_list { MogaEx90Mincho }
+ {
+ \tl_remove_all:Nn \l_ltjpreset_font_list {90}
+ \tl_clear:N \l_ltjpreset_kanji_shape_tl
+ }
}{
\tl_set:Nn \l_tmpa_tl {, CJKShape=JIS1990 }
\tl_if_eq:NNT \l_ltjpreset_kanji_shape_tl \l_tmpa_tl {