Skip to content

Commit 8472625

Browse files
christopherkennygordonwoodhull
authored andcommitted
Move typst $labels.abstract$
1 parent acd3aee commit 8472625

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/resources/create/extensions/format-typst/_extensions/qstart-filesafename-qend/typst-show.typ

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ $if(region)$
3838
$endif$
3939
$if(abstract)$
4040
abstract: [$abstract$],
41+
abstract-title: "$labels.abstract$",
4142
$endif$
4243
$if(margin)$
4344
margin: ($for(margin/pairs)$$margin.key$: $margin.value$,$endfor$),

src/resources/create/extensions/format-typst/_extensions/qstart-filesafename-qend/typst-template.typ

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
authors: none,
1717
date: none,
1818
abstract: none,
19+
abstract-title: none,
1920
cols: 1,
2021
margin: (x: 1.25in, y: 1.25in),
2122
paper: "us-letter",
@@ -72,7 +73,7 @@
7273

7374
if abstract != none {
7475
block(inset: 2em)[
75-
#text(weight: "semibold")[$labels.abstract$] #h(1em) #abstract
76+
#text(weight: "semibold")[#abstract-title] #h(1em) #abstract
7677
]
7778
}
7879

0 commit comments

Comments
 (0)