I am trying to create a latex class that allows sectioning below subparagraph. For doing that, I modified the article.cls
class of the texlive distribution adding two more options \thesubsubsubsection
and \thesubsubsubsubsection
. So now, the sectioning tree goes as follows:
\thesection
\thesubsection
\thesubsubsection
\thesubsubsubsection
\thesubsubsubsubsection
\theparagraph
\thesubparagraph
Please see below myarticle.cls
, mysectioning.tex
and the resulting mysectioning.pdf
.
I achieved the wanted effects in terms of numbering, table of contents and section formatting. The only problem that I have is that in the new two headings, \thesubsubsubsection
and \thesubsubsubsubsection
, the heading title is repeated in the following paragraph as indented text (see Sections 1.1.1.1 and 1.1.1.1.1 below).
Do you know how can I avoid this behavior?
Many thanks in advance for your help and ideas!
Sebastian