Created
April 27, 2021 09:42
-
-
Save werkstattcodes/1b72fdbcb7ad717de21f9abb49df8c71 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "font test" | |
author: "me" | |
date: "4/27/2021" | |
output: html_document | |
--- | |
```{r setup, include=FALSE} | |
knitr::opts_chunk$set(echo = TRUE) | |
library(tidyverse) | |
``` | |
```{r} | |
library(systemfonts) | |
systemfonts::match_font(family="Caveat") | |
``` | |
```{r dev="ragg_png"} | |
mtcars %>% | |
ggplot() + | |
geom_line(aes(x=wt, y=qsec))+ | |
labs(title="hello")+ | |
theme(plot.title = element_text(family="Caveat")) | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment