blob: 5f82e91503b70deaff6136ebe0b8e0fa4b5c4654 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
--- measure ---
// Test `measure`.
#let f(lo, hi) = context {
let h = measure[Hello].height
assert(h > lo)
assert(h < hi)
}
#text(10pt, f(6pt, 8pt))
#text(20pt, f(13pt, 14pt))
|