#### 18.4.2.3 Specifying a title prefix or suffix

If you assign titles with paragraph formats (see §18.4.2.2 Assigning a title with a paragraph format), you can also specify a prefix, a suffix, or both as part of the title. For example:

[HTMLParaStyles]

Heading2=Split Title

[StyleTitlePrefix]

; doc style = prefix to use (if any) for file title in para content

Heading2=Course IV:

[StyleTitleSuffix]

; doc style = suffix to use (if any) for file title in para content

Heading2= (draft 1)

With these settings, a Heading2 paragraph that has content Prerequisites would result in a split file with the following <title> element:

<title>Course IV: Prerequisites (draft 1)</title>

Excluded from trails and local TOCs

Any title prefix or suffix you specify with these settings is excluded from the title when it appears in a trail of links (see §20.2 Generating trails of links) or in a local TOC (see §20.3 Including local TOCs).

Trailing spaces

Trailing spaces you type at the end of the title prefix setting are included in the prefix.

Leading spaces

If you type one or more leading spaces after the equals sign at the beginning of the title suffix text, Mif2Go removes exactly one of them (see §4.4 Understanding the rules for configuration settings). If you want a single leading space for the title suffix, supply exactly two spaces after the equals sign.

Macros and macro variables

You can use macros and macro variables (see §28.1 Defining and invoking macros) in sections [StyleTitlePrefix] and [StyleTitleSuffix]. For example, suppose you have defined a FrameMaker variable called CourseNum in your document, and you want to use the value of that variable as a title prefix:

[StyleTitlePrefix]

Heading2=<$$CourseNum>:

This works because FrameMaker variables can be employed as Mif2Go user variables; see §28.3.1 Creating and invoking macro variables.

| 18.4.2.2 Assigning a title with a paragraph format |  | 18.4.2.4 Assigning a title with a file name |