summaryrefslogtreecommitdiff
path: root/tests/typ/elements/circle.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/elements/circle.typ')
-rw-r--r--tests/typ/elements/circle.typ15
1 files changed, 7 insertions, 8 deletions
diff --git a/tests/typ/elements/circle.typ b/tests/typ/elements/circle.typ
index c36f9f94..4413d0d9 100644
--- a/tests/typ/elements/circle.typ
+++ b/tests/typ/elements/circle.typ
@@ -14,16 +14,15 @@ Auto-sized circle. \
]
Center-aligned rect in auto-sized circle.
-#circle(fill: forest)[
- #align(center, center)
- #rect(fill: conifer, pad(5pt)[
- But, soft!
- ])
-]
+#circle(fill: forest,
+ align(center, center,
+ rect(fill: conifer, pad(5pt)[But, soft!])
+ )
+)
-100%-width rect in auto-sized circle. \
+Rect in auto-sized circle. \
#circle(fill: forest,
- rect(width: 100%, fill: conifer)[
+ rect(fill: conifer)[
But, soft! what light through yonder window breaks?
]
)