page_lcpp {formatters} | R Documentation |
Determine lines per page (LPP) and characters per page (CPP) based on font and page type
Description
Determine lines per page (LPP) and characters per page (CPP) based on font and page type
Usage
page_lcpp(
page_type = page_types(),
landscape = FALSE,
font_family = "Courier",
font_size = 8,
lineheight = 1,
margins = c(top = 0.5, bottom = 0.5, left = 0.75, right = 0.75),
pg_width = NULL,
pg_height = NULL,
fontspec = font_spec(font_family, font_size, lineheight)
)
Arguments
page_type |
( |
landscape |
( |
font_family |
( |
font_size |
( |
lineheight |
( |
margins |
( |
pg_width |
( |
pg_height |
( |
fontspec |
( |
Value
A named list containing LPP (lines per page) and CPP (characters per page) elements suitable for use by the pagination machinery.
Examples
page_lcpp()
page_lcpp(font_size = 10)
page_lcpp("a4", font_size = 10)
page_lcpp(margins = c(top = 1, bottom = 1, left = 1, right = 1))
page_lcpp(pg_width = 10, pg_height = 15)