Learn R Programming

officedown (version 0.0.5.003)

sections: section

Description

Add a section as a block output in an R Markdown document. A section affects preceding paragraphs or tables.

Usage

block_section_continuous()

block_section_landscape(w = 21/2.54, h = 29.7/2.54)

block_section_portrait(w = 21/2.54, h = 29.7/2.54)

block_section_columns(widths = c(2.5, 2.5), space = 0.25, sep = FALSE)

Arguments

w, h

width and height in inches of the section page. This will be ignored if the default section (of the reference_docx file) already has width and height.

widths

columns widths in inches. If 3 values, 3 columns will be produced.

space

space in inches between columns.

sep

if TRUE a line is separating columns.

Details

A section starts at the end of the previous section (or the beginning of the document if no preceding section exists), and stops where the section is declared.