#Box fits badly around content
10 messages · Page 1 of 1 (latest)
Yes, you can use a block-level equation instead.
?render
#box(stroke: black)[$ sum $]
see the bottom-edge and top-edge properties of https://typst.app/docs/reference/text/text/
10 messages · Page 1 of 1 (latest)
Why is it that boxes are bad at fitting their content?
?render
#box(stroke: black)[+]
Yes, you can use a block-level equation instead.
?render
#box(stroke: black)[$ sum $]
see the bottom-edge and top-edge properties of https://typst.app/docs/reference/text/text/