Skip to content

Align available parameters on grid and table #2616

@tapyu

Description

@tapyu

Description

I usually need to align the grid rows/columns and, at the moment, I am doing so by using using Typst's code mode, which is a little bit cumbersome... I wonder whether it isn't a often task that should have a align.

Use Case

My idea would be something like

#grid(
  columns: (1fr, 1fr, 1fr),
  align: (center, right, left),
  "Test1",
  "Test2",
  "Test3", 
  "Test4",
  "Test5",
  "Test6", 
)

Each text entry would be aligned as defined in the align option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    change requestA proposal for changes to an existing featurelayoutRelated to layout, positioning, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions