[Tex/LaTex] Remove empty line after subesction


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

      {afterskip values}%

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

                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
                                     {1.5ex \@plus .2ex}%

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.