Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Is it possible to put the list of figures and tables onto one page? I only have two tables in my thesis, so having it on an extra page looks quite bad.

I've read about the tocloft package and tried to use it. It moved both lists onto one page, but they're no longer shown in the table of contents.

So is there a way to get \listoffigures and \listoftables on the same page while preserving the ToC entry for them?

share|improve this question
    
AFAIK in traditional typesetting the LoF and LoT (as well as the ToC itself) are not listed in the ToC. The explanation I got was that they have a fixed place (just after the ToC) and therefore do not have to be listed. The same counts for material with a fixed place at the end, like references. However, I can see why you would add them to an e.g. thesis: they aren't very common with other SW (like MS Word) and people might just indicate to e.g. the supervisor that they exist. –  Martin Scharrer Mar 29 '11 at 14:54
    
Thanks for the quick response! All theses on my chair have a similar structure, so I don't want to skip something from the ToC that's usually there in other theses. –  Bruno Mar 29 '11 at 15:03
    
I see. (I put them into my undergrad thesis as well.) –  Martin Scharrer Mar 29 '11 at 15:07
    
What class are you using for your thesis? Or did you use, anyway. Article doesn't add a newpage by default. –  Canageek Mar 31 '12 at 23:02

4 Answers 4

up vote 20 down vote accepted

You can temporally disable the \clearpage (and/or \cleardoublepage) command which generates the page break at the beginning of the second \listof... command:

\listoffigures
\begingroup
\let\clearpage\relax
\listoftables
\endgroup

You might need to manually adjust the spacing before the second headline.

However without a minimal example that shows your used class and packages I can't test it. It works with the default book class, but then the LoF and LoT aren't added to the ToC in any case.

share|improve this answer
1  
Works perfect in report. ToC also generates correctly. Thank you –  Wilhelmsen Jun 5 '13 at 8:58
    
Works also perfect with scrbook. However, do not forget to put toc=listof as parameter into the \documentclass command. Without this parameter no \listof* entries are included in the toc. –  phx Dec 6 '13 at 8:03

Just an afterthough. For documents with few tables and figures I usualy bundle them together in one command \listofillustrations

\makeatletter
\providecommand\phantomsection{}% for hyperref

\newcommand\listofillustrations{%
    \chapter*{List of Illustrations}%
    \phantomsection
    \addcontentsline{toc}{chapter}{List of Illustrations}%
    \section*{Figures}%
    \phantomsection
    \addcontentsline{toc}{section}{\protect\numberline{}Figures}%
    \@starttoc{lof}%
    \bigskip
    \section*{Tables}%
    \phantomsection
    \addcontentsline{toc}{section}{\protect\numberline{}Tables}%
    \@starttoc{lot}}

\makeatother

If you are using an article class you can use \section* and \subsection*

share|improve this answer
    
I used Martins answer, but that's a really cool idea :) –  Bruno Mar 31 '11 at 9:29
    
I like that, but unfortunately it adds additional spacing between entries if parskip=half. I use scrbook. –  neo Apr 10 '13 at 13:05

memoir's default \listoffigures and \listoftables commands don't put themselves on separate pages:

\documentclass{memoir}

\begin{document}
\tableofcontents*
\listoftables
\listoffigures

\chapter{Introduction}
\begin{figure}
\centering
Some fake content
\caption{A first fake figure}%
\end{figure}

\begin{figure}
\centering
Some fake content
\caption{A second fake figure}%
\end{figure}

\begin{table}
\centering
\begin{tabular}{lcr}
More & fake & content
\end{tabular}
\caption{A first fake table}
\end{table}

\begin{table}
\centering
\begin{tabular}{lcr}
More & fake & content
\end{tabular}
\caption{A second fake table}
\end{table}
\end{document}

Default memoir ToC, LoF, LoT

I won't go so far as to recommend memoir for everything, but if you're writing a thesis, and are already looking at tocloft and similar packages, you may end up piecing together a sizable portion of what memoir already provides in one class. I have a style for my university based on memoir, and the lines of code required to maintain the style requirements is easily half of what the previous style file had. How much of that improvement is due to memoir itself, and how much is from replacing old explicit code with newer CTAN packages, I can't say.

share|improve this answer

I actually did this a slightly different way.

Firstly add a manual chapter name, without number, then by letting the chapter = section, they are put on the same page as a section, as opposed to new chapter format.

\def\lofchaptername{Lists of Figures, Tables, Derivations Etc...}
\chapter*{\lofchaptername}
\addcontentsline{toc}{chapter}{\lofchaptername}

\let\chapter=\section

\renewcommand{\cftfigfont}{}
\renewcommand*\listfigurename{Figures}
\listoffigures
\addcontentsline{toc}{section}{\listfigurename}

\renewcommand{\cfttabfont}{}
\renewcommand*\listtablename{Tables}
\listoftables
\addcontentsline{toc}{section}{\listtablename}

%The next two are custom theorems defined elsewhere using amsthm and thmtools.
\renewcommand*\listtheoremname{Derivations}
\listoftheorems[ignoreall,onlynamed={derivation}]
\addcontentsline{toc}{section}{\listtheoremname}

\renewcommand*\listtheoremname{Proofs}
\listoftheorems[ignoreall,onlynamed={proof}]
\addcontentsline{toc}{section}{\listtheoremname}
share|improve this answer

Your Answer

 
discard

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.