Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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
2  
Have a look at the package fncychap –  Marco Daniel Oct 23 '11 at 13:58
1  
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

1 Answer 1

up vote 12 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:

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

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

Result

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

 
discard

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.