diff options
Diffstat (limited to 'tests/typ/layout/block-sizing.typ')
| -rw-r--r-- | tests/typ/layout/block-sizing.typ | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/typ/layout/block-sizing.typ b/tests/typ/layout/block-sizing.typ new file mode 100644 index 00000000..a768c3e3 --- /dev/null +++ b/tests/typ/layout/block-sizing.typ @@ -0,0 +1,16 @@ +// Test blocks with fixed height. + +--- +#set page(height: 100pt) +#set align(center) + +#lorem(10) +#block(width: 80%, height: 60pt, fill: aqua) +#lorem(6) +#block( + breakable: false, + width: 100%, + inset: 4pt, + fill: aqua, + lorem(8) + colbreak(), +) |
