How to Add Tab Leaders Between Text and Page Numbers in Word
Question details
The user wants to add dotted or dashed lines between text and page numbers in a Word document.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Formatting a table of contents or list with aligned page numbers and tab leaders.
- Observed behavior
- Text and page numbers should be separated by dotted or dashed leaders aligned to a tab stop.
Open the document in desktop Word and select the paragraphs you want to format. Decide where the page numbers should align on the ruler.
Set a tab stop and leader in Word
Use the Tabs dialog to align page numbers and fill the space before them with dots or dashes.
Select the relevant paragraphs. On the Home tab, open the Paragraph dialog using its small launcher, then select Tabs.
Enter a position in Tab stop position and choose Right alignment to line up the page numbers.
Under Leader, select the dotted or dashed style, click Set, and then click OK.
Place the cursor between each entry and its page number, remove any extra spaces, and press Tab. The chosen leader fills the space up to the tab stop.
Add tab leaders to a list in WPS Writer
Use WPS Writer's tab settings to align page numbers and add dotted or dashed leaders in a document.
- 1. Open the document: Open WPS Writer and select Open to load your document, then select the paragraphs you want to format.
- 2. Open tab settings: On the Home tab, open the Paragraph settings dialog and select Tabs.
- 3. Set the leader: Enter the tab stop position, choose Right alignment and a dotted or dashed leader, then select Set and OK.
- 4. Insert the tabs: Click between each entry and its page number, remove extra spaces, and press Tab to display the leader.

Frequently Asked Questions
Why don't the dots appear after I set a tab leader?
A leader appears only when a tab reaches the configured stop. Place the cursor between the text and page number, press Tab, and check the tab stop and leader settings in Home > Paragraph > Tabs.
How do I align page numbers at the right edge?
In the Tabs dialog, enter a tab stop near the right margin and choose Right alignment. Click Set and OK, then insert a tab before each page number.
Can I use dashes instead of dots?
Yes. In the Tabs dialog, select the dashed option under Leader, click Set, and then click OK.
Will tab leaders add page numbers automatically?
No. A tab leader fills the space before a tab stop; it does not generate or update page numbers. For an automatic table of contents in Word, use References > Table of Contents.




