定义索引或目录条目

定义索引条目

  1. 点击某个字词,或者在文档中选择要用作索引条目的字词。

  2. 选择「插入 - 目录与索引 - 索引条目」,并执行以下操作之一:

Index entry dialog

定义目录条目

The best way to generate a table of contents is to apply the predefined “Heading N” paragraph styles, such as “Heading 1”, to the paragraphs that you want to include in your table of contents.

将自定义段落样式用作目录条目

  1. Choose Tools - Heading Numbering and click the Numbering tab.

  2. 在「段落样式」框中,选择要包含在目录中的段落样式。

  3. In the Level list, click the level for the paragraph style.

  4. 点击「确定」。现在,您可以对文档中的各个标题应用该样式,并将这些标题包含在目录中。

tip

LibreOffice creates the table of contents entries based on the outline level of the paragraph style and the paragraph contents. If the paragraph is empty, it will not be included in the table of contents. To force the empty paragraph to be listed in the table of contents, manually add a space or a non breaking space to the paragraph. Spaces added in the After text box of the Numbering tab in the Heading Numbering dialog will not work for this purpose, since they are part of the paragraph numbering, not the paragraph contents.


请支持我们!