ggplot2 theme for map with French government design template
theme_gouv_map(
base_family = "Marianne",
base_size = 12,
plot_title_family = "Marianne",
plot_title_size = 28,
plot_title_face = "bold",
plot_title_margin = 10,
subtitle_family = "Marianne Light",
subtitle_size = 22,
subtitle_face = "plain",
subtitle_margin = 15,
strip_text_family = base_family,
strip_text_size = 14,
strip_text_face = "plain",
strip_text_color = "black",
strip_background_color = "#FFFFFF",
caption_family = base_family,
caption_size = 12,
caption_face = "plain",
caption_margin = 10,
plot_margin = margin(30, 30, 30, 30),
legend_background_color = "#FFFFFF",
legend_border_color = "#FFFFFF"
)
Base font family and size.
Plot title family, face, size and margin.
Plot subtitle family, face and size.
Plot subtitle margin bottom (single numeric value).
Facet label font family, face, size and color.
Facel label background color.
Plot caption family, face, size and margin.
Plot margin (specify with ggplot2::margin()
).
Legend background fill color; default to white
.
Legend border color; default to white
.
A ggplot2
theme.
This theme is designed for making map with ggplot plot with ggplot2::geom_sf()
.
All font sizes are set in points and colors are either a color name or a hex code.