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

Negative line expansion across cells #85

@dixslyf

Description

@dixslyf

Negative line expansion does not work across cells:

#import "@preview/tablex:0.0.6": tablex, hlinex

#tablex(
  columns: (50pt, 50pt, 50pt),
  auto-lines: false,
  hlinex(),
  [], [], [],
  hlinex(expand: -40pt),
  [], [], [],
  hlinex(expand: -50pt),
  [], [], [],
  hlinex(expand: -60pt),  // Does not work
  [], [], [],
  hlinex(expand: -100pt),  // Does not work
)

image

More context: #74 (comment):

Indeed, when this feature was added I intended to add negative expand, but it turned out to be more complicated than I thought. The problem is mostly that the line can span multiple cells, and currently lines are broken down to each cell they span, so we'd need to reduce the line across cell boundaries. This will probably be done at some point, but will take a while. Thanks for the request!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestrendererRelated to the final rendering (drawing) step of the table.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions