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(