From a95b42bac3d307bf0330210f6d99d823d51e5e2f Mon Sep 17 00:00:00 2001 From: servostar Date: Thu, 22 Aug 2024 10:23:09 +0200 Subject: [PATCH] make weight of list of figures regular (#44) --- src/pages/outline.typ | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/pages/outline.typ b/src/pages/outline.typ index c09a3da..98c73b9 100644 --- a/src/pages/outline.typ +++ b/src/pages/outline.typ @@ -16,6 +16,15 @@ let elems = query(figure.where(kind: kind), here()) 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 if count > 0 { pagebreak(weak: true)