Page LayoutTable of content (continue numbering after parts)

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
Anne94
Posts: 1
Joined: Thu Jan 24, 2019 12:42 pm

Table of content (continue numbering after parts)

Post by Anne94 »

Hi all,

I have the following organization of my document:

\part{hhg}
\input{chaptergg}
\intput{chapterhh}

\part{chhh}
\...
\....

I want that the numbering of chapters continues over all the parts. Such that not for every new part the chapter numbering start from 1. can anyone help?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Table of content (continue numbering after parts)

Post by Stefan Kottwitz »

Hi Anne,

welcome to the forum!

Continuous chapter numbering is the case by default. Example:

Code: Select all

\documentclass{book}
\begin{document}
\tableofcontents
\part{First Part}
\chapter{First Chapter}
\chapter{Second Chapter}
\part{Second Part}
\chapter{Third Chapter}
\chapter{Fourth Chapter}
\end{document}
contents.png
contents.png (20.95 KiB) Viewed 2775 times
So there is nothing to change yet. Do you make something non-default? Which document class and settings (preamble) are you using?

Stefan
LaTeX.org admin
Post Reply