<fig> Figure

Block of graphic or textual material that is identified as a figure, usually bearing a caption and a label such as “Figure 3.” or “Figure”.


A <fig> is defined as an element that would appear in the Table of Figures, if there were one.
The content of a <fig> need not be graphic in nature; the content of a figure may be a graphic, a list, several paragraphs, an equation, a display quote, a table, etc., or a mixture of several of these.
The @position attribute may be used to indicate whether this element must be anchored at its exact location within the text or whether it may float, for example, to the top of the next page, into the next column, to the end of a logical file, or within a separate window.

Best Practice

Tag unlabeled graphic objects as <graphic>s rather than <fig>s. A common test to determine if an object is a <fig> versus a <graphic> is to ask, “If there were a “List of Figures” for this document, should this object appear in that list?”
When Content is a Form
The @is-form attribute can be used to indicate that the figure contains a form. What constitutes a “form” is not defined by NISO STS.
orientation (default = portrait)
position (default = float)

Base Attributes

Models and Context
May be contained in
Content Model
<!ELEMENT  fig          %fig-model;                                  >
Expanded Content Model

((editing-instruction)*, (object-id)*, label?, (caption)?, (alt-text | long-desc | email | ext-link | uri)*, (disp-formula | disp-formula-group | chem-struct-wrap | fn-group | fn | disp-quote | speech | statement | verse-group | table-wrap | p | normative-note | non-normative-note | normative-example | non-normative-example | notes-group | def-list | list | alternatives | array | code | graphic | media | preformat)*, (attrib | permissions)*)

Tagged Samples
Typical figure
<sec id="s5_1">
 <title>Two approaches to addressing accessibility in 
 <p><xref ref-type="fig" rid="f1">Figure 1</xref> provides 
  a graphical summary of how this Guide can be used.</p>
 <fig id="f1" orientation="portrait" position="anchor">
  <label>Figure 1</label>
   <title>Two approaches to address accessibility in 
  <graphic xlink:href="g3658.jpg"/>
Figure whose caption includes table
<sec id="annB.1.1">
 <title>Scanners with single axis reading diagram</title>
 <p>This category comprises all scanners with 
  a single, fixed reading beam ...</p>
 <fig id="fB.1">
  <label>Figure B.1</label>
   <title>Reading diagram for single-axis scanner</title>
       <tr><th align="center" colspan="2">Scanner with single 
        axis reading diagram</th></tr>
       <tr><th align="center">Parameter</th>
        <th align="center">Term</th></tr>
       <tr><td align="center">A</td>
        <td>minimum reading distance</td></tr>
       <tr><td align="center">B</td>
        <td>depth of field</td></tr>
       <tr><td align="center">R</td>
        <td>maximum reading distance</td></tr>
  <graphic position="anchor" xlink:href="f-b-1.png"/>
Related Resources