mirror of
https://github.com/C0ffeeCode/typst-dhbw-technik-template.git
synced 2025-12-28 13:22:20 +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.
|
||||
|
||||
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.
|
||||
|
||||
#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 }
|
||||
|
|
|
|||
Loading…
Reference in a new issue