summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/layouts/align.typ17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/layouts/align.typ b/tests/layouts/align.typ
index 7a512f47..f13a2010 100644
--- a/tests/layouts/align.typ
+++ b/tests/layouts/align.typ
@@ -1,8 +1,25 @@
{size:150pt*208pt}
+// Without newline in between
[align: left][Left: {lorem:20}]
[align: right][Right: {lorem:20}]
+// With newline in between
[align: center][Center: {lorem:80}]
[align: left][Left: {lorem:20}]
+
+// Context-modifying align
+[align: right]
+
+New Right: {lorem:30}
+
+[align: left][Inside Left: {lorem:10}]
+
+Right Again: {lorem:10}
+
+// Reset context-modifier
+[align: left]
+
+// All in one line
+{lorem:25} [align: right][{lorem:50}] {lorem:15}