I would like to know how to use \listoffigures
in order to have the titles of (sub-)sections in the list. The result would be something like this:
Section 1
Subsection 1.1
Figure 1 .......... p1
Figure 2 .......... p1
Subsection 1.2
Figure 3 .......... p2
etc...
Edit: a short example:
\documentclass[11pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\begin{document}
\tableofcontents
\newpage
\listoffigures
\newpage
\section{First section}
\subsection{First subsection of first section}
\subsection{Second subsection of first section}
\begin{figure}[htb!]
\centering
\includegraphics[]{Figure_1.pdf}
\caption[Short caption of Figure 1]{Caption of Figure 1}
\label{fig:Figure_1}
\end{figure}
\section{Second section}
\subsection{First subsection of second section}
\begin{figure}[htb!]
\centering
\includegraphics[]{Figure_2.pdf}
\caption[Short caption of Figure 2]{Caption of Figure 2}
\label{fig:Figure_2}
\end{figure}
\end{document}
On the first page there is the table of contents. On the second one there is the list of figures. What I would like is a mix of the two, which would give in this example:
1 First section
1.1 First subsection of first section
1.2 Second subsection of first section
1 Short caption of Figure 1 ..................... 3
2 Second section
2.1 First subsection of second section
2 Short caption of Figure 1 ..................... 3
Thanks in advance for your help,
Pierrot