From b3b6a5ad71b95c2242a57127e186ace9975f99f8 Mon Sep 17 00:00:00 2001 From: June Date: Sun, 4 Jan 2026 19:37:05 +0100 Subject: [PATCH 1/2] wip: label-batterycrate --- label-batterycrate.typ | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 label-batterycrate.typ diff --git a/label-batterycrate.typ b/label-batterycrate.typ new file mode 100644 index 0000000..4be37a3 --- /dev/null +++ b/label-batterycrate.typ @@ -0,0 +1,40 @@ +#set text( + font: "Inter", + fallback: false, + size: 14pt, + lang: "en", +) + +// for DK-22205 (endless label) +#set page( + width: 62mm, + height: 24mm, + flipped: false, + margin: (left: 3mm, right: 3mm + 28mm, top: 3mm, bottom: 3mm+9pt), + // margin: (left: 3mm, right: 3mm + 14mm, top: 3mm, bottom: 3mm+9pt), + footer-descent: 0%, + footer: [ + #set text(size: 8pt) + #set align(end) + #image("assets/ccchh.svg", height: 9pt, alt: "CCCHH") + ], + background: align(start, block( + stroke: 0.5pt + black, + width: 34mm, + height: 24mm + )) + // background: align(start, block( + // stroke: 0.5pt + black, + // width: 48mm, + // height: 24mm + // )) +) + +#set align(center) +#set align(horizon) + +#text(10pt)[Akkus - Vollgut] \ +// #text(10pt)[Akkus - Leergut] \ +#text(16pt, weight: "bold")[AA] \ +// #text(16pt, weight: "bold")[AAA] \ +#v(3mm) From bf8d7bdc3aba84753fd81a656f6fb7111a821768 Mon Sep 17 00:00:00 2001 From: June Date: Sat, 18 Apr 2026 23:39:59 +0200 Subject: [PATCH 2/2] update dependency to make typst work again --- label-item.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/label-item.typ b/label-item.typ index 3153bd2..3ace4ec 100644 --- a/label-item.typ +++ b/label-item.typ @@ -53,7 +53,7 @@ ] ) -#import "@preview/cades:0.3.0": qr-code +#import "@preview/cades:0.3.1": qr-code #let item(itemname, itemslug, usage) = [ == #itemname