1.: https://latex.org/forum/viewtopic.php?f=48&t=34799
2.: https://latex.org/forum/viewtopic.php?f=48&t=34802
I still had a problem with the indention of the subparagraph:
Code: Select all
\documentclass[% paper=a4,fontsize=12pt,%]{scrreprt}\usepackage{lipsum}\addtokomafont{paragraph}{\mdseries\underline}\addtokomafont{subparagraph}{\mdseries}\RedeclareSectionCommands[%afterindent=false,%runin=false,% Überschrift wird frei stehend gesetztafterskip=1.5ex plus .2ex% subsubsection default %vertikaler Abstand nach der Überschrift% indent=0pt% is not working probably because it´s already the default value at the paragraph SectionCommand]{paragraph,subparagraph}\begin{document}\lipsum[2]\paragraph{Paragraph}\lipsum[1]\subparagraph{Subparagraph}\lipsum[8]\end{document}