Difference between revisions of "Documentation/Writer for Students/Line numbering"

From Apache OpenOffice Wiki
Jump to: navigation, search
(adjusted to revision May 2014)
Line 3: Line 3:
 
|ShowPrevNext=block
 
|ShowPrevNext=block
 
|ShowPrevPage=block
 
|ShowPrevPage=block
|PrevPage=Documentation/Writer for Students/Bullets and Numbering
+
|PrevPage=Documentation/Writer for Students/Numbered lists and bullets
 
|NextPage=Documentation/Writer for Students/Cross-References
 
|NextPage=Documentation/Writer for Students/Cross-References
 
}}__NOTOC__
 
}}__NOTOC__
Line 10: Line 10:
 
Here is how to go about it:
 
Here is how to go about it:
  
* go to menu '''Tools › Line Numbering''' and tick the box '''Show numbering'''; change the Interval from 5 to 1 lines to facilitate location; ''untick'' the box '''Blank lines'''; from now on the programme has global permission to number all lines
+
* go to menu '''Tools › Line Numbering''' and tick the box '''Show numbering'''; change the Interval from '''5''' to '''1 lines''' to facilitate location; ''untick'' the box '''Blank lines''' because it makes little sense to count empty lines; from now on line numbering is turned on globally
* Modify the paragraph style '''Default''': under the tab '''Outline & Numbering''' untick '''Include this paragraph in line numbering'''; this ensures that for all styles based on the Default style line numbering is turned off
+
* open your list of paragraph styles (menu '''Format › Styles and Formatting'''); right-click the paragraph style '''Default''' and choose the option '''Modify'''; under the tab '''Outline & Numbering''' ''untick'' '''Include this paragraph in line numbering'''; this turns off line number for all paragraph styles based on '''Default'''
* in the list of paragraph styles (F11) right the paragraph style '''Text Body''' and choose option '''New'''
+
* in the list of paragraph styles (F11) again right-click the paragraph style '''Text Body''' and choose option '''New'''
 
* name your new style '''Interview'''
 
* name your new style '''Interview'''
* under the tab '''Outline & Numbering''' activate '''Include this paragraph in line numbering'''; from now on only lines in '''Interview''' style paragraphs will be numbered
+
* under the tab '''Outline & Numbering''' activate '''Include this paragraph in line numbering''' (the opposite of what you did in step 2); from now on only lines in '''Interview''' style paragraphs will be numbered
* place the cursor in the first paragraph of the interview and double-click on the menu entry '''Interview''' to apply this style; should your interview consist of several paragraphs you can mark these beforehand and apply the style '''Interview''' to all of them in one go
+
* mark your interview paragraphs and in the list of paragraph styles double-click on the style '''Interview''' to apply it to the marked text
 
+
* in case your text contains several interviews, you will probably want to restart numbering beginning with the first paragraph of each one; to do that, '''right click''' it and choose '''Paragraph'' (''not'' '''Edit Paragraph Style…''') and under the tab '''Outline & Numbering''' tick '''Restart at this paragraph'''
In order to restart numbering at the first paragraph of the second interview right click it and choose '''Paragraph''' (''not'' '''Edit Paragraph Style…''') and under the tab '''Outline & Numbering''' tick '''Restart at this paragraph'''.
+
 
<br />
 
<br />
 
----------
 
----------
<p style="text-align:left;">[[Documentation/Writer for Students/Bullets and numbering|< Previous Page]]</p>
+
<p style="text-align:left;">[[Documentation/Writer for Students/Numbered lists and bullets|< Previous Page]]</p>
 
<p style="text-align:right;">[[Documentation/Writer for Students/Cross-references|Next Page >]]</p>
 
<p style="text-align:right;">[[Documentation/Writer for Students/Cross-references|Next Page >]]</p>
  
 
[[Category:Documentation/Writer]]
 
[[Category:Documentation/Writer]]

Revision as of 11:46, 6 September 2015



Line Numbering comes in handy for interviews, so you could say: “See interview line 22”. However you probably won’t want all the lines of your thesis numbered, only the lines of the actual interview. Also, in case you had several interviews, they should each start with the number 1.

Here is how to go about it:

  • go to menu Tools › Line Numbering and tick the box Show numbering; change the Interval from 5 to 1 lines to facilitate location; untick the box Blank lines because it makes little sense to count empty lines; from now on line numbering is turned on globally
  • open your list of paragraph styles (menu Format › Styles and Formatting); right-click the paragraph style Default and choose the option Modify; under the tab Outline & Numbering untick Include this paragraph in line numbering; this turns off line number for all paragraph styles based on Default
  • in the list of paragraph styles (F11) again right-click the paragraph style Text Body and choose option New
  • name your new style Interview
  • under the tab Outline & Numbering activate Include this paragraph in line numbering (the opposite of what you did in step 2); from now on only lines in Interview style paragraphs will be numbered
  • mark your interview paragraphs and in the list of paragraph styles double-click on the style Interview to apply it to the marked text
  • in case your text contains several interviews, you will probably want to restart numbering beginning with the first paragraph of each one; to do that, right click' it and choose Paragraph (not Edit Paragraph Style…) and under the tab Outline & Numbering tick Restart at this paragraph



< Previous Page

Next Page >

Personal tools