#set heading(numbering: (first, ..other) =>
{return numbering("A.1/",..other)}
)
#counter(heading).update(0)
#heading(numbering: none)[Appendices]
== L'espace des formes modulaires pour S <AppA>
But now when I use @AppA, I obtain : “Chapter A/” and I would like to remove the final /.
Thanks for editing your post
Is this what you are looking for?
#set heading(supplement: "Appendice", numbering: (first, ..other) =>
{ return numbering("A.1/", ..other) })
#show ref: it => {
let el = it.element
if el == none or el.func() != heading or el.level != 2 or el.supplement != [Appendice] {
return it
}
let lvl = counter(heading).at(el.location()).at(1)
let body = el.supplement + numbering(" A", lvl)
link(el.location(), body)
}
#counter(heading).update(0)
#heading(numbering: none)[Appendices]
== Heading1 <refA>
Voir @refA pour plus de détails.