Skip to content

Commit

Permalink
clean C5 example
Browse files Browse the repository at this point in the history
  • Loading branch information
pascal-huber committed Aug 13, 2023
1 parent 855b992 commit 6908e14
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 27 deletions.
Binary file modified examples/C5-WINDOW-RIGHT.pdf
Binary file not shown.
37 changes: 10 additions & 27 deletions examples/C5-WINDOW-RIGHT.typ
Original file line number Diff line number Diff line change
Expand Up @@ -2,45 +2,28 @@
#show: lttr_init.with(
debug: true,
format: "C5-WINDOW-RIGHT",
title: "Writing Letters in Typst is Easy",
settings: (
min_content_spacing: 10cm,
),
opening: "Dear Sir, Madam or Mother,",
closing: "Peace, I'm out",
title: "Brief schribä mit Typst isch zimli eifach",
opening: "Hoi Hans,",
closing: "Uf widerluege",
signature: "Hansli",
date_place: (
date: "20.04.2023",
place: "Weitfortistan",
place: "Witfortistan",
),
// return_to: "Banana AG · Sesamstrasse 15 · 1234 Berlin",
// remark_zone: "remark",
receiver: (
"Peter Empfänger",
"Bahnhofsstrasse 16",
"1234 Nochvielweiterwegstadt",
"1234 Zimliwitwegistan",
),
sender: {
image("logo.png", width: 100%, fit: "contain")
h(2mm)
text("Hanspeter Müller")
linebreak()
h(2mm)
text("Sesamstrasse 15")
linebreak()
h(2mm)
text("1234 Einestadt")
linebreak()
h(2mm)
text("Weitfortistan")
},
sender: ([
Ruedi Rösti\
Bahnhofsgasse 15\
8957 Spreitenbach
]),
)

#show: lttr_preamble

#lorem(50)

#lorem(80)
#lorem(20)

#show: lttr_closing

0 comments on commit 6908e14

Please # to comment.