Reputation: 543
I am writing a document in markdown, and I read that I could change the font to Arial like this:
---
fontfamily: arev
---
But it did not work. But when I try to change the font to Times, it's working fine
---
fontfamily: times
---
So how do I change the font to Arial?
Upvotes: 4
Views: 8712
Reputation: 39243
Pandoc uses LaTeX per default for PDF generation, so it depends on your TeX installation.
If you're on TeX Live you can use most in this font catalogue.
Upvotes: 2
Reputation: 26823
If Helvetica is "good enough" you can use:
fontfamily: helvet
header-includes:
- \renewcommand{\familydefault}{\sfdefault}
Upvotes: 4