I'm writing a technical specification document, and each section is one part of the specification. But in many situations it makes sense to group together multiple parts of the specification and write about them together. Like the following:
\subsubsection{Subsubsection A}
\subsubsection{Subsubsection B}
\subsubsection{Subsubsection C}
% This text concerns the subsubsections A, B and C
This is the subsubsection text.
\subsubsection{Subsubsection D}
% This text concerns the subsubsection D
This is the subsubsection text.
\subsubsection{Subsubsection F}
% This text concerns the subsubsection F
This is the subsubsection text.
I want it to be typeset like the following:
What I get with the default typesetting is:
So what I would like is for multiple repeated empty subsubsection to be group together, without vertical spaces between them.