WoodcoreMake the numbers vibe

Commands › Printing a drawing or an object

#image-extract Printing a drawing or an object

Prints an excerpt of an annex as an image: the region of a source page framed in the «Annexes» tab.

#image-extract(,
  : 
)

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.
Linked to its annexThe excerpt links to its page in the annexes #show-annexes prints.

Arguments

ArgumentStatusWhat it does, and examples
The line's arguments
required
The excerpt's id, as the «Annexes» tab saved it.
#image-extract("CO1-My")the moments under CO1
"CO1-Vz"another excerpt of the same source
What is printed
optional
The width the excerpt is printed at, all the room it is given by default.
width: 60%a little over half the column
width: 12cma fixed width

Lines to copy

Minimal call

#image-extract("CO1-My")

Complete call

#image-extract("CO1-My", width: 100%)

Examples

Example 1
#figure(image-extract("CO1-My"), kind: image, caption: [Biegemomente unter CO1]) <ex-my>
The page image-extract produces, level 2
Example 2
#figure(image-extract("CO1-My", width: 70%), kind: image, caption: [Auszug])
The page image-extract produces, level 2

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