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

Hlines not drawn with gutter-restrict: top #20

@dmorawetz

Description

@dmorawetz

I use this package for all my tables to replicate the booktabs style, and it is wonderful to use.

However, with the latest version of tablex and typst, the following code, does not show the hline.

#import "tablex.typ": tablex, hlinex

#tablex(
  columns: 3,
  row-gutter: 1em,
  auto-lines: false,
  [H1], [H2], [H3],
  hlinex(gutter-restrict: top),
  [seconde], [row], [with content]
)

image

But gutter-restrict: bottom works as expected.

image

What can I do to fix this? Plus, is there maybe an option to draw it right in the center of the gutter?

For now, I use bottom everywhere, but it is way more visually pleasing if it is aligned right. Please help my OCD :)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions