How to Change Font and Font Size in Awesome CV
amarakon opened this issue · comments
Amar Al-Zubaidi commented
I tried to put this in my yaml:
mainfont: Inconsolata LGC Markup
sansfont: Inconsolata LGC Markup
monofont: Inconsolata LGC Markup
fontsize: 11pt
output:
vitae::awesomecv:
latex_engine: xelatex
But it didn't affect anything.
Mitchell O'Hara-Wild commented
Some discussion on how to change the font size is here: #81
To change the font, you will need to edit the cls file which gets copied to your project directory when you knit. The place to edit in this file is here:
vitae/inst/rmarkdown/templates/awesomecv/skeleton/awesome-cv.cls
Lines 163 to 187 in 6232043
Amar Al-Zubaidi commented
Thanks, all I had to do was edit that file like you said and it worked.