Remzi Seker wrote:
> 
> Thanks alot, that works great, do you know how I can have it centered as well?
> 
> On Tuesday 03 April 2001 11:16, Herbert Voss wrote:
> => Remzi Seker wrote:
> => >
> => > I am writing a document in report style (Lyx  v. 1.1.6fix1)
> => > I have chapters such as
> => > "Chapter 1"
> => > chapter's title
> => > :
> => > :
> => > "Chapter 2"
> => > chapter's title
> => >
> => > I want to get rid of "Chapter 1" and "Chapter 2" but I want to have them
> => > appear in TOC (so chapter* is not an option, also because my equations
>  are => > numbered using the chapter numbers).
> =>
> => try in latex preamble:
> =>
> => \AtBeginDocument{\renewcommand\chaptername{}}
> => \def\@makechapterhead#1{%
> =>   \vspace*{50\p@}%
> =>   {\parindent \z@ \raggedright \normalfont
> =>     \ifnum \c@secnumdepth >\m@ne

\huge\bfseries\centering \@chapapp\space %\thechapter

> =>         \par\nobreak
> =>         \vskip 20\p@
> =>     \fi
> =>     \interlinepenalty\@M
> =>     \Huge \bfseries #1\par\nobreak
> =>     \vskip 40\p@

Herbert

-- 
http:[EMAIL PROTECTED]

Reply via email to