<graphic>

<graphic> indicates the location of an inline graphic, illustration, or figure. 3.9 Graphics and other non-textual components
Modulecore — 3 Elements Available in All TEI Documents
Attributesatt.global (@xml:id, @n, @xml:lang, @rend, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) att.internetMedia (@mimeType) att.declaring (@decls)
widthThe display width of the image
Status Optional
Datatype

<rng:ref name="data.outputMeasurement"/>
data.outputMeasurement
heightThe display height of the image
Status Optional
Datatype

<rng:ref name="data.outputMeasurement"/>
data.outputMeasurement
scaleA scale factor to be applied to the image to make it the desired display size
Status Optional
Datatype

<rng:ref name="data.numeric"/>
data.numeric
url(uniform resource locator) A URL which refers to the image itself.
Status Required
Datatype

<rng:ref name="data.pointer"/>
data.pointer
Used by
Contained by
May contain
Declaration

<rng:element name="graphic">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.internetMedia.attributes"/>
 <rng:ref name="att.declaring.attributes"/>
 <rng:optional>
  <rng:attribute name="width">
   <rng:ref name="data.outputMeasurement"/>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="height">
   <rng:ref name="data.outputMeasurement"/>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="scale">
   <rng:ref name="data.numeric"/>
  </rng:attribute>
 </rng:optional>
 <rng:attribute name="url">
  <rng:ref name="data.pointer"/>
 </rng:attribute>
 <rng:zeroOrMore>
  <rng:ref name="model.glossLike"/>
 </rng:zeroOrMore>
</rng:element>
element graphic
{
   att.global.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.internetMedia.attributes,
   att.declaring.attributes,
   attribute width { data.outputMeasurement }?,
   attribute height { data.outputMeasurement }?,
   attribute scale { data.numeric }?,
   attribute url { data.pointer },
   model.glossLike*
}
Example
<figure>
 <graphic url="fig1.png"/>
 <head>Figure One: The View from the Bridge</head>
 <figDesc>A Whistleresque view showing four or five sailing boats in the foreground, and a
   series of buoys strung out between them.</figDesc>
</figure>
Note
The mimeType attribute should be used to supply the MIME media type of the image specified by the url attribute.