This is a Quarto template that assists you in creating PDF invoices via Typst.
You can use this as a template to create an invoice. To do this, use the following command:
quarto use template mcanouil/quarto-invoiceThis will install the extension and create an example qmd file that you can use as a starting place for your invoice.
You may also use this format with an existing Quarto project or document. From the Quarto project or document directory, run the following command to install this format:
quarto add mcanouil/quarto-invoiceTo use the format, you can use the format name invoice-typst.
For example:
quarto render template.qmd --to invoice-typstor in your document yaml
format:
invoice-typst:
lang: en
region: UK
papersize: a4
margin:
x: 2.5cm
y: 2.5cm
mainfont: "Alegreya Sans"
fontsize: 12pt Using _brand.yml (v1.2.0):
brand:
typography:
fonts:
- family: Alegreya Sans
source: google
weight: [400, 700]
style: [normal, italic]
base:
family: "Alegreya Sans"
size: 12pt
headings:
family: "Alegreya Sans"
color: dodgerblueYou can view a preview of the rendered template below: Invoice Template