Generalreduce vertical space in multiple line section titles

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
christina_t
Posts: 27
Joined: Tue Sep 16, 2008 1:16 am

reduce vertical space in multiple line section titles

Post by christina_t »

Hi again! Is there an easy way to reduce the vertical space between multiple lines in the \section, \subsection etc? It looks very ugly with that much space between the lines of the section title. I am using the report class. many thanks in advance!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

reduce vertical space in multiple line section titles

Post by Stefan Kottwitz »

Hi Christina,

it depends on how you've created the spacing. If you've changed \baselinestretch or used setspace this workaround could help:

Code: Select all

\makeatletter
\newcommand\std@startsection{}
\let\std@startsection\@startsection
\def\@startsection{\renewcommand*\baselinestretch{1}\std@startsection}
\makeatother
Stefan
LaTeX.org admin
christina_t
Posts: 27
Joined: Tue Sep 16, 2008 1:16 am

Re: reduce vertical space in multiple line section titles

Post by christina_t »

Hi Stefan! thanks a lot!! it works!
Post Reply