Manvi Agarwal wrote:

> Hello,
> I want to change the default format for book class of lyx for chapter
> title.
> I want to write chapter title followed by the chapter number and then
> below this I want to draw a line. Please can you help me with this.


write in preamble:


\renewcommand\thechapter{\arabic{chapter}}
\def\@makechapterhead#1{%
%  \vspace*{50\p@}%
   {\parindent \z@ \raggedright \normalfont
     \ifnum \c@secnumdepth >\m@ne
       \if@mainmatter
         \par\nobreak
         \vskip 20\p@
       \fi
     \fi
     \interlinepenalty\@M
     \Huge \bfseries \thechapter\ #1\par\normalsize%
     \rule{\textwidth}{1pt}%  <--- the rule
     \nobreak
     \vskip 40\p@
   }%
}


Herbert



-- 
http://www.lyx.org/help/

Reply via email to