General ⇒ reduce vertical space in multiple line section titles
-
- Posts: 27
- Joined: Tue Sep 16, 2008 1:16 am
reduce vertical space in multiple line section titles
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!
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
reduce vertical space in multiple line section titles
Hi Christina,
it depends on how you've created the spacing. If you've changed \baselinestretch or used setspace this workaround could help:
Stefan
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
LaTeX.org admin
-
- Posts: 27
- Joined: Tue Sep 16, 2008 1:16 am
Re: reduce vertical space in multiple line section titles
Hi Stefan! thanks a lot!! it works!