/
2d-templates.Rmd
84 lines (58 loc) · 1.59 KB
/
2d-templates.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
---
title: "Templates"
output:
powerpoint_presentation:
reference_doc: template.potx
---
### Overview
The size and design of PowerPoint presentations are determined by the reference template.
```
---
output:
powerpoint_presentation:
reference_doc: template.pptx
---
```
The default PowerPoint template contains a blank presentation in the standard (4:3) size.
# Layouts
### Details
Any template included with a recent install of PowerPoint (either with `.pptx` or `.potx` extension) should work, as will most templates derived from these. The template should contain the following four layouts:
1. Title
2. Section Header
3. Title and Content
4. Two Content
### 1. Title
* This layout has a placeholder for a title and a placeholder for a subtitle.
* This layout is used when you specify a title in the YAML header.
```
---
title: My presentation
---
```
### 2. Section Header
* This layout has a single placeholder for a section header
* Content will not render on this layout.
* This layout is used when you specify section headers above the slide level.
```
# Section Header
```
### 3. Title and Content
* This layout has a placeholder for a title and a single placeholder for content.
* This layout is used for content slides specified at the slide level.
```
### Title
and content
```
### 4. Two Content
* This layout has a placeholder for a title and two placeholders for content.
* This layout is used when you specify two columns for a content slides at the slide level.
```
:::::::::::::: {.columns}
::: {.column}
contents...
:::
::: {.column}
contents...
:::
::::::::::::::
```