logoalt Hacker News

philistinelast Wednesday at 8:21 PM1 replyview on HN

That package still has the core limitation of Typst: images can only be placed top-middle-bottom and left-centre-right. Typst still has yet to support arbitrarily placed images.


Replies

doeriglast Wednesday at 8:46 PM

You mean absolutely positioning it? You can do that with the place function and displacing it with dx/dy from the origin (https://typst.app/docs/reference/layout/place). Example: #place(top + left, dy: 2cm, dx: 4cm, image("image.png"))

show 1 reply