From 36cea7c978d1ccbf1b913af33df2d492ef5d1d61 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 18 Oct 2025 15:41:07 +0200 Subject: Typst template: ensure that title block is properly centered. Closes #11221. --- data/templates/template.typst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'data') diff --git a/data/templates/template.typst b/data/templates/template.typst index 749ecb007..0ac9e564a 100644 --- a/data/templates/template.typst +++ b/data/templates/template.typst @@ -72,9 +72,9 @@ } } - block(below: 4mm)[ + block(below: 1em, width: 100%)[ #if title != none { - align(center)[#block(inset: 2em)[ + align(center, block[ #text(weight: "bold", size: 1.5em)[#title #if thanks != none { footnote(thanks, numbering: "*") counter(footnote).update(n => n - 1) @@ -84,8 +84,7 @@ parbreak() text(weight: "bold", size: 1.25em)[#subtitle] } - ) - ]] + )]) } #if authors != none and authors != [] { -- cgit v1.2.3