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
Best Answer
The next heading levels are
\paragraph
and\subparagraph
they do pertain to headings they are defined using\@startsection
almost exactly the same as\section
, but at levels 4 and 5.The source of these commands in
report.cls
is below: