From 4fbe52f4c1b21ae27649698e7ffa86a56ddabbfa Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 17 Mar 2026 11:00:39 +0100 Subject: [PATCH] Update typst tests for template change. --- test/writer.typst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/writer.typst b/test/writer.typst index 31c125d47..beebc878f 100644 --- a/test/writer.typst +++ b/test/writer.typst @@ -93,6 +93,9 @@ } } +#let has-title-block = title != none or (authors != none and authors != ()) or + date != none or abstract != none +#if has-title-block { place(top, float: true, scope: "parent", clearance: 4mm, block(below: 1em, width: 100%)[ #if title != none { align(center, block[ @@ -134,7 +137,7 @@ ] } ]) - +} doc } #show: doc => conf(