improvement/bold-figure-captions #27

Merged
servostar merged 3 commits from improvement/bold-figure-captions into main 2024-07-18 10:24:16 +00:00
1 changed files with 10 additions and 0 deletions
Showing only changes of commit baba65ef41 - Show all commits

View File

@ -94,6 +94,16 @@
#c.body
]
// change the display supplement according to the text langugae
// based on: https://github.com/typst/typst/issues/3273
show figure.where(kind: raw): set figure(supplement: context {
if text.lang == "de" {
"Quelltext"
} else {
"Listing"
}
})
// APA style table
set table(
inset: 0.5em,