How to number headings as 1, 2, 3 not 01, 02, 03?

I have used the following code to number the section headings in my document:
#set heading(numbering: “1”)
The headings appear as ‘01 Introduction’ ‘02 Data’, etc.
How do I get rid of the zeros?

I’m not able to reproduce your problem given the code that you posted. Please try to create a short sample of code that, when run on its own, produces the problem that you are talking about (called a SSCCE, or MRE).

#set heading(numbering: "1")

#outline()

= A
= B
= C

Results in:

1 Like

This comes from incorrect ordering of the heading elements.

They should not skip levels in their hierarchy:

#set heading(numbering: "1")

== X
== Y
== Z

= X
= Y
= Z
Output

3 Likes

Thanks! This worked beautifully!