View source: R/ooxml_run_objects.R
page_mar | R Documentation |
The margins for each page of a sectionThe function creates a representation of the dimensions of a page. The dimensions are defined by length, width and orientation. If the orientation is in landscape mode then the length becomes the width and the width becomes the length.
page_mar(
bottom = 1,
top = 1,
right = 1,
left = 1,
header = 0.5,
footer = 0.5,
gutter = 0.5
)
bottom , top |
distance (in inches) between the bottom/top of the text margin and the bottom/top of the page. The text is placed at the greater of the value of this attribute and the extent of the header/footer text. A negative value indicates that the content should be measured from the bottom/topp of the page regardless of the footer/header, and so will overlap the footer/header. For example, |
left , right |
distance (in inches) from the left/right edge of the page to the left/right edge of the text. |
header |
distance (in inches) from the top edge of the page to the top edge of the header. |
footer |
distance (in inches) from the bottom edge of the page to the bottom edge of the footer. |
gutter |
page gutter (in inches). |
Other functions for section definition:
page_size()
,
prop_section()
,
section_columns()
page_mar()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.