smart_fit.Rd
Adjust column widths for flextables
smart_fit(
ft,
width = c("A4", "letter", "legal", "executive")[1],
landscape = FALSE,
page_margin = "default"
)
Flextable object
Maximum width allowed for the table. Can be a numeric value (in cm) or one of the following strings referring to standard paper sizes "A4"
(=default), "letter"
, "legal"
or "executive"
.
If TRUE
, landscape width for standard paper size provided in width
is used. Default is FALSE
, i.e. portrait width. Ignored if width
is provided as a numeric value.
Total page margin (sum of left and right margin) that is subtracted from the total page width of the standard paper width provided in width
. Ignored if width
is provided as a numeric value.