#8299·typst

Add grid flow direction

Author: DiegovskyCreated May 16, 2026Updated Sep 17, 2026
Labelsfeature requestlayout

Description

Currently, grids always flow row-first:

For some kinds of lists, it makes sense to flow column-first, like a list of names.

CSS's grids have a property called grid-auto-flow which allows for exactly that:

I propose a new grid/table property that can take row or column. row represents the current behaviour and should be the default in order not to break anything.

column fills a whole column first, then goes to the next one. This is new behaviour which is currently not implemented.

Use Case

This can be useful for a variety of important use cases, but primarily for ranked lists where you're expected to read the first column, then the second, and so on.

Think a board of the top student scores, votes in a meeting, etc.