theme_cbep: CBEP Graphic Theme

Description Usage Arguments Details Functions Examples

View source: R/CBEPGraphics.R

Description

A theme for use with ggplot2 graphics based on theme_tufte().

Usage

1
2
3
theme_cbep(base_size = 16, base_family = FONT_FAMILY_NAME, ...)

set_cbep_default_theme(...)

Arguments

base_size

Integer. Base font size for graphic text. Defaults to 16 point. Text components in ggplot2 graphics wil lbe scaled relative to (and usually smaller than) this font size.

base_family

String. Name of an available font family. Defaults to the preferred CBEP font, currently Montserrat.

...

Other theme parameters, passed to theme_tufte().

Details

The theme_cbep() graphic theme is a minimalist design based on theme_tufte() from the ggthemes package. The principal change is that theme_cbep() uses the preferred CBEP font, currently Montserrat. By default, it also increases the size of all text slightly.

Functions

Examples

1
2

ccb60/CBEPgraphics documentation built on Sept. 17, 2020, 2:10 a.m.