Add variables to headers and footers

When you add a variable to a running header or footer on the master page of a document, the vari­able definition displays across pages of the document. For example, in the Chapter FrameMaker template, the Running H/F 1 (chapter title) and Running H/F 2 (level 1 heading) variables are inserted in the odd and even page headers, respectively.

This section covers the following topics:

Running H/F variables in FrameMaker

Using markers to display text in a running header or footer

Creating a dictionary-style header or footer

Running H/F variables in FrameMaker

The following table describes the Running H/F variables available in FrameMaker:

Running H/F variable

Description

Running H/F 1

Chapter title

Running H/F 2

First level heading. For example, Heading 1.

Running H/F 3, H/F 4, H/F 13 through H/F 18

Marker text defined for markers of type Header/Footer $1 through $8. For details, see Using markers to display text in a running header or footer.

Running H/F 5 through H/F 12

Paragraph text as defined by the paratag part of the definition. For example, see Creating a dictionary-style header or footer

Using markers to display text in a running header or footer

You can use the Running H/F variables (4, 5, and 13 through 18) to add marker text to a running header or footer. Use these variables to display text in a header or footer that is not available in the content or in a system variable.

1)Go to the body pages of a document (View > Body Pages>).

2)Place the insertion point at any location in the document and open the Marker dialog (Special > Marker).

note:    The location of the marker in the document is not relevant. For example, you can place all the markers to include header or footer text at one location in the document.

3)In the Maker Type pop-up list, choose Header/Footer $1.

4)In the Marker Text box, enter the text to display in the header or footer.

5)Open the master pages of the document (View > Master Pages) and insert the Running H/F 3 variable in the header or footer.

Similarly, use the Running H/F 4 and H/F 13 through H/F 18 with the corresponding Header/Footer $2 through Header/Footer $8 marker type to add additional marker text to a running header or footer.

Creating a dictionary-style header or footer

The term displayed in the header or footer of an odd numbered page of a dictionary is the first term described on the odd number page. Similarly, the term displayed in the header or footer of an even number page is the last term described on the even number page. To create a dictionary-style header or footer, use one of the paratext (Running H/F 5 through H/F 12) variables:

1)Open the master page of the document (View > Master Pages) and go to the odd master page.

2)Select a paratext variable and click Edit in the Variables pod.

3)In the Add/Edit Variable dialog, edit the definition of the variable to specify the paragraph tag that is used by the dictionary terms in the document. For example, edit the definition of Running H/F 5 to <$paratext[Heading3]>.

4)Insert the variable into the odd page header.

5)Go to the even page header.

6)In the Add/Edit Variable dialog, edit the definition of the variable to specify the paragraph tag that is used by the dictionary terms in the document. For example, edit the definition of Running H/F 5 to <$paratext[+Heading3]>.

important:   The plus (+) sign preceding the paragraph tag indicates that the variable displays the content from the last paragraph on the page.

The odd page headers of the document display the first paragraph tag defined in the Running H/F variable and the even pages display the last paragraph tag.


September 30, 2016

Legal Notices | Online Privacy Policy