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 \@chapapp\space %\thechapter
=>         \par\nobreak
=>         \vskip 20\p@
=>     \fi
=>     \interlinepenalty\@M
=>     \Huge \bfseries #1\par\nobreak
=>     \vskip 40\p@
=>   }}
=>
=> Herbert
=>

Works perfectly!
Thanks!!

-- 
Remzi Seker
Graduate Assistant
University of Alabama at Birmingham
Electrical and Computer Eng. Dept. BEC 261 B 
1530 3rd Avenue South 
Birmingham, AL 35294-4461
Tel: (205) 975-0391
Fax: (205) 975-3337

Reply via email to