My structure begin on section (this is a monograph with documentclass article), so I don't use \chapter.

I have one section with I need expand to 'level 6' (as a precaution, expand to 'level 10').






How can I do that without change too much the structure?

P.S: I try this (great) suggestion (More section headings?), but he needed chapter to begin.

  • 1
    Welcome to TeX.SX! Some unsolicited advice: consider restructuring your document instead of adding this many extra sectional units. Numbering this deep will be confusing for readers and rarely adds value. – Paul Gessler Mar 4 '15 at 15:57
  • 1
    The linked post uses level 0 for chapter. Just don't use level 0. – Werner Mar 4 '15 at 15:57
  • That's too many sections! With the standard article class you get six: part, section, subsection, subsubsection, paragraph, and subparagraph – Thruston Mar 4 '15 at 15:58
  • What makes you think that the code in the linked answer needs chapters? – egreg Mar 4 '15 at 18:47
  • I tried my code (in the second part of the answer), changing report into article and removing the \level{0} line. It worked well, even for the table of contents. As such, I'll vote for closing as duplicate – egreg Mar 4 '15 at 18:54

egreg's code does not need \chapter here using article instead of report just don't use level 0:


    {-3.25ex\@plus -1ex \@minus -.2ex}%
    {1.5ex \@plus .2ex}%

    \noexpand\@namedef{level\number\numexpr\count@+1\relax mark}####1{}}


  • This generates a faulty \tableofcontents – Uwe Ziegenhagen Mar 4 '15 at 16:32
  • @UweZiegenhagen The code used by David is the first I gave in my answer; the extended code in the second part works also for the TOC. – egreg Mar 4 '15 at 18:55

Not the answer you're looking for? Browse other questions tagged or ask your own question.