I have a number of listings in my document, numbered 1, 2, 3 and so on.
I need a table with three listings (say, three different variants of the same algorithm), that will be numbered as 2a, 2b, 2c. The very next listing would be numbered as 3.
[Tex/LaTex] Custom numbering of listings
counterslistingsnumbering
Related Question
- [Tex/LaTex] listings package: no numbering in case the code has only one line
- [Tex/LaTex] Numbering of listings
- [Tex/LaTex] Multiple listings in one box with sub captions and using listings counter
- [Tex/LaTex] Listings numbering in Appendix
- [Tex/LaTex] Correct numbering of figures/tables/listings in Appendix
Best Answer
you can also save the current counter value to make it independent from the current counter setting.