I'm currently writing my final project report, while inputting all chapters in one main file only the second chapter adds some extra spacing between the section, subsection... and the text and figures, the 1st and 3rd chapters are fine.

I tried everything like:

\titlespacing{\section}{0pt}{0pt}{0pt} % this reduces space between (sub)sections to 0pt, for example
% this will reduce spaces between parts (above and below) of texts within a (sub)section to 0pt, for example - like between an 'eqnarray' and text  

and I tried:


But nothing worked, :( so please help me on how I can fix this problem. Here is a picture of the 1st chapter and the 2nd one, which has been driving me crazy for the last three days:

enter image description here

  • Welcome to tex.sx. I reformatted the code to look more like it would appear in a .tex file. To do this, highlight the code block, and click on the {} icon above the question box. – barbara beeton Jul 1 at 16:59
  • 2
    Add \raggedbottom to your document preamble. I'm quite sure you have another \subsubsection with a picture on the next page. – egreg Jul 1 at 17:09
  • @barbarabeeton: Thank you, it seems i still have a lot to learn ^^ – Sirine Jul 1 at 19:47
  • @egreg: I'm so grateful, it worked perfectly, I'm so glad that i came here, thank you so much now i can finish my report :) – Sirine Jul 1 at 19:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.