This commit is contained in:
Marcel Fabian Krüger 2021-05-30 03:45:14 +02:00
parent ba4b30d49b
commit 87e67e0807

View File

@ -251,7 +251,7 @@ local function noad_to_table(noad, sub, cur_style, mn)
if sub == noad_ord then if sub == noad_ord then
if core and core[0] == 'mo' then if core and core[0] == 'mo' then
core[0] = 'mi' core[0] = 'mi'
core.mathvariant = #core == 1 and type(core[0]) == 'string' and utf8.len(core[0]) == 1 and utf8.codepoint(core[0]) < -0x10000 and 'normal' or nil core.mathvariant = #core == 1 and type(core[1]) == 'string' and utf8.len(core[1]) == 1 and utf8.codepoint(core[1]) < 0x10000 and 'normal' or nil
core['tex:class'], core.stretchy, core.lspace, core.rspace = nil core['tex:class'], core.stretchy, core.lspace, core.rspace = nil
end end
if nucleus == core and #core == 1 then if nucleus == core and #core == 1 then