News for hackers. Stuff that matters.
Re:LaTeX Coffee Stains [pdf] (2021) by tcfhgj on Wednesday January 07, 2026 @07:05PM (#46535142)
> but it looks painful to use to place images without knowing exactly where they might end up on a page.

they end up exactly at the specified location?

Re:LaTeX Coffee Stains [pdf] (2021) by antonvs on Wednesday January 07, 2026 @08:16PM (#46535770)
Presumably they're referring to the ability to parameterize the target page size. In that case, absolute coordinates don't work well (if at all).
Re:LaTeX Coffee Stains [pdf] (2021) by philistine on Wednesday January 07, 2026 @11:20PM (#46537153)
Parameterize! That's a new word I didn't know. It adequately describes how I typeset my books, and I must not be alone. The ability to tell LaTeX to drop a picture around here, to the best of its ability, with the possibility of moving it down a paragraph or two if it doesn't fit is vital for me.
Re:LaTeX Coffee Stains [pdf] (2021) by kzrdude on Thursday January 08, 2026 @06:58AM (#46540064)
I think that's a missing feature of Typst yes, to have figures be either "here" or "top next page" automatically, with that priority. It can't do that. The confusing part was that this has nothing to do with the images of this coffee stain package, because they are foreground/background and can be placed freely on the page (any corner or any custom offset from any corner; i.e from top left corner you can use page coordinates).

The coffee stains overlay/underlay text, so no layout problems at all.

Re:LaTeX Coffee Stains [pdf] (2021) by mr_mitm on Thursday January 08, 2026 @02:46AM (#46538426)
But the dx/dy arguments also take percentages besides absolut lengths. I still don't get what the the other poster means by that fundamental limitation. I think they're confused about absolute positioning of background images vs floating figures. But typst has the analog setting of `[htbp]`, so the same "fire and forget" workflow is possible.