I am currently trying to change the titlespacing after a \subsection*{}.
Tried
\titleformat{\subsection}[hang]{\large\bfseries}{\thesubsection\quad}{0pt}{}
\titlespacing{\subsection}{0pt}{6pt}{2pt}
But changing the value to 2pt isn't working. Just has no effect at all.
Packages in use:
\usepackage{titlesec}
\usepackage{titletoc}
Would be glad for any hints to a solution. Not a latex pro here, but still trying to learn =)
Best Answer
Note, that the usage of
titlesec
together with a KOMA-Script class is not recommended. With an up to date KOMA-Script version (current version on CTAN is 3.17a) you can use insteadExample:
If you still use version 3.15 or 3.16 add the following lines before the redefinition of
\subsectionformat
: