summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/layouts/align.typ9
-rw-r--r--tests/layouts/pagebreaks.typ2
-rw-r--r--tests/layouts/shakespeare.typ7
3 files changed, 11 insertions, 7 deletions
diff --git a/tests/layouts/align.typ b/tests/layouts/align.typ
new file mode 100644
index 00000000..8cad240c
--- /dev/null
+++ b/tests/layouts/align.typ
@@ -0,0 +1,9 @@
+{size:150pt*206pt}
+
+[align: left][Left: {lorem:20}]
+
+[align: right][Right: {lorem:20}]
+
+[align: center][Center: {lorem:80}]
+
+[align: left][Left: {lorem:20}]
diff --git a/tests/layouts/pagebreaks.typ b/tests/layouts/pagebreaks.typ
index 6887613f..00684f56 100644
--- a/tests/layouts/pagebreaks.typ
+++ b/tests/layouts/pagebreaks.typ
@@ -1,2 +1,2 @@
{size:200pt*200pt}
-{lorem:400}
+{lorem:300}
diff --git a/tests/layouts/shakespeare.typ b/tests/layouts/shakespeare.typ
index 09edd361..19450ce4 100644
--- a/tests/layouts/shakespeare.typ
+++ b/tests/layouts/shakespeare.typ
@@ -1,8 +1,3 @@
-// Basic unboxed
-{include:shakespeare.tpl}
-
-// Boxed, but still left-aligned
+[align: center][{include:shakespeare.tpl}]
[align: left][{include:shakespeare.tpl}]
-
-// Boxed, and right-aligned
[align: right][{include:shakespeare.tpl}]