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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
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