make weight of list of figures regular (#44)

This commit is contained in:
Sven Vogel 2024-08-22 10:23:09 +02:00
parent 4084960737
commit a95b42bac3
1 changed files with 9 additions and 0 deletions

View File

@ -16,6 +16,15 @@
let elems = query(figure.where(kind: kind), here()) let elems = query(figure.where(kind: kind), here())
let count = elems.len() let count = elems.len()
show outline.entry: it => {
link(it.element.location())[
#v(12pt, weak: true)
#text(weight: "regular", it.body)
#box(width: 1fr, it.fill)
#[ #it.page]
]
}
// only show outline if there is something to list // only show outline if there is something to list
if count > 0 { if count > 0 {
pagebreak(weak: true) pagebreak(weak: true)