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 line numbers 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 . (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 Layout | group Page setup | Insert break | Section break . For more information, see What are sections? |
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).
Suppressing line numbers
To skip the line numbering for certain paragraphs, select these paragraphs and open the dialog box via the group arrow on the ribbon tab Home | group Paragraph. Switch to the Text flow tab and enable Suppress line numbers there.
Applying line numbers via the dialog box
You can also apply line numbers via the dialog box, and additional options are available here.
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 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. | The Line numbers tab appears. |
4. | Enable the option Show line numbers. |
5. | Where applicable, change the desired settings for the numbering (see below). |
The line numbers are now displayed.
Additional options of the dialog box
In the dialog box of the command group Layout | group Section | Line numbers , you can enable Show line numbers and then make the following additional settings:
▪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. |
| There is also 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 text from the text cursor to the end of the current section. |