From 348f744d780ebf3efd3b841a9e74e44f002e5557 Mon Sep 17 00:00:00 2001 From: C0ffeeCode Date: Wed, 12 Mar 2025 15:11:49 +0100 Subject: [PATCH] Fix for Typst 0.13: - Changes removal of outline fill in favor of `outline.entry` fill --- README.md | 1 + template.typ | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 871243c..f285d66 100644 --- a/README.md +++ b/README.md @@ -15,3 +15,4 @@ If you intend to use the VS Code extension "Typst-LSP", don't, and use the Tinymist Typst extension instead. This is a adapted version of a template by [@satoqz](https://github.com/satoqz/). +It is designed for Computer Science at the DHBW Stuttgart, and may be compatible with other courses of study. diff --git a/template.typ b/template.typ index fed4d9f..d513185 100755 --- a/template.typ +++ b/template.typ @@ -67,7 +67,7 @@ Ich bin mir bewusst, dass eine falsche Erklärung rechtliche Folgen haben wird. #title - *a big & fat _TODO_!* + // *a big & fat _TODO_!* ], abstract: "Abstract", contents: "Inhaltsverzeichnis", @@ -199,7 +199,7 @@ ) // do not justify inside of figures, incl. tables - #show figure: set par (justify: false) + #show figure: set par(justify: false) #set figure( numbering: "I" @@ -387,7 +387,10 @@ if n > 2 { n = 2 } return n * 2em }, - fill: repeat(" . ") + // fill: repeat(" . ") // Deprecated in Typst 0.13 + ) + #set outline.entry( + fill: repeat([.], gap: 0.15em) ) #show outline.entry.where(level: 1): it => { if it.element.func() != heading { return it }