TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For a relatively short report I would like to merge the list of figures (LoF) into the document's table of contents. In two related questions, Gonzalo Medina has suggested to just change the file extension LaTeX uses for the LoF, so that entries for figures end up in jobname.toc:

However, if this approach is used in conjunction with hyperref (to get a PDF ToC), the figure entries end up on chapter level (level 0) in the PDF ToC – with the effect, that the figure becomes the father of all following section or subsection entries:





\section{Test Section One}
\subsection{Subsection One.1}
\caption{test figure}
\subsection{Subsection One.2}
\section{Test Section Two}
\caption{another test figure}
\subfloat[][A subfigure]{A}
\subfloat[][A subfigure]{B}
\caption{test figure with subfigures}
\subsection{Subsection Two.1}

The following screenshot shows the problem: In the PDF ToC (left side), Subsection One.2 and even Test Section Two are nested below the entry for test figure. Moreover, the figures are missing the Figure <#> prefix:

enter image description here


  • How do I get the figure entries to appear on subsection level inside the PDF ToC?
  • How to add the Figure <#> prefix to the PDF ToC entries?
share|improve this question
@dustin: Thanks, but the point is that I want the figures on subsection level only in the PDF ToC, not regarding references inside the document's body. – Daniel Jun 24 '13 at 20:12
I never had that issue because I removed the figures from the sidebar view. They only show up in the TOC for me. I will remove the answer now. – dustin Jun 25 '13 at 19:12
up vote 2 down vote accepted

The level of figures inside the bookmarks / contents are specified by toclevel@<element>:

Related to your question (I hope I understood you):

share|improve this answer
Thanks Marco, that was it! – Daniel Jun 25 '13 at 18:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.