quarto use template mgrau/problemset
This will install the extension and create an example qmd file that you can use as a starting place for your problem set.
To use with quarto in the command line
quarto render ps.qmd --to problemset-pdf
quarto render ps.qmd --to problemset-html
or specify in the document header yaml
format:
problemset-pdf: default
Header Block
title: Q001
subtitle: Introduction to Problem Sets
semester: Fall 2023
author: Dr. Matt Grau
affiliation: Old Dominion University
type: Problem Set
due: Friday September 29 2023
solutions: true #include solutions
You can include solutions inline using the block
::: sol
your solution here
:::
These are hidden if in the document metadata solution: false
Here is the source code for a minimal sample document: template.qmd.