powerpoint - Text alignment in power point with R / officer -
i experimenting automation of reports , stick corporate power point style (at least as possible). using directly available template
ppt <- read_pptx("mytemplate.pptx")
is quite complicated @ least me.
therefore trying work standard "office theme" , trying make close company template. able left align ctrtitle
, subtitle
, title types.
if run example below title centered. know how left align it? not find in documentation.
thank in advance.
require(officer) require(magrittr) ppt = read_pptx() ppt = ppt %>% add_slide(layout = "title slide", master = "office theme") ppt = ppt %>% ph_with_text(str = "title string", type = "ctrtitle") print(ppt, target = "first_example.pptx") %>% invisible()
Comments
Post a Comment