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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
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