Is there a way to have paragraphs at different depths in the sectioning hierarchy?
For example, in my dissertation background chapter, I don't need five levels (chapter/section/subsection/subsubsection/paragraph). In the body of the mathematical presentation, I need at least that many.
I want some of the same treatment for paragraphs at any sectioning level:
- No table of contents entry for paragraphs
- Same heading styling (italic, not bold, for
amsbook
class)
But I want the numbering to adjust to the containing entity. Currently if I don't use subsections and subsubsections, I get zeros in the paragraph number, or worse (it tries to remember the number of the last subsubsection I did have).
\chapter{This is chapter 1}
\section{This is section 1}
Content
\subsection{This is subsection 1.1}
Content
\subsubsection{This is subsubsection 1.1.1}
Content
\paragraph{This is paragraph 1.1.1.1}
Content
\section{This is section 2}
Content
\paragraph{I would like this paragraph to be 2.1}
Content
\section{This is section 3}
Content
\subsection{This is subsection 3.1}
Content
\paragraph{I would like this to be paragraph 3.1.1}
Content
Is this kind of numbering feasible? Can it be done somewhat automatically, or would I need to redefine the paragraph style each time I put paragraphs in a different level?
\subsection{I would like this paragraph to be 2.1}
as it is a 2nd level heading, and then style subsections in the front matter differently if that is what you need.\paragraph
is unfortunately named it is nothing to do with paragraphs of text, it's just an arbitrary name for a 4th level heading\subsection
for paragraphs at second-level, but how can I get the paragraph-like behavior named in my two bullets?