View source: R/ooxml_block_objects.R
| block_section | R Documentation |
Create a representation of a section.
A section affects preceding paragraphs or tables; i.e. 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.
When a new landscape section is needed, it is recommended to add a block_section
with type = "continuous", to add the content to be appened in the new section
and finally to add a block_section with page_size = page_size(orient = "landscape").
block_section(property)
property |
section properties defined with function prop_section |
Other block functions for reporting:
block_caption(),
block_gg(),
block_list(),
block_pour_docx(),
block_table(),
block_toc(),
fpar(),
plot_instr(),
unordered_list()
ps <- prop_section(
page_size = page_size(orient = "landscape"),
page_margins = page_mar(top = 2),
type = "continuous"
)
block_section(ps)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.