定義索引或目錄條目

Contents

# 定義目錄條目

## 定義索引條目

1. 按一下某個字詞，或在文件中選取您要用作索引條目的字詞。

2. Choose Insert - Table of Contents and Index - Index Entry, and do one of the following:

- 若要變更出現在目錄中的文字，請在 [條目] 方塊中輸入您想要的文字。您在這裡輸入的文字不會替換文件中被選取的文字。

- To add index entries for all other occurrences of the selected entry text in your document, select Apply to all other occurrences.

- 若要加入條目至自訂的目錄中，請點擊 [新增使用者自訂目錄] 圖示，輸入目錄的名稱，接著點擊 [確定]。

## 定義目錄條目

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. 按一下[確定]。現在，您可以將此樣式採用至文件中的標頭，並將這些標頭包括在目錄中。

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.

相關主題

建立目錄

更新、編輯和刪除索引和目錄

格式化索引或目錄

編輯或刪除目錄條目

建立索引目錄

使用者自訂的索引

建立參考文獻目錄

覆蓋數個文件的索引

Please support us!