Skip to content

nanhung/xaringan-tamu

Repository files navigation

About

This is the TAMU theme for R xaringan package. It is based on Texas A&M University University Brand Guide.

  • To use this template just clone this repo. You only need to put your slide file (*.Rmd) and the template css (tamu.css, tamu-fonts.css) in the same folder.

  • Set the YAML metadata in Rmd file, e.g.:

---
title: "TAMU Presentation"
output:
  xaringan::moon_reader:
    css: ["default", "tamu.css", "tamu-fonts.css"]
    nature:
          highlightLines: true
---
  • Then, use xaringan:::inf_mr() or knit the file to check output.

  • Not the GitHub User? No Problem! Now, It's a built-in theme. Just simply revise the YAML:

---
output:
  xaringan::moon_reader:
    css: ["default", "tamu", "tamu-fonts"]
    nature:
          highlightLines: true
---

Example

https://nanhung.rbind.io/slide/tamu-slide-template.html

Reference link

[1] Xaringan
[2] R-Ladies template
[3] Duke color template
[4] Metropolis template