unordered list of text for PowerPoint presentations. Each text is associated with a hierarchy level.
unordered_list(str_list = character(0), level_list = integer(0), style = NULL)
list of strings to be included in the object
list of levels for hierarchy structure
text style, a fp_text
object list or a
single fp_text
objects. Use fp_text(font.size = 0, ...)
to
inherit from default sizes of the presentation.
Other block functions for reporting:
block_caption()
,
block_list()
,
block_pour_docx()
,
block_section()
,
block_table()
,
block_toc()
,
fpar()
,
plot_instr()
# NOT RUN {
unordered_list(
level_list = c(1, 2, 2, 3, 3, 1),
str_list = c("Level1", "Level2", "Level2", "Level3", "Level3", "Level1"),
style = fp_text(color = "red", font.size = 0) )
unordered_list(
level_list = c(1, 2, 1),
str_list = c("Level1", "Level2", "Level1"),
style = list(
fp_text(color = "red", font.size = 0),
fp_text(color = "pink", font.size = 0),
fp_text(color = "orange", font.size = 0)
))
# }
Run the code above in your browser using DataLab