-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathword-example.qmd
37 lines (28 loc) · 1.27 KB
/
word-example.qmd
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
# Word
Click [HERE](https://catmailohio.sharepoint.com/:w:/s/CHSP-OAIPH/EWRJYuNEGgtIg9yUi_BAopEB8yrjJ6aOvpPHygGDFL-u4A?e=5AArba) for an example Word document
## Example YAML Statement
```{r docx-yaml, eval = FALSE, include = TRUE}
---
title: "Title of Document"
subtitle: "Subtitle of Document"
author: "Ohio Alliance for Population Health"
date: "`r format(Sys.time(), '%B %d, %Y')`"
format:
docx:
toc: true
toc-depth: 3
number-sections: true
highlight-style: github
prefer-html: true
reference-doc: oaph-reference-doc.docx
mainfont: "Georgia"
bibliography: references.bib
csl: APA Numeric Superscript Style.csl
engine: knitr
---
```
## Create Your Own
1. In the [Document Templates](https://catmailohio.sharepoint.com/:f:/s/CHSP-OAIPH/ElBBCzi3jYxBu7QteV9B0F8B_Y5Zj525ZbtHao5rAr0Rrw?e=bu87Q1) folder download the file `word-template.qmd`
2. In the [Branding Items](https://catmailohio.sharepoint.com/:f:/s/CHSP-OAIPH/EmO0szNa2BhPho1a1QuiM4IB4mcPiym2duQfqrWw6Bc1Xg?e=21ifa7) download the file `oaph-reference-doc.docx` (to the same location/folder on your computer as the file above) and follow the instructions.
## More Information
[HERE](https://quarto.org/docs/output-formats/ms-word.html) are even more examples of what you can do with a Word document!