blob: 6627242188a707df977e781d423ca55e797f8629 (
plain) (
blame)
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
|
---
// Test that trailing linebreak doesn't overflow the region.
#set page(height: 2cm)
#grid[
Hello \
Hello \
Hello \
World
]
---
// Test that broken cell expands vertically.
#set page(height: 2.25cm)
#grid(
columns: 2,
gutter: 10pt,
align(bottom)[A],
[
Top
#align(bottom)[
Bottom \
Bottom \
#v(0pt)
Top
]
],
align(top)[B],
)
---
// Ensure grids expand enough for the given rows.
#grid(
columns: (2em, 2em),
rows: (2em,) * 4,
fill: red,
stroke: aqua,
[a]
)
|