Skip to contents

Add figure to slides

Usage

figure_to_slide(
  ppt,
  content,
  decor = TRUE,
  fig_width,
  fig_height,
  figure_loc = ph_location_type("body"),
  ...
)

Arguments

ppt

slide page

content

content to be added

decor

should decoration be added

fig_width

user specified figure width

fig_height

user specified figure height

figure_loc

location of the figure. Defaults to `ph_location_type("body")`

...

arguments passed to program

Value

slide with the added content