From fe96a17551e52c7a7865bb901d81aad3646fd1f7 Mon Sep 17 00:00:00 2001 From: MultisampledNight Date: Wed, 10 Jan 2024 21:39:21 +0100 Subject: [PATCH] docs: justify main text --- docs/template.typ | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/template.typ b/docs/template.typ index 8059e5c..602d96a 100644 --- a/docs/template.typ +++ b/docs/template.typ @@ -69,6 +69,7 @@ } }), ) + set par(justify: true) set text(..fonts.main) set heading(numbering: "A.1") @@ -86,6 +87,11 @@ inset: (x: 0.15em), radius: 0.25em, ) + show raw.where(block: true): it => { + // don't try to put codeblocks into blocktext + set par(justify: false) + it + } // highlight important terms in bold show raw: it => {