Text FormattingChapter Heading without Prefix

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
sonnythe
Posts: 1
Joined: Tue May 29, 2012 3:44 pm

Chapter Heading without Prefix

Post by sonnythe »

Hi,

is there a way to make LaTeX not print out the word "Chapter n" in the document class and only the argument for chapter?

For instance \chapter{Foo} comes out "Foo".

Thanks in advance, btw I have already searched the forum but could not find anything.

Recommended reading 2024:

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

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

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Chapter Heading without Prefix

Post by Stefan Kottwitz »

Hi,

welcome to the board!

It depends on the document class. For example, the KOMA-Script classes do this by default. So you could solve it by switching from report to scrreprt or from book to scrbook. The KOMA-Script classes have further advantages.

Or, if you would like to use standard classes, you could use the titlesec package for customizing the chapter headings. With titlesec, use a hang style, which is like section headings, instead of a display style, which is the original style in standard classes.

Stefan
LaTeX.org admin
Post Reply