Anchored frames

Know what are anchored frames and how they are used in FrameMaker.

About anchored frames

You often want to keep an illustration with particular document text. In FrameMaker, you do this by putting the illustration in a graphic frame anchored to the text—an anchored frame. When you edit the text, the frame and its contents move along with the text automatically.

You can use an anchored frame for an illustration in a column of text—below the line that contains the anchor symbol Anchor symbol, or at the top or bottom of the column. You can use an anchored frame for small graphics that appear in line with paragraph text or for art that appears between columns or in the page margin.

You can also use an anchored frame to achieve special effects such as positioning an anchored frame in the top corner of a paragraph with the paragraph text running around the graphic.


Anchored frames in FrameMaker

A. Graphic in the top corner of a paragraph B. Illustration in a column of text C. Margin art D. Small graphic in a line of text

If you want an illustration to stay at a specific place on the page—for example, as a logo on letterhead stationery—don’t use an anchored frame. Instead, draw, paste, or import the illustration directly onto a body or master page without placing an insertion point in the text. Then move the illustration to the desired position.

By default, an anchored frame has no pen or fill pattern, which makes it invisible on the page unless borders are visible.

Create anchored frames

Learn how to create anchored frames in FrameMaker.

An anchored frame is created automatically when you paste or import a graphic at an insertion point. You can keep the properties assigned to the frame, or you can change them.

When you create an anchored frame using the Insert > Anchored Frame command, you specify the location of the frame and its size and position. You can also specify other properties that depend on the frame’s position. For example, when the frame is placed in the line at the insertion point, you can specify its distance from the baseline of the text. When the frame is placed in a column of text, you can specify its alignment. You can change any of the properties, including the frame’s position, at any time.

When you create an anchored frame, you can use Object Properties to set unique tags to your anchor. These tags simply create a structure for the layout of your document. You can uniquely define an element for your frame that maps to tags in PDF format.

When you tag your document, you name each document property. Using tags allows you to easily change the appearance of your document without changing the content.

Create an anchored frame automatically

Do one of the following:

  • Paste an object into text at the insertion point by cutting or copying the object, clicking in text where you want to insert the anchor symbol, and choosing Edit > Paste.

  • Import a graphic into text by clicking in text, choosing File > Import > File or Insert > Image, and selecting the graphic file you want to import. You can also import a graphic in other ways, depending on the platform. (See Import and link methods.)

The pasted or imported object appears in an anchored frame that is centered below the current line. After the frame is created, you can change its properties.

Create an anchored frame with specific options

  1. Click in text where you want to place the anchor symbol and choose Insert > Anchored Frame. You can create an anchored frame in a text frame or in a table cell, but not in a text line.

  2. Choose the frame’s anchoring position and specify its properties. The properties that appear in the Anchored Frame dialog box depend on the anchoring position.

  3. Click New Frame. An anchor symbol Anchor symbol appears at the insertion point when text symbols are visible.

Inline anchored frames

Understand how to work with inline anchored frames in FrameMaker, align anchored frames in multicolumn layouts, and know the usage of anchored frames in structured documents.

To position an anchored frame in line with paragraph text—for example, to hold a small graphic such as a picture of a keycap—choose the At Insertion Point anchoring position in the Anchored Frame dialog box. When you put a space on either side of the anchored frame, the frame moves along from one line to another as you edit the document, as if it were a word (rather than being attached to the preceding or following word).

You can adjust the frame’s position up or down relative to the baseline of text by dragging the frame or by specifying a value for the Distance above Baseline option in the Anchored Frame dialog box. A value of zero aligns the bottom of the frame with the baseline of the text. A positive number moves the frame up; a negative number moves it down.

Zero distance and negative distance
Zero distance and negative distance inline anchored frames

If the frame obscures text in the line above or below, turn off fixed line spacing to allow the line height to change with the contents of the line.

Fixed line spacing on and off
Fixed line spacing on and off for the inline anchored frames

Tip: To shrink an anchored frame to the dimensions of its contents and place it in the line at the anchor symbol, select the frame or an object in the frame and press Esc m p. To enlarge a frame and place it below the line that contains the anchor symbol, select the frame or an object in it and press Esc m e.

