A complete theme for reports and faceted statistical graphics

theme_forma.RdA complete theme for reports and faceted statistical graphics
Arguments
- base_size
Base text size in points. The preset supplies a default when this argument is omitted.
- base_family
Installed family or device generic.
- mode
Light or dark background.
- panel
Open axes or framed panels with a shaded strip.
- grid
Major grid lines along both axes, x, y or neither.
- legend_position
Position accepted by ggplot2.
- text_engine
Native device text or whole-paragraph shaped plain text.
- lang
Optional language tag passed to shaped text elements.
- preset
Publication setting. Report keeps the original 12 pt design, journal defaults to 10 pt with thin rules, editorial to 13 pt with a stronger title hierarchy, presentation to 18 pt with wider spacing, and dashboard to 10 pt with compact framed panels. Explicit
base_size,gridandpanelsettings override these defaults. Physical dimensions are chosen at export. The theme does not resize text for the device.
Examples
ggplot2::ggplot(mtcars, ggplot2::aes(wt, mpg)) +
ggplot2::geom_point() + theme_forma(grid = "y")