From 9d3594a48352d01010b81ec0ad9b0a5acde3b633 Mon Sep 17 00:00:00 2001 From: Jonas Hahn Date: Fri, 30 Jan 2026 23:38:42 +0100 Subject: [PATCH] Example ref --- README.md | 1 + justfile | 1 + main.typ | 9 +++++---- pyproject.toml | 1 - refs.bib | 9 +++++++++ 5 files changed, 16 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d96032d..53a65b2 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ just ``` Das default target mit `just` ist ein guter Startpunkt. +[Template](https://typst.app/universe/package/ilm) fuer das Dokument mit [Iosevka](https://typeof.net/Iosevka/) als Font. ## Personen diff --git a/justfile b/justfile index d2893a1..21bae82 100644 --- a/justfile +++ b/justfile @@ -12,6 +12,7 @@ test: # Build document and open in zathura build: + rm main.pdf typst compile main.typ zathura main.pdf >/dev/zero 2>&1 & disown diff --git a/main.typ b/main.typ index 708089e..a6537a6 100644 --- a/main.typ +++ b/main.typ @@ -1,17 +1,18 @@ #import "@preview/ilm:1.4.2": * -#set text(lang: "en") +#set text(lang: "de") #show: ilm.with( title: [Numerik Portfolio], author: "Tom Witjes, Jonas Hahn, Noah Dechant und Jakob", date: datetime(year: 2026, month: 02, day: 02), - abstract: [Methoden und Ergebnisse des Numerik Portfolios im Wintersemester 2026.], + abstract: [ + Methoden und Ergebnisse des Numerik Portfolios im Wintersemester 2026. + ], bibliography: bibliography("refs.bib"), figure-index: (enabled: true), table-index: (enabled: true), listing-index: (enabled: true), ) -// Your content goes below. - +Literate programming @knuth:1984 in typst after Knuth? diff --git a/pyproject.toml b/pyproject.toml index 6a2ecc5..a8d9a0f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,6 @@ [project] name = "ws-numerik" version = "0.1.0" -description = "Add your description here" readme = "README.md" requires-python = ">=3.13" dependencies = [ diff --git a/refs.bib b/refs.bib index e69de29..aa75bb7 100644 --- a/refs.bib +++ b/refs.bib @@ -0,0 +1,9 @@ +# Naming convention is to put the last name and year seperated by a colon + +@book{knuth:1984, + title={Literate Programming}, + author={Donald E. Knuth}, + journal={The Computer Journal}, + year={1984}, + publisher={Oxford University Press} +}