How to number headings without including the parent header number?

Hey @Quokka! You may want to check out the numbly package (numbly – Typst Universe), as outlined in this previous post: How can I change the heading numbering for headings of different levels differently? - #3 by ParaN3xus

Here’s how it would work in your example:

#import "@preview/numbly:0.1.0": numbly
#set heading(numbering: numbly(
  "{1}.", // if format is not specified, arabic numbers will be used
  "{2:a}.", // use {level:format} to specify the format
))

= Level 1
#lorem(30)

== Level 2
#lorem(30)

1 Like