Greetings. I have a simple problem, the solution to which is eluding me.
I want to reduce the space between the heading and first item in my table of contents.
At present, I have the following:
\pagestyle{fancyplain}
\renewcommand{\contentsname}{\LARGE Contents}
\tableofcontents
\thispagestyle{empty}
All I want to do is insert \vspace{-4ex} between the heading and the first chapter.
Any suggestions would be greatly appreciated!
Text Formatting ⇒ Reducing space after heading in ToC
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Reducing space after heading in ToC
Hi devo,
welcome to the board!
You could use \addtocontents:
Stefan
welcome to the board!
You could use \addtocontents:
Code: Select all
addtocontents{toc}{\vspace{-4ex}}
LaTeX.org admin
Re: Reducing space after heading in ToC
Stefan,
Greetings. It worked - thanks a lot!
Greetings. It worked - thanks a lot!
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Reducing space after heading in ToC
Now that the problem is obviously solved, please mark the topic accordingly as described in Section 3 of the Board Rules.
Best regards and welcome to the board
Thorsten
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10