On Mon, Dec 16, 2002 at 03:45:56PM +0100, Jochen Wurster wrote:
> my institution requires a special layout for the work i am currently
> writing. And there are some requirements which i couldn't fulfill completly
> with lyx. At the moment i am using book document class.
> - Section: Section number + new line followed by the section name
> - Chapters without the text 'Chapter' in the title. And no space above the
> chapter name. The text 'Chapter' is ommitted by document class book
> (koma-script) , but koma-script introduces other problems in my layout e.g.
> way too many space between sections or section name followed by 5cm space in
> front of the section's text.
Add the following lines to the preamble:
\usepackage{titlesec}
\titleformat{\chapter}[display]
{\normalfont\huge\bfseries}
{\thechapter}
{20pt}
{\Huge}
\titlespacing*{\chapter}{0pt}{0pt}{40pt}
\titleformat{\section}[display]
{\normalfont\Large\bfseries}
{\thesection}
{10pt}
{}