Set and Check a Fixed Margin Grid on PDF Pages
Admin ·
Use a fixed margin grid when you need consistent reference numbers on PDF pages. Start with the available margin and the line spacing in your source. The preview shows whether the resulting numbers sit where reviewers can follow them.
Number every second row on the sample pages
Open the linked practice PDF or choose Load example. Set Font size to 8 points, Line height to 20, Top margin and Bottom margin to 20, and Starting line number to 10. Leave Offset from edge at 18 points and choose the left margin. Select 2 under Number every N lines, choose Continuous across selected pages, and leave Apply to on All pages.
Choose Add line numbers. The tool adds six numbers. The grid has six positions per page and labels the second, fourth and sixth. Page 1 shows 11, 13 and 15. Page 2 shows 17, 19 and 21. In the edited preview, select page 2 to verify that the numbers follow the displayed left margin even with its stored rotation.
Download the two-page PDF practice fileOpen Add Line Numbers to PDF
Target one page or restart at page breaks
Switch Numbering mode to Restart each page. Both pages now use 11, 13 and 15. Choose Page range under Apply to and enter 2 to leave the first page unnumbered. Use the right margin if the review notes need more room on the left.
Open the result in a PDF reader and select the original text or edit ProofCode on page 1. Its initial value remains P-4. The new numbers are drawn into the page content.
PDF Association guidance on content streams and resourcesOpen Add Line Numbers to PDF
Check spacing before sharing
The first grid baseline is one font size below the top margin. Adjacent grid baselines differ by the line height. The next grid starts only when the geometry allows space above the bottom margin.
Use different settings if the numbers overlap the text or fail to align with your lines. A fixed grid does not follow variable paragraph spacing or detect lines in an image.
Common questions
How do skipped grid rows affect continuous numbering?
Every position contributes to the count on selected pages. Printing every fifth number skips the intervening labels while still counting their rows.