Possible Duplicate:
Title between lines
Can anybody please tell me how to get horizontal lines above and under the \chapter{MyChapter}? Here is an example:

Possible Duplicate:
Title between lines
Can anybody please tell me how to get horizontal lines above and under the \chapter{MyChapter}? Here is an example:

Here's a possible solution using the titlesec package:
\documentclass{book}
\usepackage{titlesec}
\titleformat{\chapter}[display]
{\bfseries\huge}
{\filleft\Large\chaptertitlename~\thechapter}
{3ex}
{\titlerule\vspace{1.5ex}\filright}
[\vspace{1ex}\titlerule]
\begin{document}
\chapter*{Test Unnumbered Chapter}
\chapter{Test Numbered Chapter}
\end{document}
An image of the unnumbered chapter:

and an image of the numbered chapter:

list of contents and list of tables? Moreover, how to apply the above mentioned stuffs while writing a thesis using report class and including chapters.
– M S
Sep 08 '17 at 10:49
titlesecpackage, there is an example on page 22 of the manual. – Torbjørn T. Jan 14 '13 at 18:54