[Tex/LaTex] Decrease top margin of some chapters

chaptersmargins

I'm finishing my thesis in LaTeX, using class "book". I use a 1.5 line stretch with \renewcommand{\baselinestretch}{1.5}. Everything is ok, but I'd like the Abstract chapter (\chapter*{Abstract}) to fit in one page. There are 4 or 5 extra lines and I've almost achieved it by decreasing the marging between title and text (\vspace*{-1.1cm} just after the title) and the line stretch of the abstract (decreasing \renewcommand{\baselinestretch}{XX} and reseting it to 1.5 at the end of the abstract).

The problem is that I cannot avoid all lines to go to the next page without making the abstract page a bit weird (too small margin between title and text, too small stretch line…) and I think the easiest way to achieve that is to decrease the margin before the title.

Any idea? Thank you!

MWE:

\documentclass{book}
% Some dummy text
\usepackage{lipsum}
% Defult line stretch of all document
\renewcommand{\baselinestretch}{1.5}

% Starting document
\begin{document}

% The chapter I'd like to fit in one page
\renewcommand{\baselinestretch}{0.5} % Reduce line stretch
% \vspace*{-1.1cm} % doesn't work properly
\chapter*{Abstract}
\vspace*{-1.1cm} % Reduce space between title and text
\lipsum[2-4] % Dummy text
\lipsum[13]
\renewcommand{\baselinestretch}{1.5} % Restore line stretch

% A normal chapter whose behaviour I don't want to change
\chapter{Introduction}
\lipsum[6-20] % Dummy text

\end{document}

Peaso

Best Answer

LaTeX standard applies. Don't want it global? Limit its scope by fencing it, put it in a cage, or as we like to say, put it in a group. A group can be as simple as a pair of braces.

I defined a helper command, that makes life a bit easier. Space before chapters and contents give us the solution on how to change the spacing.

Disclaimer I cannot advice any human being to do stuff like that. If you want to save space to save the rain forest, don't print it at all.

\documentclass{book}
\usepackage{etoolbox}
\tracingpatches
\makeatletter
\newcommand{\makeCondensedChap}{%
\patchcmd{\@makeschapterhead}{\vspace*{50\p@}}{}{}{}%
\patchcmd{\@makeschapterhead}{\vskip 40\p@}{}{}{}%
}
\makeatother
\usepackage{lipsum}
\renewcommand{\baselinestretch}{1.5}

\begin{document}

{%Open the group
\makeCondensedChap
\chapter*{Abstract}
}%closing the group
\lipsum[2-4]
\lipsum[13]\par


\chapter*{Introduction}
\lipsum[6-20]

\end{document}
Related Question