aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2026-01-03 11:32:22 -0500
committerJohn MacFarlane <[email protected]>2026-01-03 11:32:22 -0500
commit12ad483674e5447bb4258017385263f42fe457de (patch)
treeb9b5e800cd0857a5ad120a9aafaeb88a47b5b50a /test
parent60369fd353f934b8cae269919bd27c70bb28309d (diff)
Typst template: disable hyphenation for title, subtitle.
Closes #11375.
Diffstat (limited to 'test')
-rw-r--r--test/writer.typst4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/writer.typst b/test/writer.typst
index a48658664..7ce5d05f1 100644
--- a/test/writer.typst
+++ b/test/writer.typst
@@ -100,14 +100,14 @@
block(below: 1em, width: 100%)[
#if title != none {
align(center, block[
- #text(weight: "bold", size: 1.5em)[#title #if thanks != none {
+ #text(weight: "bold", size: 1.5em, hyphenate: false)[#title #if thanks != none {
footnote(thanks, numbering: "*")
counter(footnote).update(n => n - 1)
}]
#(
if subtitle != none {
parbreak()
- text(weight: "bold", size: 1.25em)[#subtitle]
+ text(weight: "bold", size: 1.25em, hyphenate: false)[#subtitle]
}
)])
}