Skip to contents

This function converts your ggplot object to the Cesar theme. The default font is Inter

Usage

theme_cesar(
  font_title,
  font_subtitle,
  font_plot,
  font_caption,
  facet_space = 2,
  text_scale = 1,
  ...
)

Arguments

font_title

font family for titles, defaults to Inter/Arial

font_subtitle

font family for subtitles, defaults to Inter/Arial

font_plot

font family for the plot space, defaults to Inter/Arial

font_caption

font family for captions, defaults to Inter/Arial

facet_space

controls how far apart facets are from each other

text_scale

scalar that will grow/shrink all text defined within

...

pass any parameters from theme that are not already defined within

Examples

library(systemfonts)
library(ggplot2)
ggplot(iris, aes(Sepal.Length, y = Sepal.Width, colour = Species)) +
 geom_point() + theme_cesar()