On Thu, 28 Feb 2002, Herbert Voss wrote:
> 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@
> }%
> }
>
This worked fine except that it is chapter number followed by title but I
want chapter title followed by chapter number and also (if possible)
chapter number in a large font i.e. I want the chapter number to appear
much bigger than the title.
Thanks,
Manvi
> > Herbert
>
>
>
> --
> http://www.lyx.org/help/
>
------------------------------------------------------------------------------
Manvi Agarwal, M.Sc (Engg), |[EMAIL PROTECTED]
Supercomputer Education & Research Centre|[EMAIL PROTECTED]
Indian Institute Of Science, |CAD Lab :+91 80 3600811
Bangalore - 560012 |Residence:+91 80 3511095
|Fax no: +91 80 3600805
| +91 80 3602648
-----------------------------------------------------------------------------