Fix default mathcode assignments

This commit is contained in:
Marcel Krüger 2020-06-15 03:49:45 +02:00
parent 06e5dce213
commit f4d068e1f3

View File

@ -244,3 +244,11 @@ token.luacmd("Umathcodenum", function(_, scanning)
end end
end, "force", "global", "value") end, "force", "global", "value")
for i=0x30,0x39 do
tex.setmathcode(i, 7, 0, i)
end
for i=0x41,0x5A do
tex.setmathcode(i, 7, 1, i)
tex.setmathcode(i+0x20, 7, 1, i+0x20)
end