How to add space between figure outline entries that belong to different chapters?

I’m using the following code so that figure, table and equation numbers always start with the number of the level 1 heading, for instance: Fig. 2.7

set math.equation(numbering: (..num) =>
    numbering("(1.1)", counter(heading).get().first(), num.pos().first())
  )
  set figure(numbering: (..num) =>
    numbering("1.1", counter(heading).get().first(), num.pos().first())
  )
  
  show heading.where(level: 1): it => {
    counter(math.equation).update(0)
    counter(figure.where(kind: image)).update(0)
    counter(figure.where(kind: table)).update(0)
    counter(figure.where(kind: raw)).update(0)
    v(5mm)
    it
    v(2mm)
  }

In the list of figures (outline) I need to add additional space when the capter of the figures changes, essentially grouping the figures in the list by chapter visually.

How can I achieve that?

Something like this?

3 Likes

Exactly this, thanks alot for your help! :slight_smile: