quarto use template stat20/stat20handout-typst
This will install the format extension and create an example qmd file that you can use as a starting place for your document.
Beyond some small changes to margins and line spacing, this template adds a header and footer.
The header is populated by the values of two yml metadata fields: title
and title-prefix
.
The header is populated by the values of two yml metadata fields: course-name
and semester
.