Skip to contents

Supported Named Page TypesList supported named page types

Usage

page_types()

page_dim(page_type)

Arguments

page_type

character(1). The name of a page size specification. Call page_types for supported values.

Value

for page_types a character vector of supported page types, for page_dim the dimensions (width, then height) of the selected page type.

Examples

page_types()
#> [1] "letter" "a4"     "legal" 
page_dim("a4")
#> [1]  8.27 11.69