Title Prefix and Suffix

The title prefix and suffix are placed around the title of the document during compile, but they can be used even if the title is not selected for inclusion.

The Prefix and Suffix fields show invisible characters such as line breaks and spaces in blue so that it is easy to identify padding.


Examples

The following examples show how a document with the title "The Seven Year War" might look when compiled using different title prefix and suffix settings. (Note that the formatting of the title, prefix and suffix, such as centring and bold, are all handled back in the Formatting pane.)


Example 1: Using both a prefix and a suffix

Titles Included: YES

Prefix and Suffix:


(Note that the "<$t>" is one of the auto-number tags.)

Result:



Example 2: Using a prefix with a line break after it

Titles Included: YES

Prefix and Suffix:


(Note the blue paragraph marker, which indicates that a line break has been entered at the end of the prefix.)

Result:



Example 3: Using a prefix on its own with no title

Titles Included: NO

Prefix and Suffix:

Result:



Example 4: Using a suffix after a line break

Titles Included: YES

Prefix and Suffix:


(Note that the "<$status>" tag will get replaced with the document status on Compile.)

Result:



MultiMarkdown Note

Note that if you are using one of the MultiMarkdown formats, a checkbox will appear under each of the prefix and suffix boxes: "Place prefix inside hashes" and "Place suffix inside hashes". As might be expected, these options allow you to determine whether or not the prefix and suffix should be enclosed in the header hash marks that enclose MultiMarkdown document titles. Usually you will want both of these checkboxes ticked, but if, for instance, you have a suffix on a separate line, similar to Example 4 above, you may wish to un-tick "Place suffix inside hashes".