[texhax] Suppressing chapter numbers in sections, in book documentclass

Martin Schröder martin at oneiros.de
Sat Jun 9 22:06:29 CEST 2012


2012/6/9 P. P. Narayanaswami <swami at mun.ca>:
> I am processing a book that has 100 sections, and no chapter or part.
> I am using "book" documentclass (for various reasons).
> When processed in LaTeX, the section numbers (and in TOC also) are printed as
> 0.1, 0.2, ..., 0.100, using "0" as default chapter number. Is there any way to
> suppress this default chapter number "0", and get only the section numbers as
> 1, 2, ... , 100, in both the section titles and the TOC?

Use \chapter? :-)

\renewcommand{\thesection}{\arabic{section}}
You'll have to do the same for subsection etc.

Best
   Martin


More information about the texhax mailing list