I'm trying to get a Quarto home page of the ground and one requirement is a custom font (free webfont; Tex-Gyre-Adventor).
Following the documentation, I have played around with the html
format specific mainfont
tag in various iterations (see header example below), but cannot make this work - including if the font is additionally defined as a @font-face
in style.css
(and many other attempts).
Can anyone point me in the right direction how to use mainfont
with a non-standard font?
Thanks for any pointers!
---
title: "Page"
title-block-banner: false
format:
html:
theme: vapor
mainfont: `https://fontlibrary.org/en/font/tex-gyre-adventor`
code-fold: true
toc: false
number-sections: false
link-citations: yes
---