Customizing Chapter

2000-11-16 Thread Teddy Surya Gunawan

Hi,

I want to change the appearance of Chapter. I am using report class to
write my thesis. So, how can I customize lyx/latex from :

Chapter 1
Introduction

to :

  Chapter 1
Introduction
--

(centered and got line below, the line should be the same length with the 
header line)

Do I have to make something like \renewcommand{chapter} ?

Any suggestions would be appreciated.

TIA,

teddy




Re: Customizing Chapter

2000-11-16 Thread Herbert Voss

> I want to change the appearance of Chapter. I am using report class to
> write my thesis. So, how can I customize lyx/latex from :
> 
> Chapter 1
> Introduction
> 
> to :
> 
>   Chapter 1
> Introduction
> --
> 
> (centered and got line below, the line should be the same length with the
> header line)

have a look at package sectstyl. maybe part of your local text
installation
or available at ctan.

Herbert


-- 
[EMAIL PROTECTED]
http://perce.de/lyx/




Re: Customizing Chapter

2000-11-16 Thread Dekel Tsur

On Thu, Nov 16, 2000 at 05:49:15PM +0800, Teddy Surya Gunawan wrote:
> Hi,
> 
> I want to change the appearance of Chapter. I am using report class to
> write my thesis. So, how can I customize lyx/latex from :
> 
> Chapter 1
> Introduction
> 
> to :
> 
>   Chapter 1
> Introduction
> --

Put the following in the preamble:

\usepackage{titlesec}
\titleformat{\chapter}[display]
  {\normalfont\Large\filcenter\sffamily}
  {\LARGE\chaptertitlename \thechapter}
  {1ex}
  {\Huge}
  [\vspace{0.5ex}\titlerule]

You can also look in the titlesec documantion for more (prettier) examples.



Re: Customizing Chapter

2000-11-16 Thread Teddy Surya Gunawan

> Put the following in the preamble:
> 
> \usepackage{titlesec}
> \titleformat{\chapter}[display]
>   {\normalfont\Large\filcenter\sffamily}
>   {\LARGE\chaptertitlename \thechapter}
>   {1ex}
>   {\Huge}
>   [\vspace{0.5ex}\titlerule]

Thanks all for the answers. It's work now.

btw, \chaptertitlename doesn't work for me, I have to change it to
\chaptername

Cheers,

teddy