diff --git a/exemple.pdf b/exemple.pdf index 1c7ebbc..670e298 100644 Binary files a/exemple.pdf and b/exemple.pdf differ diff --git a/exemple.typ b/exemple.typ index 3652353..d179747 100644 --- a/exemple.typ +++ b/exemple.typ @@ -1,7 +1,7 @@ #import "lettre.typ": * #show link: strong -#show: doc => lettre( +#show: lettre.with( de: [ Ex Péditeur,\ 12 rue des Sept Nains\ @@ -21,7 +21,6 @@ post: [ #emph("PS: Finalement, rien.") ], - doc ) je soussigné, Ex Péditeur, atteste par la présente sur l’honneur que ce document diff --git a/readme.md b/readme.md index a287f99..c146af9 100644 --- a/readme.md +++ b/readme.md @@ -8,7 +8,7 @@ parameters, with the [`lettre.typ`](./lettre.typ) file in the same folder: ```typst #import "lettre.typ": * -#show: doc => lettre( +#show: lettre.with( de: [ Sender\ Address @@ -26,7 +26,6 @@ parameters, with the [`lettre.typ`](./lettre.typ) file in the same folder: post: [ post-letter (e.g., post-scriptum) ], - doc ) ```