figure tag is used to provide the
structure for inserting a figure into a CNXML document. A figure
may contain an image, multimedia object, or caption tag.
<title>The World's Cutest Dog</title>
<media id="dogpic" alt="A dog sitting on a bed">
<image mime-type="image/jpeg" src="image1.jpg" />
Notice how cute the dog is just sitting there.
Results in this display:
Figure 1: Notice how cute the dog is just sitting there.
|The World's Cutest Dog|
Allows you to determine which way subfigure elements are
arranged. Has no effect if the figure has no subfigure children.
- horizontal -
Subfigures appear side by side (default).
- vertical -
Subfigures appear one on top of the other.
Defines the type of figure in order to give specialized control over numbering.
Figures of the same type are numbered in series (i.e., Figure 1, Figure 2...).
Type can be used in conjunction with label so that figures of each
user-defined type appear with their own label. Type can be any user-defined
value that reflects the purpose of the figure.
A unique identifier, whose value must begin with a letter and contain only letters,
numbers, hyphens, underscores, colons, and/or periods (no spaces).
may contain an optional
tag, followed by an optional title
Next, it must contain:
may contain an