You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature requestNew feature or requestlayoutRelated to the layout category, which is about composing, positioning, etc.visualizeRelated to the visualize category, which is about drawing and illustrating
Right now, an image at the end of a grid column enters the next column. Would it be possible to acheive basic floating with a #float command which moves the target image (or anything else) to the top of the next grid, but continue placing the text in the first column?
It would also be good to have a command which lays the object outside of any current grids, so that a wide image could 'float' to the top or bottom of the next page.
Example of issue:
Reacted by Gregor Sturm, Matthew Schauer, Nicholas Gao, Luca Ferranti, Ximing Wang, Philipp Niedermayer, Alex Sayers, astrale-sharp, Michael Lohr, Mikaël Capelle and 5 more
To be clear, it's on main, so it should be in 0.7. You can try it right now if you compile the cli
I did (typst 0.6.0 (f197a447)), but I still don't know how to use this feature, or even the name of the function. All I can find is the #float function, but that's for converting values to floating-point.
feature requestNew feature or requestlayoutRelated to the layout category, which is about composing, positioning, etc.visualizeRelated to the visualize category, which is about drawing and illustrating
Activity
astrale-sharp commentedon Apr 4, 2023
Is this related to text being able to float around an image as well (wrapping) ?
[-][Feature Request] Basic Floating[/-][+]Basic Floating[/+]giannissc commentedon Apr 5, 2023
I have a more complete proposal for floating on #553
Enivex commentedon Jul 25, 2023
This has recently been implemented, so I'll close this issue.
awillenbuecher-xq-tec commentedon Jul 26, 2023
Could you please give us a link, or a hint how to get floating figures now?
Enivex commentedon Jul 26, 2023
To be clear, it's on main, so it should be in 0.7. You can try it right now if you compile the cli
awillenbuecher-xq-tec commentedon Jul 26, 2023
I did (
typst 0.6.0 (f197a447)), but I still don't know how to use this feature, or even the name of the function. All I can find is the#floatfunction, but that's for converting values to floating-point.Enivex commentedon Jul 26, 2023
See this commit 78f96f8
You can look at the tests to see how it's used.
Obviously there'll be actual documentation once 0.7 is released
awillenbuecher-xq-tec commentedon Jul 26, 2023
Thank you!
As an example for anyone else looking for this feature: