mirror of
https://github.com/typst/typst
synced 2025-05-13 20:46:23 +08:00
16 lines
425 B
Typst
16 lines
425 B
Typst
#let part = $ a b A B $
|
|
#let kinds = (serif, sans, cal, frak, mono, bb)
|
|
#let modifiers = (v => v, ital, bold, v => ital(bold(v)))
|
|
|
|
#let cells = ([:triangle:nested:], [--], [`ital`], [`bold`], [both])
|
|
#for k in kinds {
|
|
cells.push(raw(repr(k).trim("<function ").trim(">")))
|
|
for m in modifiers {
|
|
cells.push($ #m(#k(part)) $)
|
|
}
|
|
}
|
|
|
|
#set page(width: auto)
|
|
#set align(center)
|
|
#table(columns: 1 + modifiers.len(), ..cells)
|