LaTeX-like figure placement in Typst #8801
Replies: 5 comments 2 replies
-
Regarding the option for positioning, Typst support is at its beginning (within Pandoc and Quarto). Regarding the "float" part of your question, it's unrelated to Quarto. |
Beta Was this translation helpful? Give feedback.
-
I wonder if this is still a limitation of Typst
|
Beta Was this translation helpful? Give feedback.
-
I see - more of a Typst issue than a Quarto one! As a total Typst newbie, I thought having access to the "placement" arg through Quarto would be the fix, but perhaps this wouldn't do what I'm after after all!
|
Beta Was this translation helpful? Give feedback.
-
I have experimented a bit with
but this seems to have no effect - I think that for manuscript preparation (and conference papers), having figures that float in a sensical way is important, so I'm keen to help experiment on this some more! |
Beta Was this translation helpful? Give feedback.
-
I'm not using quarto, but have been experimenting with this syntax:
My pandoc filter will add the placement attribute to the Figure, but it appears that Pandoc ignores that in the final typst output. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In Typst via Quarto, is it possible to do the equivalent of LaTeX figures being [b]/[t]?
LaTeX is very good at being able to just put a figure somewhere sensible near enough to where you've put it in the source code, but without leaving a load of whitespace in the document.
I've found Typst in quarto is, by default, a lot more like Word, where if your plot is a bit too big it'll be nudged onto the next page, leaving a big gap at the bottom of the previous one. Ideally I'd want the text after the figure to flow into that gap, which to me is nicer typesetting.
Can this be done in Typst?
Beta Was this translation helpful? Give feedback.
All reactions