Any idea how to set a small size for code chunks on Quarto pdf output ? I don't want my code to have the same size of my text, but I can't find an argument in the settings in the begining of my document nor in the R code chunk to specify a font size.
CodePudding user response:
CodePudding user response:
You can do this locally with LaTeX font options:
---
title: "chunk-size"
format: pdf
editor: visual
---
\tiny
```{r}
summary(mtcars$mpg)
```
\normalsize
You can use Huge
> huge
> LARGE
> Large
> large
> normalsize
> small
> footnotesize
> scriptsize
> tiny
.