Hi, now with the new floating mechanisms can someone perhaps give me a minimum working example how to have an image at the right side of the document and have text wrap around it? I want to replace this snippet that I currently use which utilises a third party library:
#let text_image_separation=1.2em
#wrap-content(
align: top+right,
column-gutter: 0mm, // disable default space between columns because pushes image to the right outside of text area
columns: (70% - 0.5 * text_image_separation, 30% + 0.5 * text_image_separation), // 0.5*text_image_separation to account for box inset and move empty space into middle
box(
inset: (left: text_image_separation), // distance between text and image
figure(
image("./assets/among_us_twerk.gif"),
caption: [CAPTION],
kind: image,
),
),
[ // text around image
#lorem(100)
],
)