Closed schmidma closed 2 months ago
In the charged-ieee template the supplement for images and raw text is set to Fig.:
charged-ieee
Fig.
https://github.com/typst/templates/blame/01afc5cb135743517111269cb34b98dc44400b17/charged-ieee/lib.typ#L46
As both raw and image are both counted independently, this leads to confusing numbering when using both raw and image figures in the document:
raw
image
// [...] #figure( ```rust fn main() {} ```, caption: "This is my code block", ) #figure( image("placeholder.svg"), caption: "This is my placeholder image", ) // [...]
leads to
I'd expect the code block to be called Listing or all figures to be counted with a single counter
In the
charged-ieee
template the supplement for images and raw text is set toFig.
:https://github.com/typst/templates/blame/01afc5cb135743517111269cb34b98dc44400b17/charged-ieee/lib.typ#L46
As both
raw
andimage
are both counted independently, this leads to confusing numbering when using bothraw
andimage
figures in the document:leads to![image](https://github.com/typst/templates/assets/7946935/bc2898a8-47fc-46c2-ba71-f102cc555ff9)
I'd expect the code block to be called Listing or all figures to be counted with a single counter