[Tex/LaTex] Remove empty line after subesction

sectioningspacing

I would like to redefine subsections so that there is no empty line afterwards, only a new line, e.g.

Subsection name
bla bla bla

I have tried the

\makeatletter
\renewcommand{\subsection}{%
 \@startsection{subsection}{2}%
      {)mm}%
      {\baselineskip}%
      {afterskip values}%
      {\normalfont\large\bf}}
\makeatother 

with several values, but I only seem to be able to get either an empty line or no linebreak at all

Best Answer

article defines subsection as

\newcommand\subsection{\@startsection{subsection}{2}{\z@}%
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
                                     {1.5ex \@plus .2ex}%
                                     {\normalfont\large\bfseries}}

the skip after is 1.5ex \@plus .2ex that is between 1.5 and 1.7 ex depending on the page contents. You can make that as small as you like but keep it > 0 otherwise you flag that you want a run in heading so {1sp} is as small as you can go.