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

Line wrapping causes math mode content to overrun the cell #48

@platformer

Description

@platformer

This works:

#tablex(
  columns: 3,
  [a: #lorem(7)], [b: $T h i s I s A L o n g A n d R a n d o m M a t h E p r e s s i o n$], [c]
)

image

But making cell a line wrap causes strange behavior:

#tablex(
  columns: 3,
  [a: #lorem(7)], [b: $T h i s I s A L o n g A n d R a n d o m M a t h E p r e s s i o n$], [c]
)

image

This is how the native table handles it:

#table(
  columns: 3,
  [a: #lorem(7)], [b: $T h i s I s A L o n g A n d R a n d o m M a t h E p r e s s i o n$], [c]
)

image

One could say it's still suboptimal, but the width of the content is respected.

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