subsubsubsection for scrbookHow to add an extra level of sections with headings below subsubsectionIs there a...

How to say job offer in Mandarin/Cantonese?

What is the offset in a seaplane's hull?

How do we improve the relationship with a client software team that performs poorly and is becoming less collaborative?

How does one intimidate enemies without having the capacity for violence?

Is this a crack on the carbon frame?

Can a Warlock become Neutral Good?

Why was the small council so happy for Tyrion to become the Master of Coin?

How to write a macro that is braces sensitive?

Why doesn't H₄O²⁺ exist?

Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?

What is the word for reserving something for yourself before others do?

the place where lots of roads meet

I’m planning on buying a laser printer but concerned about the life cycle of toner in the machine

Why does Kotter return in Welcome Back Kotter?

Is it unprofessional to ask if a job posting on GlassDoor is real?

strToHex ( string to its hex representation as string)

Risk of getting Chronic Wasting Disease (CWD) in the United States?

Can I make popcorn with any corn?

LaTeX closing $ signs makes cursor jump

Mathematical cryptic clues

Arthur Somervell: 1000 Exercises - Meaning of this notation

Why do falling prices hurt debtors?

Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?

"to be prejudice towards/against someone" vs "to be prejudiced against/towards someone"



subsubsubsection for scrbook


How to add an extra level of sections with headings below subsubsectionIs there a subsubsubsection command?paragraph style - how to force line break? paragraph{} \ - make paragraph a header?subsubsection in a report style documentsection coming up as undefined when using sectstyone counter for multiple theorems?Including a signature image in scrlttr2Redeclaresectioncommand does not work for section - Koma Script Report - LyxAdding numbered appendices as section in documentclass reportIs there a way to add the “Part” section to the IEEE Transactions on Magnetics document class?Reference with just part of section number after decimal pointContents page - include roman numeral page numbers













8















Why does subsubsubsection not work for documentclass{scrbook} and how can I force it anyway?



There is a MWE:



documentclass{scrbook}
setcounter{secnumdepth}{3}
begin{document}
chapter{Chapter}
section{Section}
subsection{Subsection}
subsubsection{Subsubsection}
subsubsubsection{Subsubsubsection}
end{document}


With this MWE a get an error: "undefined control sequence subsubsubsection" and the pdf looks like this:



enter image description here



But I need "1.1.1.1.1. Subsubsubsection" in the last line.










share|improve this question


















  • 3





    paragraph is the next level after subsubsection. Set the secnumdepth to 4, if you want it numbered as well.

    – Troy
    Mar 2 '17 at 16:06











  • I have the same problem and I use paragraph{} or subsubsection*{}.

    – domi
    Mar 2 '17 at 16:06






  • 2





    See this, and this..

    – Troy
    Mar 2 '17 at 16:07






  • 1





    @Troy The questions aims at KOMA-script. The solutions you are refering to seem to require a standard documentclass. Years ago I used the alnumsec package for the additional level, but maybe KOMA-script supports additional levels out of the box now.

    – Keks Dose
    Mar 2 '17 at 16:12








  • 1





    @samcarter That's not the issue. The questions are different, the older questions use standard classes, this one a KOMA-script class. The answers here are not a hack into the internals of LaTeX, but use a well documented feature of KOMA-script.

    – Keks Dose
    Mar 3 '17 at 12:16
















8















Why does subsubsubsection not work for documentclass{scrbook} and how can I force it anyway?



There is a MWE:



documentclass{scrbook}
setcounter{secnumdepth}{3}
begin{document}
chapter{Chapter}
section{Section}
subsection{Subsection}
subsubsection{Subsubsection}
subsubsubsection{Subsubsubsection}
end{document}


With this MWE a get an error: "undefined control sequence subsubsubsection" and the pdf looks like this:



enter image description here



But I need "1.1.1.1.1. Subsubsubsection" in the last line.










share|improve this question


















  • 3





    paragraph is the next level after subsubsection. Set the secnumdepth to 4, if you want it numbered as well.

    – Troy
    Mar 2 '17 at 16:06











  • I have the same problem and I use paragraph{} or subsubsection*{}.

    – domi
    Mar 2 '17 at 16:06






  • 2





    See this, and this..

    – Troy
    Mar 2 '17 at 16:07






  • 1





    @Troy The questions aims at KOMA-script. The solutions you are refering to seem to require a standard documentclass. Years ago I used the alnumsec package for the additional level, but maybe KOMA-script supports additional levels out of the box now.

    – Keks Dose
    Mar 2 '17 at 16:12








  • 1





    @samcarter That's not the issue. The questions are different, the older questions use standard classes, this one a KOMA-script class. The answers here are not a hack into the internals of LaTeX, but use a well documented feature of KOMA-script.

    – Keks Dose
    Mar 3 '17 at 12:16














8












8








8


2






Why does subsubsubsection not work for documentclass{scrbook} and how can I force it anyway?



There is a MWE:



documentclass{scrbook}
setcounter{secnumdepth}{3}
begin{document}
chapter{Chapter}
section{Section}
subsection{Subsection}
subsubsection{Subsubsection}
subsubsubsection{Subsubsubsection}
end{document}


With this MWE a get an error: "undefined control sequence subsubsubsection" and the pdf looks like this:



enter image description here



