1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
--- basic-table html ---
#table(
columns: 3,
rows: 3,
table.header(
[The],
[first],
[and],
[the],
[second],
[row],
table.hline(stroke: red)
),
table.cell(x: 1, rowspan: 2)[Baz],
[Foo],
[Bar],
[1],
// Baz spans into the next cell
[2],
table.cell(colspan: 2)[3],
[4],
table.footer(
[The],
[last],
[row],
),
)
--- col-gutter-table html ---
#table(
columns: 3,
column-gutter: 3pt,
[a], [b], [c],
[d], [e], [f],
[g], [h], [i]
)
--- row-gutter-table html ---
#table(
columns: 3,
row-gutter: 3pt,
[a], [b], [c],
[d], [e], [f],
[g], [h], [i]
)
--- col-row-gutter-table html ---
#table(
columns: 3,
gutter: 3pt,
[a], [b], [c],
[d], [e], [f],
[g], [h], [i]
)
|