无论您是在写第一部小说还是大学论文,Google Docs目录都可以帮助您保持井井有条。
当您在Google Docs(Google Docs)中插入目录时,它会根据您的文档格式和结构自动更新。当您更改文档时,每次刷新更新时目录都会更新。
在本文中,您将了解如何向文档添加目录以及如何确保其保持更新。
创建 Google 文档目录(Creating a Google Docs Table of Contents)
在编写文档时,您正在创建目录。您添加的每个标题都会成为表中的另一个部分。每个子标题也成为一个小节。
您需要做的就是创建第一个标题,突出显示它,然后选择“普通文本(Normal text)”下拉菜单来选择您的顶级标题样式。
您可以采用两种方法来构建您的目录(build your table of contents)。您可以先编写整个文档,然后创建每个标题和子标题。或者,您可以仅使用标题和子标题来构建文档,基本上在开始写作之前创建一个完整的大纲。
无论哪种方式,一旦完成,将目录插入文档很简单。只需将光标放在您希望Google Docs目录进入的位置。接下来(Next),从菜单中选择插入,然后选择(Insert)目录(Table of contents)。
在出现的子菜单中,您会看到两个选择。
- 带页码(With page numbers):这将显示目录的每一行以及每个标题和子标题所在的页码。
- 带有蓝色链接:这会将(With blue links)TOC的每一行显示为一个链接,单击该链接时,将导航到该标题所在的文档部分。
你如何选择?如果您计划以打印格式交付文档,那么您应该选择页码选项。如果您以电子方式发送或共享它,那么蓝色链接选项就是您要走的路。
选择一个选项后,Google Docs目录将出现在文档本身中。
Google 文档目录更新(Google Docs Table of Contents Updates)
如您所见,目录会根据您构建文档的方式 自行设置格式。(formats itself)
顶级标题(无论您是从 H1 还是 H2 开始)与左边距齐平。下一级标题将缩进,依此类推。
当您开始编写文档时,您可能会注意到的一件事是,如果您更新任何现有标题或添加任何新标题,目录将不会自动更新。
要更新目录,您需要向上滚动到插入目录的部分,然后单击目录区域。您会在TOC(TOC)的左上角看到一个圆形箭头(刷新按钮)。
当您选择此刷新图标时,您将看到目录更新以合并您对文档所做的所有更改。
使用刷新图标的替代方法是右键单击目录并从弹出菜单中选择更新目录。(Update table of contents)
任何一种方法都可以使您的TOC与您的工作文档的当前结构相匹配。
或者,您可以在左侧边栏中查看文档大纲(看起来就像您的Google 文档(Google Docs)目录)。为此,只需选择文档左上角 的显示文档大纲图标。(Show document outline)
即使您正在滚动文档,这也会在左侧显示文档大纲。您可以选择此大纲中的任何部分(标题)以跳转到文档的该部分。
格式化Google Docs(Google Docs Table)目录
虽然使用文档的标准文本格式插入Google Docs TOC,但您可以根据需要对其进行更新。
只需突出显示整个目录,然后从菜单中选择Format ,选择(Format)Text,然后选择Size。
从子菜单中,您可以选择增加字体大小(Increase font size)或减少字体大小(Decrease font size)。
这会将整个目录(TOC)更新为您选择的新格式设置。
搜索和导航附加组件
使用标题(还有书签、短语等)导航文档的另一种方法是通过Search & Navigate Google Docs 插件(Search & Navigate Google Docs addon)。
安装插件后,从菜单中选择Add-ons ,选择(Add-ons)Search & Navigate,然后选择Start。
这会在右侧启动一个面板,您可以使用该面板使用目录中的相同标题浏览文档。
这比常规TOC导航面板更有用的原因是还有其他可用的搜索功能。
- 书签(Bookmarks):查找您在整个文档中创建的任何书签。
- 图片(Images):浏览文档中包含的所有图片。
- 表格(Tables):滚动浏览您添加的所有表格。
- 搜索(Search):使用任何搜索词或短语搜索整个文档。
在“设置”(Settings)中,您可以启用插件以在文档打开时自动启动。您还可以启用区分大小写的搜索(Case sensitive search)功能。
使用目录(Using a Table Of Contents)
并非您编写的所有文档都需要目录。但是,如果您经常撰写学术论文或类似文档并使用目录,Google Docs 可以满足(Google Docs)您的需求。在您创建的任何文档中使用它也很容易和快速。
How a Google Docs Table Of Contents Works
Whether you’re writing your first novel, or an essay рaper for college, a Google Docs table of contents will helр you keep things organized.
When you insert a table of contents in Google Docs, it updates automatically depending on how you format and structure your document. As you change the document, the table of contents will update every time you refresh an update.
In this article, you’ll learn how to add a table of contents to your document and how to make sure it stays updated.
Creating a Google Docs Table of Contents
As you’re writing your document, you’re creating your table of contents. Each header you add becomes another section in the table. Every subheader becomes a subsection as well.
All you have to do to get started is create the first header, highlight it, and then select the Normal text dropdown to choose your top level header style.
There are two approaches you can take to build your table of contents. You could write your entire document first, creating each header and sub-header as you go. Or, you could frame up your document with only the headers and sub-headers, essentially creating an entire outline before you begin writing.
Either way, once you’re finished, inserting the table of contents into your document is simple. Just place the cursor where you’d like the Google Docs table of contents to go. Next, select Insert from the menu, and select Table of contents.
In the submenu that comes up, you’ll see two choices.
- With page numbers: This will display each line of your TOC with the page number where each header and subheader is located.
- With blue links: This will display each line of your TOC as a link that, when clicked, will navigate to the section of the document where that header is located.
How do you choose? If you’re planning on delivering your document in printed format, then you should opt for the page numbers option. If you’re sending it or sharing it electronically, then the blue links option is the way to go.
Once you choose an option, the Google Docs table of contents will appear in the document itself.
Google Docs Table of Contents Updates
As you can see, the table of contents formats itself according to how you’ve structured your document.
Top level headers (whether you start with H1 or H2) are flush with the left margin. Next level headers will be indented, and so on.
One thing you may notice as you start writing your document is that if you update any existing headers or add any new ones, the table of contents won’t update automatically.
To update your table of contents, you need to scroll back up to the section where you inserted it and click in the table of contents area. You’ll see a circular arrow (refresh button) appear on the upper left corner of the TOC.
When you select this refresh icon, you’ll see the table of contents update to incorporate all of the changes you’ve made to the document.
An alternative to using the refresh icon is right-clicking on the table of contents and selecting Update table of contents from the pop-up menu.
Either method makes your TOC match the current structure of your working document.
Alternatively, you can view the document outline (which looks just like your Google Docs table of contents) in the left sidebar. To do this, just select the Show document outline icon at the upper left corner of the document.
This will display the document outline on the left even as you’re scrolling through your document. You can select any section (header) in this outline to jump to that section of the document.
Formatting Google Docs Table of Contents
While the Google Docs TOC is inserted using the standard text format of your document, you can update it if you want to.
Just highlight the entire table of contents, then select Format from the menu, select Text, and select Size.
From the submenu, you can choose to either select Increase font size or Decrease font size.
This will update the entire TOC to the new formatting setting you’ve selected.
The Search & Navigate Add-On
Another way to navigate your document using headers (but also bookmarks, phrases, and more) is through the Search & Navigate Google Docs addon.
Once you’ve installed the addon, select Add-ons from the menu, select Search & Navigate, and select Start.
This launches a panel on the right that you can use to navigate through your document using the same headers that are in your table of contents.
The reason this is a bit more useful than the regular TOC navigation panel is that there are other search features available.
- Bookmarks: Find any bookmarks you’ve created throughout your document.
- Images: Browse all images that you’ve included in the document.
- Tables: Scroll through all of the tables you’ve added.
- Search: Search your entire document using any search terms or phrases.
In Settings, you can enable the add-on to auto-start any time the document is opened. You can also enable the Case sensitive search feature.
Using a Table Of Contents
Not all documents you write will need a table of contents. But if you frequently write academic papers or similar documents and use a table of contents, Google Docs can fill the need. It’s also easy and quick to use in any document you create.