Writer:例:创建一个简单的列表样式

出自OOo 中文指南手册翻译

跳转到: 导航, 搜索


在这个例子中,我们将创建一个编号列表,用于标记在CD中歌曲的数量。这些数字是右对齐的,编号和轨道的标题之间的一些空间是左对齐的。 In this example, we will create a numbered list that is used to number the songs on a CD. The numbers are right aligned, and some space is left between the number and the title of the track.

由于我们要在其他CD上重复使用相同的编号列表,我们将定义一个新的列表样式,然后将其应用于曲目清单。 As we want to reuse the same numbered list for other CDs, we will define a new list style and then apply it to the tracks list.

[编辑] 创建一个 CD 轨道编号列表 Creating the CDTracks numbered list

像前面的例子,先点击在样式和格式窗口中的列表样式图示(左边第五个)。然后用右击列表中的任意位置框,选择新建 As for the previous example, start by clicking the List Styles icon (fifth from the left) in the Styles and Formatting window. Then right-click anywhere in the list box and choose New.

编号样式对话框显示。对于CD轨道 样式,我们需要在建立者选项和页面位置中定制领域。 The Numbering style dialog box is displayed. For the CDTracks style, we need to customize fields in the Organizer, the Options, and the Position pages.

样式领域 Style fields 描述 Description
名字 Name 输入CD轨迹 Enter CDTrack
种类 Category 自定义样式将被我们确定。 Custom styles will be OK for us.

修改选项页面的选项如下: Modify the options of the Options page as follows:

  1. 级别框中,选择 1 In the Level box, choose 1.
  2. 数字列表中,选择 1, 2, 3, ... In the Numbering list, choose 1, 2, 3, ....
  3. 使编号前编号后框中的内容不改变,或者删除它们里面的任何内容。 Leave the Before and After boxes unchanged, or delete anything that is in them.
  4. 使字符样式 Leave the Character Style field as None.
  5. 确定开始从设置为 1 Make sure Start at is set to 1.
  6. 选择连续编号按级显示应该是灰色的。 Show sublevels should be grayed out. Do not select Consecutive numbering.

如上所述,编号列表将采用根本的段落风格设置。如果你想要为编号列表使用一种特殊的字体、大小或者颜色,你可以创建一个字符风格并在这个选项页面应用。 As discussed above, the numbering list will adopt settings of the underlying paragraph style. If you want to use a special font, size or color for the numbering, you can create a character style and apply it in the Options page.

如果你想文字轨道出现在编号之前,只要把它加到选项对话话中的编号前框中。不要忘记加一个空格以分开文字和编号。 If you want the word Track to appear before the number, just add it to the Before field in the Options dialog box. Do not forget to add a space character to separate the word from the number.

在位置页面中设置CD 轨道列表格式最终的参数。 Set up the final parameters of the CDTracks list style in the Position page.

  1. 级别框中,选择 1 In the Level box, choose 1.
  2. 对于编号紧随其后的是,选择制表位并且设置它在4厘米处。 For Numbering followed by, choose tab stop and set it at 4.0cm.
  3. 对于编号对齐,选择左对齐 For Numbering alignment, choose Right.
  4. 对于对齐处,选择在1.5厘米处。(这个指数字对齐) For Aligned at choose 1.5cm. (this refers to the alignment of the numbers)
  5. 对于最小间距选择0.5厘米。 For Minimum space choose 0.5cm.
  6. 对于缩进处选择4厘米。(这个是设置列表的缩进) For Indent at choose 4.0cm. (This sets the indentation of the whole list)

[编辑] 应用列表样式 Applying the list style

现在,列表样式可用,它可以迅速地适用于文档中的任何列表: Now that the list style is available, it can be quickly applied to any list in the document:

  1. 如果在按下输入键去开始一个新行前开始一个新的列表,在样式和格式窗口中双击所需的列表样式名称。 If starting a new list, before pressing Enter to start a new line, double-click on the desired list style name in the Styles and Formatting window.
  2. 如果您已经有一个列表,选择它,然后在样式和格式窗口中双击所需的样式列表。 If you already have a list, select it and then double-click on the desired list style name in the Styles and Formatting window.
Image:documentation_note.png 请记住,应用列表样式,不影响下面段落的特性;因此你可能要检查,在应用列表样式之前你是否满意段落样式。
  Remember that applying a list style does not affect the characteristics of the underlying paragraph; therefore you may want to check if you are satisfied with the paragraph style before applying the list style.


如果在一个文档中你有一个以上的列表,第二个和后来的列表会具有相同的列表格式并接着上一个列表继续它们的编号。想重新从一开始,把光标放在段落中你想把它设为编号1的任何位置,右击并选择重新编号 If you have more than one list in a document, the second and subsequent lists with the same style continue their numbering from the previous list. To restart at 1, place the cursor anywhere in the paragraph you want numbered 1, right-click, and choose Restart numbering.

停止使用编号,在标准的工具栏上按下编号打开/关闭按钮。To stop using numbering, press the Numbering On/Off icon on the Standard toolbar.

最后的结果如下所示。 The final result is illustrated below.

一个简单的列表样式 A numbered list of CD tracks highlighting the various elements.

[编辑] 相关链接

本文原文

个人工具