But I need "1.1.1.1.1. Subsubsubsection" in the last line.










share|improve this question














Why does subsubsubsection not work for documentclass{scrbook} and how can I force it anyway?



There is a MWE:



documentclass{scrbook}
setcounter{secnumdepth}{3}
begin{document}
chapter{Chapter}
section{Section}
subsection{Subsection}
subsubsection{Subsubsection}
subsubsubsection{Subsubsubsection}
end{document}


With this MWE a get an error: "undefined control sequence subsubsubsection" and the pdf looks like this:



enter image description here



But I need "1.1.1.1.1. Subsubsubsection" in the last line.







sectioning koma-script






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 2 '17 at 15:52









GuestUserGuestUser

255312




255312








  • 3





    paragraph is the next level after subsubsection. Set the secnumdepth to 4, if you want it numbered as well.

    – Troy
    Mar 2 '17 at 16:06











  • I have the same problem and I use paragraph{} or subsubsection*{}.

    – domi
    Mar 2 '17 at 16:06






  • 2





    See this, and this..

    – Troy
    Mar 2 '17 at 16:07






  • 1





    @Troy The questions aims at KOMA-script. The solutions you are refering to seem to require a standard documentclass. Years ago I used the alnumsec package for the additional level, but maybe KOMA-script supports additional levels out of the box now.

    – Keks Dose
    Mar 2 '17 at 16:12








  • 1





    @samcarter That's not the issue. The questions are different, the older questions use standard classes, this one a KOMA-script class. The answers here are not a hack into the internals of LaTeX, but use a well documented feature of KOMA-script.

    – Keks Dose
    Mar 3 '17 at 12:16














  • 3





    paragraph is the next level after subsubsection. Set the secnumdepth to 4, if you want it numbered as well.

    – Troy
    Mar 2 '17 at 16:06











  • I have the same problem and I use paragraph{} or subsubsection*{}.

    – domi
    Mar 2 '17 at 16:06






  • 2





    See this, and this..

    – Troy
    Mar 2 '17 at 16:07






  • 1





    @Troy The questions aims at KOMA-script. The solutions you are refering to seem to require a standard documentclass. Years ago I used the alnumsec package for the additional level, but maybe KOMA-script supports additional levels out of the box now.

    – Keks Dose
    Mar 2 '17 at 16:12








  • 1





    @samcarter That's not the issue. The questions are different, the older questions use standard classes, this one a KOMA-script class. The answers here are not a hack into the internals of LaTeX, but use a well documented feature of KOMA-script.

    – Keks Dose
    Mar 3 '17 at 12:16








3




3





paragraph is the next level after subsubsection. Set the secnumdepth to 4, if you want it numbered as well.

– Troy
Mar 2 '17 at 16:06





paragraph is the next level after subsubsection. Set the secnumdepth to 4, if you want it numbered as well.

– Troy
Mar 2 '17 at 16:06













I have the same problem and I use paragraph{} or subsubsection*{}.

– domi
Mar 2 '17 at 16:06





I have the same problem and I use paragraph{} or subsubsection*{}.

– domi
Mar 2 '17 at 16:06




2




2





See this, and this..

– Troy
Mar 2 '17 at 16:07





See this, and this..

– Troy
Mar 2 '17 at 16:07




1




1





@Troy The questions aims at KOMA-script. The solutions you are refering to seem to require a standard documentclass. Years ago I used the alnumsec package for the additional level, but maybe KOMA-script supports additional levels out of the box now.

– Keks Dose
Mar 2 '17 at 16:12







@Troy The questions aims at KOMA-script. The solutions you are refering to seem to require a standard documentclass. Years ago I used the alnumsec package for the additional level, but maybe KOMA-script supports additional levels out of the box now.

– Keks Dose
Mar 2 '17 at 16:12






1




1





@samcarter That's not the issue. The questions are different, the older questions use standard classes, this one a KOMA-script class. The answers here are not a hack into the internals of LaTeX, but use a well documented feature of KOMA-script.

– Keks Dose
Mar 3 '17 at 12:16





@samcarter That's not the issue. The questions are different, the older questions use standard classes, this one a KOMA-script class. The answers here are not a hack into the internals of LaTeX, but use a well documented feature of KOMA-script.

– Keks Dose
Mar 3 '17 at 12:16










3 Answers
3






active

oldest

votes


















12














Update (needs KOMA-Script version 3.26b)



The original answer below is still correct. But there are the new command RedeclareSectionCommands, the new options runin and afterindent. And there are some options predefined for new section levels using style=section.



Suggestion 1: Declaring new section level subsubsubsection as a displayed title



documentclass{scrbook}

DeclareNewSectionCommand[
style=section,
counterwithin=subsubsection,
afterskip=1.5ex plus .2ex,
beforeskip=3.25ex plus 1ex minus .2ex,
afterindent=false,
level=paragraphnumdepth,
tocindent=10em,
tocnumwidth=5em
]{subsubsubsection}
setcounter{secnumdepth}{subsubsubsectionnumdepth}
setcounter{tocdepth}{subparagraphtocdepth}

