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.
excerptrequiredThe excerpt's id, as the «Annexes» tab saved it.
widthoptional · default 100%The width the excerpt is printed at, all the room it is given by default.
widthoptional · default 100%100%Free text, for example:
width: 60%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
| Argument | Status | What 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 columnwidth: 12cma fixed width | |
Lines to copy
Minimal call
#image-extract("CO1-My")Complete call
#image-extract("CO1-My", width: 100%)Examples
#figure(image-extract("CO1-My"), kind: image, caption: [Biegemomente unter CO1]) <ex-my>#figure(image-extract("CO1-My", width: 70%), kind: image, caption: [Auszug])Defined in lib/calc-engine-drawings.typ:901