Anchored frames in a column of text

To position an anchored frame in a column of text, choose the Below Current Line, At Top of Column, or At Bottom of Column anchoring position in the Anchored Frame dialog box.

Below current line and at top of column
Anchored frames below current line and at top of column

An anchored frame positioned at the top or bottom of the column moves only when its anchor symbol moves to another column.

Important: To place an anchored frame below a line that contains a run-in head, place the anchor symbol in the body paragraph, not in the run-in head. Otherwise, the anchored frame obscures the text below the run-in head.

When you choose the Below Current Line, At Top of Column, or At Bottom of Column anchoring position, you can set the following properties.

Horizontal alignment

Choose the frame’s horizontal alignment from the Alignment pop-up menu. You can align the frame at the left, center, or right. In a double-sided document, you can also align the anchored frame closer to or farther from the binding edge.

Farther from binding
Horizontal alignment of an anchored frame

Cropping

To prevent a wide frame from extending beyond the edge of the column, use the Cropped option.

Cropped off and on
Cropping of an anchored frame

Floating

Use the Floating option to let the frame float to the next column that can hold it if the frame and its anchor symbol won’t fit in the same column.

Floating off and on
Floating of ananchored frame

When Floating is off, both the frame and anchor symbol move to the first column that can hold them. White space remains at the bottom of the column. When Floating is on, the anchor symbol doesn’t move, but the frame floats to the next column that can hold it. Text from the next column fills the space between the anchor symbol and the frame.

Anchored frames in multicolumn layouts

An anchored frame in a multicolumn text frame can straddle columns, and its position may be affected by straddle paragraphs.

In a straddle paragraph

When a frame is anchored in a straddle paragraph, the frame straddles columns just as the paragraph does.

Wider than a column

An uncropped anchored frame that extends into a second column of the body area straddles columns in the body area. A frame that extends into the side-head area straddles the side-head area as well.

Straddling side-head area and all columns, and straddling only columns
Straddling side-head area and all columns, and straddling only columns for ananchored frame

A cropped anchored frame straddles columns only when it’s anchored in a straddle paragraph.

At top or bottom of column

When the anchor symbol for a top-of-column anchored frame appears below a straddle paragraph, the frame appears in the column just below the straddle paragraph rather than at the top of the column.

Anchored at top of column and at bottom
Anchored frame at top of column and at bottom

A bottom-of-column anchored frame is positioned similarly when the anchor symbol appears above a straddle paragraph.

You can force the anchored frame to appear at the top or bottom of the column (above or below a straddle paragraph) by making the frame straddle the columns. To do so, turn off Cropped in the Anchored Frame dialog box and resize the anchored frame until it extends into another column.

Anchored frames outside a column of text

To position an anchored frame outside a column of text, choose the Outside Column anchoring position in the Anchored Frame dialog box. For information on positioning an anchored frame so it always appears in the page margin, even in a multicolumn document.

When you choose the Outside Column anchoring position, you can set the following properties.

Side of column

You can position the anchored frame at the left or right side of the column, or along the side that’s closer to or farther from the edge of the page.

Anchored at left and at right
Anchored frame at left and at right

For a double-sided document, you can also position the frame closer to or farther from the binding edge.

Farther from binding
Positioning an anchor frame farther from the binding edge

Distance above baseline

You can adjust the frame’s position up and down relative to the baseline of text by dragging the frame or by specifying a value for the Distance above Baseline option in the Anchored Frame dialog box. A value of zero aligns the bottom of the frame with the baseline of the text. A positive number moves the frame up; a negative number moves it down.

Zero distance and negative distance above baseline
Anchor frame with zero distance and negative distance above baseline

You can’t position the anchored frame above the top or below the bottom of the text frame. If the setting would place the anchored frame above or below the text frame, FrameMaker puts it as high or as low as possible. If you later edit the text so that the anchor symbol moves away from the top or bottom of the text frame, FrameMaker adjusts the anchored frame’s position.

Distance from column

You can adjust the frame’s position left and right relative to the edge of the column by dragging the frame or by specifying a value for the Distance from Column option in the Anchored Frame dialog box. A value of zero aligns the edge of the frame with the edge of the column. A positive number moves the frame away from the column; a negative number moves it into the column.

