custom_map_theme_md: Custom theme for ggplot maps, using ggtext for markdown text

View source: R/custommapthememd.R

custom_map_theme_mdR Documentation

Custom theme for ggplot maps, using ggtext for markdown text

Description

Custom theme for ggplot maps, using ggtext for markdown text

Usage

custom_map_theme_md(
  google_font = "Roboto",
  map_title_size = 14,
  map_subtitle_size = 12,
  map_caption_size = 9,
  legend_pos = "none",
  legend_dir = "horizontal",
  title_pos = "plot",
  background_colour = "white",
  plot_margin = c(3, 0, 1, 0)
)

Arguments

google_font

font, from Google Fonts

map_title_size

Title's size

map_subtitle_size

Subtitle's size

map_caption_size

Caption's size

legend_pos

legend's position (default none)

legend_dir

legend's direction (defaul horizontal)

title_pos

title's position (default plot)

background_colour

background's overall colour (default white)

plot_margin

margins c(top,right,bottom,left) - default c(3,0,1,0)


carlosyanez/customthemes documentation built on Aug. 25, 2022, 1:56 a.m.