fixes, add info on how to get the contact info in the footer

This commit is contained in:
Gaspard Jankowiak 2026-05-12 14:14:58 +02:00
commit b9ad5eb4e5
2 changed files with 28 additions and 6 deletions

View file

@ -3,7 +3,7 @@
lang: "de", lang: "de",
place: "Graz", place: "Graz",
date: "01. April 1970", date: datetime.today().display("[day].[month].[year]"),
title: "Dr.", title: "Dr.",
firstname: "John", firstname: "John",
@ -18,7 +18,7 @@ phone: 1234,
homepage: "https://imsc.uni-graz.at/doe", homepage: "https://imsc.uni-graz.at/doe",
subject: [Der Betreff eines Schreibens sollte in einer Zeile gut Platz finden.], subject: [The letter subject should fit on one line.],
signature: none, signature: none,
body:none, body:none,

View file

@ -4,7 +4,9 @@
lang: "de", lang: "de",
place: "Graz", place: "Graz",
date: "01. April 1970", // the date is not automatically localized in Typst,
// you have to date care of that.
date: datetime.today().display("[day].[month].[year]"),
title: "Dr.", title: "Dr.",
firstname: "John", firstname: "John",
@ -18,14 +20,34 @@ phone: 1234,
homepage: "https://imsc.uni-graz.at/doe", homepage: "https://imsc.uni-graz.at/doe",
subject: [Der Betreff eines Schreibens sollte in einer Zeile gut Platz finden.], subject: [The letter subject should fit on one line.],
signature: none, signature: none,
// [Mit freundlichen Grüßen // [Mit freundlichen Grüßen
// //
// Dr. John Doe], // Dr. John Doe
// #image("signature.png")],
[ [
This is the letter' first page's body. fofofo This is the letter' first page's body.
#lorem(200)
#lorem(200)
])
// The CD manual of the KFU [1] requires the contact information of the sender to be placed in the footer
// except for the first page, where it is placed above the date. This is not naturally doable in Typst.
// On way is to provide the content of the other pages separately with the `body` option, as follows:
//
// [1] https://static.uni-graz.at/fileadmin/presse/Sonstiges/Corporate_Design_Manual_Uni_Graz_2023.pdf
//
#letter( /* your options here */
date: datetime.today().display("[day].[month].[year]"),
[
This is the content of the first page, you have to make sure it does not overflows to the second page.
],
body: [
This is the content of the following pages. It will always start with a page break.
#lorem(200) #lorem(200)