Know what are anchored frames and how they are used in FrameMaker.
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 , 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.
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.
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 thecommand, 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.
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.
Import a graphic into text by clicking in text, choosing Import and link methods.), and selecting the graphic file you want to import. You can also import a graphic in other ways, depending on the platform. (See
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.
Click in text where you want to place the anchor symbol and choose. You can create an anchored frame in a text frame or in a table cell, but not in a text line.
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.
Click New Frame. An anchor symbol appears at the insertion point when text symbols are visible.
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.
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.
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.
An anchored frame positioned at the top or bottom of the column moves only when its anchor symbol moves to another column.
When you choose the Below Current Line, At Top of Column, or At Bottom of Column anchoring position, you can set the following properties.
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.
To prevent a wide frame from extending beyond the edge of the column, use the Cropped option.
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.
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.
An anchored frame in a multicolumn text frame can straddle columns, and its position may be affected by straddle paragraphs.
When a frame is anchored in a straddle paragraph, the frame straddles columns just as the paragraph does.
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.
A cropped anchored frame straddles columns only when it’s anchored in a straddle paragraph.
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.
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.
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.
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.
For a double-sided document, you can also position the frame closer to or farther from the binding edge.
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.
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.
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.
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.
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.
In a single-column layout, the Outside Text Frame option has the same effect as the Outside Column option.
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.
When you choose the Run into Paragraph anchoring position, you can set the following properties:
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.
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.
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.
You can specify the gap between the anchored frame and the paragraph text that runs around it.
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 appears at the anchor location in text whenis 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.
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
Click where you want to anchor the frame.
Select an anchored frame element in the Element Catalog and click Insert.
You can also use Element Tag pop-up menu in the Anchored Frame pod.to insert an element. If more than one frame element is available, choose the one you want from the
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.
Click New Frame. The anchored frame appears in the document window, with an anchor symbol at the insertion point when
<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.
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 GRAPHIC from the Element Tag pop-up menu. (This option appears in the menu if no defined frame elements are available.), and choose
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).
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.
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.
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.
Do one of the following:
To draw a graphic or add text, use one of the tools on the Tools pod.
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.
To import a graphic into a frame, select the frame and choose. You can also import a graphic in other ways, depending on the platform.
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 None (see Apply and change drawing properties).pod to make the anchored frame’s border narrower or to change the pen pattern to
If a frame and its contents are clipped by the edge of a column of text, choose Cropped, and then click Edit Frame., turn off
Select the frame and do one of the following: choose.
To change the frame’s anchoring position, choose Edit Frame.. Change the settings and click
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.
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, , or 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 chooseand 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.
Select the frame and chooseor . You don’t need to select the anchor symbol.
Click in text where you want to insert the frame and choose Element Catalog before pasting to verify that the location is valid for graphic elements.. The anchor symbol appears at the insertion point when text symbols are visible. When working with a structured document, look at the
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.
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 thecommand.
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.
Select the frame. You don’t need to select the anchor symbol.
Choose, click in text where you want to insert the anchor symbol, and choose . 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.
Select the frame and press Delete.
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.
Select the frame and choose.
The Anchored Frame dialog is displayed.
Click Object Attributes.
In the Text Attributes section, add your alt text and actual text, and then click Set.