play/typst/labels.typ

30 lines
550 B
Plaintext
Raw Normal View History

2024-05-23 04:50:19 +00:00
#{
set page(width: 3.5in, height: 1.125in, margin: 0em)
set par(leading: 0.2em)
let labels(contents) = {
for (idx, content) in contents.enumerate() {
if idx != 0 {
pagebreak()
}
place(
top + left,
dx: 12mm,
dy: 0in,
block(
width: 3.5in - 12mm,
height: 1in,
align(
center + horizon,
text(
font: "Bahnschrift",
size: 70pt,
content + "Ω"))))
}
}
labels((
"82", "27k"
))
}