Writer:给图形添加标题

出自OOo 中文指南手册翻译

跳转到: 导航, 搜索


一共有三种方式为图像添加标题:自动或手动添加、使用 题注 标题对话框。 You can add captions to graphics in three ways: automatically, by using the Caption dialog box, or manually.

目录

[编辑] 自动添加标题

您可以设置当在文档中插入一个图像、表格或者其它对象时,OOo 为它们自动添加标题,您可以选择需要添加标题的对象的种类、使用的序列名称(如“表格”、“图”等),还可以指定标题的位置。 You can set up OOo to add captions automatically whenever you insert a graphic, a table, or other objects into a document. You can choose which objects are captioned automatically, what the sequence name is for each caption (for example, “Table” or “Illustration”), and the position of the caption.

设置自动添加标题的步骤是:

  1. 点击菜单 工具 > 选项,点击 选项 对话框中 OpenOffice.org Writer 前面的加号,展开相应设置列表。 Click Tools > Options. On the Options dialog box, click on the + sign next to OpenOffice.org Writer to show a list of options.
  2. 选择 自动插入标题 ,在对话框的右侧显示了自动添加标题的对象种类。 Select AutoCaption. Now you can see several choices at the right of the dialog box for adding captions automatically.
  3. 勾选需要自动添加标题的对象类别,并在右侧指定标题的形式。 Choose which objects you want to be automatically captioned and specify the characteristics of the captions.

更详细的信息请参看 第二章 (设置Writer)中“自动标题选项”的相关内容。 For more information, see “AutoCaption options” in Chapter 2 (Setting up Writer).

如果设定了自动添加标题,那么插入的图像与标题系列编号(如“图 2”)被放置在一个框架里。请把光标移到标题上输入标题名称。您可以在下拉菜单上更换所属的标题系列列别。 When you insert a graphic, if automatic captioning is enabled, the graphic is placed in a frame along with a caption containing the default sequence name for graphics―Illustration. Position the cursor in the caption area and type the text for the caption. You can change the sequence name by selecting one from the drop-down Category list.

Image:documentation_note.png 除了图像标题只能放在下方外,您可以设置其它对象的标题位置。如果要把图像的标题放在上方(如一些科技文献的图),您必须手动添加标题,相应内容请参看手动添加标题
 You can specify where to place an automatic caption for any object except a picture; picture captions can only be automatically placed below the picture. If you need a caption above the picture (for example, for data plots in scientific publications), you must add the captions manually, as described in Adding captions manually.


Image:Tip.png OOo 只内置了几个标题类别:<无>插图表格绘图,而没有常用的。如果您想用 或者其它的种类来标识标题,请依照下面的步骤:
  1. 打开 选项-OpenOffice.org Writer-自动插入标题 对话框。
  2. 勾选 插入时自动添加标题 部分的 OpenOffice.org 图片,激活右侧用于设置标题格式的设置。
  3. 忽略 分类 下拉列表中的预定义名称,直接输入新的类别名称(如“图”)。原有的类别名称不会被删除。您还可以设置序号样式和类别与序号之间的分隔符等内容。点击 确定 按钮保存设置。
 A common sequence name—Figure—is not one of the names provided: <None>, Drawing, Illustration, Table, and Text. If you want the name “Figure” or any other custom name for your graphics, do the following:
  1. Open the Options – OpenOffice.org Writer – AutoCaption dialog box, as described above.
  2. In the Add captions automatically when inserting section, select OpenOffice.org Writer Picture. This activates the Caption area in the dialog box for pictures (graphics).
  3. Under the Category drop-down list, enter the name that you want added (say, Figure), by overwriting any sequence name in the list. (Overwriting a term does not delete it from the drop-down list.) You can also set some options for the number style and for a separator between the name and the number, if desired. Click OK to save the changes.


[编辑] 使用 题注 对话框

