I'm trying to generate a summary table which is quite long in a pdf format. But the table is breaking down at the end of the page (See the image below). I guess it is something to do with page margin.
I have checked the online documentation. It has argument page.margin.bottom in tab_options() to work with a RTF format. Is there any workaround for pdf format. The following example closely mimics my problem. But table is not breaking at the end. However, it is very close to the page margin.
library(gt)
library(tidyverse)
d = iris %>% gt()
d
gtsave(d, filename = "long_table.pdf", zoom = 0.7)
Thanks.
