Adding line numbers

<< Click to Display Table of Contents >>

Adding line numbers

Apart from the various types of numbering presented in the previous sections, TextMaker provides a function that displays line numbers next to a document's text. The line numbers are shown in the left margin and are also printed.

To instruct TextMaker to show line numbers, proceed as follows:

Applying directly via the ribbon button

1.Select the specific section of text for which line numbers are to be shown.
2.Choose the ribbon command Layout | group Section | Line numbers line_numbers_icon. (Click on the small arrow of the icon for the dropdown menu.)
3.In the dropdown menu, choose between the following settings:
Continuous: The numbering is sequentially numbered throughout the document.
Restart on every page: Numbering starts with 1 at the beginning of each new page.
Restart at beginning of this section: Numbering starts with 1 at the beginning of the current section.
Tip: You can define new sections with the ribbon command Insert | Break | Section break.

The line numbers are now displayed.

The entry No line numbers in the dropdown menu disables the display of the line numbers again. The entry More takes you to the dialog box with additional options (see below).

Skipping line numbers

To skip the line numbering for certain paragraphs, select these paragraphs and open the dialog box via the group arrowgroup_arrow on the ribbon tab Home | group Paragraph. Switch to the Text flow tab and enable Suppress line numbers there.

Additional settings: Via the dialog box

You can make further settings for line numbers via the dialog box:

1.Select the specific section of text for which line numbers are to be shown.
2.Choose the ribbon command Layout | group Section | Line numbers line_numbers_icon to open the dialog box. (Click directly on the icon itself.)
Alternatively: Click on the small arrow of the icon and select the entry More in the dropdown menu.
3.Switch to the Line numbers tab.
4.Enable the option Show line numbers.
5.Where applicable, change the desired settings for the numbering (see below).
6.Confirm with OK.

The line numbers are now displayed.

Options of the dialog box

In the dialog box of the command group Layout | Section group_arrow, you can change the following settings on the Line numbers tab:

Show line numbers

This option enables/disables the display of line numbers.

Options section

Here, you can set the following options:
First line number determines the number with which the line numbering should start.
Count by determines the interval between numbered lines. If you enter 5, for example, line numbers will appear only at lines 5, 10, 15, 20, etc.
Distance to text determines the amount of blank space TextMaker should leave between the line numbers and the text.
Position determines where the line numbers should be displayed: in the left or right page margin or in the inner or outer page margin (for documents with opposite pages, for example, books).

Numbering section

This option determines if and when to restart numbering:
Restart at beginning of this section: The numbering is reset to 1 only at the beginning of the current section. Tip: You can define new sections with the ribbon command Insert | Break | Section break.
Restart on every page: The numbering is reset to 1 at the beginning of every page of the document.
Continuous: The numbering is sequentially numbered throughout the document.
In addition, there is the option Skip empty paragraphs. If this is enabled, the numbering skips all paragraphs that are completely empty.

Apply to:

This option determines which part of the document will be affected by the settings made in this dialog box:
Whole document: the entire document.
This point forward: the section of text from the text cursor to the end of the document.
Selected text: the section of text currently selected in the document.
Current section: the current section of text. Tip: You can use the ribbon command Insert | Break | Section break to divide the document into as many sections as you want.
Selected sections: all sections included in the current selection.
To end of section: the section of text from the text cursor to the end of the current section.