<fig> Figure

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

Usage/Remarks

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 graphical 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.
Position
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 graphics as <graphic> elements rather than as <fig> elements. 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?”
Attributes
orientation (default = portrait)
position (default = float)

Base Attributes

Models and Context
May be contained in
Description
Content Model
<!ELEMENT  fig          %fig-model;                                  >
Expanded Content Model
((object-id)*, (caption)*, (legend)*, (alt-text | long-desc)*, (disp-formula
| disp-formula-group | chem-struct-wrap | disp-quote | speech | statement | verse-group | table-wrap
| p | def-list | list | code | graphic | media | preformat | xref)*, attrib?,
(permissions)*)
Tagged Samples
<graphic> and <attrib>
... 
<fig id="f1" orientation="portrait" position="float">
 <graphic xlink:href="f1"/>
 <attrib>Brookhaven National Laboratory</attrib>
</fig>
...
<caption> and <graphic>
... 
<fig id="f8" orientation="portrait" position="float">
 <caption>
  <p>Time difference between events F and A as a function of the 
   length of entering plug for bifurcations B to BXXX, where X stands 
   for 0 or 1.</p>
 </caption>
 <graphic orientation="portrait" position="float" xlink:href="f8"/>
</fig>
...
<alt-text> and <object-id>
...
<sec sec-type="results">
 <title>Results</title>
 <p>We identified 703 abstracts, of which 687 were 
  not relevant ... Details of randomisation procedures,
  treatment schedules, and numbers of patients followed
  up are given on the <italic>BMJ</italic> website.</p>
 <fig id="F1">
  <caption>
   <title>Deaths among patients receiving day hospital care
    or alternative services.</title>
   <p>Odds ratios of death by end of follow up were calculated by 
    fixed effects model. Heterogeneity between trials is presented as
    χ<sup>2</sup></p>
  </caption>
  <alt-text>Deaths in hospitals or with alternative services</alt-text>
  <graphic xmlns:xlink="http://www.w3.org/1999/xlink"
    xlink:href="fors2662.f1">
   <object-id>456472</object-id>
  </graphic>
 </fig>
 ...
</sec>
...
Alternative Spanish and English Variants of a Figure
...<front>
    ...</front>
  <body>...
<fig id="f0001" lang-group="f0001"
  position="float" fig-type="scatter-graph" 
  xml:lang="en" lang-variant="translation" 
  lang-source="translator" lang-focus="secondary">
 <caption><p>Evolution of the repetition rate in all sequences</p></caption>
  <graphic xlink:href="RIYA_A_1889289_F0001_OC.jpg" 
    content-type="color" specific-use="web-only"/>
</fig>

<fig id="f0005" lang-group="f0001"  
  position="float" fig-type="scatter-graph" 
  xml:lang="es" lang-variant="original" 
  lang-source="author" lang-focus="primary">
  <caption><p>Evolución de la tasa de repetición en  
  todas las secuencias</p></caption>
  <graphic xlink:href="RIYA_A_1889289_F0005_OC.jpg" 
    content-type="color" specific-use="web-only"/>
</fig>...</body>
</article>
Related Resources