Hi everyone,
I hope you can help me. When I convert my Lyx-document to pdf the chapterheadings are always too far from the top (for my purpose).
Is there a way I can change that?
Thanks for your help.
Page Layout ⇒ Lyx chapterheading positioning
NEW: TikZ book now 40% off at Amazon.com for a short time.

Lyx chapterheading positioning
Unfortunately, there is no way to do this using a GUI approach. However, you can customize sectioning units easily with a little bit of code, using titlesec package. For example, you can put into the preamble (Document > Settings > LaTeX Preamble) something like this:
Code: Select all
\usepackage{titlesec}
\titleformat{\chapter}[block]%
{\filright\bfseries\Huge}% formatting (fonts etc.)
{\huge Chapter~\thechapter}% defining the number before the title
{0pt}% space between the number and the title
{\\[12pt]}% text/command between the number and the title
[]% text/command after the title
\titlespacing*{\chapter}% sectioning unit (chapter, section etc.)
{0pt}% left indentation
{1cm}% space before the title
{16pt}% space after the title
[2cm]% right margin
Re: Lyx chapterheading positioning
Tanks a lot, that did it.