> ## Documentation Index
> Fetch the complete documentation index at: https://resources.latex-cloud-studio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sections and Chapters in LaTeX

> Structure LaTeX documents with parts, chapters, sections, and subsections using consistent numbering and hierarchy.

Use heading levels to build a clear document hierarchy.

## Basic Hierarchy

```latex hierarchy.tex theme={null}
\part{Part I}
\chapter{Introduction}
\section{Background}
\subsection{Motivation}
\subsubsection{Scope}
\paragraph{Note}
```

## Numbered vs Unnumbered Headings

```latex numbered-unnumbered.tex theme={null}
\section{Numbered Section}
\section*{Unnumbered Section}
\addcontentsline{toc}{section}{Unnumbered Section}
```

## Best Practices

* Keep heading depth consistent across chapters.
* Avoid skipping levels (for example chapter directly to subsubsection).
* Use unnumbered headings only for front/back matter sections.

## Related Pages

* [Table of contents](/learn/latex/document-structure/table-of-contents)
* [Multi-file projects](/learn/latex/document-structure/multi-file-projects)
