Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bast/quarto-letter-template
Quarto letter template example
https://github.com/bast/quarto-letter-template
letter quarto template
Last synced: 6 days ago
JSON representation
Quarto letter template example
- Host: GitHub
- URL: https://github.com/bast/quarto-letter-template
- Owner: bast
- License: mit
- Created: 2023-11-27T02:50:41.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-27T03:11:35.000Z (about 1 year ago)
- Last Synced: 2024-11-29T14:51:22.033Z (2 months ago)
- Topics: letter, quarto, template
- Language: TeX
- Homepage:
- Size: 72.3 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [Quarto](https://quarto.org/) letter template example
This example shows how to create/adjust your own [Quarto](https://quarto.org/)
template so that you can write nice-looking letters in Markdown with logos and
stuff.## Resources which I have used
- https://github.com/numbats/monash-quarto-letter used as inspiration but not used
directly since it looked too sophisticated to me.
- Example logo from https://logoipsum.com/.## Example
- This is the source file in Markdown:
[letter.md](https://raw.githubusercontent.com/bast/quarto-letter-template/main/letter.md)
- And this is how the generated PDF looks: [letter.pdf](letter.pdf)## How to build the PDF
```console
$ quarto render letter.md
```## Meaning of the files
```
├── _extensions
│ └── letter <- you can rename it but then also rename it inside letter.md
│ ├── _extension.yml <- here you define which files are needed
│ ├── logo.png
│ ├── signature.png
│ └── template.tex <- here you define the layout in LaTeX
├── letter.md <- you write this
├── letter.pdf <- quarto generates this
├── LICENSE
└── README.md
```The `_extensions` part you can reuse across letters. The idea is that the
extension defines all that is common for all your letters (logo, address,
layout). You can also share your extensions via [Quarto](https://quarto.org/)
(but I haven't tried it yet).You can modify [template.tex](_extensions/letter/template.tex) to your heart's
content but it requires some know-how in LaTeX.