How to have headings without numbers in a fluent way?

Another way would be

#let nonumber(body) = {
  set heading(numbering: none)
  body
}

#nonumber[=== Generators]

Both have their up- and downsides – the show rule applies to other files while the function has to be imported, but function seems a bit more “direct” to me.

1 Like