Table of Contents - page numbers separated using fixed number of spaces

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.

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:

TOC_Structure_Line

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)