officer (version 0.3.8)

block_toc: table of content

Description

Create a representation of a table of content.

Usage

block_toc(level = 3, style = NULL, separator = ";")

Arguments

level

max title level of the table

style

optional. style in the document that will be used to build entries of the TOC.

separator

optional. Some configurations need "," (i.e. from Canada) separator instead of ";"

See Also

Other block functions for reporting: block_caption(), block_list(), block_section(), block_table(), fpar(), plot_instr(), unordered_list()

Examples

Run this code
# NOT RUN {
block_toc(level = 2)
block_toc(style = "Table title")
# }

Run the code above in your browser using DataLab