WoodcoreMake the numbers vibe

Commands › Printing a drawing or an object

#image-legend Printing a drawing or an object

Prints a sheet's legend as an image: the symbols of the sheet's plans, each once, in a frame.

#image-legend(
  : ,
  : , : ,
  : 
)

Hover an argument: what it does. Hover its value: every possible value. A click keeps the bubble open.

The essentials

For an export sheetWoodcore sets it with a #place of the sheet; it prints on its own too.
Each symbol onceTwo plans drawing one symbol add their quantities.
Positions or firekind: "fire" gives the fire-protection plans' lines.

Arguments

ArgumentStatusWhat it does, and examples
The line's arguments
optional
The plans whose symbols are listed.
plans: "Velo-Unterstand"one plan
plans: ("Pavillon", "Geratehaus")several plans
What is printed
optional
The position plans' symbols, or the fire-protection plans' lines.
kind: "fire"the fire legend
kind: "position"the positions' legend
optional
The width its columns share.
width: 60mma length
width: 80millimetres
Label and description
optional
The title above the legend.
title: [Symbole]your title
title: noneno title

Lines to copy

Minimal call

#image-legend()

Complete call

#image-legend(plans: auto, kind: "position", width: 120mm, title: auto)

Examples

Example 1
#show: sheet.with(format: "A6", landscape: true)
#place(top + left, dx: 10mm, dy: 10mm, image-positions-plan("Velo-Unterstand", width: 60mm, title: auto)) <sheet-viewport>
#place(top + left, dx: 75mm, dy: 10mm, image-legend(width: 25mm)) <sheet-legend>
The page image-legend produces, level 2
Example 2
#show: sheet.with(format: "A6", landscape: true, kind: "fire")
#place(top + left, dx: 10mm, dy: 10mm, image-legend(plans: "Treppenhaus", kind: "fire", width: 80mm)) <sheet-fire-legend>
The page image-legend produces, level 2

Defined in lib/sheet.typ:217