# List of figures as chapter

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}

-
Can you at least tell what class you're using? A minimal working example (MWE) would be even better. – egreg Mar 10 '14 at 8:28
Sorry, forgot about that. I just started using Latex and I'm still a bit overwhelmed by all the features/classes ;) See my 2nd edit for an MWE. – lukad Mar 10 '14 at 8:42

## 3 Answers

The scrreprt class already has the relevant feature:

\documentclass[listof=numbered]{scrreprt}

\begin{document}

\tableofcontents

\chapter{Chapter 1}

\cleardoublepage
\pagenumbering{Roman}
\appendix

\listoffigures

\chapter{Appendix chapter 1}
\chapter{Appendix chapter 2}

\end{document}


Add \cleardoublepage before changing the page numbering style (but the appendix with Roman page numbers is very unusual).

-
Thanks! I know the numbering style is unusual but it's required... – lukad Mar 10 '14 at 8:57

I found a simple way to solve your problem...

\begingroup
\chapter{\label{table_index}List of Figures}
\renewcommand{\chapter}[2]{}
\listoftables
\endgroup


hf :)

-
This does not answer the question... Redefining \chapter would only remove the chapter setting, but not display that includes an adjusted numbering scheme. – Werner Jun 18 '15 at 7:37

Based on my first edit I managed to fix my pdf bookmark problem using \texorpdfstring.

\renewcommand\listfigurename{A. List of Figures}
\addcontentsline{toc}{chapter}{\texorpdfstring{\listfigurename}{List of Figures}}
\listoffigures
\setcounter{chapter}{1}


Everything works now but I would still be interested in a prettier solution.

-