summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2019-10-22 21:40:37 +0200
committerLaurenz <laurmaedje@gmail.com>2019-10-22 21:40:37 +0200
commitcff325b520727ac0eec46a3757831afaa0916cc1 (patch)
tree18cef7a7880fef41050678ab479818e0abb91f14 /tests
parent991e879e1d2ed53125dbff4edba80804ff28f2a9 (diff)
Add spacing functions đź”›
Diffstat (limited to 'tests')
-rw-r--r--tests/layouts/align.typ4
-rw-r--r--tests/layouts/coma.typ6
-rw-r--r--tests/layouts/pagebreaks.typ6
3 files changed, 6 insertions, 10 deletions
diff --git a/tests/layouts/align.typ b/tests/layouts/align.typ
index 68e5fab5..c971cb41 100644
--- a/tests/layouts/align.typ
+++ b/tests/layouts/align.typ
@@ -11,7 +11,7 @@
// Over multiple pages after the pervious 3-page run.
[align: left][Left: {lorem:80}]
-[pagebreak]
+[page.break]
// ---------------------------------- //
// Context-modifying align.
@@ -26,7 +26,7 @@ Right Again: {lorem:10}
// Reset context-modifier.
[align: left]
-[pagebreak]
+[page.break]
// ---------------------------------- //
// All in one line.
diff --git a/tests/layouts/coma.typ b/tests/layouts/coma.typ
index 7b3266a9..b56299ec 100644
--- a/tests/layouts/coma.typ
+++ b/tests/layouts/coma.typ
@@ -9,9 +9,7 @@
[align: right][*WiSe 2019/2020* [n] Week 1]
]
-
-// hack for more whitespace
-[box][]
+[v: 3mm]
[align: center][
*3. Ubungsblatt Computerorientierte Mathematik II* [n]
@@ -27,5 +25,3 @@ Ein _Binärbaum_ ist ein Wurzelbaum, in dem jeder Knoten ≤ 2 Kinder hat.
Die Tiefe eines Knotens _v_ ist die Länge des eindeutigen Weges von der Wurzel
zu _v_, und die Höhe von _v_ ist die Länge eines längsten (absteigenden) Weges
von _v_ zu einem Blatt. Die Höhe des Baumes ist die Höhe der Wurzel.
-
-
diff --git a/tests/layouts/pagebreaks.typ b/tests/layouts/pagebreaks.typ
index 8de361ab..3644f662 100644
--- a/tests/layouts/pagebreaks.typ
+++ b/tests/layouts/pagebreaks.typ
@@ -1,10 +1,10 @@
{size:150pt*200pt}
{lorem:100}
-[pagebreak]
-[pagebreak]
+[page.break]
+[page.break]
{lorem:20}
-[pagebreak]
+[page.break]
{lorem:150}