Show / Hide Table of Contents

[underline]

Adds a horizontal line underneath text when printing. The underline command can be used anywhere in a line of text, causing all subsequent text to be printed with an underline. If the magnify tag is used, this will cause the underline to also be magnified. Underline also applies to the space tag.

Parameters

Currently, two parameters are supported, with no parameter values required. Only a single on or off parameter should be provided, mixing parameters will cause undefined results.

Parameter Description
on Enables underline for all text at the current font size or magnification.
off Enables underline for all text at the current font size or magnification.

Note, the [underline] command switches the effect off by default, therefore the command sequences [underline] and [underline: off] are equivalent.

Example

Hello World is underlined
[underline: on]Hello World[underline: off]

Hello is underlined
[underline: on]Hello[underline: off] is underlined but the rest is not

Different syntax
[underline: on]Hello World[underline]
[cut]\
Back to top Generated by DocFX