Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mcanouil/quarto-invoice
Quarto Typst template extension to make invoices.
https://github.com/mcanouil/quarto-invoice
quarto quarto-extension quarto-format quarto-pub quarto-template quartopub typst
Last synced: 22 days ago
JSON representation
Quarto Typst template extension to make invoices.
- Host: GitHub
- URL: https://github.com/mcanouil/quarto-invoice
- Owner: mcanouil
- License: mit
- Created: 2023-11-24T21:45:28.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-01T22:02:52.000Z (about 1 month ago)
- Last Synced: 2025-01-01T23:19:05.843Z (about 1 month ago)
- Topics: quarto, quarto-extension, quarto-format, quarto-pub, quarto-template, quartopub, typst
- Language: Typst
- Homepage: https://m.canouil.dev/quarto-invoice/index.pdf
- Size: 193 KB
- Stars: 36
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - mcanouil/quarto-invoice - Quarto Typst template extension to make invoices. (Typst)
README
# Invoice Format Template (Typst)
This is a Quarto template that assists you in creating PDF invoices via Typst.
## Creating a New Invoice
You can use this as a template to create an invoice.
To do this, use the following command:```bash
quarto use template mcanouil/quarto-invoice
```This will install the extension and create an example qmd file that you can use as a starting place for your invoice.
## Installation For Existing Document
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:```bash
quarto add mcanouil/quarto-invoice
```## Usage
To use the format, you can use the format name `invoice-typst`.
For example:```bash
quarto render template.qmd --to invoice-typst
```or in your document yaml
```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`](https://posit-dev.github.io/brand-yml/) ([v1.2.0](../../releases/tag/1.2.0)):
```yml
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: dodgerblue
```You can view a preview of the rendered template below: [Invoice Template](https://m.canouil.dev/quarto-invoice/index.pdf)