class: bottom, left, title-slide # A {xaringan} template for ASCoR presentations ## s u b t i t l e ### Fabio Votta ### 2021-03-19 --- layout: true <div class="logo"></div> --- class: middle, center ## Installing `ascorthemes` You can install `ascorthemes` from GitHub with: ``` r devtools::install_github("favstats/ascorthemes") ``` Be sure to visit the GitHub repo and leave an issue if you encounter a problem or have any suggestions: https://github.com/favstats/ascorthemes --- # Heading 1 You can use several heading levels ## Heading 2 This is text under a second level heading. And some **bold** and _italics_ text. ### Heading 3 It's also easy to add `\(\LaTeX\)` code $$x^n + y^n = z^n $$ Three dashes make a new slide --- ## Add some R code ```r summary(mtcars) ``` ``` ## mpg cyl disp hp ## Min. :10.40 Min. :4.000 Min. : 71.1 Min. : 52.0 ## 1st Qu.:15.43 1st Qu.:4.000 1st Qu.:120.8 1st Qu.: 96.5 ## Median :19.20 Median :6.000 Median :196.3 Median :123.0 ## Mean :20.09 Mean :6.188 Mean :230.7 Mean :146.7 ## 3rd Qu.:22.80 3rd Qu.:8.000 3rd Qu.:326.0 3rd Qu.:180.0 ## Max. :33.90 Max. :8.000 Max. :472.0 Max. :335.0 ## drat wt qsec vs ## Min. :2.760 Min. :1.513 Min. :14.50 Min. :0.0000 ## 1st Qu.:3.080 1st Qu.:2.581 1st Qu.:16.89 1st Qu.:0.0000 ## Median :3.695 Median :3.325 Median :17.71 Median :0.0000 ## Mean :3.597 Mean :3.217 Mean :17.85 Mean :0.4375 ## 3rd Qu.:3.920 3rd Qu.:3.610 3rd Qu.:18.90 3rd Qu.:1.0000 ## Max. :4.930 Max. :5.424 Max. :22.90 Max. :1.0000 ## am gear carb ## Min. :0.0000 Min. :3.000 Min. :1.000 ## 1st Qu.:0.0000 1st Qu.:3.000 1st Qu.:2.000 ## Median :0.0000 Median :4.000 Median :2.000 ## Mean :0.4062 Mean :3.688 Mean :2.812 ## 3rd Qu.:1.0000 3rd Qu.:4.000 3rd Qu.:4.000 ## Max. :1.0000 Max. :5.000 Max. :8.000 ``` --- ## Add cool gifs to your slides! ![](https://s4.gifyu.com/images/ezgif-4-d64ba87b438c.gif) --- ## Create two columns .pull-left[ This text goes in the left column. ![](https://s4.gifyu.com/images/ezgif-4-d64ba87b438c.gif) ] .pull-right[ This text goes in the right column. ![](https://s4.gifyu.com/images/ezgif-4-d64ba87b438c.gif) ] --- class: middle, center # You can also create *special* slides For example: `class: white` gives you a white background rather than a babyblue one. This comes in handy for graphs (with white backgrounds). --- class: white ### add `class: white` ```r ggplot(diamonds, aes(x = carat, y = price, color = clarity)) + geom_point() + theme_minimal() ``` <img src="index_files/figure-html/unnamed-chunk-3-1.png" width="720" /> --- class: black, middle # a black slide with middle centering using `class: black` --- class: black # Heading 1 ## Heading 2 ### Heading 3 --- layout: false class: title-slide <br> ## You can also load in the title slide again adding `layout: false` cancels the logo for all slides following it --- layout: true <div class="logo"></div> <!-- Re-add logo by adding a blank slide with this content --> --- But it can be re-added using a slide with ```bash layout: true <div class="logo"></div> ``` at the top. --- # Hope you find this useful! .pull-left[ ![](https://media.tenor.com/images/abf1057f2d6774fa38997e8987f18949/tenor.gif) ![](https://media.tenor.com/images/abf1057f2d6774fa38997e8987f18949/tenor.gif) ![](https://media.tenor.com/images/abf1057f2d6774fa38997e8987f18949/tenor.gif) ![](https://media.tenor.com/images/abf1057f2d6774fa38997e8987f18949/tenor.gif) ![](https://media.tenor.com/images/abf1057f2d6774fa38997e8987f18949/tenor.gif) ![](https://media.tenor.com/images/abf1057f2d6774fa38997e8987f18949/tenor.gif) ] .pull-right[ ![](https://media.tenor.com/images/abf1057f2d6774fa38997e8987f18949/tenor.gif) ![](https://media.tenor.com/images/abf1057f2d6774fa38997e8987f18949/tenor.gif) ![](https://media.tenor.com/images/abf1057f2d6774fa38997e8987f18949/tenor.gif) ![](https://media.tenor.com/images/abf1057f2d6774fa38997e8987f18949/tenor.gif) ![](https://media.tenor.com/images/abf1057f2d6774fa38997e8987f18949/tenor.gif) ![](https://media.tenor.com/images/abf1057f2d6774fa38997e8987f18949/tenor.gif) ]