Supplemental by Jeff Nyman


This extension is in place so that the main source file does not get cluttered by what is effectively supporting material. If there are defined aspects of related functionality, that functionality should go in a separate extension.

Section: Text Breaks

Inform allows paragraph breaks, line breaks, and paragraph runs to be specified as text substitutions. This extension allows you shorten the wording:

say "Here is a line break.[br]"
say "Here is a paragraph break.[p]"
say "Here is running the next paragraph into this one. [r]"

Section: Text Formatting

Inform allows bold and italic text substitutions. This extension allows you to shorten the wording as well as provide the substitutions as related opening and closing terms:

say "[i]Here is a sentence in italics.[/i]"
say "[b]Here is a sentence in bold.[/b]"

It's also possible to use names that are used in HTML for these purposes:

say "[em]Here is a sentence in italics.[/em]"
say "[strong]Here is a sentence in bold.[/strong]"

This extension also allows you to specify the true type font style in a slightly shorter format:

say "[tt]This is a true type font.[/tt]"

Note that the above is equivalent to "font off" and "font on" which is also essentially equivalent with "fixed letter spacing" and "variable letter spacing".

Section: Symbols

You can use text subsitutions for dashes as well:

say "Display an em-dash: [--]"
say "Display an en-dash: [-]"

You can also apply the copyright symbol:

say "Copyright [copyright symbol]"

Whether the above substitutions work or not will depend on whether the interpreter the story file is running on supports Unicode character display.