# Spacing between section, subsection, subsub… etc [closed]

I'm in the process of writing my bachelor thesis. The problem is: standards.

Question: How to make the spacing between text and titles (chapters, sections, subsections etc.) but still hold the spacing between sequential section+subsection+subsubsection (for example onehalfspacing) (reduce spacing to onehalfspacing between section{1.4} and subsection{1.4.1})

Example 1:

\chapter{Практична частина}
...some text...
\section{Обгрунтування}
...other text


It's good enough. But in next example:

there is big gap between section and subsection.

## closed as unclear what you're asking by egreg, Mensch, user13907, Torbjørn T., Paul GaboritOct 25 '15 at 21:20

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• Especially as we are talking about a thesis here: At the beginning of a section put a) a summary of the following b) explain how this section fits into your methodology and c) how it contributes to your overall approach. There never is an empty gap between two headlines in a submission ready essay. – Bananguin May 25 '15 at 19:54
• Yes, I've done that. But the question is still open. It's still remains big gaps between pairs (subsubsec-paragraph) other tuples (subsection-subsubsec-paragraph). – qwad1000 May 25 '15 at 20:47
• My suggestion would be to insert \vspace{-.5\baselineskip} (or something similar) before the \subsection. Automating this is fairly difficult as you need to keep the display of these things together and keep track of which ones are empty/not. The latter is difficult since there's no relationship between a sectional unit and its contents really. – Werner May 25 '15 at 21:11
• It all depends on the style you use, but you can always change \parskip, maybe even use the parskip package – Bananguin May 25 '15 at 21:38
• The titlesec package may be of help: it allows you to change easily the spacing of section titles and has an option concernin consecutive titles aftersep as opposed to largest sep. – Bernard May 25 '15 at 21:40

\usepackage[compact]{titlesec}         % you need this package