Text & typography
Tab stops and leaders
Align text in a frame with tab stops and fill the gap with dots or a line.
Use tab stops when a line needs aligned pieces of text, such as a price list or a contents row. Put a Tab character between the pieces. Then select the paragraph and open Tab stops in the text Properties panel, or work on the tab ruler over the selected text frame.
Click Add tab stop (or click the small ruler preview at the top of the section), then type the position where the next piece should land in Pos. Each stop has four alignment buttons: Left tab, Center tab, Right tab and Decimal tab, which lines numbers up on the decimal point. A right-aligned stop keeps page numbers or prices lined up even when their lengths differ. Change a stop's position, or delete it with the trash button on its row, if the line no longer fits the frame.
A leader fills the gap before the tabbed text. Each stop has its own Leader menu with None, Dots, Dots spaced and Line. Leaders belong to the tab stop, so they adjust as the wording changes. Do not type a long row of periods by hand; it will drift when a font or heading changes.
For a generated contents list, the table of contents tool can create the tab stops and leaders for you. For a larger grid of data with borders or cell formatting, use a table instead.