With KOMA-Script classes you do not need nor should use an extra package to redefine sectioning commands or define new sectioning levels. And you don't need and should not use low level code.
These classes provide command
\RedeclareSectionCommand to reconfigure existing sectioning commands. For example to have a
\paragraph that does not produce a title at the beginning of the paragraph (a so called catch phrase or runin title) but a displayed title, you can use:
runin=false is used to make it a displayed instead of a runin title.
afterskip=1ex makes a vertical skip of 1ex after the heading.
afterindent=false prevents the following paragraph to be indented.
So the result would be something like:
If you need a paragraph number, just add
very ease with KOMA-Script. You don't need to remember the numeric value.
You can do a similar change for
indent=0pt is used to remove the default indent of subparagraph titles.
If this is not enough, you can even define a
\subsubparagraph very easily:
See the KOMA-Script manual for the meaning of all the options and how to use them and all the other available options.
BTW: After defining
\subsubparagraph there is also a
\subsubparagraphnumdepth (and even a
\subsubparagraphtocdepth) that can be used to change