# [Tex/LaTex] fancy chapter heading for a book

chaptersfncychapformattingsectioning

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

How can I output something like below :

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