From 45934c5fd26c674fb1030fcd2adf72064fcb19c7 Mon Sep 17 00:00:00 2001 From: Jean-Marie 'Histausse' Mineau Date: Thu, 3 Jul 2025 12:29:20 +0200 Subject: [PATCH] set fix size for listing width --- lib/matisse-thesis.typ | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/matisse-thesis.typ b/lib/matisse-thesis.typ index d0eac42..21c88d3 100644 --- a/lib/matisse-thesis.typ +++ b/lib/matisse-thesis.typ @@ -158,7 +158,12 @@ ) // ---------- LISTING ---------- - show raw.where(block: true): block.with(radius: 1em, fill: luma(240), inset: 1em) + show raw.where(block: true): it => { + block(radius: 1em, fill: luma(240), inset: 1em, width: 80%, { + set align(left) + it + }) + } // ---------- OUTLINES ----------