GeneralDisable chapter numbering

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
x42bn6
Posts: 14
Joined: Tue Apr 07, 2009 1:35 am

Disable chapter numbering

Post by x42bn6 »

Hi all,

How would I go about removing chapter numbering in a book document class?

i.e.

Code: Select all

\chapter{Foo}
\section{Bar}
\subsection{Baz}
\subsection{Qux}
Would give Baz section number 1.1.1. and Qux section number 1.1.2. How would I get it to display as 1.1. and 1.2. respectively?

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

Disable chapter numbering

Post by Stefan Kottwitz »

You could use the chngcntr package:

Code: Select all

\documentclass[a4paper,10pt]{book}
\usepackage{chngcntr}
\counterwithout{section}{chapter}
\begin{document}
\chapter*{Foo}
\section{Bar}
\subsection{Baz}
\subsection{Qux}
\end{document}
Stefan
LaTeX.org admin
Post Reply