Create a representation of a table of content for Word documents.
block_toc(level = 3, style = NULL, seq_id = NULL, separator = ";")
max title level of the table
optional. If not NULL, its value is used as style in the document that will be used to build entries of the TOC.
optional. If not NULL, its value is used as sequence
identifier in the document that will be used to build entries of the
TOC. See also run_autonum()
to specify a sequence identifier.
optional. Some configurations need "," (i.e. from Canada) separator instead of ";"
Other block functions for reporting:
block_caption()
,
block_gg()
,
block_list()
,
block_pour_docx()
,
block_section()
,
block_table()
,
fpar()
,
plot_instr()
,
unordered_list()
block_toc(level = 2)
#> TOC - max level: 2
block_toc(style = "Table Caption")
#> TOC for style: Table Caption