feat: add custom bilbiography titles
This commit is contained in:
parent
1d6a900fca
commit
81772d7718
16
src/lib.typ
16
src/lib.typ
|
@ -122,17 +122,27 @@
|
||||||
|
|
||||||
#metadata("content terminate") <end-of-content>
|
#metadata("content terminate") <end-of-content>
|
||||||
|
|
||||||
#end_styled(config)[
|
#end_styled(
|
||||||
|
config,
|
||||||
|
context [
|
||||||
// add bibliography if set
|
// add bibliography if set
|
||||||
#if "bibliography" in config.thesis and config.thesis.bibliography != none {
|
#if "bibliography" in config.thesis and config.thesis.bibliography != none {
|
||||||
pagebreak(weak: true)
|
pagebreak(weak: true)
|
||||||
counter(page).update(1)
|
counter(page).update(1)
|
||||||
set bibliography(style: "ieee")
|
set bibliography(
|
||||||
|
style: "ieee",
|
||||||
|
title: if (text.lang == "de") {
|
||||||
|
"Literaturverzeichnis"
|
||||||
|
} else if text.lang == "en" {
|
||||||
|
"Bibliography"
|
||||||
|
},
|
||||||
|
)
|
||||||
config.thesis.bibliography
|
config.thesis.bibliography
|
||||||
}
|
}
|
||||||
|
|
||||||
// appendix
|
// appendix
|
||||||
#show-appendix(config: config)
|
#show-appendix(config: config)
|
||||||
]
|
],
|
||||||
|
)
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue