summaryrefslogtreecommitdiff
path: root/tests/layouting/align.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2019-12-07 14:42:25 +0100
committerLaurenz <laurmaedje@gmail.com>2019-12-07 14:42:25 +0100
commitf364395e1d774456500ea61bb7b931f48a62ddfa (patch)
treeb4d66bd44c619d8ff93f36686c91752910fa4768 /tests/layouting/align.typ
parent1099330988da78c82c6e155fab88d81fb2f1d4c0 (diff)
Create parsing test harness ⚡
Diffstat (limited to 'tests/layouting/align.typ')
-rw-r--r--tests/layouting/align.typ23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/layouting/align.typ b/tests/layouting/align.typ
new file mode 100644
index 00000000..a7101932
--- /dev/null
+++ b/tests/layouting/align.typ
@@ -0,0 +1,23 @@
+[box][
+ A short sentence. [align: right][words.]
+
+ A short sentence. [n] [align: right][words.]
+
+ A short sentence. [par.break] [align: right][words.]
+
+ [align: bottom]
+ A longer sentence with a few more words.
+]
+
+[page.break]
+
+[box][
+ [align: vertical=top]
+ Top
+
+ [align: vertical=center]
+ Center
+
+ [align: vertical=bottom]
+ Bottom [n] Bottom [n] Bottom
+]