Learning Objectives
By the end of this section, you will be able to:
- Utilize Paint format to apply formatting in a long document
- Insert and modify a table of contents
- Use linked bookmarks and hyperlinks
Google Docs has tools that can help users construct and navigate through long documents. The market trends report will have multiple sections containing information that is best presented in varied ways. There are three tools in Docs that this section will cover that are especially helpful: Paint format, Table of contents, and Hyperlinks.
Paint Format
The Paint format command in Docs is the equivalent of the Format Painter in Microsoft Word. You use it in the same way: selecting a format you want to copy from the original source, choosing the Paint format icon from the action bar (it looks like a small paint roller), and using the cursor to apply it on the target text.
In Docs, you can even copy and apply the same original source format multiple times. Once you make your selection, you are able to apply it many times in different areas of the document. To do this, you need to double-click the Paint format icon, after which it will stay locked, as shown in Figure 4.101. (Word’s Format Painter behaves the same way.) After you are done formatting all the text you need, you can unlock it by clicking once on the icon again; then, the mouse pointer will return to normal.
It is not advised to use the Paint format tool to apply a style to an entire document with multiple different features, such as tables and multilevel lists. The Paint format tool may not apply the style in exactly the way you want with these kinds of special formatting. Additionally, note that in Docs, you can use the Paint format tool with one open document only.
Table of Contents
As in Word, a table of contents in Docs requires that you have your headings properly styled, your section breaks in place, and page numbers.
Headings for Tables of Contents
What Word calls Styles is called Paragraph Styles in Docs. We previously touched on the importance of these styles in Docs in the Creating and Working in Documents chapter when we discussed the use of the View menu to activate or hide the document outline. Moreover, we carefully went over headings and their significance for the document when we described the font formatting, and how it can be accelerated with the use of styles. Here, we will discuss how the use of styles helps you manage long documents by helping to structure your table of contents.
Docs will automatically read your styles and headings and autogenerate the table of contents from that. For instance, you may have an H1 (Heading 1) for a chapter title, and H2 and H3 headings for subsections. You can see Google’s default heading styles in Figure 4.102. We can add the table of contents to our WorldCorp market trends report because we have already formatted the various sections of the report with headings.
All of these styles can be modified using the Options menu. You can modify any of the heading styles, or even the Normal style. If you like these styles and will use them frequently, select Save as my default styles. These will be the default styles for every new document you create.
Changing your styles can be useful when working with long documents. Say that you want to change the font type of all the document’s Normal style text. The first thing to do is to change a particular paragraph by selecting it, and then changing its font type to your desired font. While the text is still selected, go to Styles and hover over Normal text. Then, click Update ‘Normal text’ to match, as Figure 4.103 shows. That will change all the document’s Normal paragraphs to have the new font type. Labeling the text Normal every time gives the user the power to automatize the font formatting.
Once you have labeled your headings and styled your document properly, the headings will appear in the document outline. This is a good place to check that your headings are correct before you create a table of contents. You can preview all the headings and should be able to quickly catch if something is styled incorrectly. If you see a mistake, simply select that heading and Docs will take you there. From there, you can select the incorrectly styled text and make it the correct heading style.
Inserting Section Breaks for Tables of Contents
We stressed the importance of section breaks in the chapter Creating and Working in Documents. Section breaks are necessary when creating a table of contents if you want to have different page numbering in different sections. If your page numbering is continuous throughout the entire document, you would not need section breaks to create a table of contents. You only need the section titles to be formatted as a Heading Style. However, if you want the page numbering to restart with each section of the document, you would need to also include a break at the end of each section.
Once you have applied correct formatting to all of your headings and placed your section breaks, inserting your table of contents is easy. Go to the Insert menu and choose Table of contents. There are two types: one with page numbers and one with blue links and no page numbers. The option with page numbers is a good choice for either print or digital publishing. If you plan on printing out your report, you want your readers to be able to use the table of contents effectively and be able to flip to the correct page. Digital readers can still click on the page number and be taken there automatically. The option with only blue links and no page numbers is a good choice if your document will only be used by digital readers.
Let’s now add the table of contents to the WorldCorp report in Docs. First, go to Insert, then go to the bottom of the menu and choose Table of contents (see Figure 4.104). Select a type, and the table of contents will be inserted at the location of your cursor (Figure 4.105).
Normally, business report writers add the table of contents when they are finished with the report. But in Docs, it is easy to add the table of contents at the beginning and update it as you go along. For example, each collaborator might add new headings to the document as they write or revise, which you would want to see reflected in the table of contents. Once their work is complete, you would simply select the refresh button (“Update table of contents”) or right-click to “Update table of contents,” to update the table of contents (Figure 4.106). This will tell Docs to recheck the document, and reread for new, modified, or deleted headings. The table of contents will automatically update with the new document structure.
If you want to change the table of content’s appearance, just select it, and then use the action bar to apply formatting changes as you would to normal text. You can change the font type, change the size of the font, or choose to bold or italicize the font.
Hyperlinks, Bookmarks, and Links to Other Files
Hyperlinks can be input in various ways in Docs. As in Word, these help with citations and navigation in long documents. First, you need to select the text you want to make into a link, then you can choose to use the menus or the right-click context menu to create the link. You can see both methods in Figure 4.107. They both lead to a dialog box that asks for the web address, which you input, and then click Apply.
If you want to add a link to another part of the same document, you can create a link to a specific heading. Use the Headings and bookmarks option that comes up in the Link dialog box. Select the text that will be the link, then right-click to Link, and you will see all the titles that the user styled to be headings, as Figure 4.108 displays. You will choose the part of the document that you want to link to.
You may also link to a certain part of the document that is not a heading. This requires first creating a bookmark. For example, suppose you want to reference a table or figure in your document. You must first add a bookmark next to the table or figure, then you can link to that bookmark. To add the bookmark, place your cursor next to the table or figure you want to link to, then go to the Insert menu and click Bookmark (Figure 4.109). Then, when you want to link to that bookmark later on in the document, you do the same steps you did for creating a link to a heading: Select the text you want to turn into a link and right-click to Link. The dialog box will show the Headings and the bookmarks option. You can choose the pertaining bookmark, as Figure 4.110 shows. (To undo the bookmark you just made, click on it to select it, and then click Remove.)
For linking to another document, you need to already have the document in Google Drive. Go to Drive’s file options to make a public shareable link. The linked document will not be accessible to someone unless they have access to the document, meaning that the document has been shared with them. Copy this link address. Next, open the document where the link will be placed, and select the text to be linked, then right-click to Link. In the dialog box, paste the public shareable address of the other document, and click Apply. Or, skip the pasting method, and select one that has been shared already in the link dialog box, as in Figure 4.111.