Page LayoutChapter mark in section title

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
zdavies
Posts: 2
Joined: Mon Apr 27, 2009 3:01 pm

Chapter mark in section title

Post by zdavies »

I would like to change the the numeration on section titles: at the moment my section titles look like this:
SectionNumber. SectionTitle
E.g. 1. Introduction.

I want to change them to look like this:
ChapterNumber.SectionNumber. SectionTitle
E.g. 1.1. Introduction.

Is there a simple way to so this?

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

Chapter mark in section title

Post by localghost »

This can only work when changing from the article class to a chapter based class like book or report. You may take a look at the memoir class or those from the KOMA Script bundle.


Best regards and welcome to the board
Thorsten¹
zdavies
Posts: 2
Joined: Mon Apr 27, 2009 3:01 pm

Re: Chapter mark in section title

Post by zdavies »

I am already using amsbook.cls which is a chapter class. However the section headings do not include the chaptermark in the section title.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Chapter mark in section title

Post by localghost »

zdavies wrote:I am already using amsbook.cls which is a chapter class.
This very important information would have been useful right at the beginning. Add a line to your preamble.

Code: Select all

\numberwithin{section}{chapter}
This command is provided by the amsmath package which is automatically loaded by the class.
Post Reply