We will be migrating from Ask to Discourse on the first week of August, read the details here

Ask Your Question

Table of Contents - page numbers separated using fixed number of spaces [closed]

asked 2020-10-28 20:33:01 +0200

ajlittoz gravatar image

updated 2021-05-31 23:03:48 +0200

Alex Kemp gravatar image

This is a duplicate of 273825/table-of-contents-page-numbers-separated-using-fixed-number-of-spaces which was deleted by his author @john1023

The question was not clear because most of information was in the title and the description didn't help to understand clearly the issue. I'll try to reword it.

The default Structure line for TOC entries is LS E# E T # LS where T inserts a tab to the right margin with a dot-filled leader line. The dot can be replaced by any other character, e.g. space, but for personal reason the author prefers to have the page number separated by two spaces only and exactly from the entry.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2021-05-31 23:04:02.647055

1 Answer

Sort by » oldest newest most voted

answered 2020-10-28 20:40:36 +0200

ajlittoz gravatar image

updated 2021-01-06 11:04:54 +0200

To separate the page number from the entry by a specific string of characters, you need to modify the Structure line in Insert>TOC & Index>TOC, Index or Bibliography.

  1. Go to the Entries tab
  2. Click on the T item in Structure and press Delete (the cursor is now in the text box between E and #
  3. Enter 2 spaces in the box between E and #

The following screenshot shows the resulting structure line where I entered "xx" instead of two spaces to make the effect visible:


To show the community your question has been answered, click the ✓ next to the correct answer, and "upvote" by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

In case you need clarification, edit your question (not an answer which is reserved for solutions) or comment the relevant answer.

(edited on 2021-01-06 to remove a formatting error)

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2020-10-28 20:33:01 +0200

Seen: 44 times

Last updated: Jan 06