Skip to content

Instantly share code, notes, and snippets.

@werkstattcodes
Created April 27, 2021 09:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save werkstattcodes/1b72fdbcb7ad717de21f9abb49df8c71 to your computer and use it in GitHub Desktop.
Save werkstattcodes/1b72fdbcb7ad717de21f9abb49df8c71 to your computer and use it in GitHub Desktop.
---
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