From ebff8eb038706404cb4601cf6853675319663e3f Mon Sep 17 00:00:00 2001 From: Laurenz Date: Thu, 21 Nov 2019 17:23:44 +0100 Subject: =?UTF-8?q?Fix=20spacing=20bugs=20=F0=9F=9A=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/layouts/align.typ | 2 +- tests/layouts/coma.typ | 6 +++--- tests/render.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'tests') 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): -- cgit v1.2.3