#set text( font: "Inter", fallback: false, size: 11pt, lang: "en", ) // for DK-11208 (address label) #set page( width: 38mm, height: 90mm, flipped: true, // Those are modified margins from label-item.typ. See that file for // documentation on why these margins are the way they are. // Of note for this paticular document: // - We don't have a footer, so no need to add 9pt to the bottom margin. // - Since this document is flipped, the margins are on different sides. margin: (bottom: 0mm, top: 4mm, left: 9mm, right: 0mm), ) #import "@preview/cades:0.3.0": qr-code #let item(itemname, itemslug, usage) = [ #grid( columns: 1, // 9pt for the bottom row to make its content fit on the page. rows: (1fr, 9pt), gutter: 2mm, [ #grid( columns: (1fr, auto), rows: 1, gutter: 2mm, [ == #itemname === Usage #usage ], [ #qr-code("https://wiki.hamburg.ccc.de/item:" + itemslug) ] ) ], [ #grid( columns: (1fr, auto), rows: 1, gutter: 2mm, [ #set text(size: 8pt) #set align(start + bottom) wiki.hamburg.ccc.de/item:#itemslug ], [ #set align(end + bottom) // For a 9pt ccchh.svg with padding, 6.84pt is roughly the size of the // actual logo. #image("assets/ccchh-no-padding.svg", height: 6.84pt, alt: "CCCHH") ], ) ] ) ] #item( "Prusa i3 MK3S", "prusa-i3", // "Introduction required" "See instructions (in the Wiki)" // "Freely" )