diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-13 15:14:25 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-13 16:04:25 +0100 |
| commit | b1b4e52af9e2da8f8ae1fc17a81ed6cbcbb8f525 (patch) | |
| tree | e97ad140dac6d0414e9b49f7d01abccdcd717d4f /tests/typ/layout/block-sizing.typ | |
| parent | 72b60dfde751b4a2ab279aa1fcfa559b4a75eb51 (diff) | |
Block sizing
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(), +) |
