diff --git a/flake.lock b/flake.lock deleted file mode 100644 index 0793da5..0000000 --- a/flake.lock +++ /dev/null @@ -1,27 +0,0 @@ -{ - "nodes": { - "nixpkgs": { - "locked": { - "lastModified": 1728538411, - "narHash": "sha256-f0SBJz1eZ2yOuKUr5CA9BHULGXVSn6miBuUWdTyhUhU=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "b69de56fac8c2b6f8fd27f2eca01dcda8e0a4221", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "root": { - "inputs": { - "nixpkgs": "nixpkgs" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/flake.nix b/flake.nix index 0f4ab32..bb12265 100644 --- a/flake.nix +++ b/flake.nix @@ -18,6 +18,7 @@ pkgs.typst pkgs.typstyle pkgs.tinymist + pkgs.agebox ]; }; }; diff --git a/schule/philosophie/PL_2024-10-01.typ b/schule/philosophie/PL_2024-10-01.typ index b740a98..0566cf4 100644 --- a/schule/philosophie/PL_2024-10-01.typ +++ b/schule/philosophie/PL_2024-10-01.typ @@ -11,7 +11,7 @@ #figure( diagram( - // debug: true, + debug: true, node((0,0), [*#underline[Recht und Staatsphilosophie]*], shape: rect, stroke: black), node((-1,1), "beschreibend"), diff --git a/shell.nix b/shell.nix index 2d9175f..cd6b9b6 100644 --- a/shell.nix +++ b/shell.nix @@ -5,5 +5,7 @@ pkgs.typst pkgs.typstyle pkgs.tinymist + pkgs.agebox + pkgs.mermaid-cli ]; } diff --git a/template.typ b/template.typ index 51fe53a..f2845b6 100644 --- a/template.typ +++ b/template.typ @@ -26,6 +26,12 @@ } #set heading(numbering: clean_numbering("A.", "I.", "1.a.")) + // functions for my stuff + #let title(body) = { + set align(center) + [ - #body] + } + // #set math.equation(numbering: "(1)", supplement: "equation") // Customization of text elements