Open collinschwantes opened 3 years ago
An idea to use with this and #20 is to have a simple function like eha_pptx_template(template = c("classic", "avenir"), outfile = "template.pptx")
that grabs these templates using system.file()
and dumps them in the work directory and opens them. That means that someone making a presentation manually grabs the same template as would be used from an Rmd. It also means that the version kept here can be version-controlled and up-to-date (as well as web accessible). Non R/GitHub users of course might go somewhere else, but it's not like there is a canonical version well-documented anywhere.
I also note that in Office 365 Microsoft finally added this feature in the Mac version, so you can include the Avenir font in the template file:
There should be a pptx and xaringan template for the avenir eha format.
Avenir format can be found here: https://eha.slack.com/files/U0BLP6HT9/F024QG1LSF6/noamross-eha-board-feb-2021.pptx
PPT template should be created from officedown::rpptx_document
Leverage the pptx templates to place logos
Might have to use officer:::get_default_pandoc_data_file(format = "pptx")