+ - 0:00:00
Notes for current slide
Notes for next slide
1

Setting the Stage

xaringan

Garrick Aden-Buie & Silvia Canelón

Professional, Polished, Presentable

1

Welcome!

Let's learn how to make great slides
with xaringan (and friends)

Let's review a few things

2

xaringan

xaringan introduces
remark.js to rmarkdown

3

remark.js


JavaScript

and


Markdown

"A simple, in-browser, Markdown-driven slideshow tool targeted at people who know their way around HTML and CSS."

remarkjs documentation

4

CSS

CSS stands for Cascading Style Sheet, and turns...

functional, but dull HTML (content)...

Title slide with no formatting

...into HTML (content) with style! 😎

Title slide with styling including a background image, cutom fonts, and content placement

5

Remark helps us:

  • create a new kind of slide using Markdown syntax and slide properties
  • format slides (e.g. with content alignment)
  • present (using keyboard shortcuts)

Let's get started!

Restart your R session Ctrl + Shift + F10

Open 01-introduction/01-start.Rmd

Run xaringan::infinite_moon_reader() to preview the slides

6

YAML

---
title: "01 - Setting the Stage"
subtitle: "Professional, Polished, Presentable"
author: "Dr. Avahi Cleesei"
institute: "Bemaraha University, Madagascar"
date: "2021-07-07"
output:
xaringan::moon_reader: # xaringan output
nature:
slideNumberFormat: "%current%" # slide number format
highlightStyle: github # highlighting syntax for code
highlightLines: true # code line highlighting
ratio: 16:9 # 4:3 for standard size
countIncrementalSlides: true # incremental slide counting
---
7

Setup chunk

# suppresses the version number in the subdirectory name
options(htmltools.dir.version = FALSE)
# preset options
knitr::opts_chunk$set(
fig.retina = 2, # specifies scaling for retina displays
warning = FALSE, # warning messages do not show
message = FALSE # informational messages do not show
)
# loads packages
library(fontawesome) # FontAwesome icon package
library(tidyverse) # collection of data science packages
8

Activity Time

materials/act-01/01-introduction

Time for the xaringan scavenger hunt!

9

Welcome!

Let's learn how to make great slides
with xaringan (and friends)

Let's review a few things

2
Paused

Help

Keyboard shortcuts

, , Pg Up, k Go to previous slide
, , Pg Dn, Space, j Go to next slide
Home Go to first slide
End Go to last slide
Number + Return Go to specific slide
b / m / f Toggle blackout / mirrored / fullscreen mode
c Clone slideshow
p Toggle presenter mode
t Restart the presentation timer
?, h Toggle this help
oTile View: Overview of Slides
Esc Back to slideshow