Figures
Capture figures using a <fig>
element
<fig>
elements must not be captured as a child of
<p>
they must instead be a direct child of the parent
structure (usually a <sec>
or <body>
element).
Each
<fig>
must have the following attributes:Attribute Name | Attribute Value |
---|---|
id | bk[book ISBN]ch[Chapter Number]fig[Figure Number] |
orientation | Portrait |
position | Float |
The <fig>
element must contain an @id
attribute.
Each <fig>
element may optionally have a
<label>
and a <caption>
child
elements.
Each
<fig>
element must have three child
<graphic>
elements which are used to store the print, high
resolution and online images representing the figure. Each graphic element must contain
a @content-type
attribute depending on which type of image it refers to
as per the table below:Type | @content-type Value |
---|---|
High Resolution | high |
Online | online |
Example
<fig id="bk978-0-7503-3071-8ch00fig1" orientation="portrait" position="float"> <label>Figure 0.1.</label> <caption> <p>Schematic diagram illustrating the recommended path through the book for those wishing simply to acquire an operational knowledge of PEPT. The path depicted using solid arrows represents that suggested for readers already possessing a basic familiarity with PEPT, while those entirely new to the technique should read also the chapters connected via dotted lines.</p> </caption> <graphic content-type="print" id="bk978-0-7503-3071-8ch00f1_eps" orientation="portrait" position="float" xlink:href="bk978-0-7503-3071-8ch00f1_pr.tif" xlink:type="simple"/> <graphic content-type="online" id="bk978-0-7503-3071-8ch00f1_online" orientation="portrait" position="float" xlink:href="bk978-0-7503-3071-8ch00f1_online.jpg" xlink:type="simple"/> <graphic content-type="high" id="bk978-0-7503-3071-8ch00f1_hr" orientation="portrait" position="float" xlink:href="bk978-0-7503-3071-8ch00f1_hr.jpg" xlink:type="simple"/> </fig>