mirror of
https://github.com/typst/typst
synced 2025-05-13 20:46:23 +08:00
19 lines
349 B
Typst
19 lines
349 B
Typst
// Grid now skips a remaining region when one of the cells
|
|
// doesn't fit into it at all.
|
|
|
|
---
|
|
#set page(height: 100pt)
|
|
#grid(
|
|
columns: (2cm, auto),
|
|
rows: (auto, auto),
|
|
rect(width: 100%, fill: red),
|
|
rect(width: 100%, fill: blue),
|
|
rect(width: 100%, height: 80%, fill: green),
|
|
[Hello],
|
|
)
|
|
|
|
---
|
|
#set page(height: 60pt)
|
|
#lorem(5)
|
|
- #lorem(5)
|