RedeclareSectionCommands[
level=numexprsubsubsubsectionnumdepth+1relax,
toclevel=numexprsubsubsubsectiontocdepth+1relax,
increaselevel
]{paragraph,subparagraph}
RedeclareSectionCommand[
counterwithin=subsubsubsection,
tocindent=12em,
tocnumwidth=6em
]{paragraph}
RedeclareSectionCommand[
tocindent=14em,
tocnumwidth=7em
]{subparagraph}

usepackage{lipsum}% only for dummy text
begin{document}
tableofcontents
chapter{Chapter}
section{Section}
subsection{Subsection}
subsubsection{Subsubsection}
subsubsubsection{Subsubsubsection}
lipsum[1-2]
end{document}


Suggestion 2: Redefining paragraph as a displayed title:



documentclass{scrbook}

RedeclareSectionCommand[
afterskip=1.5ex plus .2ex,
afterindent=false
]{paragraph}
setcounter{secnumdepth}{paragraphnumdepth}
setcounter{tocdepth}{paragraphtocdepth}

usepackage{lipsum}% dummy text
begin{document}
tableofcontents
chapter{Chapter}
section{Section}
subsection{Subsection}
subsubsection{Subsubsection}
paragraph{Paragraph}
lipsum[1-2]
end{document}




Original answer



You can declare a new section level subsubsubsection. But then you have to redeclare paragraph and subparagraph to adjust the its levels etc.:



documentclass{scrbook}

DeclareNewSectionCommand[
style=section,
counterwithin=subsubsection,
font=normalsize,
afterskip=1.5ex plus .2ex,
beforeskip=-3.25ex plus -1ex minus -.2ex,
indent=0pt,
level=4,
tocstyle=section,
toclevel=4,
tocindent=10em,
tocnumwidth=5em
]{subsubsubsection}
setcounter{secnumdepth}{subsubsubsectionnumdepth}
setcounter{tocdepth}{subsubsubsectiontocdepth}

RedeclareSectionCommand[
level=5,
counterwithin=subsubsubsection,
toclevel=5,
tocindent=12em,
tocnumwidth=6em
]{paragraph}
RedeclareSectionCommand[
level=6,
toclevel=6,
tocindent=14em,
tocnumwidth=7em
]{subparagraph}

usepackage{lipsum}% only for dummy text
begin{document}
tableofcontents
chapter{Chapter}
section{Section}
subsection{Subsection}
subsubsection{Subsubsection}
subsubsubsection{Subsubsubsection}
lipsum[1-2]
end{document}


enter image description here





If do not use paragraph as a runin title, you can redeclare section level paragraph using a positive value for afterskip:



documentclass{scrbook}

RedeclareSectionCommand[
afterskip=1.5ex plus .2ex,
beforeskip=-3.25ex plus -1ex minus -.2ex
]{paragraph}
setcounter{secnumdepth}{paragraphnumdepth}
setcounter{tocdepth}{paragraphtocdepth}

usepackage{lipsum}% dummy text
begin{document}
tableofcontents
chapter{Chapter}
section{Section}
subsection{Subsection}
subsubsection{Subsubsection}
paragraph{Paragraph}
lipsum[1-2]
end{document}


enter image description here






