Page LayoutChapters appearing w/o a chapter number

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
thedoctor818
Posts: 92
Joined: Fri Apr 24, 2009 8:02 pm

Chapters appearing w/o a chapter number

Post by thedoctor818 »

I am compiling a book, and would like to know if there is a way for the chapters to appear in the toc, yet in the text proper can they appear without: "Chapter 1: <title>" like say just <title>??? I do not know if this is possible, but it would be great if so. Or, I probably might not mind if the titles were preceeded by just the numbers 1,2, etc as in the article document class; but then I could not use appendices. Help please.
-Michael D

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Chapters appearing w/o a chapter number

Post by localghost »

For standard classes there is a simple solution to add unnumbered chapters to the ToC.

Code: Select all

\chapter*{Chapter Title}
  \addcontentsline{toc}{chapter}{Chapter Title}
Note that this also affects the behaviour of column titles (headers) in your document. Depending on your setup, these chapters won't appear.

Other document classes like those of the KOMA Script bundle or the memoir class have built-in features to get the desired result.


Best regards
Thorsten
thedoctor818
Posts: 92
Joined: Fri Apr 24, 2009 8:02 pm

Re: Chapters appearing w/o a chapter number

Post by thedoctor818 »

Thanks Thorsten, that did the trick.

-Michael
-Michael D
Post Reply