Colwidths for all columns to be forced on one page.
smart_colwidths_1page(
tt,
fontspec,
col_gap = 6L,
rowlabel_width = inches_to_spaces(2, fontspec),
print_width_ins = ifelse(landscape, 11, 8.5) - 2.12,
landscape = FALSE,
lastcol_gap = TRUE
)(TableTree)
TableTree object to calculate column widths for
(font_spec)
Font specification object
(numeric)
Column gap in spaces
(numeric)
Width of row labels in spaces
(numeric)
Print width in inches
(logical)
Whether the output is in landscape orientation
(logical)
Whether to include a gap after the last column