Ask Your Question

How to make the table of contents look beautiful? [closed]

asked 2014-05-21 09:45:48 +0200

lonoob gravatar image

How do you format your table of contents to get the output of the LaTeX Classic Thesis package?

image description

edit retag flag offensive reopen merge delete

close date 2016-02-23 04:13:28.776134

1 Answer

Sort by » oldest newest most voted

answered 2014-05-21 10:45:43 +0200

Ljiljan gravatar image

updated 2014-05-21 20:09:17 +0200

Generate Table of Content. (Insert -> Index and Tables). Open tab "Entries" as shown in following photo:

image description

For both level (1 and 2), area "Structure", click on the "T" letter (it is not shown in the photo because I've already changed it) and then select "Hyperlink". Now, you removed Tabstop. However, in order to have some space between text and page number, add some space by space-key between "E" and "LE" letters (it is shown in the image attached). (for example " "). Here you can edit page number format style as well. Click on the page number ("#") in the Structure and select Character Style ("Example") and click on Edit.

You can also edit styles of each heading shown in Table of Contents. Go to Format -> Styles and formatting or just press F11. Find styles "Contents 1", "Contents 2" and so on and modify them as you wish. There are plenty of possibilities there and they are simple.

This is example (both JPG and ODT files) that worked for me: image description

ODT file: ODT example

edit flag offensive delete link more


How do you position the page numbers like that?

lonoob gravatar imagelonoob ( 2014-05-21 11:04:32 +0200 )edit

I edited my first answer to include photo... I hope this helped

Ljiljan gravatar imageLjiljan ( 2014-05-21 11:57:51 +0200 )edit

Try disabling "Align right", it works like tabs: In short headings the page number is far away, in long headings it is close to the heading. I had tried that and it's not what I want. In Classic Thesis, the distance between the heading and the page number is always fixed.

lonoob gravatar imagelonoob ( 2014-05-21 14:30:14 +0200 )edit

Ok. I changed my answer and provided ODT example. I didn't use exact fonts, but it is very easy to change.

Ljiljan gravatar imageLjiljan ( 2014-05-21 20:04:27 +0200 )edit

This is a great answer!

lonoob gravatar imagelonoob ( 2014-05-21 20:22:08 +0200 )edit

thanks... I've learned something new as well :)

Ljiljan gravatar imageLjiljan ( 2014-05-21 20:42:31 +0200 )edit

Question Tools

1 follower


Asked: 2014-05-21 09:45:48 +0200

Seen: 1,836 times

Last updated: May 21 '14