summaryrefslogtreecommitdiff
path: root/tests/layouting/align.typ
diff options
context:
space:
mode:
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
+]