Reputation: 1460
How to change the font-size in a quarto pdf document?
I tried with the following settings, but I did not see any changes in font size.
format:
pdf:
documentclass: article
geometry:
- top=30mm
- left=20mm
fontfamily: libertinus
fontsize: 16pt
Thanks for your help.
Upvotes: 7
Views: 9169
Reputation: 4524
I had the same problem. Just by trial-and-error I found that leaving the line with documentclass: article
out, made changing fontsize possible:
---
title: "Untitled"
output: pdf_document
format:
pdf:
fontfamily: libertinus
fontsize: 20pt
editor: visual
---
Upvotes: 6