This function can only be used inside p_page.
Usage
p_margins(
top = NULL,
bottom = NULL,
left = NULL,
right = NULL,
header = NULL,
footer = NULL
)Examples
if (FALSE) { # \dontrun{
spec <- create_text() |>
set_page_style(
page = p_page(
size = "A4",
orientation = "landscape",
margins = p_margins(
top = "25mm", bottom = "25mm",
left = "20mm", right = "20mm",
header = "12mm", footer = "12mm"
)
)
)
} # }