diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-01-28 22:32:53 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-01-28 22:32:53 +0100 |
| commit | 5c53b9ff606f927bf0f2e4c40daf19d50ece09d9 (patch) | |
| tree | 4c71142789415e1d0c1a7952eb3ed9f70898b9d1 /tests/typ | |
| parent | 9c906f92c50d453822b12896d29b7883802ea567 (diff) | |
Support for `wrap`
Diffstat (limited to 'tests/typ')
| -rw-r--r-- | tests/typ/style/wrap.typ | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/tests/typ/style/wrap.typ b/tests/typ/style/wrap.typ index c665a9d2..5e0fdd0d 100644 --- a/tests/typ/style/wrap.typ +++ b/tests/typ/style/wrap.typ @@ -1,6 +1,23 @@ // Test wrap. -// Ref: false --- -// Error: 1-31 wrap is not yet implemented +#set page(height: 130pt) +#set text(70%) + +#align(center)[ + #text(130%)[*Essay on typography*] \ + T. Ypst +] + #wrap body in columns(2, body) +Great typography is at the essence of great storytelling. It is the medium that +transports meaning from parchment to reader, the wave that sparks a flame +in booklovers and the great fulfiller of human need. + +--- +// Test wrap in template. +A [_B #wrap c in [*#c*]; C] D + +--- +// Error: 6-17 wrap is only allowed directly in markup +{1 + wrap x in y} |
