Open WannesMalfait opened 1 year ago
Update: Sorry, this is not a full solution. I'm working on it…
I have the same issue with table
.
Maybe we should change the following lines…
…to…
smallcaps(it.supplement)
if it.numbering != none {
[ #it.counter.display(it.numbering)]
}
The example of modifying the appearance in Figure Function – Typst Documentation.
#show figure: it => align(center)[
#it.caption |
#emph[
#it.supplement
#it.counter.display(it.numbering)
]
#v(10pt, weak: true)
#it.body
]
I apologize to you… It's hard than I thought.
Now the theorem counter does not even count the heading — it's only displayed.
The counter is reset when a new chapter starts.
To fix that, we should turn it into a multi-level counter. It's possible, but I don't know how to start…
The heading number is included in the theorem itself, but not when you reference it. The numbering should be consistent.
Example based on
main.typ
in the ams template: