-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
docsImprovements or additions to documentationImprovements or additions to documentation
Description
Description
I think it would be very handy if on the counter page you added examples of resetting figure counters.
Basically this:
counter(figure.where(kind: image)).update(0)
counter(figure.where(kind: table)).update(0)
Why? Well, for my book each chapter has figures and tables that start again at the number one. It's a bit unusual but not totally out of the ordinary. Another use case where someone might want to know how to do this is if they have a table that's actually an image and want to increase the table counter.
Anyway, this is just my two cents as it took a bit to long to figure this out before I found a similar enough answer here
https://forum.typst.app/t/how-do-i-reset-the-figure-numbering-after-a-header-using-quarto/3680/3
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
docsImprovements or additions to documentationImprovements or additions to documentation