diff options
| -rw-r--r-- | data/templates/template.typst | 7 | ||||
| -rw-r--r-- | test/writer.typst | 7 |
2 files changed, 6 insertions, 8 deletions
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 != [] { diff --git a/test/writer.typst b/test/writer.typst index d64924c4b..a29406dd2 100644 --- a/test/writer.typst +++ b/test/writer.typst @@ -96,9 +96,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) @@ -108,8 +108,7 @@ parbreak() text(weight: "bold", size: 1.25em)[#subtitle] } - ) - ]] + )]) } #if authors != none and authors != [] { |
