aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAlbert Krewinkel <[email protected]>2025-07-21 10:40:24 +0200
committerAlbert Krewinkel <[email protected]>2025-07-21 11:11:25 +0200
commitf596612abd69c4aa517cc59df69ef6c4707f14bc (patch)
tree4a2bcc33f46f3a228e01db5f1340ebd53cb8fbe6 /data
parent20950fdfaba7b532a9dfc354f46c8b237495a615 (diff)
Typst: add support for custom and/or translated "Abstract" titles
Closes: #9724
Diffstat (limited to 'data')
-rw-r--r--data/templates/template.typst2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/template.typst b/data/templates/template.typst
index 1889bef6f..24b1320fb 100644
--- a/data/templates/template.typst
+++ b/data/templates/template.typst
@@ -80,7 +80,7 @@
#if abstract != none {
block(inset: 2em)[
- #text(weight: "semibold")[Abstract] #h(1em) #abstract
+ #text(weight: "semibold")[$if(abstract-title)$${abstract-title}$else$Abstract$endif$] #h(1em) #abstract
]
}
]