Commands › The document and its citations
#doc-tables The document and its citations
Sets hand-written tables the engine's way: only the rules the table writes, the caption above.
#doc-tables()Hover an argument: what it does. Hover its value: every possible value. A click keeps the bubble open.
docrequiredThe document whose tables are set.
The essentials
A show rule
#show: doc-tables; woodcore-document applies it already.The three rulesThick above the header, thin under it, thick under the last row:
table.hline.Like Woodcore'sA table by hand and one Woodcore wrote read alike.
Arguments
| Argument | Status | What it does, and examples |
|---|---|---|
| The line's arguments | ||
| required | The document whose tables are set. #show: doc-tablesevery table that follows#table(columns: 3, [Last], [2.5], [kN/m²])cells padded as the engine's | |
Lines to copy
Minimal call
#show: doc-tablesExamples
#show: doc-tables
#figure(
table(
columns: (auto, 1fr),
table.hline(stroke: 1pt),
table.header([*Bauteil*], [*Beschreibung*]),
table.hline(stroke: 0.5pt),
[Dach], [Flachdach, extensiv begrünt],
table.hline(stroke: 1pt),
),
caption: [Bauteile],
)#show: doc-tables
#table(columns: 3, align: (left, right, right), [Last], [2.5], [kN/m²])Defined in lib/calc-engine-core.typ:280