Skip to content

How to remove space below image? #13

Description

@fabiensanglard

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).

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions