Commands › The document and its citations
#caption-rules The document and its citations
Sets the captions the office's way: «Table 1 — The reference documents».
#caption-rules()Hover an argument: what it does. Hover its value: every possible value. A click keeps the bubble open.
docrequiredThe document whose captions are set.
The essentials
A show rule
#show: caption-rules; woodcore-document applies it already.Word, number, titleIts kind's word in the report's language, a long dash, the title.
The office's formatIt wins over a config.typ saying otherwise.
Arguments
| Argument | Status | What it does, and examples |
|---|---|---|
| The line's arguments | ||
| required | The document whose captions are set. #show: caption-rulesevery figure and table that follows#figure(rect(width: 2cm, height: 1cm), caption: [Système statique])«Figure 1 — Static system» | |
Lines to copy
Minimal call
#show: caption-rulesExamples
#show: caption-rules
#figure(table(columns: 2)[A][B], caption: [Les documents de référence])#show: caption-rules
#figure(rect(width: 2cm, height: 1cm), caption: [Système statique])Defined in lib/calc-engine-core.typ:248