# Adding Line Numbers

/text/swriter/guide/numbering_lines.xhp
line numbers
text; line numbers
paragraphs;line numbers
lines of text; numbering
numbering; lines
numbers; line numbering
marginal numbers on text pages
MW added "paragraphs;"
Adding Line Numbers
$[officename] can insert line numbers in an entire document or to selected paragraphs in your document. Line numbers are included when you print your document. You can specify the line numbering interval, the starting line number, and whether to count blank lines or lines in frames. You can also add a separator between line numbers.
Line numbers are not available in HTML format.
To Add Line Numbers to an Entire Document
- Choose Tools - Line Numbering.
- Select Show numbering, and then select the options that you want.
- Click OK.
To Add Line Numbers to Specific Paragraphs
- Choose Tools - Line Numbering.
- Select Show numbering.
- Press Command+T F11 to open the Styles and Formatting window, and then click the Paragraph Styles icon.
- Right-click the "Default" paragraph style and choose Modify.
  All paragraph styles are based on the "Default" style.
- Click the Numbering tab.
- In the Line Numbering area, clear the Include this paragraph in line numbering check box.
- Click OK.
- Select the paragraph(s) where you want to add the line numbers.
- Choose Format - Paragraph, and then click the Numbering tab.
- Select Include this paragraph in line numbering.
- Click OK.
You can also create a paragraph style that includes line numbering, and apply it to the paragraphs that you want to add line numbers to.
To Specify the Starting Line Number
- Click in a paragraph.
- Choose Format - Paragraph, and then click the Numbering tab.
- Select the Include this paragraph in line numbering check box.
- Select Restart at the paragraph check box.
- Enter a line number in the Start with box.
- Click OK.
Tools - Line Numbering
Format - Paragraph - Numbering
Wiki page about numbering paragraphs by styles