The document I'm writing has all the figures in Appendix A (since there is a lot of source code included in latter appendixes, it would not make sense to put the figures as the final part of the document). I am aware I can have a separate list of figures that lists the caption short descriptions, but what I want is for this to be included in the table of contents itself. For example, instead of:
Table of Contents
1 Section 1 ......... 1
1.1 subsection .... 1
A Figures ........... 3
B Source Code ....... 5
B.1 more code ..... 6
List of Figures
Desc. 1 ............. 3
Desc. 2 ............. 4
I want:
Table of Contents
1 Section 1 ......... 1
1.1 subsection .... 1
A Figures ........... 3
Desc. 1 ........... 3
Desc. 2 ........... 4
B Source Code ....... 5
B.1 more code ..... 6
I've been scouring the internet but can only find information on how to include the List of Figures' page number in the table of contents using \addcontentsline{toc}
. Would I manually have to include caption short descriptions with \addcontentsline{toc}
for every figure or is there some way I can automate this?
Any help much appreciated