page_lcpp | R Documentation |
Determine lines per page (LPP) and characters per page (CPP) based on font and page type
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)
)
page_type |
( |
landscape |
( |
font_family |
( |
font_size |
( |
lineheight |
( |
margins |
( |
pg_width |
( |
pg_height |
( |
fontspec |
( |
A named list containing LPP (lines per page) and CPP (characters per page) elements suitable for use by the pagination machinery.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.