Slidy Presentation

Cheng Peng



West Chester University

Getting Started with Slidy Presentation

  • Default template: simple and flexible.
  • Suggested modified template: YAML header
---
title: '<center>Slidy Presentation</center>'
author: "Cheng Peng"
date: '<img src="logo.png" width=100 length=100><br><br> West Chester University'
output: 
  slidy_presentation:
       font_adjustment: +1
       footer: 'Slidy presentation created using RMarkdown (modified from the default template for STA490 Capstone Statistics)'
       widescreen: yes
       self_contained: true
---
  • CSS file (feel free to modify)

  • (level 1 Header: #) starts title slides with no accompanying text underneath.

  • (level 2 Header: ##) starts new slides with additional content underneath.

  • Markdown tag ---: an alternative to ##.

Bullet Points

  • level 1 bullet
    • level 2 bullet
    • level 2 bullet
  • level 1 bullet
  • level 1 bullet
    • level 2 bullet
      • level 3 bullet

Two-column slide

HTML Table

Left-column Right-column
left cell contents right cell contents

Markdown Table

Left-column Right-column
left cell contents \(x^2+y^2 = r^2\)

Slide with R Kable Output

speed dist
Min. : 4.0 Min. : 2.00
1st Qu.:12.0 1st Qu.: 26.00
Median :15.0 Median : 36.00
Mean :15.4 Mean : 42.98
3rd Qu.:19.0 3rd Qu.: 56.00
Max. :25.0 Max. :120.00

Default Output Table

     speed           dist       
 Min.   : 4.0   Min.   :  2.00  
 1st Qu.:12.0   1st Qu.: 26.00  
 Median :15.0   Median : 36.00  
 Mean   :15.4   Mean   : 42.98  
 3rd Qu.:19.0   3rd Qu.: 56.00  
 Max.   :25.0   Max.   :120.00  

Slide with Plot

Include External Images

  • using software remove background first (e.g., https://www.remove.bg/)
  • embedding transparent image to the slide to match the background color.
  • see the example below

Embedding Opened PDF Documents

Unable to display PDF file. Download instead.

Overlay Density Curves

Searchable Data Table