Adding Line Numbers

From LibreOffice Help
Jump to: navigation, search

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.

Note.png 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 OK.

To Add Line Numbers to Specific Paragraphs

  1. Choose Tools - Line Numbering.
  2. Select Show numbering.
  3. Press F11 to open the Styles and Formatting 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.
  1. Click the Outline & Numbering tab.
  2. In the Line Numbering area, clear the Include this paragraph in line numbering check box.
  3. Click OK.
  4. Select the paragraph(s) where you want to add the line numbers.
  5. Choose Format - Paragraph, and then click the Outline & Numbering tab.
  6. Select Include this paragraph in line numbering.
  7. 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

  1. Click in a paragraph.
  2. Choose Format - Paragraph, and then click the Outline & Numbering tab.
  3. Select the Include this paragraph in line numbering check box.
  4. Select Restart at the paragraph check box.
  5. Enter a line number in the Start with box.
  6. Click OK.

Related Topics

Tools - Line Numbering

Numbering and Numbering Styles

Format - Paragraph - Numbering

Wiki page about numbering paragraphs by styles