使用 题注 对话框添加标题的步骤是: To add captions using the Caption dialog box:

  1. 插入并选择图像,点击菜单 插入 > 题注,或者点击快捷菜单里的 标题 Insert the graphic, then select it and click Insert > Caption.
  2. 属性 部分选定好 类别编号 分隔符,在 标题 框中输入标题内容。完整的标题依次包含类别、序号、分隔符和标题内容。 Under Properties on the Caption dialog box, make your selections for the Category, Numbering, and Separator fields (Illustration, Arabic (1 2 3), and a colon (:), respectively, for the example below and type your caption text in the Caption text box at the top. Whatever text you enter for the caption appears in the box at the bottom, after the sequence name, number, and separator.
  3. 点击 确定 后在一个框架中包含图像和插入的标题。 Click OK. The graphic and its caption are placed in a frame.
为插图添加标题。
Image:Tip.png 您可以在 类别 框中输入任意的名称,如“图”。OOo 自动创建对应的序列。
 In the Category box, you can type any name you want, for example, Figure. OOo will create a numbering sequence using that name.


插图 1. 示例。

包含图像和标题的框架边框默认不可见。 An example of a graphic and its caption contained in a frame. The outer box shows the edge of the frame; this border is normally set to be invisible.

[编辑] 调整标题的位置 Overriding the default positioning of captions

图像的标题只能显示在下方,在 题注 对话框里并不能修改。您可以按下面的步骤来调整标题的位置: The default positioning for picture captions is Below, and that position cannot be changed using the Caption dialog. However, you can override the positioning manually, as follows:

  1. 按照 使用题注对话框 的说明插入标题。 Follow the instructions in Using the Caption dialog box to create the caption.
  2. 右击图像(注意不是包含图像和标题的框),确认右击的快捷菜单上的 锁定 > 在段落上 被选中。 Right-click on the picture (not the frame surrounding picture and caption) and make sure that Anchor > To paragraph is selected.
  3. 用鼠标把图像拉到标题下方。 Left-click on the picture and drag it below the caption.
Image:Tip.png 您可能需要调整标题上下方的间隔,并微调标题和图像的显示效果。
 You may wish to adjust the spacing above and below the caption text, to fine-tune the appearance of the picture and its caption.


[编辑] 手动添加标题

如果文档要输出为 .DOC 或其它格式文档,那么通过上述的操作(自动插入或者通过 题注 对话框)插入的标题可能丢失了。您必须手动插入标题来避免这种情况的发生。手动插入标题还可以把标题显示在图像的上方。操作有两种: If you need to save as .DOC files or export in other formats, you may find that captions applied as described above (either automatically or using the Caption dialog box) are lost during the export. To avoid export problems, or as another way to put captions above pictures or below them (the usual case), you can add a caption manually, in either of two ways:

  • 把图像和标题分别放置在单独的段落上。 Place the graphic and its caption in separate paragraphs.
  • 使用表格。 Use a table.

[编辑] 图像和标题独立成段

插入图像,并以字符形式锚定为段落。按 回车 键为标题新建一个段落。 Insert the graphic and anchor it to its paragraph as a character. Press Enter to create a new paragraph for the caption.

  1. 在标题的段落里,输入标题的列别,如“图”,再在后面输入一个空格。 In the caption paragraph, type, for example, Figure and add a space.
  2. 点击 插入 > 字段 > 其他 (或按组合键 Ctrl + F12 ),转到 变量 选项卡来插入自动编号。 To insert the figure number automatically, click Insert > Fields > Other (Control + F2) and select the Variables tab.
  3. 字段类型 中选择 编号顺序,然后在 选择 列表中选择,在 格式列表 中选择合适的格式,如 阿拉伯数字(1 2 3)。最后点击 插入 按钮。 Select Number range in the Type list. Select Figure in the Selection list and choose, for example, Arabic (1 2 3) in the Format drop-down list. Click the Insert button.
  4. 在插入的标题类别“图”和序数后输入标题内容。 A number will appear after the word “Figure” in the caption. Now, type the text of the caption.
Image:Tip.png 如果您需要手工插入大量的标题,请使用 自动图文集,定制一个包括标题类别、序号字段和分割符的条目。
 If you are manually adding captions to a lot of figures using this method, you might want to make an AutoText entry containing, for example, Figure and a space, the figure-number field, and an optional separator and a space after it.


Image:Tip.png 标题段落可以放置在图形段落的前面(上方)。使用 自动图文集 能方便地绕过限制,在图像的上方加入标题。
 You can also place the caption paragraph before (above) the picture paragraph. Using AutoText can be a convenient way to deal with the lack of automatic captioning above pictures.


Image:Tip.png 为了保证图像和相应的标题显示在同一页上,请把上述的标题和图像两个段落中的第一个段落设置为 与下段同页段落 对话框的 换行和分页 选项卡)。
 To ensure the picture and its caption stay together on the page: if the picture is going above the caption, define the text flow of the Figure paragraph style as Keep with next paragraph and the next style as Caption. Conversely, if the caption is going above, define the Caption paragraph style as Keep with next paragraph and the next style as Figure.


[编辑] 利用表格

创建一个两行单列的表格,把图像和标题分别放置到单元格里。如果需要显示更多的文字则可设置相应的表格。这个方法特别适用在标题中需要显示数字标记(如本章中的 图 11)。 Create a one-column, two-row table. Place the picture in one row and type the caption in the other row—or use two or more rows for the caption and other text. This method can be especially useful for pictures with numbered legends, such as Figure 11 in this chapter.

[编辑] 相关链接

本文原文

个人工具