Initial commit

This commit is contained in:
2025-06-29 21:21:46 +02:00
commit 42ff25ba01
3 changed files with 202 additions and 0 deletions

52
example/paper.typ Normal file
View File

@@ -0,0 +1,52 @@
#import "../dhsn.typ": dhsn
#show: dhsn.with(
bib: bibliography("sources.yml"),
assignment-date: datetime(year: 2025, month: 7, day: 20)
)
= Kapitel 1
Im Fließtext kann ich auf #ref(<data>) verweisen.
== Definition
Leider muss ich auf das tolle Buch verweisen #footnote[Vgl. @makeityourself, S. 10]
Google #footnote[Vgl. @google]
Hier ist eine Komplizierte Formel:
$ I(t) = (d Q(t)) / (d t) $
...aber es geht noch schlimmer:
$ arrow(F_L) &= q dot arrow(v) times arrow(B) \
|arrow(F_L)| &= q |arrow(v)| dot |arrow(B)| dot sin(phi)
$
#pagebreak()
#set heading(numbering: "A")
#counter(heading).update(0)
= Anhang
#grid(
columns: (50%, 50%),
align: bottom,
figure(
```go
import fmt
func main() {
fmt.Println("Hallo Welt")
}
```,
caption: "Beispiel-Programm in golang",
),
[#figure(
table(
columns: 2,
"A", $overline("A")$,
"0", "1",
"1", "0",
),
caption: "Beispieldaten",
)<data>],
)

13
example/sources.yml Normal file
View File

@@ -0,0 +1,13 @@
google:
type: web
author: Google LLC
date: 2025
url:
value: https://google.com
date: 2025-06-23
makeityourself:
type: book
author: NODE
date: 2025
title: Make It Yourself - 100 Useful Things to Make