Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 16ab666f74 | |||
| 7bc2ba0c33 | |||
| 78966cecde |
37
dhsn.typ
37
dhsn.typ
@@ -1,4 +1,4 @@
|
||||
#import "@preview/acrostiche:0.6.0": *
|
||||
#import "@preview/acrostiche:0.7.0": *
|
||||
|
||||
#let statement(location, submission-date, gender) = context [
|
||||
#pagebreak()
|
||||
@@ -39,22 +39,25 @@
|
||||
counter(heading).update(0)
|
||||
set heading(numbering: none)
|
||||
context if query(selector(figure).after(here())).len() > 0 {
|
||||
show regex("[\n,;.]? *Quelle:.*"): none
|
||||
show ref: none
|
||||
{
|
||||
show heading: none
|
||||
heading(numbering: none)[Anhangverzeichnis]
|
||||
show regex("[\n,;.]? *Quelle:.*"): none
|
||||
show ref: none
|
||||
{
|
||||
show heading: none
|
||||
heading(numbering: none)[Anhangverzeichnis]
|
||||
}
|
||||
outline(title: "Anhangverzeichnis", target: selector(figure).after(here()))
|
||||
pagebreak()
|
||||
}
|
||||
outline(title: "Anhangverzeichnis", target: selector(figure).after(here()))
|
||||
set figure(kind: raw, supplement: "Anhang")
|
||||
counter(figure.where(kind: raw)).update(0)
|
||||
|
||||
[= #supplement <dhsn.addendum>]
|
||||
body
|
||||
pagebreak()
|
||||
} else {
|
||||
body
|
||||
}
|
||||
|
||||
set figure(kind: raw, supplement: "Anhang")
|
||||
counter(figure.where(kind: raw)).update(0)
|
||||
|
||||
[= #supplement <dhsn.addendum>]
|
||||
body
|
||||
pagebreak()
|
||||
}
|
||||
#let dhsn(
|
||||
topic: "Thema der Arbeit",
|
||||
@@ -83,6 +86,12 @@
|
||||
set heading(numbering: (..nums) => nums.pos().map(str).join("."))
|
||||
|
||||
set bibliography(style: "harvard-cite-them-right", title: "Literaturverzeichnis")
|
||||
set document(
|
||||
title: topic,
|
||||
author: author,
|
||||
description: [#subtitle],
|
||||
date: submission-date,
|
||||
)
|
||||
set cite(form: "prose")
|
||||
show cite: c => {
|
||||
show "ohne Datum": "o.D."
|
||||
@@ -202,7 +211,7 @@
|
||||
}
|
||||
|
||||
context {
|
||||
if (acros.get() != none and acros.get().len() > 0) {
|
||||
if (_acronyms.final() != none and _acronyms.final().len() > 0) {
|
||||
{
|
||||
show heading: none
|
||||
heading(numbering: none)[Abkürzungsverzeichnis]
|
||||
|
||||
Reference in New Issue
Block a user