Northern Illinois University theme for `xaringan` (remark.js)
A minimalist xaringan
theme based on Northern Illinois University‘s branding. There are two flavors:
niu.css
and niu-fonts.css
) suitable for viewing on the web and small in-person presentationsniudark.css
and niudark-fonts.css
) suitable for projecting on large screens.All relevant files can be found in the /assets/
folder. Minimially, niu.css
, niu-fonts.css
, andNIU_horz_3Clr.png
are required to build the light (default) theme.
R
- If you’re here, I think that’s a given. But just in case, grab the latest version here.xaringan
uses RMarkdown and knitr
so RStudio is pretty much required.xaringan
- either from CRAN or the development version from Github.or
install.packages(xaringan)
devtools::install_github('yihui/xaringan')
niu_xaringan
Include the following information in the YAML preamble to your presentation.
Light theme:
output:
xaringan::moon_reader:
lib_dir: libs
css: [default, "assets/niu.css", "assets/niu-fonts.css"]
Dark theme:
output:
xaringan::moon_reader:
lib_dir: libs
css: [default, "assets/niudark.css", "assets/niudark-fonts.css"]
There are far more options that can be found in the example presentations here for the light theme and here for the dark theme.
Big shoutout to Garth Tarr‘s sydney_xaringan
for the inspiration (which appears loosely based on the hygge.css
template in xaringan
). Much of the boilerplate display/testing slides are from Garth. Many thanks.