theme_te: Custom theme

Description Usage Arguments Details See Also

View source: R/theme.R

Description

A custom ggplot2 theme.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
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,
  legend.position = "bottom", legend.title = ggplot2::element_blank(),
  panel.grid.minor = ggplot2::element_blank(),
  plot.background = ggplot2::element_blank(), panel.spacing = grid::unit(1,
  "lines"), axis.title.just = "rt", ...)

theme_te_dx(...)

theme_te_facet(...)

theme_te_facet_dx(...)

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.

legend.position

gg element. Set to "bottom" by default (instead of "right").

legend.title

gg element. Set to a non-trivial default (instead of ggplot2::element_text()).

panel.grid.minor

gg element. Set to a non-trivial default (instead of ggplot2::element_line()).

plot.background

gg element. Was set to a non-trivial default (instead of ggplot2::element_blank()) in a previous version.

panel.spacing

gg element. Set to a non-trivial default (instead of 5.5pt).

axis.title.just

character. One of one of 'blmcrt'

...

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

Details

Uses ggplot2::theme_minimal() as basis. Customized for personal preferences.

See Also

https://github.com/hrbrmstr/hrbrthemes/blob/master/R/theme-ipsum.r. \code{hrbrthemes::theme_ipsum()}


tonyelhabr/teplot documentation built on May 26, 2019, 5:33 a.m.