Inline graphic
Used for inserting a graphical element within a line of text.
Syntax.
Where:
- name
An entity name which is defined in an entity declaration.
The entity declaration associates the entity name with the name of
the file that contains the graphic to be inserted.
The <graphic> element is similar to <figure> except that
the <graphic> element is intended for embedding small graphics
within text, whereas the <figure> element inserts figures between
paragraphs.
Examples:
The following markup first defines an entity (mini-icon) as being
associated with the contents of a graphics file (named "mini.pm").
Then the <graphic> element indicates
the location of the graphic within a line of text.
<!entity mini-icon FILE "mini.pm">
.
.
.
The <graphic entity=mini-icon> icon
is used for very small images.
|
The following markup defines the inline graphic as a hyperlink
to a topic whose ID is mini-icon-topic:
The <link mini-icon-topic><graphic entity=mini-icon><\link> icon
is used for very small things.
|
See Also.