JKQtPlotter/math_fonts/xits/test-suite/sscript.cld

18 lines
445 B
Plaintext
Raw Normal View History

2015-08-02 21:16:05 +08:00
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()