LaTeX forum ⇒ LyXAdjust Top Margin in Table of Contents

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Posts: 3
Joined: Wed Sep 30, 2009 3:51 am

Adjust Top Margin in Table of Contents

Postby jeffack » Tue Apr 11, 2017 1:26 pm

I am having difficulty adjusting the top margin of my Table of Contents. Here is the code I currently have in my preamble:

  1. \usepackage{tocloft}
  3. \renewcommand{\cfttoctitlefont}{\hspace*{\fill}\normalfont\bfseries\MakeUppercase}
  4. \setlength{\cftbeforetoctitleskip}{100pt}

(Note that I am using
  1. \renewcommand{\cfttoctitlefont}{\hspace*{\fill}\normalfont\bfseries\MakeUppercase}
to make the title all caps and centered; this part works fine)

  1. \setlength{\cftbeforetoctitleskip}{100pt}
doesn't seem to do anything. Even odder is the fact that
  1. \setlength{\cftaftertoctitleskip}{100pt}
works perfectly; it adds space after the title.


User avatar
Posts: 76
Joined: Thu Aug 03, 2017 10:54 am

Postby thomasb » Tue Aug 08, 2017 1:07 am

Do you have a bit of code to compile ?

Return to “LyX”

Who is online

Users browsing this forum: No registered users and 6 guests