From b82c7c3c6a4dc61ee249b03438d2a32c04120ecc Mon Sep 17 00:00:00 2001 From: Malte Date: Wed, 30 Oct 2024 18:01:58 +0100 Subject: [PATCH] improve logo placement --- beitritt.typ | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/beitritt.typ b/beitritt.typ index 128b433..cab54e1 100644 --- a/beitritt.typ +++ b/beitritt.typ @@ -2,15 +2,20 @@ read("flipdot-logo-notext-monochrome.svg") .replace("231f20", "f5c600") } -#set page(paper: "a4", background: align(top+right, { - v(9em); - rotate(-90deg, - scale(150%, - image.decode(fd) - ) - )}) - , margin: (top: 1cm, bottom: 1cm, left: 2cm, right: 2cm) +#set page(paper: "a4", + background: align(top+right, { + box(inset: 1cm, + rotate(-90deg, + reflow: true, + scale(150%, + reflow: true, + image.decode(fd) + ) + ) + ) + }), + margin: (top: 1cm, bottom: 1cm, left: 2cm, right: 2cm) ) #set text(font: "ISOCPEUR", size: 16pt ) #show heading: it => [