2 % lltjp-unicode-math.sty
5 \NeedsTeXFormat{LaTeX2e}
6 \ProvidesPackage{lltjp-unicode-math}[2013/05/14 Patch to unicode-math for LuaTeX-ja]
8 \RequirePackage{unicode-math,luatexja}
13 \cs_gset:Npn \um_cs_set_eq_active_char:Nw #1 = "#2 \q_nil {%"
15 %\typeout {um: \string#1, \int_from_hexadecimal:n {#2}} <- for debug
16 \char_set_lccode:nn { `! } { "#2 }
18 \tl_set:Nn \l_tmpa_tl {\relax\ifmmode!\else{\directlua{tex.globaldefs = 0}\ltj@allalchar!}\fi}
19 \cs_gset_eq:NN #1 \l_tmpa_tl
21 \ltjsetmathletter{ \int_from_hexadecimal:n {#2} }