Avoid gt tables to split between pages for PDF output

When I add gt tables to my Bookdown files, they are floating. This allows them to print over more than one page, instead of breaking to a new page and printing the entire table on a single page.

Using kable() I found "longtable=FALSE" solved the problem. However, I have not been able to find any solution for gt() tables.

Any ideas?

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.