diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-11-21 17:23:44 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-11-21 17:50:51 +0100 |
| commit | ebff8eb038706404cb4601cf6853675319663e3f (patch) | |
| tree | 2837b41d6a0b23920eed5713887a1639552aed3a /tests | |
| parent | 131e81baaf668f76a7dd1d39a0d88afd5e4582ec (diff) | |
Fix spacing bugs 🚧
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/layouts/align.typ | 2 | ||||
| -rw-r--r-- | tests/layouts/coma.typ | 6 | ||||
| -rw-r--r-- | tests/render.py | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/layouts/align.typ b/tests/layouts/align.typ index 34c2f16f..9d6ab003 100644 --- a/tests/layouts/align.typ +++ b/tests/layouts/align.typ @@ -20,7 +20,7 @@ Context Right: {lorem:10} -[align: left][In-between Left: {lorem:10}] +[align: left][In-between Left] Right Again: {lorem:10} diff --git a/tests/layouts/coma.typ b/tests/layouts/coma.typ index 237b24f4..d0a02b74 100644 --- a/tests/layouts/coma.typ +++ b/tests/layouts/coma.typ @@ -10,11 +10,11 @@ ] [align: right][*WiSe 2019/2020* [n] Week 1] -[v: 3mm] +[v: 6mm] [align: center][ - *3. Ubungsblatt Computerorientierte Mathematik II* [n] - *Abgabe: 03.05.2019* (bis 10:10 Uhr in MA 001) [n] + *3. Ubungsblatt Computerorientierte Mathematik II* [v: 0.3mm] + *Abgabe: 03.05.2019* (bis 10:10 Uhr in MA 001) [v: 0.3mm] *Alle Antworten sind zu beweisen.* ] diff --git a/tests/render.py b/tests/render.py index 15467836..19f06f2b 100644 --- a/tests/render.py +++ b/tests/render.py @@ -43,7 +43,7 @@ class MultiboxRenderer: images = [] layout_count = int(self.content[0]) - horizontal = math.ceil(math.sqrt(layout_count)) + horizontal = math.floor(math.sqrt(layout_count)) start = 1 for _ in range(layout_count): |
