mirror of
https://github.com/typst/typst
synced 2025-05-17 02:25:27 +08:00
multiple level replace test
This commit is contained in:
parent
b06f469ad6
commit
553bf2476e
BIN
tests/ref/grid-subheaders-repeat-replace-multiple-levels.png
Normal file
BIN
tests/ref/grid-subheaders-repeat-replace-multiple-levels.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 913 B |
@ -87,6 +87,29 @@
|
|||||||
..([z],) * 10,
|
..([z],) * 10,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
--- grid-subheaders-repeat-replace-multiple-levels ---
|
||||||
|
#set page(height: 8em)
|
||||||
|
#grid(
|
||||||
|
grid.header(
|
||||||
|
[a]
|
||||||
|
),
|
||||||
|
[x],
|
||||||
|
grid.header(
|
||||||
|
level: 2,
|
||||||
|
[b]
|
||||||
|
),
|
||||||
|
grid.header(
|
||||||
|
level: 3,
|
||||||
|
[c]
|
||||||
|
),
|
||||||
|
..([y],) * 10,
|
||||||
|
grid.header(
|
||||||
|
level: 2,
|
||||||
|
[d]
|
||||||
|
),
|
||||||
|
..([z],) * 6,
|
||||||
|
)
|
||||||
|
|
||||||
--- grid-subheaders ---
|
--- grid-subheaders ---
|
||||||
#set page(width: auto, height: 12em)
|
#set page(width: auto, height: 12em)
|
||||||
#let rows(n) = {
|
#let rows(n) = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user