Skip to content

Commit

Permalink
Update subtitle margin
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhodge931 committed Sep 19, 2023
1 parent fd90664 commit b3bf683
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions vignettes/articles/3_go_further-Rmd.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ The showtext and sysfonts packages support the use of different fonts from Googl

```{r, fig.asp = 0.75, fig.showtext = TRUE}
sysfonts::font_add_google("Covered By Your Grace", "grace")
sysfonts::font_add_google('Anton', 'anton')
sysfonts::font_add_google('Roboto Slab', 'roboto_slab')
sysfonts::font_add_google('Syne Mono', 'syne')
showtext::showtext_auto(enable = TRUE)
Expand All @@ -64,8 +64,9 @@ penguins2 |>
caption = "Source: Gorman, 2020",
pal = c("#2596be", "#fc7c24"),
theme = light_mode(
base_size = 11,
base_family = "grace",
title_family = "anton",
title_family = "roboto_slab",
subtitle_family = "syne"))
showtext::showtext_auto(enable = FALSE)
```
Expand Down
4 changes: 2 additions & 2 deletions vignettes/ggblanket.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ penguins2 <- palmerpenguins::penguins |>
mutate(sex = stringr::str_to_sentence(sex)) |>
tidyr::drop_na(sex)
```

### 1. Over thirty gg\_\* wrapper functions

Each `gg_*` function wraps a ggplot2 `ggplot(aes(...))` function with the applicable ggplot2 `geom_*()` function. All aesthetics are placed directly in the `gg_*` function: they are not within a `ggplot2::aes` function.
Expand Down Expand Up @@ -286,7 +286,7 @@ penguins2 |>

```{r, fig.asp=0.8}
# ggblanket
theme_set(light_mode(base_size = 14))
theme_set(light_mode(base_size = 12))
penguins2 |>
gg_point(
Expand Down

0 comments on commit b3bf683

Please sign in to comment.