share|improve this answer

































    6














    The easiest way is to use paragraph and to redefine its formatting:



    documentclass{scrbook}
    setcounter{secnumdepth}{5}

    RedeclareSectionCommand[
    counterwithin=subsubsection,
    toclinefill=hfill,
    tocindent=3.5ex,
    tocnumwidth=1ex,
    tocdynnumwidth=true,
    tocraggedentrytext=true,
    tocentryformat=fontintocitshape,
    tocpagenumberformat=fontintoc,
    beforeskip=10pt,%
    afterskip=1pt,
    font=normalfontitshape
    ]{paragraph}



    begin{document}

    chapter{Chapter}
    section{Section}
    subsection{Subsection}
    subsubsection{Subsubsection}
    paragraph{Subsubsubsection}
    end{document}


    enter image description here






    share|improve this answer

































      5














      If you want to leave paragraph and subparagraph as is, then you need only new level numbers for it and can then define subsubsubsection:



      documentclass{scrbook}
      RedeclareSectionCommand[level=6,toclevel=6]{subparagraph}
      RedeclareSectionCommand[level=5,toclevel=5]{paragraph}
      DeclareSectionCommand[
      style=section,
      counterwithin=subsubsection,
      font=normalsize,
      afterskip=1ex plus .2ex,
      beforeskip=-3.25ex plus -1ex,
      indent=0pt,
      level=4,
      tocstyle=section,
      toclevel=4,
      tocindent=10em,
      tocnumwidth=5em
      ]{subsubsubsection}

      setcounter{secnumdepth}{subsubsubsectionnumdepth}
      setcounter{tocdepth}{subsubsubsectiontocdepth}

      usepackage{lipsum}% only for dummy text
      begin{document}
      tableofcontents
      chapter{Chapter}
      section{Section}
      subsection{Subsection}
      subsubsection{Subsubsection}
      subsubsubsection{Subsubsubsection}
      lipsum[1-2]
      paragraph{foo} lipsum[1]
      subparagraph{bar} lipsum[1]
      end{document}





      share|improve this answer
























        Your Answer








        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "85"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: false,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: null,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f356567%2fsubsubsubsection-for-scrbook%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        12














        Update (needs KOMA-Script version 3.26b)



        The original answer below is still correct. But there are the new command RedeclareSectionCommands, the new options runin and afterindent. And there are some options predefined for new section levels using style=section.



        Suggestion 1: Declaring new section level subsubsubsection as a displayed title



        documentclass{scrbook}

        DeclareNewSectionCommand[
        style=section,
        counterwithin=subsubsection,
        afterskip=1.5ex plus .2ex,
        beforeskip=3.25ex plus 1ex minus .2ex,
        afterindent=false,
        level=paragraphnumdepth,
        tocindent=10em,
        tocnumwidth=5em
        ]{subsubsubsection}
        setcounter{secnumdepth}{subsubsubsectionnumdepth}
        setcounter{tocdepth}{subparagraphtocdepth}

        RedeclareSectionCommands[
        level=numexprsubsubsubsectionnumdepth+1relax,
        toclevel=numexprsubsubsubsectiontocdepth+1relax,
        increaselevel
        ]{paragraph,subparagraph}
        RedeclareSectionCommand[
        counterwithin=subsubsubsection,
        tocindent=12em,
        tocnumwidth=6em
        ]{paragraph}
        RedeclareSectionCommand[
        tocindent=14em,
        tocnumwidth=7em
        ]{subparagraph}

        usepackage{lipsum}% only for dummy text
        begin{document}
        tableofcontents
        chapter{Chapter}
        section{Section}
        subsection{Subsection}
        subsubsection{Subsubsection}
        subsubsubsection{Subsubsubsection}
        lipsum[1-2]
        end{document}


        Suggestion 2: Redefining paragraph as a displayed title:



        documentclass{scrbook}

        RedeclareSectionCommand[
        afterskip=1.5ex plus .2ex,
        afterindent=false
        ]{paragraph}
        setcounter{secnumdepth}{paragraphnumdepth}
        setcounter{tocdepth}{paragraphtocdepth}

        usepackage{lipsum}% dummy text
        begin{document}
        tableofcontents
        chapter{Chapter}
        section{Section}
        subsection{Subsection}
        subsubsection{Subsubsection}
        paragraph{Paragraph}
        lipsum[1-2]
        end{document}




        Original answer



        You can declare a new section level subsubsubsection. But then you have to redeclare paragraph and subparagraph to adjust the its levels etc.:



        documentclass{scrbook}

        DeclareNewSectionCommand[
        style=section,
        counterwithin=subsubsection,
        font=normalsize,
        afterskip=1.5ex plus .2ex,
        beforeskip=-3.25ex plus -1ex minus -.2ex,
        indent=0pt,
        level=4,
        tocstyle=section,
        toclevel=4,
        tocindent=10em,
        tocnumwidth=5em
        ]{subsubsubsection}
        setcounter{secnumdepth}{subsubsubsectionnumdepth}
        setcounter{tocdepth}{subsubsubsectiontocdepth}

        RedeclareSectionCommand[
        level=5,
        counterwithin=subsubsubsection,
        toclevel=5,
        tocindent=12em,
        tocnumwidth=6em
        ]{paragraph}
        RedeclareSectionCommand[
        level=6,
        toclevel=6,
        tocindent=14em,
        tocnumwidth=7em
        ]{subparagraph}

        usepackage{lipsum}% only for dummy text
        begin{document}
        tableofcontents
        chapter{Chapter}
        section{Section}
        subsection{Subsection}
        subsubsection{Subsubsection}
        subsubsubsection{Subsubsubsection}
        lipsum[1-2]
        end{document}


        enter image description here





        If do not use paragraph as a runin title, you can redeclare section level paragraph using a positive value for afterskip:



        documentclass{scrbook}

        RedeclareSectionCommand[
        afterskip=1.5ex plus .2ex,
        beforeskip=-3.25ex plus -1ex minus -.2ex
        ]{paragraph}
        setcounter{secnumdepth}{paragraphnumdepth}
        setcounter{tocdepth}{paragraphtocdepth}

        usepackage{lipsum}% dummy text
        begin{document}
        tableofcontents
        chapter{Chapter}
        section{Section}
        subsection{Subsection}
        subsubsection{Subsubsection}
        paragraph{Paragraph}
        lipsum[1-2]
        end{document}


        enter image description here






        share|improve this answer






























          12














          Update (needs KOMA-Script version 3.26b)



          The original answer below is still correct. But there are the new command RedeclareSectionCommands, the new options runin and afterindent. And there are some options predefined for new section levels using style=section.



          Suggestion 1: Declaring new section level subsubsubsection as a displayed title



          documentclass{scrbook}

          DeclareNewSectionCommand[
          style=section,
          counterwithin=subsubsection,
          afterskip=1.5ex plus .2ex,
          beforeskip=3.25ex plus 1ex minus .2ex,
          afterindent=false,
          level=paragraphnumdepth,
          tocindent=10em,
          tocnumwidth=5em
          ]{subsubsubsection}
          setcounter{secnumdepth}{subsubsubsectionnumdepth}
          setcounter{tocdepth}{subparagraphtocdepth}

          RedeclareSectionCommands[
          level=numexprsubsubsubsectionnumdepth+1relax,
          toclevel=numexprsubsubsubsectiontocdepth+1relax,
          increaselevel
          ]{paragraph,subparagraph}
          RedeclareSectionCommand[
          counterwithin=subsubsubsection,
          tocindent=12em,
          tocnumwidth=6em
          ]{paragraph}
          RedeclareSectionCommand[
          tocindent=14em,
          tocnumwidth=7em
          ]{subparagraph}

          usepackage{lipsum}% only for dummy text
          begin{document}
          tableofcontents
          chapter{Chapter}
          section{Section}
          subsection{Subsection}
          subsubsection{Subsubsection}
          subsubsubsection{Subsubsubsection}
          lipsum[1-2]
          end{document}


          Suggestion 2: Redefining paragraph as a displayed title:



          documentclass{scrbook}

          RedeclareSectionCommand[
          afterskip=1.5ex plus .2ex,
          afterindent=false
          ]{paragraph}
          setcounter{secnumdepth}{paragraphnumdepth}
          setcounter{tocdepth}{paragraphtocdepth}

          usepackage{lipsum}% dummy text
          begin{document}
          tableofcontents
          chapter{Chapter}
          section{Section}
          subsection{Subsection}
          subsubsection{Subsubsection}
          paragraph{Paragraph}
          lipsum[1-2]
          end{document}




          Original answer



          You can declare a new section level subsubsubsection. But then you have to redeclare paragraph and subparagraph to adjust the its levels etc.:



          documentclass{scrbook}

          DeclareNewSectionCommand[
          style=section,
          counterwithin=subsubsection,
          font=normalsize,
          afterskip=1.5ex plus .2ex,
          beforeskip=-3.25ex plus -1ex minus -.2ex,
          indent=0pt,
          level=4,
          tocstyle=section,
          toclevel=4,
          tocindent=10em,
          tocnumwidth=5em
          ]{subsubsubsection}
          setcounter{secnumdepth}{subsubsubsectionnumdepth}
          setcounter{tocdepth}{subsubsubsectiontocdepth}

          RedeclareSectionCommand[
          level=5,
          counterwithin=subsubsubsection,
          toclevel=5,
          tocindent=12em,
          tocnumwidth=6em
          ]{paragraph}
          RedeclareSectionCommand[
          level=6,
          toclevel=6,
          tocindent=14em,
          tocnumwidth=7em
          ]{subparagraph}

          usepackage{lipsum}% only for dummy text
          begin{document}
          tableofcontents
          chapter{Chapter}
          section{Section}
          subsection{Subsection}
          subsubsection{Subsubsection}
          subsubsubsection{Subsubsubsection}
          lipsum[1-2]
          end{document}


          enter image description here





          If do not use paragraph as a runin title, you can redeclare section level paragraph using a positive value for afterskip:



          documentclass{scrbook}

          RedeclareSectionCommand[
          afterskip=1.5ex plus .2ex,
          beforeskip=-3.25ex plus -1ex minus -.2ex
          ]{paragraph}
          setcounter{secnumdepth}{paragraphnumdepth}
          setcounter{tocdepth}{paragraphtocdepth}

          usepackage{lipsum}% dummy text
          begin{document}
          tableofcontents
          chapter{Chapter}
          section{Section}
          subsection{Subsection}
          subsubsection{Subsubsection}
          paragraph{Paragraph}
          lipsum[1-2]
          end{document}


          enter image description here






          share|improve this answer




























            12












            12








            12







            Update (needs KOMA-Script version 3.26b)



            The original answer below is still correct. But there are the new command RedeclareSectionCommands, the new options runin and afterindent. And there are some options predefined for new section levels using style=section.



            Suggestion 1: Declaring new section level subsubsubsection as a displayed title



            documentclass{scrbook}

            DeclareNewSectionCommand[
            style=section,
            counterwithin=subsubsection,
            afterskip=1.5ex plus .2ex,
            beforeskip=3.25ex plus 1ex minus .2ex,
            afterindent=false,
            level=paragraphnumdepth,
            tocindent=10em,
            tocnumwidth=5em
            ]{subsubsubsection}
            setcounter{secnumdepth}{subsubsubsectionnumdepth}
            setcounter{tocdepth}{subparagraphtocdepth}

            RedeclareSectionCommands[
            level=numexprsubsubsubsectionnumdepth+1relax,
            toclevel=numexprsubsubsubsectiontocdepth+1relax,
            increaselevel
            ]{paragraph,subparagraph}
            RedeclareSectionCommand[
            counterwithin=subsubsubsection,
            tocindent=12em,
            tocnumwidth=6em
            ]{paragraph}
            RedeclareSectionCommand[
            tocindent=14em,
            tocnumwidth=7em
            ]{subparagraph}

            usepackage{lipsum}% only for dummy text
            begin{document}
            tableofcontents
            chapter{Chapter}
            section{Section}
            subsection{Subsection}
            subsubsection{Subsubsection}
            subsubsubsection{Subsubsubsection}
            lipsum[1-2]
            end{document}


            Suggestion 2: Redefining paragraph as a displayed title:



            documentclass{scrbook}

            RedeclareSectionCommand[
            afterskip=1.5ex plus .2ex,
            afterindent=false
            ]{paragraph}
            setcounter{secnumdepth}{paragraphnumdepth}
            setcounter{tocdepth}{paragraphtocdepth}

            usepackage{lipsum}% dummy text
            begin{document}
            tableofcontents
            chapter{Chapter}
            section{Section}
            subsection{Subsection}
            subsubsection{Subsubsection}
            paragraph{Paragraph}
            lipsum[1-2]
            end{document}




            Original answer



            You can declare a new section level subsubsubsection. But then you have to redeclare paragraph and subparagraph to adjust the its levels etc.:



            documentclass{scrbook}

            DeclareNewSectionCommand[
            style=section,
            counterwithin=subsubsection,
            font=normalsize,
            afterskip=1.5ex plus .2ex,
            beforeskip=-3.25ex plus -1ex minus -.2ex,
            indent=0pt,
            level=4,
            tocstyle=section,
            toclevel=4,
            tocindent=10em,
            tocnumwidth=5em
            ]{subsubsubsection}
            setcounter{secnumdepth}{subsubsubsectionnumdepth}
            setcounter{tocdepth}{subsubsubsectiontocdepth}

            RedeclareSectionCommand[
            level=5,
            counterwithin=subsubsubsection,
            toclevel=5,
            tocindent=12em,
            tocnumwidth=6em
            ]{paragraph}
            RedeclareSectionCommand[
            level=6,
            toclevel=6,
            tocindent=14em,
            tocnumwidth=7em
            ]{subparagraph}

            usepackage{lipsum}% only for dummy text
            begin{document}
            tableofcontents
            chapter{Chapter}
            section{Section}
            subsection{Subsection}
            subsubsection{Subsubsection}
            subsubsubsection{Subsubsubsection}
            lipsum[1-2]
            end{document}


            enter image description here





            If do not use paragraph as a runin title, you can redeclare section level paragraph using a positive value for afterskip:



            documentclass{scrbook}

            RedeclareSectionCommand[
            afterskip=1.5ex plus .2ex,
            beforeskip=-3.25ex plus -1ex minus -.2ex
            ]{paragraph}
            setcounter{secnumdepth}{paragraphnumdepth}
            setcounter{tocdepth}{paragraphtocdepth}

            usepackage{lipsum}% dummy text
            begin{document}
            tableofcontents
            chapter{Chapter}
            section{Section}
            subsection{Subsection}
            subsubsection{Subsubsection}
            paragraph{Paragraph}
            lipsum[1-2]
            end{document}


            enter image description here






            share|improve this answer















            Update (needs KOMA-Script version 3.26b)



            The original answer below is still correct. But there are the new command RedeclareSectionCommands, the new options runin and afterindent. And there are some options predefined for new section levels using style=section.



            Suggestion 1: Declaring new section level subsubsubsection as a displayed title



            documentclass{scrbook}

            DeclareNewSectionCommand[
            style=section,
            counterwithin=subsubsection,
            afterskip=1.5ex plus .2ex,
            beforeskip=3.25ex plus 1ex minus .2ex,
            afterindent=false,
            level=paragraphnumdepth,
            tocindent=10em,
            tocnumwidth=5em
            ]{subsubsubsection}
            setcounter{secnumdepth}{subsubsubsectionnumdepth}
            setcounter{tocdepth}{subparagraphtocdepth}

            RedeclareSectionCommands[
            level=numexprsubsubsubsectionnumdepth+1relax,
            toclevel=numexprsubsubsubsectiontocdepth+1relax,
            increaselevel
            ]{paragraph,subparagraph}
            RedeclareSectionCommand[
            counterwithin=subsubsubsection,
            tocindent=12em,
            tocnumwidth=6em
            ]{paragraph}
            RedeclareSectionCommand[
            tocindent=14em,
            tocnumwidth=7em
            ]{subparagraph}

            usepackage{lipsum}% only for dummy text
            begin{document}
            tableofcontents
            chapter{Chapter}
            section{Section}
            subsection{Subsection}
            subsubsection{Subsubsection}
            subsubsubsection{Subsubsubsection}
            lipsum[1-2]
            end{document}


            Suggestion 2: Redefining paragraph as a displayed title:



            documentclass{scrbook}

            RedeclareSectionCommand[
            afterskip=1.5ex plus .2ex,
            afterindent=false
            ]{paragraph}
            setcounter{secnumdepth}{paragraphnumdepth}
            setcounter{tocdepth}{paragraphtocdepth}

            usepackage{lipsum}% dummy text
            begin{document}
            tableofcontents
            chapter{Chapter}
            section{Section}
            subsection{Subsection}
            subsubsection{Subsubsection}
            paragraph{Paragraph}
            lipsum[1-2]
            end{document}




            Original answer



            You can declare a new section level subsubsubsection. But then you have to redeclare paragraph and subparagraph to adjust the its levels etc.:



            documentclass{scrbook}

            DeclareNewSectionCommand[
            style=section,
            counterwithin=subsubsection,
            font=normalsize,
            afterskip=1.5ex plus .2ex,
            beforeskip=-3.25ex plus -1ex minus -.2ex,
            indent=0pt,
            level=4,
            tocstyle=section,
            toclevel=4,
            tocindent=10em,
            tocnumwidth=5em
            ]{subsubsubsection}
            setcounter{secnumdepth}{subsubsubsectionnumdepth}
            setcounter{tocdepth}{subsubsubsectiontocdepth}

            RedeclareSectionCommand[
            level=5,
            counterwithin=subsubsubsection,
            toclevel=5,
            tocindent=12em,
            tocnumwidth=6em
            ]{paragraph}
            RedeclareSectionCommand[
            level=6,
            toclevel=6,
            tocindent=14em,
            tocnumwidth=7em
            ]{subparagraph}

            usepackage{lipsum}% only for dummy text
            begin{document}
            tableofcontents
            chapter{Chapter}
            section{Section}
            subsection{Subsection}
            subsubsection{Subsubsection}
            subsubsubsection{Subsubsubsection}
            lipsum[1-2]
            end{document}


            enter image description here





            If do not use paragraph as a runin title, you can redeclare section level paragraph using a positive value for afterskip:



            documentclass{scrbook}

            RedeclareSectionCommand[
            afterskip=1.5ex plus .2ex,
            beforeskip=-3.25ex plus -1ex minus -.2ex
            ]{paragraph}
            setcounter{secnumdepth}{paragraphnumdepth}
            setcounter{tocdepth}{paragraphtocdepth}

            usepackage{lipsum}% dummy text
            begin{document}
            tableofcontents
            chapter{Chapter}
            section{Section}
            subsection{Subsection}
            subsubsection{Subsubsection}
            paragraph{Paragraph}
            lipsum[1-2]
            end{document}


            enter image description here







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited 10 hours ago

























            answered Mar 2 '17 at 16:26









            esddesdd

            60k34793




            60k34793























                6














                The easiest way is to use paragraph and to redefine its formatting:



                documentclass{scrbook}
                setcounter{secnumdepth}{5}

                RedeclareSectionCommand[
                counterwithin=subsubsection,
                toclinefill=hfill,
                tocindent=3.5ex,
                tocnumwidth=1ex,
                tocdynnumwidth=true,
                tocraggedentrytext=true,
                tocentryformat=fontintocitshape,
                tocpagenumberformat=fontintoc,
                beforeskip=10pt,%
                afterskip=1pt,
                font=normalfontitshape
                ]{paragraph}



                begin{document}

                chapter{Chapter}
                section{Section}
                subsection{Subsection}
                subsubsection{Subsubsection}
                paragraph{Subsubsubsection}
                end{document}


                enter image description here






                share|improve this answer






























                  6














                  The easiest way is to use paragraph and to redefine its formatting:



                  documentclass{scrbook}
                  setcounter{secnumdepth}{5}

                  RedeclareSectionCommand[
                  counterwithin=subsubsection,
                  toclinefill=hfill,
                  tocindent=3.5ex,
                  tocnumwidth=1ex,
                  tocdynnumwidth=true,
                  tocraggedentrytext=true,
                  tocentryformat=fontintocitshape,
                  tocpagenumberformat=fontintoc,
                  beforeskip=10pt,%
                  afterskip=1pt,
                  font=normalfontitshape
                  ]{paragraph}



                  begin{document}

                  chapter{Chapter}
                  section{Section}
                  subsection{Subsection}
                  subsubsection{Subsubsection}
                  paragraph{Subsubsubsection}
                  end{document}


                  enter image description here






                  share|improve this answer




























                    6












                    6








                    6







                    The easiest way is to use paragraph and to redefine its formatting:



                    documentclass{scrbook}
                    setcounter{secnumdepth}{5}

                    RedeclareSectionCommand[
                    counterwithin=subsubsection,
                    toclinefill=hfill,
                    tocindent=3.5ex,
                    tocnumwidth=1ex,
                    tocdynnumwidth=true,
                    tocraggedentrytext=true,
                    tocentryformat=fontintocitshape,
                    tocpagenumberformat=fontintoc,
                    beforeskip=10pt,%
                    afterskip=1pt,
                    font=normalfontitshape
                    ]{paragraph}



                    begin{document}

                    chapter{Chapter}
                    section{Section}
                    subsection{Subsection}
                    subsubsection{Subsubsection}
                    paragraph{Subsubsubsection}
                    end{document}


                    enter image description here






                    share|improve this answer















                    The easiest way is to use paragraph and to redefine its formatting:



                    documentclass{scrbook}
                    setcounter{secnumdepth}{5}

                    RedeclareSectionCommand[
                    counterwithin=subsubsection,
                    toclinefill=hfill,
                    tocindent=3.5ex,
                    tocnumwidth=1ex,
                    tocdynnumwidth=true,
                    tocraggedentrytext=true,
                    tocentryformat=fontintocitshape,
                    tocpagenumberformat=fontintoc,
                    beforeskip=10pt,%
                    afterskip=1pt,
                    font=normalfontitshape
                    ]{paragraph}



                    begin{document}

                    chapter{Chapter}
                    section{Section}
                    subsection{Subsection}
                    subsubsection{Subsubsection}
                    paragraph{Subsubsubsection}
                    end{document}


                    enter image description here







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Mar 2 '17 at 16:30

























                    answered Mar 2 '17 at 16:25









                    Keks DoseKeks Dose

                    21.4k35495




                    21.4k35495























                        5














                        If you want to leave paragraph and subparagraph as is, then you need only new level numbers for it and can then define subsubsubsection:



                        documentclass{scrbook}
                        RedeclareSectionCommand[level=6,toclevel=6]{subparagraph}
                        RedeclareSectionCommand[level=5,toclevel=5]{paragraph}
                        DeclareSectionCommand[
                        style=section,
                        counterwithin=subsubsection,
                        font=normalsize,
                        afterskip=1ex plus .2ex,
                        beforeskip=-3.25ex plus -1ex,
                        indent=0pt,
                        level=4,
                        tocstyle=section,
                        toclevel=4,
                        tocindent=10em,
                        tocnumwidth=5em
                        ]{subsubsubsection}

                        setcounter{secnumdepth}{subsubsubsectionnumdepth}
                        setcounter{tocdepth}{subsubsubsectiontocdepth}

                        usepackage{lipsum}% only for dummy text
                        begin{document}
                        tableofcontents
                        chapter{Chapter}
                        section{Section}
                        subsection{Subsection}
                        subsubsection{Subsubsection}
                        subsubsubsection{Subsubsubsection}
                        lipsum[1-2]
                        paragraph{foo} lipsum[1]
                        subparagraph{bar} lipsum[1]
                        end{document}





                        share|improve this answer




























                          5














                          If you want to leave paragraph and subparagraph as is, then you need only new level numbers for it and can then define subsubsubsection:



                          documentclass{scrbook}
                          RedeclareSectionCommand[level=6,toclevel=6]{subparagraph}
                          RedeclareSectionCommand[level=5,toclevel=5]{paragraph}
                          DeclareSectionCommand[
                          style=section,
                          counterwithin=subsubsection,
                          font=normalsize,
                          afterskip=1ex plus .2ex,
                          beforeskip=-3.25ex plus -1ex,
                          indent=0pt,
                          level=4,
                          tocstyle=section,
                          toclevel=4,
                          tocindent=10em,
                          tocnumwidth=5em
                          ]{subsubsubsection}

                          setcounter{secnumdepth}{subsubsubsectionnumdepth}
                          setcounter{tocdepth}{subsubsubsectiontocdepth}

                          usepackage{lipsum}% only for dummy text
                          begin{document}
                          tableofcontents
                          chapter{Chapter}
                          section{Section}
                          subsection{Subsection}
                          subsubsection{Subsubsection}
                          subsubsubsection{Subsubsubsection}
                          lipsum[1-2]
                          paragraph{foo} lipsum[1]
                          subparagraph{bar} lipsum[1]
                          end{document}





                          share|improve this answer


























                            5












                            5








                            5







                            If you want to leave paragraph and subparagraph as is, then you need only new level numbers for it and can then define subsubsubsection:



                            documentclass{scrbook}
                            RedeclareSectionCommand[level=6,toclevel=6]{subparagraph}
                            RedeclareSectionCommand[level=5,toclevel=5]{paragraph}
                            DeclareSectionCommand[
                            style=section,
                            counterwithin=subsubsection,
                            font=normalsize,
                            afterskip=1ex plus .2ex,
                            beforeskip=-3.25ex plus -1ex,
                            indent=0pt,
                            level=4,
                            tocstyle=section,
                            toclevel=4,
                            tocindent=10em,
                            tocnumwidth=5em
                            ]{subsubsubsection}

                            setcounter{secnumdepth}{subsubsubsectionnumdepth}
                            setcounter{tocdepth}{subsubsubsectiontocdepth}

                            usepackage{lipsum}% only for dummy text
                            begin{document}
                            tableofcontents
                            chapter{Chapter}
                            section{Section}
                            subsection{Subsection}
                            subsubsection{Subsubsection}
                            subsubsubsection{Subsubsubsection}
                            lipsum[1-2]
                            paragraph{foo} lipsum[1]
                            subparagraph{bar} lipsum[1]
                            end{document}





                            share|improve this answer













                            If you want to leave paragraph and subparagraph as is, then you need only new level numbers for it and can then define subsubsubsection:



                            documentclass{scrbook}
                            RedeclareSectionCommand[level=6,toclevel=6]{subparagraph}
                            RedeclareSectionCommand[level=5,toclevel=5]{paragraph}
                            DeclareSectionCommand[
                            style=section,
                            counterwithin=subsubsection,
                            font=normalsize,
                            afterskip=1ex plus .2ex,
                            beforeskip=-3.25ex plus -1ex,
                            indent=0pt,
                            level=4,
                            tocstyle=section,
                            toclevel=4,
                            tocindent=10em,
                            tocnumwidth=5em
                            ]{subsubsubsection}

                            setcounter{secnumdepth}{subsubsubsectionnumdepth}
                            setcounter{tocdepth}{subsubsubsectiontocdepth}

                            usepackage{lipsum}% only for dummy text
                            begin{document}
                            tableofcontents
                            chapter{Chapter}
                            section{Section}
                            subsection{Subsection}
                            subsubsection{Subsubsection}
                            subsubsubsection{Subsubsubsection}
                            lipsum[1-2]
                            paragraph{foo} lipsum[1]
                            subparagraph{bar} lipsum[1]
                            end{document}






                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Mar 2 '17 at 17:27







                            user2478





































                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f356567%2fsubsubsubsection-for-scrbook%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Paper upload error, “Upload failed: The top margin is 0.715 in on page 3, which is below the required...

                                Emraan Hashmi Filmografia | Linki zewnętrzne | Menu nawigacyjneGulshan GroverGulshan...

                                How can I write this formula?newline and italics added with leqWhy does widehat behave differently if I...