A collection of DIN5008 compliant envelope templates made in LaTeX and rendered as PDF. These templates follow the envelope dimensions specified in DIN 680.
This project addresses the challenge of creating dimensionally accurate, DIN-compliant envelope templates. I could not find precise, reliable templates and got frustrated enough to give it a shot.
The following table shows the current implementation status of envelope formats:
Symbols:
- ✅ existing
⚠️ work in progress- ❌ not supported yet.
| Format | Windowless | Window | filename |
|---|---|---|---|
| C6 | ❌ | ❌ | N/A |
| B6 | ❌ | ❌ | N/A |
| DL | ❌ | N/A | |
| C6/C5 | ❌ | ❌ | N/A |
| C5 | ❌ | ❌ | N/A |
| B5 | ❌ | ❌ | N/A |
| C4 | ❌ | ❌ | N/A |
| B4 | ❌ | ❌ | N/A |
| E4 | ❌ | ❌ | N/A |
To generate the PNG previews of the rendered PDF documents, this command can be used (requires image magick).
find ./templates -type f -name "*.pdf" -exec sh -c '
for pdf; do
rel_path=${pdf#./templates/}
dir_path="./examples/$(dirname "$rel_path")"
mkdir -p "$dir_path"
magick -density 150 "$pdf" "$dir_path/$(basename "${pdf%.pdf}.png")"
done
' sh {} +This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.