Highlighting Text

The highlighting procedures enable you to display text in the various HTML highlighting styles. Highlighting is also called logical markup.

To use the highlighting procedures, call the appropriate highlighting procedure before the text is generated. After the text is generated, call the corresponding end procedure.

The following highlighting procedures are available:

Type of Highlighting Beginning Procedure End Procedure

Blink

html_blink

html_blink_end

Citation

html_cite

html_cite_end

Code

html_code

html_code_end

Keyboard

html_kbd

html_kbd_end

Sample

html_sample

html_sample_end

Strike

html_strike

html_strike_end

Subscript

html_sub

html_sub_end

Superscript

html_sup

html_sup_end

The following code example displays text in the subscript style:

print 'Here is ' (1,1)
do html_sub('')
print 'subscript' ()
do html_sub_end
print ' text' ()