Page 1 of 1

Table caption numbering for Appendix

Posted: Sat Aug 09, 2025 7:02 am
by joyceclc23
Hi
How to change my Table caption numbering for Appendix section to Table A.1 or A-1?
However, the numbering A-1 shows up in my List of Tables . Did i miss out something?
image.png
image.png

Re: Table caption numbering for Appendix

Posted: Mon Aug 11, 2025 3:07 pm
by julien_lacour
Hello,

You're right, table and figures in appendix doesn't follow numbering rules, however you can simply fix this by adding the following rules in a custom CSS stylesheet:

Code: Select all

*[class ~= "map/map"][numbering ^= 'deep-chapter-scope'] *[class ~= "topic/topic"][topicrefclass ~= "bookmap/appendix"] *[class ~= "topic/table"] > caption > .table--title-label:after {
  content: " " counter(chapter, upper-latin) "-" counter(tablecount) " ";
}
*[class ~= "map/map"][numbering ^= 'deep-chapter-scope'] *[class ~= "topic/topic"][topicrefclass ~= "bookmap/appendix"] *[class ~= "topic/fig"] > figcaption > .fig--title-label:after {
  content: " " counter(chapter, upper-latin) "-" counter(figcount) " ";
}
I added an issue in our tracking system to add these rules in the default stylesheets.

Regards,
Julien

Re: Table caption numbering for Appendix

Posted: Thu Aug 14, 2025 5:36 am
by joyceclc23
Thank you for this solution :)