diff options
Diffstat (limited to 'tests/typ/layout/container.typ')
| -rw-r--r-- | tests/typ/layout/container.typ | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/typ/layout/container.typ b/tests/typ/layout/container.typ new file mode 100644 index 00000000..c6928074 --- /dev/null +++ b/tests/typ/layout/container.typ @@ -0,0 +1,22 @@ +// Test the `box` and `block` containers. + +--- +// Test box in paragraph. +A #box[B \ C] D. + +// Test box with height. +Spaced \ +#box(height: 0.5cm) \ +Apart + +--- +// Test block over multiple pages. + +#set page(height: 60pt) + +First! + +#block[ + But, soft! what light through yonder window breaks? It is the east, and Juliet + is the sun. +] |
