1. Chockalingam Sivakumar

Hi Tom,
I need to have 2″ top margin in the first page of the table of contents (2 inch vertical space before the title of TOC). How could I modify this?

• tom

The geometry package should do the trick.

\documentclass[11pt]{report}
\usepackage{geometry}
\usepackage{blindtext}
\begin{document}
\title{Some fancy title}
\maketitle
\newgeometry{top=2in}
\tableofcontents
\restoregeometry
\blinddocument\blinddocument\blinddocument
\blinddocument\blinddocument\blinddocument
\end{document}
• Chockalingam Sivakumar

The Contents section spans multiple pages. I just want the ‘CONTENTS’ title to have 2 inches top margin. Sorry, I am a newbie to Latex.

• tom

Hi there,

My mistake, sorry. The tocloft package provides a macro to control the spacing before the contents list (see below). Specifically, I add 2in and subtract the default top margin, using the calc package. The last number subtracts the font size. Although I’m not sure why, there seems to be an extra (text) line of vertical space by default, in addition to the top margin. With that, you should get exactly 2in of vertical space before “Contents”.

Cheers, Tom.

\documentclass[11pt]{report}
\usepackage{blindtext}
\usepackage{showframe}
\usepackage{tocloft}
\usepackage{calc}
\end{document}