GeneralCentering the whole table of contents

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
boesgaard
Posts: 1
Joined: Wed Feb 25, 2009 1:31 pm

Centering the whole table of contents

Post by boesgaard »

I'm having trouble formatting my table of contents.

I would like a tabel of contents where everything is centered and without the dots, eg.

Code: Select all

          Contents
         Foreword 3
  The truth of happiness 4
    Money is everything 6
         Letters  8
I'm using the package tocloft, and have gotten so far that I can center the contentsname, remove the dots, and have everything either flushright or flushleft. But I can simply not find a command that will center everything.

Kind regards

Thomas Boesgaard

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