Next: , Up: Indicating   [Contents][Index]


7.1.1 Highlighting Commands are Useful

The commands serve a variety of purposes:

@code{sample-code}

Indicate text that is a literal example of a piece of a program. See @code.

@kbd{keyboard-characters}

Indicate keyboard input. See @kbd.

@key{key-name}

Indicate the conventional name for a key on a keyboard. See @key.

@samp{text}

Indicate text that is a literal example of a sequence of characters. See @samp.

@verb{text}

Write a verbatim sequence of characters. See @verb.

@var{metasyntactic-variable}

Indicate a metasyntactic variable. See @var.

@env{environment-variable}

Indicate an environment variable. See @env.

@file{file-name}

Indicate the name of a file. See @file.

@command{command-name}

Indicate the name of a command. See @command.

@option{option}

Indicate a command-line option. See @option.

@dfn{term}

Indicate the introductory or defining use of a term. See @dfn.

@cite{reference}

Indicate the name of a book. See @cite.

@abbr{abbreviation}

Indicate an abbreviation, such as ‘Comput.’.

@acronym{acronym}

Indicate an acronym. See @acronym.

@indicateurl{uniform-resource-locator}

Indicate an example (that is, nonfunctional) uniform resource locator. See @indicateurl. (Use @url (see @url) for live urls.)

@email{email-address[, displayed-text]}

Indicate an electronic mail address. See @email.