Skip to content

RVerse-Tutorials/slides

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloned from xaringan NMFS templates

To use

Open one of the template Rmd files in the docs folder and save. Then edit with your material. Click knit to make the presentation. Note, the css files need to be in the same folder as your Rmd file.

To host on GitHub, go to settings in your GH repo and turn on GitHub Pages (scroll to bottom). Select the main branch and docs folder and click save. Save the url that it tells you. The url to your slideshow will be something like yourname.github.io/thisrepo/docs/slides.html.

template.Rmd.

This is a basic presentation. Slides

  • The css used is at the top
  • slideNumberFormat: specifies how to show the slide number
  • See the slides for examples of different slide formats

template-extra.Rmd.

This has a variety of extra bells and whistles. Slides

  • A progress bar at top
  • A right side bar
  • Special formating of sidebar text
  • Boxes with text
  • 3 and 4 column formats

template-tufte.Rmd.

This is a Tufte presentation. Slides

  • Uses the Tufte style fonts
  • Uses the Tufte line spacings and header styles
  • Has a progress bar at the top

Adapting.

Edit the css files or add new ones. See the theme folder for the xaringan_template.Rmd that has the code that produces xaringan-themer.css. Use that code to create that css file.


This repo and the NMFS xargingan theme was adapted from nmfs-fish-tools/presentations made by Christine Stawitz. The Tufte fonts and css are from tufte-css. slide-style.css is adapted from An RStudio workshop on data science design-ds-classroom by Mine Cetinkaya-Rundel. Slides created via the R package {xaringan} and {xaringanthemer}.