I wonder if I am using this correctly. Here is my code
#import "@preview/wrap-it:0.1.1": wrap-content
#let fig = image("t.png")
#let body = lorem(300)
#wrap-content(fig, body , align: right)
But I see a big space below my image (see pdf).
example.pdf
I am also unclear how to set the width of the image. If I try to use that attribute, it only set the image size within the container (see second pdf).
#import "@preview/wrap-it:0.1.1": wrap-content
#let fig = image("t.png", width: 50%)
#let body = lorem(300)
#wrap-content(fig, body , align: right)
example_50%.pdf
I wonder if I am using this correctly. Here is my code
But I see a big space below my image (see pdf).
example.pdf
I am also unclear how to set the width of the image. If I try to use that attribute, it only set the image size within the container (see second pdf).
example_50%.pdf