Difference between revisions of "Documentation/Writer for Students/Headings"

From Apache OpenOffice Wiki
Jump to: navigation, search
 
(13 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:Headings}}
+
{{DISPLAYTITLE:Chapter Headings}}
 
{{Documentation/WriterforStudentsTOC
 
{{Documentation/WriterforStudentsTOC
 
|ShowPrevNext=block
 
|ShowPrevNext=block
 
|ShowPrevPage=block
 
|ShowPrevPage=block
|PrevPage=Documentation/Writer for Students/First Steps
+
|PrevPage=Documentation/Writer for Students/Document Structure
 
|NextPage=Documentation/Writer for Students/Chapter Numbering
 
|NextPage=Documentation/Writer for Students/Chapter Numbering
 
}}__NOTOC__
 
}}__NOTOC__
Line 13: Line 13:
 
* '''Ctrl + 2''' for Section Headings (level 2)
 
* '''Ctrl + 2''' for Section Headings (level 2)
 
* '''Ctrl + 3''' for Subsection Headings (level 3)
 
* '''Ctrl + 3''' for Subsection Headings (level 3)
 +
and so on.
  
{{Documentation/Note|It isn’t necessary to mark the whole paragraph beforehand – just place the cursor anywhere within the paragraph and apply one of the above shortcuts.}}
+
{{Note|It isn’t necessary to mark the whole paragraph – just place the cursor anywhere within the paragraph and apply one of the above shortcuts.}}
  
For those of you who use Macs: it’s not the '''Ctrl'''-Key but the '''Cmd'''-Key instead.
+
[On Macs, the Ctrl Key is replaced with the Cmd Key instead. Linux machines use the same keys as Windows. Other operating systems may vary.]
But I’ll leave it up to you to figure out the variations. Linux machines use the same keyboard shortcuts as Windows.
+
  
 
== Format your Headings ==
 
== Format your Headings ==
  
To control the appearance say of all your chapter headings ('''Level 1'''), simply right click on any one of them and choose the option'''Edit Paragraph Style'''.  
+
To control the appearance say of all your chapter headings ('''Level 1'''), simply right click on any one of them and choose the option '''Edit Paragraph Style'''. Any changes made here will apply to ''all other'' '''Level 1''' Headings. Same goes of course for the other levels, indeed for ''any'' paragraph style.
 
+
Any changes made here will apply to ''all other'' '''Level 1''' Headings.Same goes of course for the other levels, indeed for ''any'' paragraph style.
+
  
 
Generally headings should meet following criteria:
 
Generally headings should meet following criteria:
Line 30: Line 28:
 
* single line spacing
 
* single line spacing
 
* conciseness
 
* conciseness
 +
* avoid several titles in succession with no text in between
  
 
Here my formatting suggestions for the first three levels of headings:
 
Here my formatting suggestions for the first three levels of headings:
Line 35: Line 34:
 
|-
 
|-
 
! Style
 
! Style
! Font
 
 
! Size
 
! Size
 
! Typeface
 
! Typeface
Line 41: Line 39:
 
! Spacing below
 
! Spacing below
 
|-
 
|-
| Chapter headings (level 1)
+
| Level 1
| Garamond
+
 
| 16pt
 
| 16pt
 
| Bold
 
| Bold
 
| 1.2 cm
 
| 1.2 cm
| 0.6 cm
+
| 0.5 cm
 
|-
 
|-
| Section headings (level 2)
+
| Level 2
| Garamond
+
 
| 13pt
 
| 13pt
 
| Bold
 
| Bold
 
| 1 cm
 
| 1 cm
| 0.5 cm
+
| 0.4 cm
 
|-
 
|-
| Subsection headings (level 3)
+
| Level 3
| Garamond
+
 
| 13pt
 
| 13pt
| Italic
+
| Standard or Italic
 
| 0.8 cm
 
| 0.8 cm
| 0.4 cm
+
| 0.3 cm
 
|}
 
|}
  
'''Table 1: Styles for Headings (just a suggestion)'''
+
'''Table 2: Styles for first three levels of headings based on font Garamond (just a suggestion)'''
 
+
== New Page for Each Chapter Heading? ==
+
 
