Definition List

A definition list is a special list that pairs a term and its description.

To create a definition list, use the definition-list tag (:dl.) to begin the list and :edl. to end it. Identify each term in the list with a definition-term tag (:dt.) and each description with a definition-description tag (:dd.).

Column Width for Definition Terms: :dl. has several attributes that let you control the appearance of definition lists. The tsize= attribute specifies the width, in character spaces, for the term column. If tsize= is not specified, the default width for the term column is 10 character spaces.

Definition-List Headings: If you want headings for the columns of terms and definitions, use the definition-term heading tag (:dthd.) to identify the heading for the terms and the definition-description tag (:ddhd.) to identify the heading for the definition descriptions.

Compact Definition List: The compact attribute produces a list with no blank lines.

The following example shows the tagging for a compact definition list with headings for the terms and descriptions. It also shows the use of the tsize= attribute.

Input Example

:dl compact tsize=13.
:dthd.:hp2.Key:ehp2.
:ddhd.:hp2.Purpose:ehp2.
:dt.Insert key
:dd.Switches between insert and replace modes.
:dt.Home key
:dd.Moves the cursor to the beginning of the current line.
:dt.End key
:dd.Moves the cursor to the end of the current line.
:edl.

Formatted Output