From fc984c1e32aa591d704b0fdceb1df808e72ae3b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20H=C3=B6pfinger?= Date: Sun, 1 Mar 2026 22:50:35 +0100 Subject: [PATCH] Adds paper size options to Typst show Adds the ability to specify paper size, width, and height options when using the Typst show extension. This allows for more control over the output document's dimensions. --- _extensions/orange-book/typst-show.typ | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/_extensions/orange-book/typst-show.typ b/_extensions/orange-book/typst-show.typ index 337128f..0fa88f8 100644 --- a/_extensions/orange-book/typst-show.typ +++ b/_extensions/orange-book/typst-show.typ @@ -15,6 +15,15 @@ $if(date)$ $endif$ $if(lang)$ lang: "$lang$", +$endif$ +$if(papersize)$ + paper-size: "$papersize$", +$endif$ +$if(paper-width)$ + width: $paper-width$, +$endif$ +$if(paper-height)$ + height: $paper-height$, $endif$ main-color: brand-color.at("primary", default: blue), logo: {