From 4bfd38212f6c0f069ef0614c1eee4959a8ea9b74 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Mon, 25 Sep 2023 19:19:21 +0000 Subject: [PATCH] Add dymo labels --- labels_dymo.typ | 20 ++++++++++++++++++++ labels.typ => labels_lettersheet.typ | 0 2 files changed, 20 insertions(+) create mode 100644 labels_dymo.typ rename labels.typ => labels_lettersheet.typ (100%) diff --git a/labels_dymo.typ b/labels_dymo.typ new file mode 100644 index 0000000..13fa880 --- /dev/null +++ b/labels_dymo.typ @@ -0,0 +1,20 @@ +#{ + set page(width: 3.5in, height: 1.125in, margin: 0em) + + import "common.typ" + + let options = json("options.json") + let cards = options.cards + + for (idx, card) in cards.enumerate() { + if idx != 0 { + pagebreak() + } + place( + top + left, + dx: 1in/16, + dy: 1in/16, + common.address_block(2.5in, 1in, card) + ) + } +} diff --git a/labels.typ b/labels_lettersheet.typ similarity index 100% rename from labels.typ rename to labels_lettersheet.typ