Difference between revisions of "Documentation/Writer for Students/Table of Contents"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Updated to version: May 2014)
m
Line 17: Line 17:
 
In the pop-up menu you can ''Evaluate up to Level'' of your choice. So you might well have three levels of headings in your text but choose to include only the uppermost two levels.
 
In the pop-up menu you can ''Evaluate up to Level'' of your choice. So you might well have three levels of headings in your text but choose to include only the uppermost two levels.
  
To update your table of contents as well as any other inserted material open menu '''Tools ›
+
To update your table of contents as well as any other inserted material open menu '''Tools › Update › Update all'''.
Update › Update all'''.
+
  
 
== Alignment ==
 
== Alignment ==

Revision as of 14:01, 18 May 2014



Having told the programme what are your headings and having activated their automatic numbering, you can now go on to inserting an automatically generated Table of Contents: Insert › Indexes and Tables › Indexes and Tables.

Wfs006 note alignment.png

Illustration 7. Note the alignment

In the pop-up menu you can Evaluate up to Level of your choice. So you might well have three levels of headings in your text but choose to include only the uppermost two levels.

To update your table of contents as well as any other inserted material open menu Tools › Update › Update all.

Alignment

Wfs008 standard entries.png

Illustration 8. The 4 standard entries. Add a Tab stop between E# and E. Leave position at 0cm.

As you can see in illustrations 7 and 10 , the numbering of the second level is aligned right under the entry of the first level creating a kind of staircase effect. For this to work properly you need to have automatic chapter numbering turned on. By default the table of contents contains the following four Entries (see illustration 8):

  • Chapter number: E#
  • Entry: E
  • Tab stop (usually right aligned and with dots as filling): T
  • Page number: #

You need to insert a fifth entry, namely a Tab stop, in the area between the E# and the E. Leave position at 0.00cm (you will change that in next step). Press All to ensure that this setting applies to all levels. Confirm OK. Template:Documentation/Note

Wfs007 amount indenting.png

Illustration 9. Setting the amount of indenting needed in "Contents 1" style

Your table of contents now appears. You will notice, however, that the entries have been moved to the right with the dotted tab stops in the wrong place. This is due to the value 0,0cm which you now need to adjust: right click on any level 1 table of contents’ entry and choose the option Edit paragraph style… Under the tab Indents & Spacing change value of Indent › Before spacing to 0,80cm and that of Indent › First line to -,80cm (i.e. a negative value). Repeat these steps for levels 2 and 3 using the values listed in table 2. The individual settings for indenting will depend of course on the kind of chapter numbering you have chosen. Roman numbering for instance takes up more space than Arabic type numbering. Generally speaking better start off with too much space than too little.

Wfs009 abstract view indenting.png

Illustration 10: Abstract view of indenting – indentation depends on width of chapter number

The important concept to keep in mind is that you need a negative indenting to accommodate the chapter number (see illustration 10).

Indent before text Negative indent First line Spacing before paragraph
1st level 0.80 cm -0.80 cm 0.4 cm
2nd level 1.80 cm -1.00 cm 0.1 cm
3rd level 3.00 cm -1.20 cm 0.1 cm

Table 2: Indentation needed for first three levels when using full sub-levels like "5.7.2"

Other Indices and Tables

Other indices can be generated apart from the table of contents. The same steps apply – you only need to change the Type to whatever is required, e.g. an Index of tables or an Illustration index. The various tables, illustrations and so on in your text need to have a Caption, which will then appear in the index. You can also create an alphabetical index for your thesis or a lengthy book: mark the word you would like to have listed and go to menu Insert › Indexes and tables › Entry. Here you can also modify the exact text of your entry.




< Previous Page

Next Page >

Personal tools