-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathslide-template.qmd
93 lines (71 loc) · 3.61 KB
/
slide-template.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
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
85
86
87
88
89
90
91
92
93
---
title: "Title of Document"
subtitle: "Subtitle of Document"
date: "`r format(Sys.time(), '%B %d, %Y')`"
author: "Ohio Alliance for Population Health <br> Your Name"
format:
revealjs:
logo: 'oaph-logo.png'
footer: '[www.ohio.edu/chsp/alliance](https://www.ohio.edu/chsp/alliance)'
css: oaph-theme.css
bibliography: "references.bib"
csl: "APA Numeric Superscript Style.csl"
engine: knitr
---
# Slide 1 Title
Hello! This is an example of a slide presentation. Write your text here.
- [More information on the examples provided in these slides](https://quarto.org/docs/presentations/revealjs/)
- [More advanced examples of what you can include in your slides](https://quarto.org/docs/presentations/revealjs/advanced.html)
- Key point
**Add an Image:**
![](oaph-logo-small.png){.absolute top="350" left="0" width="200" height="200"}
# Slide 2 - Columns
Add a hyperlink [HERE](https://www.ohio.edu/chsp/alliance)
::: columns
::: {.column width="50%"}
Column 1
- **Bold Text**
:::
::: {.column width="50%"}
Column 2
- *Italicized Text*
:::
:::
# Zotero Citations {.smaller .scrollable}
Use `{.smaller .scrollable}` after slide/section title if text is too big or runs off slide
Add a Zotero citation here @OhioAlliancePopulation2024.
1. Add citation to Zotero library (manually or using browser extension).
2. Copy citation key from info tab in Zotero and paste where you want citation located in document `example: @examplecitationkey2024`.
3. Right click name of collection on left side of Zotero window and select "Export Collection..."
4. Select Better BibTeX from dropdown menu (no selection under translator options) then click OK.
5. Rename to references.bib and save file to the same folder your .qmd (Quarto) document is in.
6. Go to the [Common Citation Styles](https://catmailohio.sharepoint.com/:f:/s/CHSP-OAIPH/EioRf1wJqjNCk6-CRi3DGrQBsBKFYnhjrOCLWMLQ1G-cjQ?e=1ZblD4) folder.
- If the required citation style for your document is listed download the .csl file and move into the same folder your .qmd (Quarto) document is in. Skip steps 7-10.
- If your required citation style is not listed in this folder follow steps 7-10 below.
7. Go to [Zotero Citation Repository](https://www.zotero.org/styles) and find the citation style required for your document (can use search bar).
8. Click the name of the citation style in blue text.
9. When asked "Add citation style to Zotero?" click cancel/no. This should cause a .csl file to download.
10. Move this .csl file to the same folder your .qmd (Quarto) document is in.
11. In your YAML statement at the top of the page change `csl:` to the name of the citation style .csl file. Example `csl: APA Numeric Superscript Style.csl`
12. Click the "Render" button at the top of your R editor panel (below file name tab).
# Tables
::: panel-tabset
## Simple Table
| Right | Left | Default | Center |
|------:|:-----|---------|:------:|
| 12 | 12 | 12 | 12 |
| 123 | 123 | 123 | 123 |
| 1 | 1 | 1 | 1 |
## Advanced Table
+---------------+---------------+------------------+
| Header 1 | Header 2 | Header 3 |
+===============+===============+==================+
| **Bold** | \$1.23 | - bullet 1 |
| | | - bullet 2 |
+---------------+---------------+------------------+
| *Italics* | 1.23% | 1. step 1 |
| | | 2. step 2 |
+---------------+---------------+------------------+
:::
For more information and instructions on tables click [HERE](https://dereksonderegger.github.io/570L/15-rmarkdown-tricks.html)
# References