Zero distance and positive distance from column
Anchor frame with zero distance and negative distance from column

The distance is always relative to the edge of the column, so the frame may appear between columns on a multicolumn page. You can change the page margins and column layout to widen the gap between columns to make room for the frame. Or, if you’re working in a structured document, see your developer to widen the gap between columns to make room for the frame.

Anchored frames in the page margins

To position an anchored frame so it always appears in the margin (even in a multicolumn layout), choose the Outside Text Frame anchoring position in the Anchored Frame dialog box. You can then specify the options described in the previous section. However, the distances you specify are from the edge of the text frame, which may differ from the edge of the text column on multicolumn pages.

Closer to page edge and farther from page edge
Anchored frames closer to page edge and farther from page edge

In a single-column layout, the Outside Text Frame option has the same effect as the Outside Column option.

Anchored frames run into paragraph text

To position an anchored frame in the top corner of a paragraph (with the paragraph text in that column running around the frame), choose the Run into Paragraph anchoring position in the Anchored Frame dialog box. For example, you can set a small graphic or a drop cap at the beginning of a paragraph.

When the anchored frame is taller than the paragraph, the text from subsequent paragraphs runs around the frame unless the paragraph that contains the anchor symbol is a straddle paragraph.

Frame spanning paragraphs and in a straddle paragraph
Anchored frame spanning paragraphs and in a straddle paragraph

When you choose the Run into Paragraph anchoring position, you can set the following properties:

Alignment

You can align the anchored frame on the left or right side of the paragraph. For a double-sided document, you can also choose Side Closer to Binding or Side Farther from Binding.

Closer to binding
Aligning the anchored frame closer to the binding

The frame is aligned with the paragraph’s left indent when it appears at the left side of the paragraph, and with the right indent when it appears at the right side. When the paragraph has a first-line indent, the anchored frame does not change the position of the indent.

Graphic extending beyond first-line indent
Graphic extending beyond first-line indent

Larger first-line indent
Larger first-line indent

When you want to preserve a first-line indent, make the first-line indent setting for the paragraph larger than the width of the anchored frame. Or, if you’re working with a structured document, ask your Structured Application developer about making the first-line indent setting for the paragraph larger than the width of the frame.

Gap

You can specify the gap between the anchored frame and the paragraph text that runs around it.

Insert anchored frames in structured documents

In a structured document, a graphic element provides an anchored frame for holding graphic objects. The frame is anchored to a specific location in text. As you edit the text, the frame and its contents move in the document along with the text.

When inserting a graphic element, you specify where you want to anchor the element’s frame. For example, you might anchor the frame in a Para element (and the graphic will be a child element to the Para), or you might anchor it in a Section element (as a sibling to Para and other elements in the Section). It depends on how the elements are defined for your document. The formatting properties you set are independent of the element’s format rules, not overrides to them.

In the document window, an anchor symbol Anchor symbol appears at the anchor location in text when View > Text Symbols is turned on. The frame can appear in various positions on the page—including in-line with text, next to or below a paragraph, or in a page margin. You specify an anchoring position relative to the anchor symbol.

Several positions for anchored frames
Positions for anchored frames in structured documents

A graphic element appears in the document’s structure where it is anchored to text, regardless of the frame’s position on the page. In the Structure View, the element is represented by a square-cornered bubble with the snippet <GRAPHIC>.

Graphic element
Graphic element in the document’s structure

Insert an anchored frame element

  1. Click where you want to anchor the frame.

  2. Select an anchored frame element in the Element Catalog and click Insert.

    You can also use Insert > Anchored Frame to insert an element. If more than one frame element is available, choose the one you want from the Element Tag pop-up menu in the Anchored Frame pod.

  3. Choose the frame’s anchoring position and specify its size and formatting properties. The properties that appear in the dialog box depend on the anchoring position you choose. See Inline anchored frames for details.

  4. Click New Frame. The anchored frame appears in the document window, with an anchor symbol Anchor symbol at the insertion point when View > Text Symbols is turned on. A bubble with the text snippet <GRAPHIC> appears in the Structure View.

