47 lines
1.1 KiB
Markdown
47 lines
1.1 KiB
Markdown
# Projektarbeit – Typst Vorlage
|
||
|
||
## Dokument bauen
|
||
|
||
```bash
|
||
typst compile main.typ
|
||
```
|
||
|
||
Erzeugt `main.pdf` im gleichen Verzeichnis.
|
||
|
||
## Watch-Modus (automatische Aktualisierung)
|
||
|
||
```bash
|
||
typst watch main.typ
|
||
```
|
||
|
||
Das PDF wird bei jeder Dateiänderung automatisch neu gebaut. Ideal in Kombination mit einem PDF-Viewer, der Hot-Reload unterstützt.
|
||
|
||
## Zitationsstil
|
||
|
||
Der Zitationsstil folgt **DIN 1505-2 (alphanumerisch)**.
|
||
|
||
- Stildatei: `din-1505-2-alphanumeric.csl`
|
||
- Eingebunden in `main.typ` via:
|
||
```typst
|
||
#bibliography("refs.bib", title: "Literatur", style: "din-1505-2-alphanumeric.csl")
|
||
```
|
||
- Referenz/Editor: https://editor.citationstyles.org/styleInfo/?styleId=http%3A%2F%2Fwww.zotero.org%2Fstyles%2Fdin-1505-2-alphanumeric
|
||
|
||
### Literatur hinzufügen
|
||
|
||
1. Eintrag in `refs.bib` ergänzen (BibTeX-Format)
|
||
2. Im Text zitieren mit `@schluessel` oder `@schluessel[S. 12ff.]`
|
||
3. Nur tatsächlich zitierte Quellen erscheinen im Literaturverzeichnis
|
||
|
||
### BibTeX-Beispiel
|
||
|
||
```bibtex
|
||
@book{MeinBuch23,
|
||
author = {Max Mustermann},
|
||
title = {Titel des Buches},
|
||
year = {2023},
|
||
publisher = {Verlag},
|
||
address = {Stadt},
|
||
}
|
||
```
|