.. _element-fig: ===== Mandatory attributes: 1. ``@id`` (see :ref:`id-attribution-tips`) +---------------------------------------------------------------------------------------------------------+--------------------+ | Appears in | Frequency | +=========================================================================================================+====================+ | :ref:`element-body` | Zero or more times | +---------------------------------------------------------------------------------------------------------+--------------------+ | ```` | Zero or more times | +---------------------------------------------------------------------------------------------------------+--------------------+ | :ref:`element-p` | Zero or more times | +---------------------------------------------------------------------------------------------------------+--------------------+ | For other elements see the definition of element ``fig`` in the :term:`NISO JATS Journal Archiving DTD` | Zero or more times | +---------------------------------------------------------------------------------------------------------+--------------------+ Identifies the figures in an article. In this element you must specify the element :ref:`element-label`, you can also specify the elements :ref:`element-caption`, ```` and :ref:`element-permissions`. ```` can still have the following attributes: ``@fig-type`` and ``@xml:lang``. The ```` 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 ````, the absence of this attribute means the content inside ```` is in the same language of the document. Examples: * :ref:`element-fig-example-1` * :ref:`element-fig-example-2` * :ref:`element-fig-example-3` * :ref:`element-fig-example-4` * :ref:`element-fig-example-5` .. _element-fig-example-1: Example of figure without caption: ---------------------------------- The figures may or may not have captions. Figures without a caption should be marked as ```` and identified with the element ````. .. code-block:: xml ... ... .. _element-fig-example-2: Example of figue with caption: ------------------------------ .. code-block:: xml ... Figure Title ... .. _element-fig-example-3: 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 :ref:`element-label` accoding to the ``@fig-type``. .. code-block:: xml ... Map Title<title> </caption> <graphic xlink:href="figure.tif"/> </fig> ... .. _element-fig-example-4: Example of figure with permissions or source information: --------------------------------------------------------- .. code-block:: xml ... <fig id="f1"> <label>Fig. 1</label> <caption> <title>Deaths among patients receiving day hospital care or alternative services.

Odds ratios of death by end of follow up were calculated by fixed effects model. Heterogeneity between trials is presented as χ2

Source: The National Portrait Gallery, London. All rights reserved 2013
... .. _element-fig-example-5: Example of figure with translated caption: ------------------------------------------ Figures that have translated captions (have more than one :ref:`element-label` and :ref:`element-caption` must be identified with the element ```` which must contain a ```` element for each language, as well as the attribute ``@xml:lang``. .. code-block:: xml ... Caracterização química em óxidos do rejeito. Chemical characterization of the oxides of the tailing. ... .. {"reviewed_on": "2019-10-11", "by": "mathieu.pigeon@erudit.org"}