这是indexloc提供的服务,不要输入任何密码
Skip to content

Column sizes with mixed fractional and auto sizes don't fit the page #78

@manveru

Description

@manveru
#import "@preview/tablex:0.0.6": tablex, cellx

#tablex(
  columns: (1fr, 1fr, auto, auto, auto),
  [a], [b], [c], [d], [e],
  cellx(colspan: 5)[#lorem(5)],
  [a], [b], [c], [d], [e],
  cellx(colspan: 2)[#lorem(10)], none, none, none,
  [a], [b], [c], [d], [e],
  cellx(colspan: 3)[#lorem(15)], none, none,
)

Here's a rendered version of the difference the last row makes:

rendered

It seems like some combination of longer text with automatic sizing and fractional scaling may cause that, but I can't really figure out the logic behind this.

Metadata

Metadata

Assignees

Labels

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

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions