theme_lbj_benson: theme_lbj_benson ggplot2 Themes

Description Usage Arguments Value Examples

View source: R/themes.R

Description

ggplot2 theme for use on LBJ School Data Initiatives reports. Requires the "Benson Sans" font being installed.

Usage

1
2
3
4
5
6
7
8
9
theme_lbj_benson(
  base_size = 14,
  base_family = "Benson Sans",
  title_size = 23,
  subtitle_size = 12,
  caption_size = 10,
  legend_position = "none",
  ...
)

Arguments

base_size

the base font size of text

base_family

the font family

title_size

the size of your title font

subtitle_size

the size your subtitle font

caption_size

the size your caption font

legend_position

where the legend should be placed

...

Additional arguments passed to ggplot2::theme_minimal()

Value

a ggplot theme

Examples

1
2
ggplot2::qplot(mtcars$wt) +
theme_lbj_benson()

utexas-lbjp-data/lbjdata documentation built on Feb. 6, 2021, 12:30 a.m.