# fancy chapter heading for a book

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

How can I output something like below :

-
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

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:

\documentclass{book}
\usepackage[Lenny]{fncychap}

\begin{document}
\chapter{Compiler Construction Tools}
\end{document}


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.)

-
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