<fig>¶
Mandatory attributes:
@id
(see Attribution Tips for @id)
Appears in |
Frequency |
---|---|
Zero or more times |
|
|
Zero or more times |
Zero or more times |
|
For other elements see the definition of element |
Zero or more times |
Identifies the figures in an article. In this element you must specify the element <label>, you can also specify the elements <caption>, <graphic>
and <permissions>. <fig>
can still have the following attributes: @fig-type
and @xml:lang
.
The <graphic>
element is used to identify some file types and has attribute @xlink:href
which is used to specify the complete name of the referenced image.
The attribute @id
allows for cross-referencing within the document (link associated with an “rid”) provided that the attribute has a unique value within the file.
Note
The attribure @xml:lang
is not mandatory in <fig>
, the absence of this attribute means the content inside <fig>
is in the same language of the document.
Examples:
Example of figure with custom @fig-type:¶
The attribute @fig-type
is used to specify the image type, the value could be one of:
Value |
---|
graphic |
chart |
diagram |
drawing |
illustration |
map |
Be sure to represent the correct <label> accoding to the @fig-type
.
...
<fig fig-type="map" id="f1">
<label>Map 1</label>
<caption>
<title>Map Title<title>
</caption>
<graphic xlink:href="figure.tif"/>
</fig>
...
Example of figure with permissions or source information:¶
...
<fig id="f1">
<label>Fig. 1</label>
<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>
<permissions>
<copyright-statement>Source: The National Portrait Gallery, London. All rights reserved</copyright-statement>
<copyright-year>2013</copyright-year>
</permissions>
<graphic xlink:href="fig.tif" />
</fig>
...