This question already has an answer here:

As the picture shows, at the top there is too much spacing:

I think it has to do with the following code, I already tried to change all the numbers given (.5ex etc.) but it is just the space in between Chapter I and Introduction.

Here is the preamble and part of the code I am using which I assume should be responsible for the problem:

%%%%Definition Partitioning%%%%
%Profondeur de la numérotation:
{\filright\MakeUppercase{\chaptertitlename} \huge{\color{MyBlueChapter}\thechapter}}


Thanks for the help!

marked as duplicate by schtandard, Stefan Pinnow, Phelype Oleinik, siracusa, Andrew Swann Jun 7 at 11:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 5
    Please provide a full minimal example instead of just a very long preamble. – daleif May 7 at 14:04
  • Try using the [showframe] option of geometry (which is loaded twice, BTW). You might try removing every package one at a time and see if it makes any difference. If the document doesn't change, leave it off. – John Kormylo May 7 at 15:03

There are not too much space. There are space needed to elegantly highlight the chapter title without use another more questionable resources as use a enormous awful font, backgrounds, rules and so on.

So the best the best solution is left that space as is.

Said that, is you insist on removing that space:

(a) the code of your posted is of little help. It cannot be compiled, there are a lot of irrelevant packages and worse the document class is unknown. It matter if the document class is book, memoir os any other.

(b) Probably your question is a duplicate of How to decrease spacing before chapter title?.

(b) Probably you can redefine \@makeschapterhead as explained in the linked question, or simply use the dirty trick of add some negative space in the chapter format, for instance some like...

\titleformat{\chapter}[display]{\vspace{-50pt}\bfseries ...

Again, assuming that you are is a document class like book or report, because that will not work if you switch to memoir, for instance.

Not the answer you're looking for? Browse other questions tagged or ask your own question.