typst-tablex icon indicating copy to clipboard operation
typst-tablex copied to clipboard

Header-Row(s) are orphaned.

Open RolfBremer opened this issue 1 year ago • 1 comments

If the remaining space on a page is large enough to contain just the header rows of a table, it is indeed printed there -- only to be repeated on the next page.

image

The shown sample has a table with two header rows. The code for the page is this:

#import "/Global/Components/tablex.typ": *

Dies ist ein Testdokument

#v(22.5cm)

#tablex(
    columns: (auto, auto),
    repeat-header: true,
    header-rows: 2,

    [*Name*], [*Ort*],
    [*First Name*], [*Residence*],

    [Anton], [Hannover],
    [Bob], [Hannover],
    [Robert], [Paris],
    [Sean], [Paris],
)

RolfBremer avatar Jun 09 '23 16:06 RolfBremer