xaringanthemer
Custom CSS Themes for xaringan
By Garrick Aden-Buie
April 1, 2021
Give your xaringan slides some style without (much) CSS.
Installation
You can install xaringanthemer from CRAN. Please ensure you have the latest version: 0.4.0.
install.packages("xaringanthemer", dependencies = TRUE)
Make sure you include dependencies = TRUE
so that the suggested packages are also installed.
In particular, we want to be sure you have the
showtext package since it’s used by xaringanthemer for custom ggplot2 themes.
Alternatively, you can install the development version of xaringanthemer from r-universe or GitHub.
options(repos = c(
gadenbuie = "https://gadenbuie.r-universe.dev",
getOption("repos")
))
install.packages("xaringanthemer", dependencies = TRUE)
# install.packages("remotes")
remotes::install_github("gadenbuie/xaringanthemer")
Features
There’s a lot more that xaringanthemer can do! Discover xaringanthemer’s features.