Templates for Avery Zweckform labels

Last thing I used an app like Pages for were Avery Zweckform labels I remember having a template for LaTeX. I wonder how would you make such a template for Typst?

My idea would be to set the which Avery Zweckform label to use and than have an option like startat: 1. So that you only have to define the labels you actually want to use, not the entire page.

There’s a package called etykett that I’ve used for my labels… it has enough options to adapt it to most label sheets. etykett – Typst Universe

A small example would look something like this

#import "@preview/etykett:0.1.1"

#let data = (
  "label 1",
  "label 2",
  "third label",
  "something else",
  "and a fifth text",
)

// define how a label should look
#let name-label( mytext ) = [
  #set text(font: "Atkinson Hyperlegible Next", size: 20pt)
  #set par( spacing: 10pt)
  #set align(left+horizon)
  #block( inset: (left: 5mm, right:5mm))[
    *#mytext*
    #line( length: 100%, stroke: blue+1mm)
    SomeCompany #h(1fr) 2025
  ]
]

#etykett.labels(
  // define the dimensions of the label sheet you're printing onto
  sheet: etykett.sheet(
    paper: "a4",
    margins: 5mm,
    gutters: (x: 1mm),
    rows: 4,
    columns: 2,
  ),
  // when preparing the labels, you can display the label dimensions
  // border: true,

  // produce the labels for your dataset
  ..data.map(name-label),
)
2 Likes