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

From Apache OpenOffice Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:Line Numbering}} {{Documentation/WriterforStudentsTOC |ShowPrevNext=block |ShowPrevPage=block |PrevPage=Documentation/Writer for Students/Bullets and Numbering ...")
 
 
(4 intermediate revisions by the same user not shown)
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/Bullets_and_numbering
 
|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'', enabling references of the kind: ‘See line 22’. However you probably won’t want all the lines of your thesis numbered but rather only the lines of the actual interview. And if you have several interviews they should most likely 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''' because it makes little sense to count empty lines; from now on line numbering is turned on globally
* 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
+
* 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'''
* 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) again right-click 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''' (the opposite of what you did in step 2); from now on only lines of '''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'''
 +
<br />
 +
----------
 +
<p style="text-align:left;">[[Documentation/Writer for Students/Bullets_and_numbering|< Previous Page]]</p>
 +
<p style="text-align:right;">[[Documentation/Writer for Students/Cross-references|Next Page >]]</p>
 +
 
 +
[[Category:Documentation/Writer]]

Latest revision as of 12:39, 1 March 2016



Line Numbering comes in handy for interviews, enabling references of the kind: ‘See line 22’. However you probably won’t want all the lines of your thesis numbered but rather only the lines of the actual interview. And if you have several interviews they should most likely 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 of 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