I want my list of figures look like an ordinary chapter in my appendix. But right now my table of contents looks like this:
This is how I add my list of figures:
\addcontentsline{toc}{chapter}{\listfigurename}
\listoffigures
Apparently \listoffigures
uses \chapter*
instead of \chapter
. Basically I want the numbering to look like this:
Appendix
A. List of Figures
B. Appendix test chapter 1
C. Appendix test chapter 2
I tried using \patchcmd
from etoolbox
as suggested here but it had no effect.
\patchcmd{\listoffigures}{\chapter*}{\chapter}{}{}
Is it possible to do it like this? Is there a better way?
Edit: I just came up with the following hack:
\renewcommand\listfigurename{A. List of Figures}
\addcontentsline{toc}{chapter}{\listfigurename}
\listoffigures
\setcounter{chapter}{1}
This fixes my table of contents but unfortunately the pdf bookmark for my list of figures is now name "A. List of Figures" as well but I want it to be simply "List of Figures".
Edit2 with MWE:
\documentclass{scrreprt}
\begin{document}
\tableofcontents{}
\chapter{Chapter 1}
\part{Appendix}
\appendix
\pagenumbering{Roman}
\listoffigures
\chapter{Appendix chapter 1}
\chapter{Appendix chapter 2}
\end{document}
Best Answer
The
scrreprt
class already has the relevant feature:Add
\cleardoublepage
before changing the page numbering style (but the appendix with Roman page numbers is very unusual).