+
If you want each chapter to begin on a new page, then right-click on
+
any chapter heading and choose '''Edit Paragraph Style''';
+
under the tab Text Flow check box '''Breaks › Insert › Type › Page'''.
+
If you would like to avoid chapter headings near the bottom of the page,
+
you can insert a page break right before the heading using the
+
shortcut '''Ctrl + Return''' to shift the heading to the beginning of the following page.
+
 
+
Alternatively you could right click the paragraph immediately following the heading and choose '''Paragraph › Text Flow › Options › Do not split paragraph'''. The paragraph in question will “pull” the heading immediately above it along to the next page should there not be enough room on the present page.
+
 
+
{{Documentation/Note|You’ve changed the formatting of this one paragraph here, ''not'' the overall Paragraph Style!}}
+
 
+
Using this method consistently avoids the necessity to keep on checking the text after adding bits or taking bits out to see if any headings might have landed too low on the page.
+
  
 
== Blank Lines? ==
 
== Blank Lines? ==
  
When in a hurry it’s tempting to just add a couple of blank lines before a heading and another blank line following a heading in order to influence spacing. But this destroys the “sticking” effect – that is, the property of headings to always keep together with the next paragraph. Instead change spacings within the paragraph styles pertaining to the various header levels using suggestions listed in table 1.
+
When in a hurry it’s tempting, instead of using this method, to simply add a couple of blank lines before a heading and another blank line following itin order to influence spacing. That would be a mistake. For one it would destroy the “sticking” effect, i.e. the property of headings to always keep together with the next paragraph, and second it would lead to inconsistent spacings above and below the title. The desired spacings ''must'' be recorded in the header styles.
  
 
== How Many Levels? ==
 
== How Many Levels? ==
  
I would recommend a maximum of two numbered heading levels:
+
I would recommend a maximum of two fully numbered levels. In case you need a third or even fourth level, then leave these preferably without '''showing sublevels''' (in above example we opted for '''a), b) c)…''' style). You needn’t necessarily include all levels in your table of contents (in the present introduction I only included the first level). On the whole avoid a too finely spun structure which might suggest an equally finespun logic in the social reality you are trying to describe. For technical publications or textbooks on the other hand that would be fine.
 +
:
 
  '''1 Chapter'''
 
  '''1 Chapter'''
 
     1.1 Section
 
     1.1 Section
 +
      a) subsection
 +
      b) subsection
 +
      c) subsection
 
     1.2 Section
 
     1.2 Section
 +
      a) subsection
 +
      b) subsection
 
     1.3 Section
 
     1.3 Section
 +
 
  '''2 Chapter'''
 
  '''2 Chapter'''
 
     2.1 Section
 
     2.1 Section
 +
      a) subsection
 +
      b) subsection
 
     2.2 Section
 
     2.2 Section
 
     2.3 Section
 
     2.3 Section
     etc.
+
      a) subsection
 +
      b) subsection
 +
      c) subsection
 +
     ''etc.''
  
Per level you should have at least two headings. If you have a 2.1 heading then you should also have a 2.2 heading, a 2.1 all alone would definitely be a mistake.
+
Per level you should have at least two headings. A 2.1 heading should always be followed by subsequent 2.2. heading.
If you are going to use a third or even fourth level, then leave these unnumbered and don’t include them in the table of contents. I myself have used two levels in this document, but only actually included the first one in my table of contents and I also only numbered the first level. Think about it: numbering suggests structure or even hierarchy. And a finespun numbering structure suggests to the reader an equally finespun logic which might not actually exist in the social reality you are trying to describe. For technical publications or textbooks on the other hand that would be fine.
+
  
{{Documentation/Note|For the same reason I would recommend refraining from using graphics with arrows pointing in all directions in order to visualise a complex reality. For three reasons: i) a graphic suggests that reality can easily be reduced to some simple graphical structure, which is often not the case; ii) at least one dimension is mostly missing, i.e. that of time – a double arrow for instance doesn’t tell you which interaction starts first and how long the interval between the two interactions is; iii) it is often said that one drawing expresses more than a thousand words – but this isn’t necessarily the case; a photograph or an architectural plot, perhaps, but even a photograph needs interpreting, and this is where human language developed over a period of tens of thousands of years is simply unbeatable; but the real problem is that of contestation: precisely because a picture is supposed to “express more than a thousand words” it robs the onlooker the right to answer back; planting a picture in the middle of a text is the opposite of engaging the reader in dialogue.  
+
Headings will appear in the table of contents in full length. So try to keep them nice and short.
}}
+
  
Avoid overlong chapter headings. Best short headings with some explanatory text immediately following.
+
== New Page per Chapter? ==
Don’t forget long headings also appear in the table of contents in their full length.
+
  
== Some Settings ==
+
If you want chapters to begin on a new page, then right-click on any chapter heading and choose '''Edit Paragraph Style'''; under the tab '''Text Flow''' check box '''Breaks › Insert › Type › Page'''.
  
Under '''Tools › Options › OpenOffice.org Writer › Compatibility''' I would recommend ''unchecking'' three choice boxes:
+
If you would like to avoid chapter headings near the bottom of the page, you can insert a '''page break''' right before the heading using the shortcut '''Ctrl + Return'''. This will force the heading onto the next page.
 +
 
 +
A more elegant alternative would be to right click the paragraph immediately following the heading and choose '''Paragraph…''' (''not'' '''Edit paragraph style''') and there under the tab'''Text Flow''' choose '''Do not split paragraph'''. The paragraph in question will ‘pull’ the heading immediately above it along to the next page should there not be enough room for both on the present page. Using this method consistently spares you the ordeal of a final check for any misplaced headings.
 +
 
 +
{{Note|''Note'': you’ve changed the formatting of this one paragraph here, ''not'' the overall Paragraph Style!}}
 +
 
 +
== Settings ==
 +
 
 +
Under '''Tools › Options › OpenOffice.org Writer › Compatibility''' ''uncheck'' three choice boxes:
 
* '''Add spacing between paragraphs and tables'''; unchecking this option ensures that the set spacing below a paragraph and the set spacing above the paragraph immediately following it do not get added together; instead only the larger of the two spacings takes effect
 
* '''Add spacing between paragraphs and tables'''; unchecking this option ensures that the set spacing below a paragraph and the set spacing above the paragraph immediately following it do not get added together; instead only the larger of the two spacings takes effect
 
* '''Add paragraph and table spacing at tops of pages'''; unchecking this option ensures that headings appear right at the top margin, without the usual set spacing separating them from a previous paragraph
 
* '''Add paragraph and table spacing at tops of pages'''; unchecking this option ensures that headings appear right at the top margin, without the usual set spacing separating them from a previous paragraph
* '''Expand word space on lines with manual line breaks in justified paragraphs'''; unchecking this option ensures that inserting a ''new line'' using short cut '''Shift + Return''' will not expand the words on the previous line right up to the right margin; instead they will be left aligned even in a paragraph with justified alignment
+
* '''Expand word space on lines with manual line breaks in justified paragraphs'''; unchecking this option ensures that inserting a ''new line'' using shortcut '''Shift + Return''' will not expand the words on the previous line right up to the right margin; instead they will be left aligned even in a paragraph with justified alignment
 +
 
 
Having removed these three ticks don’t forget to press the button '''Use as Default''' so that these changes apply also to any future documents.
 
Having removed these three ticks don’t forget to press the button '''Use as Default''' so that these changes apply also to any future documents.
 
<br />
 
<br />
 
<br />
 
<br />
 
----------
 
----------
<p style="text-align:left;">[[Documentation/Writer for Students/First Steps|< Previous Page]]</p>
+
<p style="text-align:left;">[[Documentation/Writer for Students/Document Structure|< Previous Page]]</p>
 
<p style="text-align:right;">[[Documentation/Writer for Students/Chapter Numbering|Next Page >]]</p>
 
<p style="text-align:right;">[[Documentation/Writer for Students/Chapter Numbering|Next Page >]]</p>
 
[[Category:Documentation/Writer]]
 
[[Category:Documentation/Writer]]

Latest revision as of 14:24, 7 July 2018



As mentioned above you have to tell the programme what is a Heading and what is Text Body.

