summaryrefslogtreecommitdiff
path: root/tests/typ/text
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-06-26 15:47:37 +0200
committerLaurenz <laurmaedje@gmail.com>2021-06-26 15:47:37 +0200
commitd53c933e4d56e6c0484d81814779ddb1597ee032 (patch)
tree493aa2f8397a26b11a1137d2882994686b5ac7de /tests/typ/text
parent784018124d13a4cfb050b8bf1fecd283cdc309db (diff)
Add box and block functions
Diffstat (limited to 'tests/typ/text')
-rw-r--r--tests/typ/text/align.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/text/align.typ b/tests/typ/text/align.typ
index 27c650a4..2ffe1b4c 100644
--- a/tests/typ/text/align.typ
+++ b/tests/typ/text/align.typ
@@ -2,7 +2,7 @@
---
// Test that alignment depends on the paragraph's full width.
-#rect[
+#box[
Hello World \
#align(right)[World]
]
@@ -10,7 +10,7 @@
---
// Test that a line with multiple alignments respects the paragraph's full
// width.
-#rect[
+#box[
Hello #align(center)[World] \
Hello from the World
]