How to Align Index Page Numbers with a Right Tab Stop in WPS Writer
Question details
The user needs to align index entries and page numbers in WPS Writer by replacing manually typed spaces and periods with a right-aligned tab stop that uses a dot leader.
- Product
- WPS Writer
- Device & OS
- not provided
- Scenario
- The user is formatting a manual index or similar list where each entry should be followed by a dotted line and a right-aligned page number.
- Observed behavior
- Manual spaces and periods create uneven alignment, and automatic formatting can make the cursor skip groups of periods as though they were tab characters.
Open the document in WPS Writer, enable the ruler from the View tab, and turn on paragraph marks from the Home tab so you can see existing spaces, tabs, and page numbers before changing formatting.
Align Index Page Numbers with a Right-Aligned Tab Stop and Dot Leader in WPS Writer
Use this solution when you are manually typing index entries and want all page numbers to line up at the right margin with a consistent dot leader.
In WPS Writer, a tab stop defines where the Tab key moves the cursor. A right-aligned tab stop pushes text to end at that position, and a dot leader fills the space to its left with uniform dots instead of variable-width spaces or periods.
Select the lines you want to align, go to the Home tab, and click the small arrow in the lower-right corner of the Paragraph group to open the Paragraph dialog box.
In the Paragraph dialog box, click the Tabs button at the bottom-left to open the Tab Stop dialog box.
Enter the right margin position, such as 6.0 inches or 15.5 cm, select Right under Alignment, choose the dot leader option under Leader, and click Set.
Click OK, then place the cursor between each index entry and its page number, delete the manual spaces or periods, and press Tab once to move to the right-aligned page number.

Generate an Automatic Index or Table of Contents in WPS Writer
Use this solution for longer documents when you want WPS Writer to create and update index entries and page numbers automatically.
Align Index Page Numbers in WPS Writer with Tab Stops
Use WPS Writer's tab stop settings to replace manual spaces and periods with a right-aligned tab stop and a dot leader, so every index page number lines up at the right margin.
- 1. Download and install WPS Office: Go to the official WPS Office website, download the free installer for Windows or macOS, and complete the installation.
- 2. Open your document in WPS Writer: Launch WPS Office and open the document that contains the index entries you need to align.
- 3. Open the Tabs dialog box: Select the index lines, click the Home tab, open the Paragraph settings, and choose Tabs.
- 4. Configure the right tab and dot leader: Set the tab stop position, select Right alignment, choose a dot leader option, and click Set and OK.
- 5. Use Tab between each entry and its page number: Delete manual spaces or periods, then press Tab once between each index entry and its page number.

Frequently Asked Questions
Why do my index page numbers shift when I use spaces and periods in WPS Writer?
Spaces and periods have variable widths, so they do not align reliably. Use a right-aligned tab stop with a dot leader instead, and press the Tab key between each entry and its page number.
How do I open the Tabs dialog box in WPS Writer?
Select the text, go to the Home tab, click the Paragraph group's dialog launcher, and then click Tabs in the Paragraph dialog box.
How do I make dots fill the space between an index entry and its page number?
In the Tabs dialog box, set a right-aligned tab stop at the right margin position and choose a dot leader option under Leader before clicking Set.
Can I create an automatic index instead of manually typing tab stops?
Yes. In WPS Writer, open the References tab and use Table of Contents or Insert Index. Right-click the generated list and choose Update Field to refresh page numbers.
Why does the cursor skip over groups of periods as if they were tabs?
WPS Writer may be applying automatic formatting or treating the repeated periods as a tab-like pattern. Replace manual periods with a tab stop and dot leader for consistent control.




