From e8cbd09b8a419738238aedb85b3369dc9fced141 Mon Sep 17 00:00:00 2001 From: marius Date: Thu, 4 Sep 2025 10:32:51 +0200 Subject: [PATCH] fix formatting in addendum and code blocks --- dhsn.typ | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dhsn.typ b/dhsn.typ index bdb5b30..b1f0fa2 100644 --- a/dhsn.typ +++ b/dhsn.typ @@ -77,6 +77,15 @@ set par(justify: true, leading: 1.2em) show heading: set block(below: 1.2em) show figure: set par(leading: 1em) + show table: set par(leading: 1em) + show raw: it => { + if (it.lines.first().count > 1) { + set par(leading: 1em) + it + } else { + it + } + } set page( margin: ( top: 2cm,