Page Layouttocloft | Customized ToC

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
elingeniero
Posts: 12
Joined: Mon Feb 13, 2012 12:30 pm

tocloft | Customized ToC

Post by elingeniero »

Hi

I went over the tocloft documentation quickly and there were very few examples. I used \usepackage[titles]{tocloft} and the \tableofcontents command and here's what I get:
capture-ToC.jpg
capture-ToC.jpg (20.08 KiB) Viewed 5130 times
I centered the contents, what I want is
  • increase the font size
  • center the title (Contents) and change it
  • change the spacing between each entry


Thanks
Last edited by localghost on Mon Feb 20, 2012 11:16 am, edited 1 time in total.

Recommended reading 2024:

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

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

elingeniero
Posts: 12
Joined: Mon Feb 13, 2012 12:30 pm

tocloft | Customized ToC

Post by elingeniero »

increase the font size:

Code: Select all

\renewcommand{\cftsecfont}{\Large}
center the title (Contents) and change it:

Code: Select all

\renewcommand*\contentsname{\centerline{Contents}}
change the spacing between each entry:

Code: Select all

\setlength{\cftbeforesecskip}{2cm}
\setlength{\cftparskip}{8cm}
Post Reply