|
|
|
|
|
|
|
|
|
|
|
|
|
|
--- |
|
|
--- |
|
|
|
|
|
|
|
|
```{r plot-example-themed, eval=requireNamespace("ggplot2", quietly=TRUE)} |
|
|
|
|
|
|
|
|
```{r plot-example-themed, eval=requireNamespace("showtext", quietly=TRUE) && requireNamespace("ggplot2", quietly=TRUE)} |
|
|
g + xaringanthemer::theme_xaringan(text_font_size = 16, title_font_size = 18) + |
|
|
g + xaringanthemer::theme_xaringan(text_font_size = 16, title_font_size = 18) + |
|
|
ggtitle("A Plot About Cars") |
|
|
ggtitle("A Plot About Cars") |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
.footnote[Requires `{showtext}`] |
|
|
|
|
|
|
|
|
--- |
|
|
--- |
|
|
layout: false |
|
|
layout: false |
|
|
|
|
|
|
|
|
## Square image |
|
|
## Square image |
|
|
|
|
|
|
|
|
<center><img src="https://octodex.github.com/images/labtocat.png" height="400px" /></center> |
|
|
|
|
|
|
|
|
<center><img src="https://octodex.github.com/images/labtocat.png" alt="GithHub Octocat" height="400px" /></center> |
|
|
|
|
|
|
|
|
.footnote[GitHub Octocat] |
|
|
.footnote[GitHub Octocat] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Wide image |
|
|
### Wide image |
|
|
|
|
|
|
|
|
 |
|
|
|
|
|
|
|
|
 |
|
|
|
|
|
|
|
|
.footnote[Wide images scale to 100% slide width] |
|
|
.footnote[Wide images scale to 100% slide width] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Two images |
|
|
## Two images |
|
|
|
|
|
|
|
|
.pull-left[ |
|
|
.pull-left[ |
|
|
 |
|
|
|
|
|
|
|
|
 |
|
|
] |
|
|
] |
|
|
|
|
|
|
|
|
.pull-right[ |
|
|
.pull-right[ |
|
|
 |
|
|
|
|
|
|
|
|
 |
|
|
] |
|
|
] |
|
|
|
|
|
|
|
|
--- |
|
|
--- |