mirror of
https://github.com/C0ffeeCode/typst-dhbw-technik-template.git
synced 2025-12-28 15:22:18 +01:00
Fix for Typst 0.13:
- Changes removal of outline fill in favor of `outline.entry` fill
This commit is contained in:
parent
bb437af760
commit
348f744d78
2 changed files with 7 additions and 3 deletions
|
|
@ -15,3 +15,4 @@ If you intend to use the VS Code extension "Typst-LSP", don't,
|
||||||
and use the Tinymist Typst extension instead.
|
and use the Tinymist Typst extension instead.
|
||||||
|
|
||||||
This is a adapted version of a template by [@satoqz](https://github.com/satoqz/).
|
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.
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@
|
||||||
Ich bin mir bewusst, dass eine falsche Erklärung rechtliche Folgen haben wird.
|
Ich bin mir bewusst, dass eine falsche Erklärung rechtliche Folgen haben wird.
|
||||||
|
|
||||||
#title
|
#title
|
||||||
*a big & fat _TODO_!*
|
// *a big & fat _TODO_!*
|
||||||
],
|
],
|
||||||
abstract: "Abstract",
|
abstract: "Abstract",
|
||||||
contents: "Inhaltsverzeichnis",
|
contents: "Inhaltsverzeichnis",
|
||||||
|
|
@ -387,7 +387,10 @@
|
||||||
if n > 2 { n = 2 }
|
if n > 2 { n = 2 }
|
||||||
return n * 2em
|
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 => {
|
#show outline.entry.where(level: 1): it => {
|
||||||
if it.element.func() != heading { return it }
|
if it.element.func() != heading { return it }
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue