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

From Apache OpenOffice Wiki
Jump to: navigation, search
m
(adjusted to revision May 2014)
Line 6: Line 6:
 
|NextPage=Documentation/Writer for Students/Cross-References
 
|NextPage=Documentation/Writer for Students/Cross-References
 
}}__NOTOC__
 
}}__NOTOC__
Line Numbering comes in handy for ''interviews'', so you could say: “See interview line 78”. The stumbling block here is: How do you get only the interview text numbered but not the rest? Also, you don’t want a number for every single line, but probably only for every third line. Lastly, you might possibly want numbering to restart from 1 at the beginning of each separate interview.
+
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:
 
Here is how to go about it:
  
* change the Paragraph Style of '''Default''' by right clicking on it and choosing '''Modify'''; go to the tab '''Outline & Numbering''' and ''untick'' the box '''Include this paragraph in line numbering'''; this ensures that as a general rule you ''don’t'' want lines to be numbered
+
* 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
* create a new Paragraph Style by right clicking on your '''Body Text''' Style and name it “Interview”; modify your new style by going to the tab '''Outline & Numbering''' and ticking the box  '''Include this paragraph in line numbering'''; this ensures that only lines in your “Interview” Style paragraphs get numbered
+
* 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
* lastly go to '''Menu Tools › Line Numbering''' and tick the box '''Show numbering'''; here you can also change the '''Interval''' from 3 to 5 lines, ''untick'' the box '''Blank lines'''; as from now the programme has the general permission to number lines, but ''only'' for those styles where numbering is enabled
+
* in the list of paragraph styles (F11) right the paragraph style '''Text Body''' and choose option '''New'''
* mark the interview passages and double-click on the menu entry “Interview” to apply this style to your interviews: now just the lines of your interview passages will get numbered
+
* name your new style '''Interview'''
* in case you have ''several'' interviews, you would very probably want each one to begin line numbering at 1; for this, just right click on the first paragraph of each of your separate interviews and choose the menu '''Paragraph''' (''not'' '''Edit Paragraph Style'''!), go to the tab '''Outline & Numbering''' and tick the box '''Restart at this paragraph'''
+
* under the tab '''Outline & Numbering''' activate '''Include this paragraph in line numbering'''; 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
  
<br />
+
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 />
 
----------
 
----------

Revision as of 11:01, 9 June 2014



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; from now on the programme has global permission to number all lines
  • 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
  • in the list of paragraph styles (F11) right 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; 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

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.


< Previous Page

Next Page >

Personal tools