$Date$
$Revision$
elements
example
example
Element
example
&example.purpose;
&example.synopsis.gen;
Description
Example is a formal example with a title. Examples often
contain ProgramListings or other large, block elements.
Frequently they are given IDs and referenced from the text with
XRef or Link.
Processing expectations
&format.block; DocBook does not
specify the location of the example within the final displayed
flow of text; it may float or remain where it is located.
A list of examples may be generated at the beginning of a
document.
&example.parents.gen;
&example.children.gen;
Attributes
label
Label specifies an identifying string for presentation purposes.
Generally, an explicit Label attribute is
used only if the processing system is incapable of generating the label
automatically. If present, the Label
is normative; it will used even
if the processing system is capable of automatic labelling.
width
Width specifies the width (in characters)
of the longest line in this Example (formatters may use
this value to determine scaling or rotation).
See Also
&example.seealso.gen;
Examples
&example.example.1.txt;
&example.example.1.gen;
&example.example.seealso.gen;