Skip to content

Overflowing cells #75

@deffi

Description

@deffi

Input:

#import "tablex.typ": tablex

#tablex(columns: (auto, auto, auto, auto),
  [lorem_ipsum_dolor_sit_amet], [lorem], [lorem_ipsum_dolor_sit_amet_consectetur_adipisici], [lorem],
)

#lorem(20)  // Just to show the page width

Result:
Result

Observations:

  • The first and third cells are overflowing.
  • There is unused (horizontal) space (enough to accomodate the contents of one of the overflowing cells and most of the other)

The second observation can be demonstrated by shortening the first cell to lorem_ipsum_dolor_sit_am; now, the table renders correctly. Note that the third cell is no longer overflowing and the first cell contains more text than in the example above:
Result

Typst 0.9, tablex 0.0.6

Metadata

Metadata

Assignees

Labels

auto track sizingRelated to calculation of the size of an auto column/row.bugSomething isn't workingtable-parity

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions