TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to change the default chapter heading formatting of book document class.

How can I output something like below :

share|improve this question
Have a look at the package fncychap – Marco Daniel Oct 23 '11 at 13:58
Also see some of the chapter style offered by memoir - 6.5.1 Defining a chapter style, p 83. – Werner Oct 23 '11 at 14:11
@MarcoDaniel thanks a lot. Can you write this as an answer so that I can accept it as answer. – tugberk Oct 23 '11 at 14:12
Have a look at Vincent Zoonekynd's impressive on line selection of chapter heading and section heading designs. – Marc van Dongen Jan 17 '12 at 6:24
up vote 14 down vote accepted

To modify the header of a chapter you can use on of the predefined styles of the package fncychap

In relation to your question I present a small example:


\chapter{Compiler Construction Tools}


As Werner mentioned you can also use the memoir class which also provides some styles. Examples can be found in the documentation of memoir (6.5.1 Defining a chapter style, p 83.)

share|improve this answer
t's great as a result, however, I have a question: how to put the title in the interior of framework – Zbigniew Jan 17 '12 at 5:55
@Labaïr: At the moment I can't test. I would recommend to aks a new question which linked to this one. – Marco Daniel Jan 17 '12 at 12:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.