mirror of
https://github.com/C0ffeeCode/typst-dhbw-technik-template.git
synced 2025-12-28 15:22:18 +01:00
feat: Appendix
This commit is contained in:
parent
9c9709ccbb
commit
2f399cd5ef
1 changed files with 18 additions and 1 deletions
19
template.typ
19
template.typ
|
|
@ -32,6 +32,7 @@
|
||||||
list_of_figures: "List of Figures",
|
list_of_figures: "List of Figures",
|
||||||
acronyms: "Acronyms",
|
acronyms: "Acronyms",
|
||||||
bibliography: "Bibliography",
|
bibliography: "Bibliography",
|
||||||
|
appendix: "Appendix",
|
||||||
chapter: "Chapter",
|
chapter: "Chapter",
|
||||||
section: "Section",
|
section: "Section",
|
||||||
confidentiality_clause: [
|
confidentiality_clause: [
|
||||||
|
|
@ -73,6 +74,7 @@
|
||||||
list_of_figures: "Abbildungsverzeichnis",
|
list_of_figures: "Abbildungsverzeichnis",
|
||||||
acronyms: "Abkürzungsverzeichnis",
|
acronyms: "Abkürzungsverzeichnis",
|
||||||
bibliography: "Literaturverzeichnis",
|
bibliography: "Literaturverzeichnis",
|
||||||
|
appendix: "Anhang",
|
||||||
chapter: "Kapitel",
|
chapter: "Kapitel",
|
||||||
section: "Abschnitt",
|
section: "Abschnitt",
|
||||||
confidentiality_clause: [
|
confidentiality_clause: [
|
||||||
|
|
@ -135,6 +137,8 @@
|
||||||
|
|
||||||
// The contents of your abstract
|
// The contents of your abstract
|
||||||
abstract: include "./abstract.typ",
|
abstract: include "./abstract.typ",
|
||||||
|
// To be append after the bibliography
|
||||||
|
appendix: none,
|
||||||
|
|
||||||
// First chapter of your thesis
|
// First chapter of your thesis
|
||||||
// This is required to generate the content section correctly
|
// This is required to generate the content section correctly
|
||||||
|
|
@ -525,7 +529,20 @@
|
||||||
|
|
||||||
// finally, include the bibliography chapter at the end of the document
|
// finally, include the bibliography chapter at the end of the document
|
||||||
#pagebreak()
|
#pagebreak()
|
||||||
#bibliography(bibliography_path, title: selected_lang.bibliography, style: "ieee")
|
#if appendix != none [
|
||||||
|
#pagebreak(weak: true)
|
||||||
|
#heading(numbering: none, selected_lang.appendix)
|
||||||
|
#set heading(
|
||||||
|
outlined: true,
|
||||||
|
bookmarked: true,
|
||||||
|
numbering: (..nums) => {
|
||||||
|
let n = nums.pos()
|
||||||
|
n.remove(0)
|
||||||
|
return numbering("A.1", ..n)
|
||||||
|
}
|
||||||
|
)
|
||||||
|
#appendix
|
||||||
|
]
|
||||||
]
|
]
|
||||||
|
|
||||||
// `pref` if to prefer the long form
|
// `pref` if to prefer the long form
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue