theme_readthedown

0th

Percentile

ggplot2 theme to fit the readthedown Rmd format

A ggplot theme to fit rmdformats::readthedown in terms of background color and dark grid lines.

Usage
theme_readthedown(base_size = 12, base_family = "", bg = "#fcfcfc",
  axis_emph = "xy", ...)

theme_tadaa(base_size = 12, base_family = "", bg = "#fcfcfc", axis_emph = "xy", ...)

Arguments
base_size

Base text size, defaults to 12.

base_family

Base text family. Use "Roboto Slab" to match the readthedown headers, or "Lato" for the body style.

bg

Background color, defaults to rmdformats::readthedown's background, #fcfcfc

axis_emph

Which axis to emphasize visually (black lines). One of "x", "y", "xy", NULL.

...

Other arguments passed to ggplot2::theme()

Value

A ggplot2 theme

Aliases
  • theme_readthedown
  • theme_tadaa
Examples
# NOT RUN {
library(ggplot2)
p <- qplot(1:10, 1:10, geom = "point")

p + theme_readthedown()
p + theme_readthedown(base_family = "Lato")
p + theme_readthedown(base_family = "Roboto Slab", axis_emph = "x")
# }
Documentation reproduced from package tadaatoolbox, version 0.16.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.