WoodcoreMake the numbers vibe

Commands › Printing a drawing or an object

#image-schema Printing a drawing or an object

Prints a schema as an image: a detail drawn in Woodcore's «Schemas» tab.

#image-schema(,
  : , : , : 
)

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

The essentials

An image, not a figureIt goes in a native #figure: the caption and the label are the document's own.
Cited by its label<label> after the figure, @label in the text: numbered by Typst.
One element highlightedhighlight: puts one part of the detail under a halo, to talk about it.

Arguments

ArgumentStatusWhat it does, and examples
The line's arguments
required
The schema's id, as Woodcore saved it.
#image-schema("VU-Skizze")the connection's detail
"SD_02"another schema of the project
What is printed
optional
The parts of the schema put under a halo, by id.
highlight: "S001"one part
highlight: ("S001", "S002")several parts
optional
The width the schema is printed at, all the room it is given by default.
width: 60%a little over half the column
width: 12cma fixed width
optional
What the drawing of the schema shows.
detail-figure: "aids"with its drawing aids
detail-figure: ()the detail alone

Lines to copy

Minimal call

#image-schema("VU-Skizze")

Complete call

#image-schema("VU-Skizze", highlight: none, width: 100%, detail-figure: auto)

Examples

Example 1
#figure(image-schema("VU-Skizze"), kind: image, caption: [Detail der Verbindung]) <fig-vu>
The page image-schema produces, level 2
Example 2
#figure(image-schema("VU-Skizze", highlight: "E1", detail-figure: (), width: 60%), kind: image, caption: [Das Element E1])
The page image-schema produces, level 2

Defined in lib/calc-engine-drawings.typ:881