block_list
From officer v0.3.5
by David Gohel
list of blocks
a list of blocks can be used to gather several blocks (paragraphs or tables) into a single object. The function is to be used when adding footnotes for example.
Usage
block_list(...)
Arguments
- ...
a list of objects of class
fpar
orflextable
.
Examples
# NOT RUN {
img.file <- file.path( R.home("doc"), "html", "logo.jpg" )
bl <- block_list(
fpar(ftext("hello world", shortcuts$fp_bold())),
fpar(
ftext("hello", shortcuts$fp_bold()),
stext(" world", "strong"),
external_img(src = img.file, height = 1.06, width = 1.39)
)
)
# }
Community examples
Looks like there are no examples yet.