JKQtPlotter/math_fonts/xits/test-suite/sscript.cld
2015-08-02 15:16:05 +02:00

18 lines
445 B
Plaintext

local format, lower = string.format, string.lower
local alpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
local styles = { "it", "bi", "rm", "bf" }
context.environment({"xits-env"})
context.starttext()
for c in alpha:gmatch"." do
for _,i in next, styles do
context.math(format([[\math%s{%s^1_1}\kern5pt]], i, c))
context.math(format([[\math%s{%s^1_1}\kern5pt]], i, lower(c)))
end
context.blank({"big"})
end
context.stoptext()