1

I'm writing a document in Koma-script using the class scrreprt. I'm using the \paragraph{My paragraph's title} command to set my "subsubsubsection" titles. However, Koma-script make these titles look weird : they're displayed at the place of the indent of the paragraph, just like so :

My paragraph's title This is the content of my paragraph...

However, I want the title to look like the ones of section, subsection and subsubsection :

1.1.1.1.1. My paragraph's title

To do so I use the command \renewcommand*{\paragraphformat}{\hspace*{75pt}\makebox[60pt][l]{\theparagraph\autodot\hfil}}. I use the same one for section etc. and it works fine for them but not for paragraph.

Can you help me with that please ?

Thanks !

1
  • Apparently I'm unable to say "Hi !" in my message, sorry for that bug
    – Karzyfox
    Aug 26, 2021 at 22:04

1 Answer 1

1

You must switch the runin option:

\documentclass{scrreprt}
\setcounter{secnumdepth}{5}
\RedeclareSectionCommand[runin=false,afterskip=0pt,afterindent=false]{paragraph}
\begin{document}
\subsubsection{abc}
\paragraph{paragraph}some text
\end{document}

enter image description here

1
  • Thank you so much ! It works pretty fine now.
    – Karzyfox
    Aug 26, 2021 at 23:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .