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.
Related Essay: For a discussion on the use of <fig>, see Figures and Graphics.
Usage: 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.
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 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?”


Content Model

<!ELEMENT  fig          %fig-model;                                  >

Expanded Content Model

((object-id)*, label?, (caption)*, (contrib-group)*, (abstract)*, (kwd-group)*, (alt-text | long-desc | email | ext-link | uri)*, (disp-formula | disp-formula-group | chem-struct-wrap | disp-quote | speech | statement | verse-group | table-wrap | p | def-list | list | alternatives | array | code | graphic | media | preformat)*, (attrib | permissions)*)


This element may be contained in:

Example 1

A simple captionless figure with a simple graphic:
<fig id="f1" orientation="portrait" position="float">
<title>National Synchrotron Light Source II facility</title>
<p>Taken July 2015 during public tour.</p>
<graphic xlink:href="f1-bnl-2015-65"/>
<attrib>Brookhaven National Laboratory</attrib>

Example 2

A labeled, captioned figure with a graphic:
<fig id="f8" orientation="portrait" position="float">
<label>FIG. 8.</label>
<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>
<graphic orientation="landscape" xlink:href="f8"/>
<sec id="bid.36">
<title>Microbial Genomes</title>
<p>... A CON entry, containing instructions on how to put
the pieces back together, is also made. The CON entry
contains descriptor information, such as source organism
and references, as well as a join statement providing
explicit instructions on how to generate the complete
genome from the pieces. The Accession number assigned 
to the CON record is also added as a secondary Accession
number on each of the pieces that make up the complete
genome (see <xref ref-type="fig" rid="bid.37">Figure 2</xref>).
<fig id="bid.37">
<title>A GenBank CON entry for a complete bacterial 
<p>The information toward the <italic>bottom</italic> of the 
record describes how to generate the complete genome
from the pieces.</p>
<graphic xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="ch1f2" mime-subtype="gif"/>

Example 3

A more complex figure with a graphic:
<sec sec-type="results">
<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">
<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 &#x03C7;<sup>2</sup></p>
<alt-text>Deaths in hospitals or with alternative services</alt-text>
<graphic xmlns:xlink="http://www.w3.org/1999/xlink"

Example 4

A complex multi-graphic figure:
<fig id="f1" orientation="portrait" position="float">
<label>FIG. 1.</label>
<p>(a) Schematic of the working principles of HFM, (b) a typical application
scheme for an electric bias in HFM, (c) regulation the conformations and
dynamics (trapping, concentration, and sudden stretching) of λ-DNA molecules
in HFM, and (d) schematic of the trapping location regulation (enhanced online).
[URL: <ext-link ext-link-type="uri" xlink:href="http://dx.doi.org/10.1063/1.4762852.1">
<media id="v1" mime-subtype="avi" mimetype="video" orientation="portrait"
position="anchor" specific-use="original-format" xlink:href="v1"/>
<media mime-subtype="mpeg" mimetype="video" orientation="portrait"
position="anchor" specific-use="archival-format" xlink:href="v1"/>
<media mime-subtype="x-flv" mimetype="video" 
position="anchor" specific-use="online-format"  
<graphic xlink:href="f1"/>
<graphic id="f1a"  xlink:href="dummy1.png"/>
<graphic id="f1b"  xlink:href="dummy2.png"/>
<graphic id="f1c"  xlink:href="dummy3.png"/>
<graphic id="f1d"  xlink:href="dummy4.png"/>

Example 5

A figure with alternate graphics:
<fig id="f3" position="float">
<label>FIG. 3.</label>
<graphic specific-use="print" xlink:href="1.4821168.figures.highres.f3.zip"/>
<graphic specific-use="online" xlink:href="1.4821168.figures.online.f3.jpg"/>

Example 6

A figure with a <contrib-group>:
<fig id="f3" position="anchor">
<label>Fig. 2</label>
<caption><title>Normal red blood cell</title></caption>
<given-names>Josiah S.</given-names></name>
<graphic xlink:href="c4826.jpg"/>