forked from pascal-huber/typst-letter-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDIN-5008-A.typ
48 lines (44 loc) · 1.08 KB
/
DIN-5008-A.typ
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#import "@local/lttr:0.1.0": *
#show: lttr_init.with(
debug: true,
format: "DIN-5008-A",
title: "Writing Letters in Typst is Easy",
settings: (
min_content_spacing: 10cm,
),
opening: "Dear Peter,",
closing: "Peace, I'm out",
signature: "Hans",
date_place: (
date: "20.04.2023",
place: "Weitfortistan",
),
horizontal_table: (
("Ihr Zeichen", "Bananalover149"),
("Ihre Nachricht vom", "12.12.2022"),
("Unser Zeichen", "BananaFactory"),
("Datum", "06.08.2023"),
),
return_to: "Bananas Ltd · Fruitstreet 15 · 1234 Monkey City · Gorillaland",
remark_zone: (
"Why would anyone write a remark?",
"...hideous...",
),
receiver: (
"Peter Bananeater",
"Bahnhofsstrasse 16",
"1234 Fruchtstadt",
"Weitfortistan",
),
sender: ([
#image("logo.png", width: 60%)
Bananas Ltd.\
Fruitstreet 15\
1234 Monkey City\
Gorillaland
]),
)
#show: lttr_preamble
#lorem(50)
#lorem(20)
#show: lttr_closing