Adding Line Numbers
LibreOffice can automatically count and add line numbers to the lines 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+TF11 to open the Styles 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 Outline & Numbering tab.
-
In the
area, unmark the check box. -
Click OK.
-
Select the paragraph(s) where you want to add the line numbers.
-
Choose
, and then click the 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
, and then click the tab. -
Mark the
check box. -
Mark the
check box. -
Enter a line number in the
box. -
Click OK.