If you’ve ever had to put
Here’s the basic recipe, which you can adjust to taste:
Create a new document with one-inch margins.
In the body of the document, in 12 point, type a paragraph of about five lines that looks like this:
Let’s suppose you have to use double line spacing. In that case, you need to set your line spacing to exactly twice the point size
. The H paragraph is set in 12 point, so select the whole paragraph and change its line spacing to exactly 24 points. Don’t use theLine spacing.) “Double” line spacing option in your word processor—despite the name, you’ll end up with line spacing larger than you want. (See
Open the document header for editing.How to open the document header
WordIn Print Layoutview, double-click near the top of the page. PagesSkip this step. Instead, click in the upper-left corner of the page so there’s no active text area.
Create a tall, narrow text box in the left margin. (For those unfamiliar, a text box lets you put text in an arbitrary position on the page, outside the flow of the main document.)How to insert a text box
Word Insert→ Textpanel → Text Box→ Draw Text Box. Click and drag on the page to create the box. OS X Word 2011 Document Elementstab → Text Elementspanel → Text Box icon → Text Box. Click and drag on the page to create the box. OS X Word 2016 Inserttab → Text→ Text Box→ Draw Text Box. Click and drag on the page to create the box. Pages Insert→ Text Box. A default text box will appear. Adjust the size and position as needed. Select the text box and then select Arrange→ Section Masters→ Move Object to Section Master.
In the text box, type your line numbers. Use a hard line break between each number, not a carriage return, so the whole set of numbers is one paragraph. Select all the numbers. As you did before, use paragraph formatting to set the line spacing to exactly 24 points.
Drag the text box near the H paragraph so it looks approximately aligned.
Zoom in closely to the top left corner of the H paragraph so you can see the H paragraph on the right, and the first few numbers in the text box on the left. Select the text box and use the arrows on your keyboard to move the text box vertically until the bottoms of the numbers line up with the bottoms of the lines in the H paragraph.
That’s it. You should now have line numbers that repeat on every page and that line up with the body text. Remember—all the paragraphs in your document, including headings, must have line spacing of exactly 24 points and no space between paragraphs. Otherwise, the text will no longer align with the line numbers.
The line numbers themselves don’t have to be the same point size or font style as the body text. I like to make them smaller so they look more like a background element on the page. (See maxims of page layout for the idea of contrasting foregrounds and backgrounds.) Make these adjustments to the line numbers before aligning them with the body text.