diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-11-09 18:16:59 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-11-09 18:20:02 +0100 |
| commit | 010cc2effc2fd0e1c4e52d5c914cb4d74506bc0a (patch) | |
| tree | e50060d271f076b00945e5569e7f8ffef2c28e9f /tests/typ/structure/attach.typ | |
| parent | 12a59963b08b68cc39dcded4d3d3e6a6631c2732 (diff) | |
New block spacing model
Diffstat (limited to 'tests/typ/structure/attach.typ')
| -rw-r--r-- | tests/typ/structure/attach.typ | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/tests/typ/structure/attach.typ b/tests/typ/structure/attach.typ index c6d3c28c..c13de236 100644 --- a/tests/typ/structure/attach.typ +++ b/tests/typ/structure/attach.typ @@ -9,10 +9,8 @@ Attached to: Next paragraph. --- -// Test attached list without parbreak after it. -// Ensures the par spacing is used below by setting -// super high around spacing. -#set list(around: 100pt) +// Test that attached list isn't affected by block spacing. +#show list: it => { set block(above: 100pt); it } Hello - A World @@ -29,8 +27,8 @@ World - B --- -// Test not-attached tight list. -#set list(around: 15pt) +// Test non-attached tight list. +#set block(spacing: 15pt) Hello - A World @@ -41,8 +39,8 @@ World More. --- -// Test that wide lists cannot be attached ... -#set list(around: 15pt, spacing: 15pt) +// Test that wide lists cannot be ... +#set block(spacing: 15pt) Hello - A @@ -50,7 +48,7 @@ Hello World --- -// ... unless really forced to. +// ... even if forced to. Hello -#list(attached: true, tight: false)[A][B] +#list(tight: false)[A][B] World |
