summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/text/par.pngbin3432 -> 5732 bytes
-rw-r--r--tests/typ/text/par.typ11
2 files changed, 10 insertions, 1 deletions
diff --git a/tests/ref/text/par.png b/tests/ref/text/par.png
index fb493bd4..47f0ed95 100644
--- a/tests/ref/text/par.png
+++ b/tests/ref/text/par.png
Binary files differ
diff --git a/tests/typ/text/par.typ b/tests/typ/text/par.typ
index 4b223684..9955b993 100644
--- a/tests/typ/text/par.typ
+++ b/tests/typ/text/par.typ
@@ -1,8 +1,17 @@
// Test configuring paragraph properties.
---
-#par(spacing: 100%, leading: 0pt)
+// Test ragged-left.
+#par(align: right)
+To the right! Where the sunlight peeks behind the mountain.
+---
+// Test weird metrics.
+#par(spacing: 100%, leading: 0pt)
But, soft! what light through yonder window breaks?
It is the east, and Juliet is the sun.
+
+---
+// Error: 13-16 must be horizontal
+#par(align: top)