For that you use the following keyboard shortcuts:

  • Ctrl + 0 for Text Body (ground level)
  • Ctrl + 1 for Chapter Headings (level 1)
  • Ctrl + 2 for Section Headings (level 2)
  • Ctrl + 3 for Subsection Headings (level 3)

and so on.

Documentation note.png It isn’t necessary to mark the whole paragraph – just place the cursor anywhere within the paragraph and apply one of the above shortcuts.

[On Macs, the Ctrl Key is replaced with the Cmd Key ⌘ instead. Linux machines use the same keys as Windows. Other operating systems may vary.]

Format your Headings

To control the appearance say of all your chapter headings (Level 1), simply right click on any one of them and choose the option Edit Paragraph Style. Any changes made here will apply to all other Level 1 Headings. Same goes of course for the other levels, indeed for any paragraph style.

Generally headings should meet following criteria:

  • left alignment
  • hyphenation turned off
  • single line spacing
  • conciseness
  • avoid several titles in succession with no text in between

Here my formatting suggestions for the first three levels of headings:

Style Size Typeface Spacing above Spacing below
Level 1 16pt Bold 1.2 cm 0.5 cm
Level 2 13pt Bold 1 cm 0.4 cm
Level 3 13pt Standard or Italic 0.8 cm 0.3 cm

Table 2: Styles for first three levels of headings based on font Garamond (just a suggestion)

Blank Lines?

When in a hurry it’s tempting, instead of using this method, to simply add a couple of blank lines before a heading and another blank line following itin order to influence spacing. That would be a mistake. For one it would destroy the “sticking” effect, i.e. the property of headings to always keep together with the next paragraph, and second it would lead to inconsistent spacings above and below the title. The desired spacings must be recorded in the header styles.

How Many Levels?

I would recommend a maximum of two fully numbered levels. In case you need a third or even fourth level, then leave these preferably without showing sublevels (in above example we opted for a), b) c)… style). You needn’t necessarily include all levels in your table of contents (in the present introduction I only included the first level). On the whole avoid a too finely spun structure which might suggest an equally finespun logic in the social reality you are trying to describe. For technical publications or textbooks on the other hand that would be fine.

1 Chapter
   1.1 Section
     a) subsection
     b) subsection
     c) subsection
   1.2 Section
     a) subsection
     b) subsection
   1.3 Section
2 Chapter
   2.1 Section
     a) subsection
     b) subsection
   2.2 Section
   2.3 Section
     a) subsection
     b) subsection
     c) subsection
   etc.

Per level you should have at least two headings. A 2.1 heading should always be followed by subsequent 2.2. heading.

Headings will appear in the table of contents in full length. So try to keep them nice and short.

New Page per Chapter?

If you want chapters to begin on a new page, then right-click on any chapter heading and choose Edit Paragraph Style; under the tab Text Flow check box Breaks › Insert › Type › Page.

If you would like to avoid chapter headings near the bottom of the page, you can insert a page break right before the heading using the shortcut Ctrl + Return. This will force the heading onto the next page.

A more elegant alternative would be to right click the paragraph immediately following the heading and choose Paragraph… (not Edit paragraph style) and there under the tabText Flow choose Do not split paragraph. The paragraph in question will ‘pull’ the heading immediately above it along to the next page should there not be enough room for both on the present page. Using this method consistently spares you the ordeal of a final check for any misplaced headings.

Documentation note.png Note: you’ve changed the formatting of this one paragraph here, not the overall Paragraph Style!

Settings

Under Tools › Options › OpenOffice.org Writer › Compatibility uncheck three choice boxes:

  • Add spacing between paragraphs and tables; unchecking this option ensures that the set spacing below a paragraph and the set spacing above the paragraph immediately following it do not get added together; instead only the larger of the two spacings takes effect
  • Add paragraph and table spacing at tops of pages; unchecking this option ensures that headings appear right at the top margin, without the usual set spacing separating them from a previous paragraph
  • Expand word space on lines with manual line breaks in justified paragraphs; unchecking this option ensures that inserting a new line using shortcut Shift + Return will not expand the words on the previous line right up to the right margin; instead they will be left aligned even in a paragraph with justified alignment

Having removed these three ticks don’t forget to press the button Use as Default so that these changes apply also to any future documents.


< Previous Page

Next Page >

Personal tools