Skip to content

ScPoEcon/scpo_xaringan

 
 

Repository files navigation

scpo_xaringan

Minimalist R xaringan theme for html presentations using ScPo style/colors.

Example Title Slide

Here is the title slide:

Full Example Presentation

Example presentation at https://scpoecon.github.io/scpo_xaringan/.

Usage

just fork this and edit the front-matter YAML at the start of your Rmd file containing your presentation.

---
title: "your title"
subtitle: "subtitle"
author: "Your name"
date: "SciencesPo Paris </br> `r Sys.Date()`"
output:
  xaringan::moon_reader:
    lib_dir: libs
    css: [default, "scpo.css", "scpo-fonts.css"]
    nature:
      beforeInit: ["../js/ru_xaringan.js"]
      highlightStyle: github
      highlightLines: true
      countIncrementalSlides: false
      ratio: "16:9"
    includes:
      in_header: "./libs/partials/header.html"
---

Offline Usage

  • One big drawback is (used to be) that HTML presentations require a working internet connection during the presentation.

  • It's not always possible to guarantee that. Sigh.

  • There is a great alternative/backup. Just print the HTML slides to PDF with decktape! I.e. you do

    decktape index.html presentation.pdf --chrome-arg=--disable-web-security
    

    to end up with this PDF

About

ScPo style theme for xaringan html presentations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 68.1%
  • CSS 31.1%
  • JavaScript 0.8%