MFrey
May 26, 2025, 9:59am
1
The result should be like this.
1 First section
2 Second section
3 Third section
A Thing A
B Thing B
C Thing C
Problem is, new headings start counting at “K”, when i do:
#set heading(numbering: “A”)
And i don’t know how i can reset the internal counter of the heading function
Hi, this is explained in the counter documentation . In your case inserting #counter(heading).update(0)
achieves what you want to do
2 Likes
MFrey
May 26, 2025, 10:48am
3
Yeah i knew i was stupid. I didn’t think my solution would be in the counter documentation. Anyways, thanks for the fast reply.
#outline()
#set heading(numbering: "1")
= First section
= Second section
= Third section
#counter(heading).update(0)
#set heading(numbering: "A")
= Thing A
= Thing B
= Thing C
2 Likes