リビジョン | 69726d92a0eec47be5c695f0f8713adf8ec31471 (tree) |
---|---|
日時 | 2011-11-19 14:52:30 |
作者 | Hironori Kitagawa <h_kitagawa2001@yaho...> |
コミッター | Hironori Kitagawa |
Fixed math.lua.
@@ -60,6 +60,7 @@ local function conv_jchar_to_hbox(head, sty) | ||
60 | 60 | p.sub = conv_jchar_to_hbox_A(p.sub, sty + 1) |
61 | 61 | p.sup = conv_jchar_to_hbox_A(p.sup, sty + 1) |
62 | 62 | elseif p.id == id_choice then |
63 | + p.display = conv_jchar_to_hbox(p.display, 0) | |
63 | 64 | p.text = conv_jchar_to_hbox(p.text, 0) |
64 | 65 | p.script = conv_jchar_to_hbox(p.script, 1) |
65 | 66 | p.scriptscript = conv_jchar_to_hbox(p.scriptscript, 2) |
@@ -125,4 +126,4 @@ luatexbase.add_to_callback('mlist_to_hlist', | ||
125 | 126 | local head = conv_jchar_to_hbox(n, 0); |
126 | 127 | head = node.mlist_to_hlist(head, display_type, penalties) |
127 | 128 | return head |
128 | - end,'ltj.mlist_to_hlist', 1) | |
\ No newline at end of file | ||
129 | + end,'ltj.mlist_to_hlist', 1) |
@@ -42,6 +42,10 @@ mathgt: $\mathrm{\mathmc{あa}}\mathmc{あb}\mathgt{あa}$ | ||
42 | 42 | |
43 | 43 | \LaTeX では数式ファミリ番号は欧文と共用→$\the\jfam$ |
44 | 44 | |
45 | +\def\s{\mathchoice{Dあ}{Tあ}{Sあ}{SSあ}} | |
46 | +\[ | |
47 | +\s {\textstyle \s} {\scriptstyle \s} {\scriptscriptstyle \s} | |
48 | +\] | |
45 | 49 | |
46 | 50 | \end{document} |
47 | 51 |