For a 11 pt. report document class which I am using for my thesis, I can only get the following heading levels on a per chapter basis:
\chapter
\section
\subsection
\subsubsection
I am not including the paragraph sections above, as they do not pertain to headings.
My question is: is there a way to extend the above limited hierarchy to include more heading levels? Alternatively, is there a package which provides such an extension?
For example in the following MWE:
\documentclass[11pt]{report}
\begin{document}
\tableofcontents
\part{This is a part}
\chapter{This is a chapter}
\section{This is a section}
\subsection{This is a subsection}
\subsubsection{This is a subsubsection}
\paragraph{This is a paragraph}
\subparagraph{This is a subparagraph}
\end{document}
There is no numbering generated for the paragraph or the subparagraph....so these would not be captured in TOC. I need to create a numbered hierarchy with more depth than that allowed by above. My actual need is to have another level above the \section{} to form a generic heading for the discussion that follows in the section and the subsections. Is there a way to do this in such a way that it is sequentially numbered automatically, and captured in TOC as well?
TIA
Vinod
\setcounter{secnumdepth}{2}
.secnumdepth
counter to5
or6
secnumdepth
so set\setcounter{secnumdepth}{5}
if you want level 5 sections numbered, similary set\setcounter{tocdepth}{5}
if you want all levels in the toctitlesec
texdoc.net/texmf-dist/doc/latex/titlesec/titlesec.pdf#page=9