If no anchored frame element is available at the location you want, you might use an invalid element. After inserting the element, talk to your developer about making the element valid at this location.

Use an invalid anchored frame element

Do one of the following:

  • To use an element that is valid in another part of the document, either insert the element in a valid location and then move it, or use the All Elements setting to make the element available everywhere, and then insert the element where you want it.

  • To insert an invalid anchored frame element with a default tag, choose Insert > Anchored Frame, and choose GRAPHIC from the Element Tag pop-up menu. (This option appears in the menu if no defined frame elements are available.)

Fill and edit anchored frames

Know how to fill and edit anchored frames and insert graphics or text in anchored frame in Adobe FrameMaker.

You can draw graphics in an anchored frame, drag or paste graphics from another part of the document. Or, import or paste graphics from another document or application. Use these methods to place graphics and text in unanchored graphic frames and in anchored frames.

You can position a graphic in an anchored frame and then use a text frame or text line inside the anchored frame for the figure title. However, you might find it easier to position and number the title consistently if you put the figure in a single-cell table and then set up the table title as a figure title.

An anchored frame’s contents are clipped when they extend into or beyond the frame’s border. Display the frames border by clicking it (if the border isn’t visible, choose View > Borders).


Structure of an anchored frame with graphic

A. Frame border B. Cropped graphic C. Cropped callout

You can change the size of an anchored frame, its anchoring position, and the properties you set when you created the frame. When working with a structured document, these changes do not affect the structure of the document and are independent of the element’s format rules.

You can also manipulate anchored frames as you do other objects. For example, you can change a frame’s drawing properties (such as pen width), and you can duplicate, delete, move, or resize it.

Filling anchored frames in structured documents

In a structured document, you can draw graphics in an anchored frame, drag, or paste graphics from another part of the document, or import or paste graphics from another document or application. Although the graphic element is part of the document’s structure, the contents you put in the frame are not.

You can even use an anchored frame to hold text, such as text in a sidebar. To do this, draw a text frame in the anchored frame. Keep in mind, though, that the text is not part of the document’s structure.

A frame’s contents are preserved when you export to XML or SGML. FrameMaker writes the contents to a separate file and adds an entity reference to it from your XML or SGML file.

Important: To prepare for export to XML or SGML, put only one graphic in each frame for the best results. If your graphics are bitmaps, do not use a display bit depth of 1 bit or 24 bits; reset your display to 8 bits. Ask your application developer for other advice to be sure your frames’ contents will be fully preserved.

After filling a frame with graphics, you can edit the graphics in many ways—for example, by changing line widths, applying fill colors, and aligning, stacking, or grouping several objects.

Put graphics or text in a graphic frame

  1. Do one of the following:

    • To draw a graphic or add text, use one of the tools on the Tools pod.

      Important: Be sure to start drawing the object inside the frame. Otherwise, the object is placed on the page and not in the frame.
    • To move a graphic into a frame, drag the graphic until the pointer is within the frame’s borders. The object jumps into the frame when you drag across the frame’s border.

    • To paste a graphic into a frame from the Clipboard, select the frame and choose Edit > Paste.

    • To import a graphic into a frame, select the frame and choose File > Import > File or Insert > Image. You can also import a graphic in other ways, depending on the platform.

    Note: If a graphic looks as though it’s in the anchored frame, but it doesn’t move with the frame as you edit the surrounding text, the graphic is probably in front of the frame rather than in the frame—perhaps because you pasted it on the page rather than in the frame. Drag the graphic away from the frame and then drag it back into the frame.

Prevent an anchored frame from clipping its contents

Do one of the following:

  • If there’s room outside the anchored frame, make the frame larger.

  • If there’s room inside the anchored frame, move the object away from the edge of the frame.

  • If the contents are clipped only by the width of the border, use the Tools pod to make the anchored frame’s border narrower or to change the pen pattern to None (see Apply and change drawing properties).

  • If a frame and its contents are clipped by the edge of a column of text, choose Insert > Anchored Frame, turn off Cropped, and then click Edit Frame.

Change a frame’s anchoring position and drawing properties

