<inline-graphic> Inline Graphic

Description of and pointer to an external graphic that is displayed or set in the same line as the text.

Usage/Remarks

An inline graphic is typically a small graphic, such as an icon or a small picture symbol, that is displayed or set in the same line as the text.

Best Practice

Although the Tag Set cannot enforce it, this element should not be used to create ordinary special characters such as diacritics and copyright symbols; these characters should be expressed in Unicode. The element <inline-graphic> should also not be used for custom-built or private characters such as those in the Unicode private use areas; for such characters, use the <private-char> element.
Related Elements
The NISO STS Tag Sets contain several elements that describe and point to non-XML material: <graphic>, <inline-graphic>, <media>, <supplementary-material>, and <inline-supplementary-material>. The elements <graphic> and <inline-graphic> contain a pointer to a still image (such as a photograph, diagram, line drawing, etc.) that is part of the document. The element <media> contains a pointer to a non-XML, frequently binary, object (such as a movie, audio clip, dataset, or other non-XML format) that is integral to the document’s content, where  “integral” means that the media object is discussed within (and possibly displayed within) the document; the media object is part of the document.
In contrast, the elements <supplementary-material> and <inline-supplementary-material> are used to describe either XML material (such as figures, tables, and sections) or non-XML material (such as graphics, films, audio clips, datasets, or other material) that are considered to be “additional material” (non-integral) accompanying a document. Like <graphic>, <inline-graphic>, and <media>, the supplementary material elements never contain the object they describe, even if it is an XML object such as a figure, although they may point to it.
The element <inline-supplementary-material> is used to mark up a reference to additional material, where the reference appears within the regular flow of the text and does not have a preview image or separate caption. The <supplementary-material> element is used to describe a more complicated reference, where the description of the supplementary object resembles a figure in that it can be positioned as a floating or anchored object and may take a caption.
Attributes

Base Attributes

Linking Attributes

xlink:href (REQUIRED)
xlink:type (fixed value = simple)

Namespaces

xmlns:xlink (fixed value = http://www.w3.org/1999/xlink)
Models and Context
May be contained in
Description
Any one of:
Content Model
<!ELEMENT  inline-graphic
                        %inline-graphic-model;                       >
Expanded Content Model

((alt-text | long-desc)?)

Tagged Samples
Alternative to an inline formula
...
<p><italic>Slow-front transient overvoltage (SFO)</italic>: 
 Transient overvoltage, usually unidirectional, with time to 
 peak 20 &#x3bc;s &lt; 
 <inline-formula>
  <alternatives>
   <tex-math notation="LaTeX">${T_p}$</tex-math>
   <inline-graphic xlink:href="1894_2015_mml_m1.eps"
     xmlns:xlink="http://www.w3.org/1999/xlink"/>
  </alternatives>
 </inline-formula> &#x2264; 5 000 &#x3bc;s, and 
 time&#xa0;to&#xa0;half&#xa0;value&#xa0;of&#xa0;a&#xa0;
 decreasing&#xa0;voltage 
 <inline-formula>
  <alternatives>
   <tex-math notation="LaTeX">${T_2}$</tex-math>
   <inline-graphic xlink:href="1894_2015_mml_m2.eps" 
     xmlns:xlink="http://www.w3.org/1999/xlink"/>
  </alternatives>
 </inline-formula> &#x2264; 20 ms.</p>
...
Inside a <private-char>
... 
<sec>
 <label>79.1</label>
 <p>Elongate ... in the form of a 
  <private-char description="dogleg">
   <inline-graphic  
     xlink:href="http://www1.astm.org/HTTP/IMAGESxHTML/images/glyphs/ASTM_SpecChar/dogleg_12">
    <alt-text content-type="special character">dogleg character</alt-text>
   </inline-graphic>
  </private-char>. During the ...</p>
</sec>
...
Related Resources