In the following code, the measurement of the image is reported to be (width: 0pt, height: 0pt)
when using ratios for sizes. I can understand why, as the variable k
might be reused in a different context where it could be a different size. How can I get the size of one use of the image? I’ve tried using label
s, moving around where context
is used, and trying things with additional variables inside context
, all to no avail.
#let k = image("1.png", width: 100%)
#context [
#k
#measure(k)
]