

That's better, although the resolution is poor.Would you like to save hours of work editing and customizing your PowerPoint presentations? Are you wasting time changing each slide individually to give your presentation a consistent look? The answer is to leverage the Slide Master, a critical feature unknown to most PowerPoint users. Let's try a different aspect ratio of fig.asp=0.5: Then save the file as my_template.pptx.Īnd this is what the powerpoint slide looks like: The new slide layout now looks like this:Ĭlick Slide Master (left end of ribbon) and then click Close Master (on the right end of the ribbon). You can also move the slide title box higher and, using the Home menu, set it to be left-justified. Then click-drag to add an edge-to-edge picture placeholder in the slide layout we just created. Then click on the Insert Placeholder dropdown and select Picture. After opening that document, I opened the "slide master":Ĭlick on Insert Layout (near left end of ribbon) to create a new slide layout, which will become our edge-to-edge picture layout. If this reference document is called my_template.pptx, then the YAML header would look like this: -įor your case, I knitted the document you provided to a file called test.pptx and used that as my starting document to create the desired template.

Save that customized file in your RStudio project folder (or to some other path that you can reference in the YAML header) and then reference it in the YAML header.

The basic idea is to open a new powerpoint file and customize the master slide styles, or use an existing powerpoint document or template that either already has the styles you want or that can be tweaked to get what you want. The Templates section of the RStudio document you linked to explains how to do this. You can adjust the layout of the resulting powerpoint file by creating a "reference" powerpoint file that has custom master slide layouts that you create.
