Macro Language Reference > Macros > Frame > tfanchor
  
tfanchor
Description
Ties a frame to a specific anchor point in the text, which has been inserted via trefanc. If the anchor point / text moves the frame will move along with it.
Syntax
tfanchor anchor name:t? ( group name:t? ( condition:t? ) ) priority:n?
tfanchor
[no parameter]
Invoke the Anchor Frame dialog box.
anchor name
The name of the frame anchor.
 
This should be the same name as that of the anchor reference point inserted in the text stream with trefanc
group name
The group to which the anchor belongs: see tfancgrp.
condition
The condition to be used in association with the frame: see tfanncon.
priority
The priority to be assigned to the frame during formatting: see tfancpri.
Additional Information
When the document is re-formatted with tformat all frames with anchor names are temporarily removed from the document. When an anchor reference is encountered in the text, frames whose anchor names match the anchor reference are replaced on the page at an appropriate position. At the end of the re-formatting any frames for which anchors have not been specified are replaced on their original pages. This replacement can cause problems if the replaced frames overlap text that has just been re-formatted. For this reason, do not give a frame an anchor name unless you intend to provide a corresponding reference for the frame to anchor itself to.
Related Links