Figure Styles

This page describes how to style the various elements of figures. This includes figure captions, accessibility text, and figure credits. The images themselves are not part of the XML file; the XML includes pointers to separate graphic files.

Figure Caption, Figure Caption Continued, Figure Accessibility Caption, Figure Credit

As for tables, the Figure Caption style is used for the figure number and the first paragraph of the figure caption. If the caption extends to a second or subsequent paragraph, the Figure Caption Continued style should be used.

The Figure Accessibility Caption style is used for a paragraph that describes the content of the figure for visually impaired users or others who are unable to view the image. Because this paragraph is designed to be read by screenreaders, it must contain plain text only, with no face markup or other non-text content.

The Figure Credit style is used for a paragraph that contains information about the source of the image and/or details of any permissions obtained.

Graphic

The actual graphic itself does not form part of the XML. Instead, the XML includes a pointer to the image file, represented by the @xlink attribute of the graphic element. By default, the filename in this pointer is constructed automatically from the Article ID entered during activation of the Word file and an incremental counter. In the example below, this gives @xlink:href="123-f1" for the first image in a document with ID 123.

If the images are embedded in the Word file and are retained in the file at the point that the document is exported to XML, these paragraphs should be styled as Non-XML Text in order to avoid parsing errors or the presence of extraneous elements in the XML.


If you need to specify a graphic file name that does not match what eXtyles would generate during the XML Export process, you can use the <graphics> tag to do so. Use the Insert Tag menu to insert a <graphics> tag at the end of the Figure Caption. Inside of the tags, enter the file name of the graphic; for example:

Figure 1. This is a figure<graphic>biotes-10-100-e001</graphic>


Example

This illustration is an excerpt from the sample document: Sample 2_Book Review.docx

JATS XML Example
<fig id="f1" position="float" fig-type="figure">
	<label>Figure 1</label>
	<caption>
		<p>Locations of the FIFA World Cup final</p>
		<p>The locations of all finals since 1930 are shown.</p>
	</caption>
	<long-desc>The map shows the locations of all final matches of the FIFA World Cup tournament from its inception in 1930 to the 2014 tournament in Brazil.</long-desc>
	<graphic xlink:href="123-f1"></graphic>
	<attrib>Reproduced with permission.</attrib>
</fig>

© 2021 Atypon Systems. All Rights Reserved.

Icons made by Freepik from Flaticon are licensed under CC 3.0 BY