[~x] Search for duplicates among the existing issues (both open and closed).
Proposal
As far as I looked it in .tex files gt uses longtable environment for tables spanning over few pages.
Unfortunately, table headers are not repeated on each page.
I'm not LaTex pro, but I tested manually adding \endhead after \midrule before the first row of data, and each time it worked very well. Both for tables rendered in portrait and in landscape*.
I think it would be nice to have parameter in gt() that decides if \endhead should be added to latex output.
Prework
Proposal
As far as I looked it in .tex files gt uses longtable environment for tables spanning over few pages. Unfortunately, table headers are not repeated on each page.
I'm not LaTex pro, but I tested manually adding
\endhead
after\midrule
before the first row of data, and each time it worked very well. Both for tables rendered in portrait and in landscape*.I think it would be nice to have parameter in gt() that decides if
\endhead
should be added to latex output.*package
lscape