A custom ggplot2 theme.

A custom ggplot2 theme.

theme_te(base_family = "Arial Narrow", base_size = 12, title.size = 16,
  title.face = "bold", subtitle.size = base_size, subtitle.face = "plain",
  caption.size = base_size, caption.face = subtitle.face,
  strip.text.size = base_size, strip.text.face = subtitle.face,
  axis.title.size = base_size, axis.title.face = subtitle.face,
  axis.text.size = base_size, axis.text.face = subtitle.face, ...)

theme_te_dx(...)

theme_te_facet(...)

theme_te_facet_dx(...)

theme_te_map(..., panel.background.fill = NA, panel.background.color = NA,
  strip.background.fill = panel.background.fill,
  strip.background.color = panel.background.color)

Arguments

base_family, title.face, subtitle.face, caption.face, strip.text.face, axis.title.face, axis.text.face

character.

base_size, title.size, subtitle.size, caption.size, strip.text.size, axis.title.size, axis.text.size

numeric.

...

dots. Additional parameters passed to ggplot2::theme().

panel.background.fill, panel.background.color, strip.background.fill, strip.background.color

character. Passed directly to ggplot2::theme() parameters with similar names.

Details

Uses ggplot2::theme_minimal() as basis.

Uses ggplot2::theme_te() as basis.

See also

https://github.com/hrbrmstr/hrbrthemes/blob/master/R/theme-ipsum.r http://eriqande.github.io/rep-res-web/lectures/making-maps-with-R.html.