OSDN Git Service

lltjp-fontspec: adapt fontspec 2.7e, and removed codes for <2.7c
[luatex-ja/luatexja.git] / test / test07-math.tex
index 5aae176..3eba2d9 100644 (file)
@@ -12,9 +12,8 @@
 \paragraph{Unicodeの数式領域}\
 
 標準 $a_i=i,\ i=1, 2, \dots, n$. 
-\ltjdefcharrange{2}{"10000-"1FFFF}% 第1面を欧文扱いに
-\ltjsetparameter{jacharrange={-2}}%
-第1面を欧文扱いに $a_i=i,\ i=1, 2, \dots, n$.
+\ltjsetparameter{jacharrange={-3, -8}}%
+文字範囲3, 8を欧文扱いに $a_i=i,\ i=1, 2, \dots, n$.
 
 \paragraph{和文数式 on \LaTeX}
 数式フォント関連のコマンドは一緒.e.g.\ in \verb+lltjdefs.sty+,
@@ -37,10 +36,28 @@ mathgt: $\mathrm{\mathmc{あa}}\mathmc{あb}\mathgt{あa}$
 \end{itemize}
 
 \bf mathversion bold: {\mathversion{bold}$aあa\mathgt{あa}$}き\\
-二つ目の「あ」は\verb+\mathgt+下だが,明朝なのは本文書の設定通り.
+二つ目の「あ」は\verb+\mathgt+下だが,明朝なのは本文書の設定通り.\\
+アルファベットがなぜか出ない(Lua\TeX-ja非読み込み時でも)が,
+私の環境だけか?
 
 \LaTeX では数式ファミリ番号は欧文と共用→$\the\jfam$
 
+\def\s{\mathchoice{Dあ}{Tあ}{Sあ}{SSあ}}
+\[
+\s {\textstyle \s} {\scriptstyle \s} {\scriptscriptstyle \s}
+\]
 
+
+
+\kanjifamily{mc}\selectfont
+$あいうえおabcde a^\mathrm{b}漢字_{あ}$
+
+mathrm: $\mathrm{あいうえおabcde}$
+
+mathbf: $\mathbf{あいうえおabcde}$
+
+mathmc: $\mathmc{あいうえおabcde}$
+
+mathgt: $\mathgt{あいうえおabcde}$
 \end{document}