Select the frame and do one of the following: choose Insert > Anchored Frame.

  • To change the frame’s anchoring position, choose Insert > Anchored Frame. Change the settings and click Edit Frame.

  • To change the drawing properties, select the frame and use the Tools pod to specify the properties you want. For example, you can change a frame’s pen pattern to make the frame’s border printable or change its fill pattern to shade the interior of the frame.

Resize an anchored frame

Do one of the following:

  • To resize the frame quickly but approximately, select the frame and drag one of its handles. The size appears in the status bar as you drag.

  • To resize the frame precisely, select the frame and specify its size with the Graphics > Object Properties, Graphics > Scale, or Insert > Anchored Frame command.

  • To resize an anchored frame to fit the object in the frame, press Esc M P.

  • To resize a graphic within an anchored frame, select the object and drag one of its handles, or choose Graphics > Scale and enter the dimensions.

  • Right-click on an anchored frame and choose Fit to Image to resize the anchored frame to the size of the image.

Copy, move, or delete an anchored frame

Copy or move an anchored frame by using copy and paste

  1. Select the frame and choose Edit > Copy or Edit > Cut. You don’t need to select the anchor symbol.

  2. Click in text where you want to insert the frame and choose Edit > Paste. The anchor symbol appears at the insertion point when text symbols are visible. When working with a structured document, look at the Element Catalog before pasting to verify that the location is valid for graphic elements.

In some cases (for example, when a frame is positioned at the top or bottom of a column), the frame does not change position even though the anchor symbol moves. If you find it difficult to reposition a frame anchored to the outside of a rotated text frame or column, unrotate the text frame, position the anchored frame, and then rerotate the text frame.

Tip: If you’re working with a structured document, you can also drag a frame’s bubble in the Structure View to move the frame or Alt-drag the bubble to copy the frame.

Move an anchored frame without moving its anchor symbol

  1. Do one of the following:

    • For quick but approximate repositioning, drag the frame.

    • For more precise repositioning, move the frame in small increments with the arrow keys.

    • For greatest precision, specify the location of the frame with the Insert > Anchored Frame command.

    Some anchored frames cannot be moved without moving their anchor symbols. However, you can move a frame vertically when it’s anchored at the insertion point, outside the column of text, or outside the text frame. When a frame is anchored outside the column or text frame, you can’t move it above the top or below the bottom of the text frame.

    Note: When you move a frame into a column, the text in the column doesn’t adjust to accommodate the frame. Use the Run into Paragraph anchoring position to move the frame completely inside the column and to run the text around the frame automatically. You can also change the paragraph indents to make room for the frame.

Move a frame’s anchor symbol

  1. Select the frame. You don’t need to select the anchor symbol.

  2. Choose Edit > Cut, click in text where you want to insert the anchor symbol, and choose Edit > Paste. The anchor symbol appears at the insertion point when text symbols are visible.

In some cases—for example, when the frame is positioned at the top or bottom of a column of text—the frame may not change position even though the anchor symbol moves.

Delete an anchored frame

Select the frame and press Delete.

Add object attributes for tagged PDF

If you plan to export your document to a tagged PDF or to XML, you can include object attribute information for your anchored frames.

Alt text is different from graphics or standard text. Alt text is typically used for describing an image so that screen readers can read it aloud. Actual text is for reading aloud the actual text, as in the case of a drop cap. For example, if the author is using a drop cap for the letter A in the word “Adobe” but still wants the screen readers to read the word as “Adobe” and not as “dobe,” this can be done by filling in actual text. The attribute will be saved to alt text and actual text in tagged PDF and XML.

When you provide alternate text attribute on an anchored frame, the corresponding figure elements in PDF and graphic elements in XML get an “alt text” attribute. Actual Text attribute is processed only for tagged PDF. XML export ignores this attribute.

Note: Object attributes support the Unicode text encoding standard.
  1. Select the frame and choose Insert > Anchored Frame.

    The Anchored Frame dialog is displayed.

  2. Click Object Attributes.

  3. In the Text Attributes section, add your alt text and actual text, and then click Set.

Note: Screen readers may ignore actual text when alt text is present.

April 29, 2020

Legal Notices | Online Privacy Policy