How to display a outline in another outline

You can use heading’s outlined: true to show up your graph outline in main outline, for example:

#let graph-outline(..args) = {
  show outline: set heading(outlined: true)
  outline(..args)
}

#outline()

#graph-outline(title: "Graphs", target: figure.where(outlined: true))

= Foo
= Bar
2 Likes