Page LayoutIn Lyx, alter the page top margin of TOC, LOF , LOT

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
shuchong0602
Posts: 2
Joined: Wed May 29, 2013 3:48 pm

In Lyx, alter the page top margin of TOC, LOF , LOT

Post by shuchong0602 »

I'm using lyx to work on my thesis. At first, I tried to alter the page top margin of TOC, LOF, LOT and Chapter page. I used the code below from the forum at first.[

Code: Select all

\usepackage{lipsum}


\makeatletter
\def\@makechapterhead#1{%
  {\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@
  }}
\def\@makeschapterhead#1{%
  {\parindent \z@ \raggedright
    \normalfont
    \interlinepenalty\@M
    \Huge \bfseries  #1\par\nobreak
    \vskip 40\p@
  }}
\makeatother
It works well. But when I tried to use

Code: Select all

\usepackage{tocloft}
\renewcommand\cftchapdotsep{\cftdotsep}
\renewcommand\cftchapleader{\cftdotfill{\cftchapdotsep}
. The page top margin of the TOC, LOF and LOT pages are too big but it is well for the chapter pages.
Is there any conflicts between the two packages?

Thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply