make weight of list of figures regular (#44)
This commit is contained in:
parent
4084960737
commit
a95b42bac3
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue