I am using the book style to write a research report and would like to know how to remove the top vertical space before a chapter heading. I need this for the 'Abstract' page. I would like it to start nearer to the top than standard chapters.
To control each space individually you can simply use: \vspace{5mm} or \vspace{1em} or \vspace{1cm} to increase (to add space) and; \vspace{-5mm} or \vspace{-1em} or \vspace{-1cm} to decrease (take from the standard space). It is most suitable to control few sections of the standard space.
To remove random unwanted space in LaTeX-style maths in matplotlib plot, we can use "\!" which will reduce the extra spacing.
Just needed an extra line of code. In \titlespacing{\chapter}{1cm}{2cm}{3cm} adjust 1 to adjust the left margin, adjust 2 to adjust the vertical space before the title, adjust 3 to adjust the separation between title and non-sectioning text.
Having the same issue, i tried out the titlesec solution, which somehow didn't work as expected (too many errors with Texshop 2.47 on OsX).
However, i worked out a simpler solution (at least for my case) with the geometry package. The deal is to call a new page geometry only for the page of interest and then restore the page geometry defined by fncychap.
% in the preamble
\documentclass[11pt,a4paper,twoside,openright]{book}
\usepackage{geometry}
\usepackage[Sonny]{fncychap}
% in the document
\frontmatter
% adapt geometry options to your needs
\newgeometry{textwidth=16cm,textheight=28cm,voffset=-2cm,bottom=0cm}
\chapter*{Abstract}
\markboth{}{}
\addcontentsline{toc}{chapter}{Abstract}
% text
\restoregeometry
% from now on fncychap takes over again
\mainmatter
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With