I would like to have my list of figures and my list of tables in the same page. I don't want only one list, the numberings must be independent. Now I have
\documentclass[12pt,twoside,titlepage,headinclude]{scrreprt}
\usepackage[Bjornstrup]{fncychap}
\usepackage{tocbibind}
\newcounter{dummy}
\begin{document}
\tableofcontents
\listoffigures
\begingroup
\let\clearpage\relax
\listoftables
\endgroup
\end{document}
It works well with the numbering but it preserve two different headings for each list. I would like an output like this in the same page:
List of Figures and Tables
Figure 1 …. Page 4
Figure n …. Page n
Table 1 …. Page 2
Table n …. Page n+1
Best Answer
Here's a solution that uses the
titletoc
package to help with the formatting.There are a couple of important things in the code below:
This enables us to use our own title for the combined list of figures and tables by using the
\@starttoc
command; note that it is used twice, one for each of thelof
andlot
.The customization of each entry is achieved using
You can tweak this as you see fit.