Skip to content

Hierarchy

Johannes Schackniß edited this page May 11, 2021 · 3 revisions

Input:

\chapter{chapter}
\section{section}
\subsection{sub section}
\subsubsection{sub sub section}

Output:

hierarchy-image

Unnumbered sectioning

To get unnumbered chapters, parts, sections, subsections, etc, you just affix a * to the respective sectioning command.

Input:

\chapter*{chapter}
\section*{section}
\subsection*{sub section}

Output:

WIP

Add unnumbered sectioning to table of contents

Note that unnumbered chapters, sections, etc are not included automatically in the table of contents. In case you need some of them to be included, you should insert an \addcontentsline instruction after each such sectioning command.

Input:

\chapter*{Chapter heading}
\addcontentsline{toc}{chapter}{Chapter heading}

Output:

WIP

Clone this wiki locally