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

I've been trying to figure out a way to easily reduce the space/gap from the top of the page to the table of contents title, as in to reduce the vertical space before the table of contents begins.

Below is my MWE:


%%% Packages %%%
\usepackage[hidelinks,breaklinks]{hyperref} % hyperref for linking references for pdf
\usepackage{tocloft}    % tocloft for table of contents style
\usepackage[compact]{titlesec}  % titlesec for title section layout

% Format the title for chapters

% Begin document

\addtocontents{toc}{\vskip-40pt} % this is to reduce the gap for the first table of contents entry


Need to reduce the space before the Contents title, was able to reduce the space before chapter fine.

How does the report class handle the table of contents? It doesn't seem to be a chapter, else it would have moved up when I changed the chapter spacing?

share|improve this question
up vote 22 down vote accepted

I figured it out by using:


Which didn't work before since I forgot to change Z to toc: \cftbeforeZtitleskip to \cftbeforetoctitleskip

I believe Z can be changed to other things, other than 'toc'

share|improve this answer
Very good answer, it helped me a lot. Thanks... – user16399 Jul 8 '12 at 22:35

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.