I want to create a horizontal line before and after chapter heading (as shown in Picture) Chapter number at the Right hand side and chapter title at the middle. SO far I have this piece of code:
\titleformat{\chapter}[display]
{\bfseries\huge}
{\filleft\Large\chaptertitlename~\thechapter}
{3ex}
{\titlerule\vspace{1.5ex}\filright}
[\vspace{1ex}\titlerule]
But the output is not what i want. Horizontal Lines are appearing on table of contents,figures and tables too(I have back-end content table) and also chapter title is right aligned
Line is appearing before and after the heading