mirror of
https://github.com/typst/typst
synced 2025-07-16 00:52:54 +08:00
test subfooters demo
This commit is contained in:
parent
858e620ef7
commit
40ae2324d1
BIN
tests/ref/grid-subfooters-demo.png
Normal file
BIN
tests/ref/grid-subfooters-demo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.1 KiB |
41
tests/suite/layout/grid/subfooters.typ
Normal file
41
tests/suite/layout/grid/subfooters.typ
Normal file
@ -0,0 +1,41 @@
|
||||
--- grid-subfooters-demo ---
|
||||
#set page(height: 15.2em)
|
||||
#table(
|
||||
columns: 2,
|
||||
align: center,
|
||||
table.header(
|
||||
table.cell(colspan: 2)[*Regional User Data*],
|
||||
),
|
||||
table.header(
|
||||
level: 2,
|
||||
table.cell(colspan: 2)[*Germany*],
|
||||
[*Username*], [*Joined*]
|
||||
),
|
||||
[john123], [2024],
|
||||
[rob8], [2025],
|
||||
[joe1], [2025],
|
||||
[joe2], [2025],
|
||||
[martha], [2025],
|
||||
[pear], [2025],
|
||||
table.footer(
|
||||
level: 2,
|
||||
[*Mode*], [2025],
|
||||
table.cell(colspan: 2)[*Totals*],
|
||||
),
|
||||
table.header(
|
||||
level: 2,
|
||||
table.cell(colspan: 2)[*United States*],
|
||||
[*Username*], [*Joined*]
|
||||
),
|
||||
[cool4], [2023],
|
||||
[roger], [2023],
|
||||
[bigfan55], [2022],
|
||||
table.footer(
|
||||
level: 2,
|
||||
[*Mode*], [2023],
|
||||
table.cell(colspan: 2)[*Totals*],
|
||||
),
|
||||
table.footer(
|
||||
table.cell(colspan: 2)[*Data Inc.*],
|
||||
),
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user