#Start numbering from level 2 heading
11 messages · Page 1 of 1 (latest)
you mean the chapter would be a level 1 heading?
Yes 🙂
yeah it's certainly possible
I would like to use thise pattern : #set heading(numbering: "I.a.i -")
currently I get this
?render
#set heading(numbering: (..numbers) => {
let numbers = numbers.pos().slice(1) // get rid of the first one
if numbers.len() > 0 {
numbering("I.a.i -", ..numbers) // return the generated numbering (with all but the first one)
}
})
#outline(indent: 2em)
= My Chapter
== Test
== Test
=== Testy test
=== Testy test
==== Testy test test
there we go 👍
This is perfect !
Thanks a lot !