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.

note

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 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.

  1. Click the Outline & List tab.

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

  3. Click Zatvori.

  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 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.

Please support us!