Contents

# Adding Line Numbers

LibreOffice 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

1. Choose Tools - Line Numbering.

2. Select Show numbering, and then select the options that you want.

3. Click Zatvori.

## To Add Line Numbers to Specific Paragraphs

1. Choose Tools - Line Numbering.

2. Select Show numbering.

3. Press Command+T F11 to open the Styles window, and then click the Paragraph Styles icon.

4. Right-click the "Default" paragraph style and choose Modify.

   All paragraph styles are based on the "Default" style.

5. Click the Outline & List tab.

6. In the Line Numbering area, clear the Include this paragraph in line numbering check box.

7. Click Zatvori.

8. Select the paragraph(s) where you want to add the line numbers.

9. Choose Format - Paragraph, and then click the Outline & Numbering tab.

10. Select Include this paragraph in line numbering.

11. Click Zatvori.

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

1. Click in a paragraph.

2. Choose Format - Paragraph, and then click the Outline & List tab.

3. Select the Include this paragraph in line numbering check box.

4. Select Restart at the paragraph check box.

5. Type a name in the Style Name box.

6. Click Zatvori.

Related Topics

Tools - Line Numbering

Numbering and Paragraph Styles

Format - Paragraph - Outline & List

Wiki page about numbering paragraphs by styles