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.

I'm attempting to remove a double space that seems to be automatically put after the display of list of figures, table of contents, etc. What I mean visually is show as follows: Double space after List of Figures

What I would like however, is something like this (without the double space)

Single space after section

In my document, displaying the list of figures/table of contents/etc. is automatically generated by the commands \listoffigures or \tableofcontents respectively. Is there anyway to remove this excess white space?

share|improve this question
4  
Without knowing something more about your document, no one will be likely to be able to help you. Please add a minimal working example (MWE) that illustrates your problem. It just needs to have the document class you are using and the relevant contents list lines. –  Alan Munn Dec 23 '11 at 5:13
add comment

1 Answer

up vote 11 down vote accepted

If you use the tocloft pacakge, you can adjust the vertical spacing after the title and the fonts of the titles as detailed below.

Changing Spacing After Title:

The vertical spacing after the titles can be adjusted via the following lengths:

  • \cftafterloftitleskip: list of figures
  • \cftafterlottitleskip: list of tables
  • \cftaftertoctitleskip: table of contents

Here is a comparison of the default setting for cftafterloftitleskip compared to the setting it to 12pt:

enter image description here enter image description here


Changing Font:

Assuming you are not using the [titles] option when loading the tocloft package you can change the font of the titles with \renewcommand to adjust:

  • \cftloftitlefont: list of figures
  • \cftlottitlefont: list of tables
  • \cfttoctitlefont: table of contents

Here is a comparison of the font adjusted for the LOF, vs the default for LOT using:

\renewcommand{\cftloftitlefont}{\Large\bfseries}

enter image description here

Code:

\documentclass{book}
\usepackage{lipsum}% for dummy text

\usepackage{tocloft}
\setlength{\cftafterloftitleskip}{12pt}
\setlength{\cftafterlottitleskip}{12pt}
\setlength{\cftaftertoctitleskip}{12pt}

%\renewcommand{\cftloftitlefont}{\Large\bfseries}% To change font of the LOF title

\begin{document}
\tableofcontents
\listoffigures
\listoftables

\chapter{One}
\lipsum[1-12]
\begin{figure}
    \caption{First Figure in Chapter One}
\end{figure}
\begin{table}
    \caption{First Figure in Chapter One}
\end{table}
\lipsum[1-12]
\begin{figure}
    \caption{Second Figure in Chapter One}
\end{figure}
\begin{table}
    \caption{Second Figure in Chapter One}
\end{table}

\chapter{Two}
\lipsum[1-12]
\begin{figure}
    \caption{First Figure in Chapter Two}
\end{figure}
\begin{table}
    \caption{First Figure in Chapter Two}
\end{table}
\end{document}
share|improve this answer
    
Peter, is there anyway to reduce the font size of the List of Figures while taking advantage of this package? Thanks. –  Vincent Russo Dec 23 '11 at 16:15
    
@VincentRusso: Have updated the answer to show how to change the font of the titles from tocloft package. –  Peter Grill Dec 23 '11 at 16:48
    
Thanks again for the very prompt response Peter. Very helpful indeed, thank you very much. –  Vincent Russo Dec 23 '11 at 16:53
    
@VincentRusso: You're welcome. But, in the future, please get in the habit of composing a fully compilable MWE, even if it seems trivial, that illustrates the problem including the \documentclass and the appropriate packages so that those trying to help don't have to recreate it. This will save a everyone a lot of time and you'll get your questions answered more quickly. I see that you have not done that in the past for your questions. –  Peter Grill Dec 23 '11 at 20:37
add comment

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.