officer (version 0.3.6)

block_list: create paragraph blocks

Description

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 or formatted paragraphs into a new slide.

Usage

block_list(...)

Arguments

...

a list of objects of class fpar or flextable.

Examples

Run this code
# 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 world", shortcuts$fp_bold()),
    external_img(src = img.file, height = 1.06, width = 1.39)
  )
)
# }

Run the code above in your browser using DataCamp Workspace