Difference between revisions of "Documentation/OOoAuthors User Manual/Writer Guide/Adding captions to graphics"

From Apache OpenOffice Wiki
Jump to: navigation, search
 
Line 1: Line 1:
{{WriterGraphicsTOC|PrevNext=block
+
{{DISPLAYTITLE:Adding captions to graphics}}
|Prev=Documentation/OOoAuthors User Manual/Writer Guide/Anchoring graphics and drawing objects
+
{{WriterGraphicsTOC|ShowPrevNext=block
|Next=Documentation/OOoAuthors_User_Manual/Writer Guide/Using Writer’s drawing tools}}__notoc__
+
|PrevPage=Documentation/OOoAuthors User Manual/Writer Guide/Anchoring graphics and drawing objects
 
+
|NextPage=Documentation/OOoAuthors_User_Manual/Writer Guide/Using Writer’s drawing tools}}__notoc__
= Adding captions to graphics =
+
 
You can add captions to graphics in three ways: automatically, by using the Caption dialog box, or manually.
 
You can add captions to graphics in three ways: automatically, by using the Caption dialog box, or manually.
  
Line 19: Line 18:
 
When you insert a graphic, if automatic captioning is enabled, the graphic will be 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.
 
When you insert a graphic, if automatic captioning is enabled, the graphic will be 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.
  
'''Note:''' 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|Adding captions manually]].
+
{{Documentation/Note| 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|Adding captions manually]].}}
  
'''Tip:''' A common sequence name—Figure—is not one of the names provided: '''<nowiki><None></nowiki>''', '''Drawing''', '''Illustration''', '''Table''', and '''Text'''. If you want a custom name for your graphics, do the following:
+
{{Documentation/Tip| A common sequence name—Figure—is not one of the names provided: '''<nowiki><None></nowiki>''', '''Drawing''', '''Illustration''', '''Table''', and '''Text'''. If you want a custom name for your graphics, do the following:
 
# Open the Options – OpenOffice.org Writer—AutoCaption dialog box, described above.
 
# Open the Options – OpenOffice.org Writer—AutoCaption dialog box, described above.
 
# Under the ''Add captions automatically when inserting'' section, check '''OpenOffice.org Writer Picture'''.
 
# Under the ''Add captions automatically when inserting'' section, check '''OpenOffice.org Writer Picture'''.
 
# With the mouse, highlight the text '''Add captions automatically when inserting''', if it is not already highlighted. This actives the ''Caption'' area in the dialog box for pictures (graphics).
 
# With the mouse, highlight the text '''Add captions automatically when inserting''', if it is not already highlighted. This actives the ''Caption'' area in the dialog box for pictures (graphics).
# Under the ''Category'' drop-down list, enter the name that you want added (say, '''''Figure'''''), by overwriting any sequence name in the list. (Overwriting the term will 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.
+
# Under the ''Category'' drop-down list, enter the name that you want added (say, '''''Figure'''''), by overwriting any sequence name in the list. (Overwriting the term will 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.}}
  
 
== Using the Caption dialog box ==
 
== Using the Caption dialog box ==
Line 35: Line 34:
 
[[Image:WG8-13.png|Defining the caption]]<br>''Defining the caption for an illustration''
 
[[Image:WG8-13.png|Defining the caption]]<br>''Defining the caption for an illustration''
  
'''Tip:''' In the ''Category'' box, you can type any name you want, for example, '''''Figure'''''. OOo will create a numbering sequence using that name.
+
{{Documentation/Tip| In the ''Category'' box, you can type any name you want, for example, '''''Figure'''''. OOo will create a numbering sequence using that name.}}
  
 
<li>Click '''OK'''. The graphic and its caption are placed in a frame, as shown below.</li>
 
<li>Click '''OK'''. The graphic and its caption are placed in a frame, as shown below.</li>
Line 51: Line 50:
 
# Click '''OK'''.
 
# Click '''OK'''.
  
'''Note:''' If you want the caption to appear at the bottom, you can skip step 2 and the first part of step 3.
+
{{Documentation/Note| If you want the caption to appear at the bottom, you can skip step 2 and the first part of step 3.}}
  
 
=== Method 2: Place the graphic and its caption in separate paragraphs ===
 
=== Method 2: Place the graphic and its caption in separate paragraphs ===
Line 60: Line 59:
 
# A number will appear after the word “Figure” in the caption. Now, type the text of the caption.
 
# A number will appear after the word “Figure” in the caption. Now, type the text of the caption.
  
'''Tips:''' If you are manually adding captions to a lot of figures using Method 2, 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.
+
{{Documentation/Tip| If you are manually adding captions to a lot of figures using Method 2, 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.
 +
 
 +
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.}}
  
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.
 
  
 
{{Manual}}
 
{{Manual}}
 +
[[Category: Writer Guide (Documentation)]]

Revision as of 06:51, 20 January 2009


You can add captions to graphics in three ways: automatically, by using the Caption dialog box, or manually.

Adding captions automatically

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.

To set up automatic captions:

  1. Click Tools > Options > OpenOffice.org Writer. Click on the + sign to open the different options. The Options – OpenOffice.org Writer – AutoCaption dialog box opens.
  2. Select AutoCaption. Now you can see several choices at the right of the dialog box for adding captions automatically.
  3. On the AutoCaption dialog box, choose which objects will be automatically captioned and specify the characteristics of the captions.

For more information, see "AutoCaption options” in Chapter 2 (Setting up Writer).

When you insert a graphic, if automatic captioning is enabled, the graphic will be 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.

Template:Documentation/Note

Template:Documentation/Tip

Using the Caption dialog box

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 in the figure) 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. Defining the caption
    Defining the caption for an illustration

    Template:Documentation/Tip

  4. Click OK. The graphic and its caption are placed in a frame, as shown below.
  5. Example of graphic and caption
    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.

Adding captions manually

You can add a caption to a graphic manually in two ways.

Method 1: Override the category and positioning defaults for captions

  1. Select the picture, right-click on it, and select Caption.
  2. On the Caption dialog box, select <None> in the Category list and click OK.
  3. Right-click on the picture and select Caption. Now you can select a caption type (or type your own sequence category) in the Category drop-down list and, optionally, select Above in the Position list. (If you want the caption to appear at the top, you must add the caption manually.) You can type the actual caption in the box under Caption or you can fill it in later—after the (incomplete) caption is inserted.
  4. Click OK.

Template:Documentation/Note

Method 2: Place the graphic and its caption in separate paragraphs

  1. Insert the graphic and anchor it to its paragraph as a character. Press Enter to create a new paragraph for the caption.
  2. In the caption paragraph, type, for example, Figure and add a space.
  3. To insert the figure number, click Insert > Fields > Other and select the Variables tab.
  4. 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.
  5. A number will appear after the word “Figure” in the caption. Now, type the text of the caption.

Template:Documentation/Tip


Content on this page is licensed under the Creative Common Attribution 3.0 license (CC-BY).
Personal tools